* elmo-imap4.el: Remove trailing whitespace.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-imap4.el: Remove trailing whitespace.
4
5         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
6         `elmo-bind-directory' indent.
7
8         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
9         cosmetic fix).
10
11 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
12
13         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
14         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
15         (elmo-string-to-list, elmo-list-to-string): Ditto.
16
17 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
18
19         * elmo-archive.el (elmo-archive-field-condition-match)
20         (elmo-archive-suffix-alist)
21         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
22         (elmo-archive-folder-message-make-temp-files)
23         (elmo-archive-append-files)
24         (elmo-archive-field-condition-match): Fix indent.
25
26         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
27         Avoid `args-out-of-range 0, 1' error.
28
29 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
30
31         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
32         (delete-backward-char X) that deletes region in Emacs 24.
33         See delete-active-region described in NEWS.
34         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
35         * elmo-util.el (elmo-get-file-string): Ditto.
36         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
37
38 2010-08-09  David Maus  <dmaus@ictsoc.de>
39
40         * elmo.el (elmo-folder-open-internal-p): New luna method.
41         (elmo-folder-move-messages): Open source folder only if necessary.
42         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
43         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
44         * elmo-map.el (elmo-folder-open-internal-p): Dto.
45         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
46
47 2010-08-01  David Maus  <dmaus@ictsoc.de>
48
49         * elmo.el (elmo-folder-move-messages): Open source folder before
50         moving messages.
51
52 2010-04-15  David Maus  <dmaus@ictsoc.de>
53
54         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
55         imap user name.
56
57 2010-04-14  David Maus  <dmaus@ictsoc.de>
58
59         * elmo-imap4.el (elmo-imap4-disabled-extension): New
60         variable. List of server extensions that are disabled on the
61         client side.
62         (elmo-imap4-session-capable-p): Honour list of disabled
63         extensions.
64
65 2010-03-17  David Maus  <dmaus@ictsoc.de>
66
67         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
68         (elmo-imap4-search-internal-primitive): Pass filter type to imap
69         search when performing search for flagged messages.
70
71 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
72
73         * modb-standard.el (modb-standard-save-entity): Use
74         `modb-standard-cleanup-stale-entities' to clean up stale entity
75         files in modb cache.
76         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
77         capabilities after login.
78
79 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
80
81         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
82         indent (only cosmetic fix).
83
84 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
85
86         * elmo-version.el (elmo-version): Up to 2.15.9.
87
88         * elmo-imap4.el (elmo-imap4-elist): New function
89         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
90         ESEARCH feature (RFC4731).
91         * elmo-imap4.el (toplevel): Require time-stamp
92         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
93         elmo-imap4-read-response elmo-imap4-read-untagged
94         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
95         logging format.
96         * elmo-imap4.el (elmo-folder-list-messages-plugged,
97         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
98         for full uid range on folder entering, retrieve updates only for
99         newly appeared messages.
100         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
101         elmo-imap4-read-response, elmo-imap4-read-untagged,
102         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
103         to format-time-string.
104         * elmo-vars.el (toplevel): New custom
105         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
106         flag for some buggy servers.
107         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
108
109 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
110
111         * acap.el (acap-parse-response): Fix comment-out style. Use three
112         semicolons, that should start at the left margin.
113         See. also (Info-goto-node "(elisp)Comment Tips").
114         * elmo.el (toplevel, elmo-message-match-condition)
115         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
116         Ditto.
117         * elmo-archive.el (elmo-archive-suffix-alist)
118         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
119         (elmo-archive-method-list)
120         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
121         Ditto.
122         * elmo-imap4.el (toplevel)
123         (elmo-imap4-send-command, elmo-imap4-check-validity)
124         (elmo-imap4-fetch-callback-1-subr)
125         (elmo-network-initialize-session, elmo-server-diff-async)
126         (elmo-imap4-folder-diff-plugged): Ditto
127         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
128         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
129         * elmo-net.el (elmo-network-close-session): Ditto.
130         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
131         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
132         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
133         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
134         (elmo-number-set-delete)
135         (elmo-cache-get-oldest-cache-file-entity): Ditto.
136
137 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
138
139         * elmo-version.el (elmo-version): Up to 2.15.8.
140
141         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
142         `with-current-buffer' instead of `save-excursion' (for suppress
143         compile warnings).
144
145         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
146         instead of `int-to-string'.
147         * elmo-archive.el (elmo-archive-message-fetch-internal)
148         (elmo-archive-folder-message-make-temp-files)
149         (elmo-archive-folder-append-buffer)
150         (elmo-folder-delete-messages-internal)
151         (elmo-archive-msgdb-create-entity)
152         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
153         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
154         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
155         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
156         * elmo-imap4.el (elmo-imap4-make-number-set-list)
157         (elmo-folder-list-subfolders): Ditto.
158         * elmo-localdir.el (elmo-message-file-name)
159         (elmo-folder-message-make-temp-files)
160         (elmo-localdir-msgdb-create-entity)
161         (elmo-folder-append-messages-*-localdir)
162         (elmo-folder-pack-numbers): Ditto.
163         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
164         * elmo-map.el (elmo-location-map-key): Ditto.
165         * elmo-nntp.el (elmo-nntp-folder-postfix)
166         (elmo-nntp-folder-list-subfolders)
167         (elmo-nntp-folder-msgdb-create): Ditto.
168
169         * elmo.el (elmo-crosspost-message-alist-save): Don't use
170         `function' for `lambda'.
171         * elmo-archive.el (elmo-archive-folder-list-subfolders)
172         (elmo-folder-append-messages-*-archive)
173         (elmo-folder-delete-messages-internal): Ditto.
174         * elmo-date.el (elmo-replace-in-string): Ditto.
175         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
176         (elmo-folder-list-flagged): Ditto.
177         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
178         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
179         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
180
181 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
182
183         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
184         `elmo-dop-spool-folder' was used before it was defined"; Use
185         `defun' instead.
186
187         * pldap.el (ldap/ldif-safe-string-p): macro to function.
188         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
189
190         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
191         `mapcar'; Suppress compile warning.
192         * elmo-imap4.el (elmo-network-initialize-session-buffer)
193         (elmo-imap4-search-internal-primitive): Ditto.
194         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
195         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
196
197         * elmo-imap4.el (elmo-imap4-parse-address-list)
198         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
199         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
200         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
201         `(string-to-char " ")' instead of `? ', `?\ '.
202
203 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
204
205         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
206         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
207         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
208         `function' for lambda.
209
210         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
211         `string-to-number' instead of `string-to-int'.
212
213         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
214         instead of `save-excursion' (for suppress compile warnings).
215         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
216         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
217         (elmo-nntp-post): Ditto.
218
219 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
220
221         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
222         Mule-UCS (to-utf-16).
223         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
224         Emacs 23.
225
226 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
227
228         * utf7.el (utf7-find-coding-system-without-bom): New Function.
229         (utf7-utf-16-coding-system): use no-BOM coding system.
230         (utf7-get-u16char-converter): remove workaround for BOM.
231
232 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
233
234         * elmo-util.el (elmo-union): New function, make a union of two lists.
235
236         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
237         mime-view when displaying malformed base64 attach.
238
239         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
240         (removed duplicated code)
241
242         * modb-standard.el (modb-standard-cleanup-stale-entities): New
243         function, Remove stale entities from elmo's cache.
244
245 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
246
247         * elmo-version.el (elmo-version): Up to 2.15.7.
248
249 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
250
251         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
252         default value to `--auto-update'.
253
254 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
255
256         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
257         Add `elmo-pop3-read-point' barrier.
258
259 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
260
261         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
262         goto the previous end-point insead of the head-point, and use
263         `search-forward' instead of `re-search-forward'.
264
265 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
266
267         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
268
269 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
270
271         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
272         case-insensitive fashion.
273
274 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
275
276         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
277
278 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
279
280         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
281         `eval-and-compile' for suppress compile warnings.
282
283         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
284         instead of `defun-maybe'
285
286         * elmo-util.el: Add (eval-when-compile (require 'static)).
287
288 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
289
290         * mmimap.el: Remove (require 'static).
291         * acap.el: Ditto.
292
293         * elmo-flag.el: Move ';;; Code:' comment.
294         * elmo-imap4.el: Ditto.
295         * elmo-net.el: Ditto.
296
297         * elmo-version.el (product-provide): Fix comment.
298
299 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
300
301         * slp.el: Add (eval-when-compile (require 'cl)).
302         * elmo-date.el: Ditto.
303         * elmo-pop3.el: Ditto.
304         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
305
306 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
307
308         * modb.el (elmo-msgdb-match-condition-primitive): Use
309         `string-to-number' instead of `string-to-int'.
310
311         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
312         (elmo-msgdb-message-match-condition)
313         (elmo-msgdb-create-message-entity-from-buffer): Use
314         `string-to-number' instead of `string-to-int'.
315
316         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
317         instead of `string-to-int'.
318
319         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
320         instead of `string-to-int'.
321
322         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
323         `string-to-number' instead of `string-to-int'.
324
325         * elmo-nntp.el (elmo-nntp-make-msglist)
326         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
327         (elmo-nntp-create-msgdb-from-overview-string)
328         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
329         (elmo-nntp-search-primitive): Use `string-to-number' instead of
330         `string-to-int'.
331
332         * elmo-net.el (elmo-net-folder-set-parameters): Use
333         `string-to-number' instead of `string-to-int'.
334
335         * elmo-localdir.el (elmo-localdir-list-subr): Use
336         `string-to-number' instead of `string-to-int'.
337
338         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
339         `string-to-number' instead of `string-to-int'.
340
341         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
342         instead of `string-to-int'.
343
344         * elmo-archive.el (elmo-archive-list-folder-subr): Use
345         `string-to-number' instead of `string-to-int'.
346
347 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
348
349         * elmo-util.el (elmo-get-passwd): Fix typo.
350
351         * elmo-nntp.el (elmo-nntp-get-server-command)
352         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
353         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
354         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
355         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
356
357         * elmo-imap4.el (elmo-imap4-debug)
358         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
359         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
360         (elmo-imap4-response-value, elmo-imap4-response-error-text)
361         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
362         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
363         (elmo-imap4-identical-system-p): New backquote style.
364
365 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
366
367         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
368         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
369         (elmo-dop-queue-arguments): Ditto.
370
371         * elmo-date.el (elmo-match-substring): New backquote style.
372         (elmo-match-string, elmo-match-buffer): Ditto.
373         (elmo-date-make-sortable-string): Ditto.
374
375         * elmo-archive.el (elmo-archive-get-method):New backquote style.
376         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
377
378         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
379         style.
380
381         * elmo-net.el (elmo-network-stream-type-spec-string): New
382         backquote style.
383         (elmo-network-stream-type-symbol): Ditto.
384         (elmo-network-stream-type-feature): Ditto.
385         (elmo-network-stream-type-function): Ditto.
386         (elmo-network-session-buffer): Ditto.
387
388         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
389         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
390         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
391         (elmo-bind-directory, elmo-set-work-buf): Ditto.
392
393         * elmo.el (elmo-folder-send): New backquote style.
394
395 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
396
397         * pldap.el (ldap-static-if): New backquote style.
398         (ldap/ldif-safe-string-p): Ditto.
399         (ldap/ldif-insert-field): Ditto.
400
401         * elmo-version.el (elmo-version): Up to 2.15.6.
402
403 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
404
405         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
406         messages with \Deleted flag.
407         (elmo-folder-delete-messages-plugged): Ask before sending expunge
408         command if there are messages with \Deleted flag.
409
410 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
411
412         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
413         http://seclists.org/bugtraq/2007/Apr/0018.html
414         (Suggested by Tatsuya Kinoshita)
415
416 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
417
418         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
419         with \Noselect attribute.
420
421 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
422
423         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
424         hierarchical folder structure with UW-imapd.
425
426 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
427
428         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
429         when the LOGINDISABLED capability is advertised.
430
431 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
432
433         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
434
435 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
436
437         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
438         `entity'.
439         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
440         if the message entity is exists.
441
442 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-util.el (elmo-msgdb-insert-file-header): Call
445         `elmo-delete-cr-buffer'.
446
447         * elmo-localdir.el (elmo-message-fetch-internal): Use
448         `insert-file-contents-as-raw-text' instead of
449         `insert-file-contents-as-binary'.
450
451         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
452
453 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
454
455         * elmo-imap4.el (elmo-network-initialize-session): Check to
456         retrieve a whole greeting message.
457
458 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
459
460         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
461
462 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
463
464         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
465         (elmo-progress-notify): Use it instead of `plist-get'.
466
467 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
468
469         * elmo.el (elmo-generic-folder-append-messages): Remove unused
470         variable `table'.
471
472 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
473
474         * elmo-pipe.el (elmo-folder-set-plugged): Define.
475
476 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
477
478         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
479         (elmo-spam-list-spam-messages): Check it option.
480
481 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
482
483         * elmo-util.el (elmo-with-progress-display): Return the value
484         of the last form in `body'.
485
486 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
487
488         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
489         `elmo-progress-counter' as t when a query callback returns nil.
490         (elmo-progress-clear): New function.
491         (elmo-progress-done): Split into `elmo-progress-clear'.
492         (elmo-progress-notify): Update a total slot when it is nil.
493         (elmo-with-progress-display): Call `elmo-progress-clear' in
494         unwind-protect and move calling `elmo-progress-done' to outside.
495
496         * elmo-imap4.el (elmo-imap4-find-next-line): Call
497         `elmo-progress-notify' with :total parameter instead of
498         `elmo-progress-counter-set-total'.
499
500 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
501
502         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
503         Make it interactive.
504         (elmo-progress-start): Avoid updating `elmo-progress-counter'
505         when a query callback returns nil.  Return a progress counter
506         instead of t whenever a start callback was called.
507
508 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
509
510         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
511         (elmo-imap4-send-command): Use it.
512         (elmo-network-initialize-session): Ditto.
513         (elmo-network-setup-session): Ditto.
514         (elmo-folder-msgdb-create-plugged): Ditto.
515
516 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
517
518         * elmo-util.el (elmo-progress-done): Fix a miss refer to
519         `elmo-progress-counter'.
520
521 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
522
523         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
524         (elsp-bsfilter-list-spam-filter): New function.
525         (elsp-bsfilter-start-list-spam): Ditto.
526         (elsp-bsfilter-read-list-spam): Ditto.
527         (elmo-spam-list-spam-messages): Use async process to display
528         progress message by each message.
529
530 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
531
532         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
533         of flushing previously inserted message contents.
534
535         * elmo-imap4.el (elmo-folder-search): Fix return value.
536
537 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
538
539         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
540         of reporter is enable or not.
541
542 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
543
544         * elmo-util.el (elmo-list-bigger-diff): Abolish.
545         (elmo-display-progress): Ditto.
546         (elmo-progress-counter-alist): Ditto.
547         (elmo-progress-set): Ditto.
548         (elmo-progress-clear): Ditto.
549         (elmo-progress-counter-all-value): Rename to
550         `elmo-progress-counter-total'.
551         (elmo-progress-counter-format): Rename to
552         `elmo-progress-counter-action'.
553         (elmo-progress-counter): New internal variable.
554         (elmo-progress-callback-function): Ditto.
555         (elmo-progress-counter-label): New function.
556         (elmo-progress-counter-set-total): Ditto.
557         (elmo-progress-counter-set-action): Ditto.
558         (elmo-progress-call-callback): Ditto.
559         (elmo-progress-start): Ditto.
560         (elmo-progress-done): Ditto.
561         (elmo-progress-notify): Rewrite.
562         (elmo-with-progress-display): Remove first argument
563         `condition'. Add optional argument `var' in `spec'.
564
565         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
566         (elmo-display-retrieval-progress-threshold): Ditto.
567         (elmo-inhibit-display-retrieval-progress): Ditto.
568
569         * Replace all pair of `elmo-progress-set' and
570         `elmo-progress-clear' into `elmo-with-progress-display'.
571
572         * Replace to call `elmo-display-progress' into pair of
573         `elmo-progress-notify' and `elmo-with-progress-display'.
574
575         * elmo-version.el (elmo-version): Up to 2.15.5.
576
577 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
578
579         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
580         `cond'.
581
582 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
583
584         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
585         cleanup-forms [wl:14027].
586
587 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
588
589         * elmo-flag.el (elmo-global-flag-set-internal): Use
590         `elmo-copy-file' by priority when the message is a file.
591
592 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
593
594         * elmo.el: Fix typo: disptch -> dispatch.
595
596 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
597
598         * elmo.el (elmo-file-tag): New class.
599         (elmo-append-messages-disptch-table): New constant.
600         (elmo-folder-type-p): New function.
601         (elmo-folder-append-messages): Redefine as function.
602
603         * elmo-null.el (elmo-folder-append-messages): Renamed from
604         `elmo-folder-append-messages'.
605
606         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
607         (elmo-folder-append-messages-*-maildir): Renamed from
608         `elmo-folder-append-messages'.
609
610         * elmo-localdir.el (elmo-localdir-folder): Inherit
611         `elmo-file-tag'.
612         (elmo-folder-append-messages-*-localdir): Renamed from
613         `elmo-folder-append-messages'.
614
615         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
616         from `elmo-folder-append-messages'.
617
618         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
619         `elmo-folder-append-messages'.
620
621         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
622         function.
623         (elmo-folder-append-messages-*-filter): Ditto.
624
625         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
626
627         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
628         (elmo-folder-append-messages-*-pipe): Renamed from
629         `elmo-folder-append-messages'.
630
631         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
632
633         * elmo-file.el (elmo-file-folder): Ditto.
634
635         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
636
637         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
638         from `elmo-folder-append-messages'
639
640 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
641
642         * elmo-map.el (elmo-location-map-setup): Change an argument
643         `locations' to optional.
644         (elmo-location-map-clear): Abolish.
645         (elmo-folder-clear): Follow the API change.
646
647         * elmo-pop3.el (elmo-folder-clear): Ditto.
648
649         * elmo-pop3.el (toplevel): Require elmo-map.
650         (elmo-pop3-folder): Inherit elmo-location-map and abolish
651         location-alist slot (All other related portions are changed).
652         (elmo-pop3-folder-use-uidl): New function.
653         (elmo-folder-msgdb-create): Don't sort message entities.
654         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
655         (elmo-pop3-number-to-size): Convert return value to number.
656         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
657         working buffer.
658
659         * elmo-map.el: Use `location-map' as a variable name for instance
660         instead of `mapper'.
661         (elmo-location-map-setup): Return location alist.
662         (elmo-location-map-update): Ditto.
663
664 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
665
666         * elmo-map.el (elmo-location-map): New class; split location and
667         number mapping from elmo-map-folder (All other related portions
668         are changed).
669
670         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
671         change.
672
673         * elmo-version.el (elmo-version): Up to 2.15.4.
674
675 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
676
677         * elmo-vars.el (elmo-use-hardlink): New user option.
678
679         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
680         `elmo-use-hardlink'.
681
682         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
683         killed-list.
684         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
685         instead of `*-internal'. Use `elmo-with-progress-display'.
686
687 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
688
689         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
690         `elmo-spam-process-messages-as-mbox'.
691
692         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
693
694 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
695
696         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
697         argument BUFFER of `call-process'.
698
699 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
700
701         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
702         args.
703         (elsp-bsfilter-list-spam-files): Ditto.
704
705 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
706
707         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
708         (elmo-spam-bsfilter-max-messages-per-process): New use option.
709         (elmo-spam-bsfilter-debug): Fix a group.
710         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
711         `--homedir'.
712         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
713         (elsp-bsfilter-list-spam-files): New function.
714         (elmo-spam-list-spam-messages): Define.
715         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
716         (elmo-spam-bsfilter-register-messages): New function.
717         (elmo-spam-register-spam-messages): Define.
718         (elmo-spam-register-good-messages): Ditto.
719
720         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
721
722         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
723         `nconc' and `consp'.
724
725 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
726
727         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
728         hash table to test whether a location is exists.
729
730 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
731
732         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
733         even if some error occurred.
734
735         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
736         meaningless unwind-protect.
737
738         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
739         start-number correctly.
740         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
741         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
742
743 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
744
745         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
746         (elmo-folder-initialize): Use it.
747         (elmo-global-flag-replace-referrer): New function.
748
749         * elmo.el (toplevel): Added autoload setting for
750         `elmo-global-flag-replace-referrer'.
751         (elmo-folder-rename): Rewrite the last change use
752         `elmo-global-flag-replace-referrer'.
753
754         * elmo-pipe.el (elmo-folder-rename): Call
755         `elmo-global-flag-replace-referrer'.
756
757 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
758
759         * elmo.el (elmo-folder-rename): Set meta data for global flags
760         follow the rename.
761
762 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
763
764         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
765         as 'not-loaded.
766         (elmo-folder-close): Ditto.
767         (elmo-filter-folder-number-list-loaded-p): New function.
768         (elmo-filter-folder-number-list): Check whether loaded or not.
769         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
770         of `elmo-filter-folder-number-list-internal'.
771         (elmo-folder-delete-messages): Ditto.
772         (elmo-folder-length): Check whether number-list is loaded or not.
773
774 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
775
776         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
777         field `real field' into each element of list.
778         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
779         (elmo-msgdb-message-entity-field): Ditto.
780         (modb-entity-ml-info-real-fields): New function.
781
782         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
783
784         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
785         `elmo-msgdb-extra-fields'.
786
787 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
788
789         * elmo-util.el (elmo-passwd-alist-load): Move point to min
790         position before read.
791
792 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
793
794         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
795         (elmo-global-flags-initialize): Ditto.
796
797 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
798
799         * elmo-archive.el (toplevel): Don't require emu, std11
800         and elmo-localdir.
801
802         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
803         definition.
804
805 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
806
807         * elmo.el (elmo-folder-confirm-appends): Display folder name.
808
809 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
810
811         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
812         literals.
813
814 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
815
816         * elmo-maildir.el (elmo-maildir-list-location): Reduce
817         `elmo-get-last-modification-time' call.
818
819 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
820
821         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
822         expression.
823         (elmo-maildir-set-mark): Ditto.
824         (elmo-maildir-delete-mark): Ditto.
825
826 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
829         optional argument `separators'.
830
831 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
832
833         * elmo.el (cache-changed): Abolish.
834         (status-changed): New signal.
835         (elmo-message-killed-p): New generic function and define for
836         elmo-folder.
837         (elmo-folder-recover-messages): Ditto.
838         (elmo-message-set-cached): Emit signal `status-changed' instead of
839         `cache-changed'.
840         (elmo-message-status): New macro.
841         (elmo-message-status-folder): Ditto.
842         (elmo-message-status-number): Ditto.
843         (elmo-message-status-set-flags): Ditto.
844         (elmo-message-status-set-killed): Ditto.
845         (elmo-message-status-flags): New function.
846         (elmo-message-status-cached-p): Ditto.
847         (elmo-message-status-killed-p): Ditto.
848
849         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
850         `status-changed' instead of `cache-changed'.
851         (elmo-folder-recover-messages): Define.
852         (elmo-message-killed-p): Ditto.
853
854         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
855         `status-changed' instead of `cache-changed'.
856
857         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
858         (elmo-message-killed-p): Define.
859         (elmo-folder-recover-messages): Ditto.
860
861         * elmo-version.el (elmo-version): Up to 2.15.3.
862
863 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
864
865         * elmo-signal.el (elmo-signal-bindings): Use cons to append
866         element into list.
867         (elmo-define-signal-handler): Add docstring.
868         (elmo-define-signal-filter): Ditto.
869
870         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
871
872 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
873
874         * elmo-util.el (elmo-flatten): Don't use recursive call.
875
876         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
877         assignment.
878         (elmo-folder-message-make-temp-files): Use `number-to-string'
879         instead of `int-to-string'.
880
881 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
882
883         * elmo-search.el (elmo-folder-delete-messages): Define.
884
885 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
886
887         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
888         customization type.
889         (elmo-mailing-list-count-spec-list): Ditto.
890
891         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
892         for `list-id'.
893
894 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
895
896         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
897         handling.
898
899 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
900
901         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
902         (elmo-mailing-list-count-spec-list): Ditto.
903
904         * elmo-util.el (elmo-map-until-success): New function.
905         (elmo-string-match-substring): Ditto.
906         (elmo-find-list-match-value): Ditto.
907
908         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
909         Removed.
910         (modb-entity-extract-ml-info-from-subject): Ditto.
911         (modb-entity-extract-ml-info-from-return-path): Ditto.
912         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
913         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
914         (modb-entity-extract-ml-info-from-mailman): Ditto.
915         (modb-entity-extract-mailing-list-info-functions): Ditto.
916         (modb-entity-extract-mailing-list-info): Rewrite with
917         `elmo-find-list-match-value'.
918
919 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
920
921         * elmo-net.el (elmo-network-session-retry-count): New user option.
922         (elmo-network-session-buffer-name): New internal function.
923         (elmo-network-session-buffer-create): Ditto.
924         (elmo-network-open-session): Retry open network session
925         `elmo-network-session-retry-count' times.
926
927 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
928
929         * elmo-util.el (elmo-list-filter): Rewritten.
930
931 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
932
933         * elmo-util.el (elmo-string-member): Allow symbol element in list.
934
935 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
936
937         * elmo-search.el (elmo-make-search-engine): Use prefix
938         `elmo-search-' for require symbol instead of `else-'.
939         (elmo-search-engine-extprog): New class.
940         (elmo-search-engine-do-search): Remove nil from argument
941         list. Added argument pattern to evaluate element as function.
942         (elmo-search-engine-local-file): Derived from
943         `elmo-search-engine-extprog'.
944         (elmo-search-engine-create-message-entity): Check existance of file.
945         (elmo-search-engine-fetch-message): Ditto.
946         (elmo-search-namazu-index): Follow the API change.
947         (elmo-search-grep-target): Ditto.
948
949 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
950
951         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
952         characters of working buffer.
953
954         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
955         Does not bind `default-mime-charset'.
956         (elmo-msgdb-create-message-entity-from-buffer): Removed
957         unnecessary local bind.
958
959         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
960         function.
961         (modb-entity-extract-mailing-list-info-functions): Added it.
962
963 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
964
965         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
966         when number and message-id are non-nil.
967
968         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
969
970         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
971         conditional steatment.
972         (elmo-pop3-auth-apop): Likewise.
973         (elmo-network-authenticate-session): Likewise.
974
975 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
978         symbol `fill-column'.
979         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
980         decode field value.
981
982         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
983         (elmo-decoded-field-body): Ditto.
984
985 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
986
987         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
988         `tokens' to `params'.
989
990 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
991
992         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
993         working buffer.
994
995 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
996
997         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
998         decide index.
999
1000 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1001
1002         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1003         Set default value as nil.
1004         (toplevel): Register search engines by
1005         `elmo-search-register-engine' if there are not defined.
1006
1007         * elmo.el (autoload): Added autoload setting for
1008         `elmo-search-register-engine'.
1009
1010 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1011
1012         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1013         folder instead of nmz folder.
1014         (elmo-nmz-default-index-path): Added obsolete variable setting.
1015         (elmo-nmz-index-alias-alist): Ditto.
1016         (elmo-nmz-use-drive-letter): Ditto.
1017
1018         * elmo-search.el (elmo-search-register-engine): New function.
1019
1020         * elmo-nmz.el: Removed.
1021
1022         * elmo-version.el (elmo-version): Up to 2.15.2.
1023
1024 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1025
1026         * elmo-search.el: New file.
1027
1028 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1029
1030         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1031         condition `larger' and `smaller'.
1032
1033 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1034
1035         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1036         `"' (double quote) into "_Q_".
1037
1038 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1039
1040         * elmo-net.el (elmo-net-quote-chars): Abolish.
1041         (elmo-net-format-quoted): Ditto.
1042
1043 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1044
1045         * elmo.el (elmo-get-folder-function): New variable.
1046         (elmo-get-folder): New function.
1047         (elmo-folder-rename): Call `elmo-make-folder' with specified
1048         mime-charset.
1049
1050         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1051         `elmo-make-folder'.
1052         (elmo-split-subr): Ditto.
1053
1054         * elmo-multi.el (elmo-folder-initialize): Ditto.
1055
1056         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1057
1058         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1059         (elmo-flag-get-folder): Ditto.
1060
1061         * elmo-filter.el (elmo-folder-initialize): Ditto.
1062
1063         * elmo-access.el (elmo-folder-initialize): Ditto.
1064         (elmo-access-folder-update-children): Ditto.
1065
1066         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1067         (elmo-dop-queue-flush): Ditto.
1068         (elmo-folder-append-buffer-dop-delayed): Ditto.
1069         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1070         mime-charset.
1071
1072         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1073         instead of `elmo-make-folder'.
1074         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1075         destination folder instead of send `elmo-folder-rename-internal'.
1076
1077         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1078         slot of subfolder instead of create it.
1079
1080 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1081
1082         * elmo-util.el (elmo-collect-separators): New function.
1083         (elmo-collect-separators-internal): Ditto.
1084         (elmo-collect-trail-separators): Ditto.
1085         (elmo-parse-separated-tokens): Ditto.
1086         (elmo-parse-separated-tokens-internal): Ditto.
1087         (elmo-quote-syntactical-element): Ditto.
1088
1089         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1090         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1091
1092         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1093         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1094         (elmo-nntp-folder-list-subfolders): Quote a user name.
1095
1096         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1097         (elmo-net-parse-network): Abolish.
1098         (elmo-net-folder-set-parameters): New function.
1099         (elmo-folder-initialize): Follow the above change.
1100
1101         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1102         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1103         (elmo-folder-list-subfolders): Use
1104         `elmo-quote-syntactical-element' instead of
1105         `elmo-net-format-quoted' to quote mailbox and user name.
1106
1107 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1108
1109         * elmo-util.el (elmo-token-valid-p): New function.
1110         (elmo-parse-token): Add optional argument `requirement'.
1111         (elmo-parse-prefixed-element): Likewise.
1112
1113         * elmo-net.el (elmo-net-quote-chars): Renamed from
1114         `elmo-net-quote-chars-regexp'.
1115         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1116
1117         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1118         by info document. Check token `uidl' is started an alphabet.
1119
1120         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1121         by info document. Check token `user' is started an alphabet.
1122
1123         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1124         (elmo-folder-list-subfolders): Quote user.
1125
1126 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1127
1128         * elmo-util.el (elmo-quoted-specials-list): New constant.
1129         (elmo-quoted-token): New function.
1130
1131         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1132         (elmo-net-format-quoted): New function.
1133         (elmo-net-parse-network): Ditto.
1134         (elmo-folder-initialize): Use it.
1135
1136         * elmo-nntp.el (elmo-folder-initialize): Use
1137         `elmo-net-parse-network' to parse network specification instead of
1138         `elmo-folder-initialize#elmo-net'.
1139
1140         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1141
1142         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1143         (elmo-folder-list-subfolders): Quote folder name by
1144         `elmo-net-format-quoted'.
1145
1146 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1149         (elmo-folder-search): Use it.
1150
1151 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1152
1153         * modb-standard.el (modb-standard-loaded-message-id): Use
1154         `elmo-msgdb-message-entity-field'.
1155
1156 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1157
1158         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1159         without filename.
1160
1161 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1162
1163         * elmo-util.el (elmo-set-auto-coding): New function.
1164         (elmo-object-load): Use it.
1165
1166 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1167
1168         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1169         (elmo-time<): Define as alias of `elmo-time-less-p'.
1170         (elmo-time-to-datevec): New function.
1171
1172         * elmo-date.el (elmo-time-to-days): New function.
1173
1174 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1175
1176         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1177         is not cons cell.
1178
1179 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1180
1181         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1182         parenthesis.
1183
1184         * elmo-util.el (elmo-map-recursive): New function.
1185
1186         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1187         (modb-entity-encode-string-recursive): Ditto.
1188
1189 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1190
1191         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1192         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1193         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1194         compare sequence number when last modified time is nil.
1195
1196 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1197
1198         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1199
1200         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1201
1202 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1203
1204         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1205         modification time of the file.
1206
1207 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * elmo-util.el (elmo-condition-optimize): Discriminated against
1210         preserved fields, extra fields and the other weight.
1211
1212 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1213
1214         * modb-entity.el (initialize-instance): Define.
1215         (modb-entity-handler-mime-charset): New internal function.
1216         (modb-standard-entity-set-field): Use it.
1217         (elmo-msgdb-message-entity-field): Ditto.
1218         (elmo-msgdb-message-entity-field): Ditto.
1219
1220         * modb.el (elmo-msgdb-match-condition): Rewrite with
1221         `elmo-condition-match'.
1222         (elmo-msgdb-match-condition-primitive): New function.
1223
1224         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1225         arguments `flags' and `numbers'.
1226         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1227         `elmo-msgdb-message-match-condition').
1228         (modb-buffer-entity-handler): New class.
1229
1230         * elmo.el (elmo-folder-search): Optimize condition to use
1231         `elmo-condition-optimize'.
1232         (elmo-message-buffer-match-condition): New function.
1233         (elmo-message-match-condition): Use
1234         `elmo-message-buffer-match-condition' instead of
1235         `elmo-buffer-field-condition-match'.
1236
1237         * elmo-util.el (elmo-condition-match): New function.
1238         (elmo-condition-optimize): Ditto.
1239         (elmo-buffer-field-primitive-condition-match): Abolish.
1240         (elmo-buffer-field-condition-match): Ditto.
1241
1242         * elmo-archive.el (elmo-archive-field-condition-match): Use
1243         `elmo-message-buffer-match-condition' instead of
1244         `elmo-buffer-field-condition-match'.
1245
1246 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1247
1248         * elmo-flag.el (elmo-global-flags-initialize): Check the
1249         existence of the flag directory.
1250
1251 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1252
1253         * elmo-access.el (elmo-folder-initialize): Call
1254         `elmo-multi-connect-signals'.
1255
1256         * elmo-pipe.el (elmo-folder-close): Define.
1257
1258         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1259         children folders.
1260
1261         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1262         with target folder.
1263
1264         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1265         `number'.
1266
1267         * elmo-multi.el (elmo-message-entity): Don't use return value of
1268         `elmo-message-entity-set-number'.
1269
1270 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1271
1272         * modb.el (modb-generic): Added slot `mime-charset'.
1273
1274         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1275         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1276         and `modb-entity-handler-dump-parameters'.
1277         (modb-standard-default-entity-handler): Abolish.
1278         (elmo-msgdb-message-entity-handler): Save created handler by
1279         instance slot.
1280
1281         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1282         (modb-entity-handler-list-parameters): New method.
1283         (modb-entity-handler-equal-p): New function.
1284         (modb-entity-handler-dump-parameters): Ditto.
1285         (modb-entity-parse-address-string): Encode return value.
1286         (modb-entity-make-address-string): Decode argument value.
1287         (modb-entity-decode-string-recursive): New function.
1288         (modb-entity-encode-string-recursive): Ditto.
1289         (modb-standard-entity-normalizer): Set to encode field value.
1290         (modb-standard-entity-specializer): Follow the above change.
1291         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1292         mime-charset of handler.
1293         (elmo-msgdb-message-entity-field): Ditto.
1294         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1295         structure.
1296         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1297
1298         * elmo.el (elmo-folder): Added slot `mime-charset'.
1299         (elmo-make-folder): Added argument `mime-charset'.
1300         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1301         `mime-charest'.
1302
1303         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1304         (elmo-make-msgdb): Likewise.
1305
1306         * elmo-internal.el (elmo-internal-folder-initialize): Call
1307         `luna-make-entity' with :mime-charset parameter.
1308
1309 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1310
1311         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1312         encoded words in `from' and `subject' field.
1313
1314 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1315
1316         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1317         (elmo-msgdb-match-condition): Get handler from entity instead of
1318         msgdb.
1319
1320         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1321         (modb-standard-load-entity): Treat new file format.
1322         (modb-standard-save-entity-1): Save as new file format.
1323         (modb-standard-save-entity): Split messages into section here.
1324         (elmo-msgdb-message-field): Follow the API change.
1325         (modb-standard-default-entity-handler): New internal variable.
1326         (elmo-msgdb-message-entity-handler): Define.
1327
1328         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1329         to `elmo-vars.el'.
1330         (modb-entity-field-extractor-alist): New user option.
1331         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1332         added argument `type'.
1333         (elmo-msgdb-copy-message-entity): Add optional argument
1334         `make-handler'.
1335         (modb-set-field-converter): New function.
1336         (modb-convert-field-value): Ditto.
1337         (modb-entity-string-decoder): Ditto.
1338         (modb-entity-string-encoder): Ditto.
1339         (modb-entity-parse-date-string): Ditto.
1340         (modb-entity-make-date-string): Ditto.
1341         (modb-entity-mime-decoder): Ditto.
1342         (modb-entity-mime-encoder): Ditto.
1343         (modb-entity-address-list-decoder): Ditto.
1344         (modb-entity-address-list-encoder): Ditto.
1345         (modb-entity-parse-address-string): Ditto.
1346         (modb-entity-make-address-string): Ditto.
1347         (modb-entity-create-field-indices): Ditto.
1348         (modb-legacy-entity-field-slots): New constant.
1349         (modb-legacy-entity-field-indices): Ditto.
1350         (modb-legacy-entity-normalizer): New variable.
1351         (modb-legacy-entity-specializer): Ditto.
1352         (modb-legacy-entity-field-index): New macro.
1353         (modb-legacy-entity-set-field): New function.
1354         (modb-legacy-make-message-entity): Rewrite.
1355         (elmo-msgdb-create-message-entity-from-buffer): Use
1356         `elmo-msgdb-get-references-from-buffer'. Use
1357         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1358         Use `modb-legacy-entity-set-field' instead of
1359         `elmo-msgdb-message-entity-set-field'.
1360         (elmo-msgdb-message-entity-field): Rewrite.
1361         (elmo-msgdb-message-entity-set-field): Ditto.
1362         (elmo-msgdb-copy-message-entity): Make new entity by
1363         `make-handler' if it specified.
1364         (elmo-msgdb-message-match-condition): Define a method of
1365         `modb-entity-handler' and follow the API change.
1366         (modb-standard-entity-handler): New class.
1367         (modb-entity-extract-ml-info-from-x-sequence): New function.
1368         (modb-entity-extract-ml-info-from-subject): Ditto.
1369         (modb-entity-extract-ml-info-from-return-path): Ditto.
1370         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1371         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1372         (modb-entity-extract-mailing-list-info): Ditto.
1373         (modb-entity-extract-mailing-list-info-functions): New variable.
1374
1375         * elmo.el (elmo-message-field): Add optional argument `type'.
1376
1377         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1378         from `modb-entity.el'.
1379
1380         * elmo-util.el (elmo-object-load): Decode by coding-system from
1381         `set-auto-coding-function'.
1382         (elmo-object-save): Use `detect-mime-charset-region' and add
1383         coding cookie if encode.
1384         (elmo-msgdb-get-references-from-buffer): New function.
1385         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1386
1387         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1388
1389         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1390         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1391         instead of `shimbun-make-header' and follow the API change.
1392         (elmo-shimbun-update-overview): Follow the API change.
1393         (elmo-map-folder-list-message-locations): Ditto.
1394
1395         * elmo-pipe.el (elmo-message-field): Ditto.
1396
1397         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1398         Ditto.
1399
1400         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1401
1402         * elmo-multi.el (elmo-message-field): Ditto.
1403
1404         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1405         (elmo-msgdb-sort-by-date): Ditto.
1406         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1407         `elmo-message-entity-field'.
1408         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1409         change.
1410         (elmo-msgdb-overview-entity-get-from): Ditto.
1411         (elmo-msgdb-overview-entity-get-subject): Ditto.
1412         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1413         (elmo-msgdb-overview-entity-get-date): Ditto.
1414         (elmo-msgdb-overview-entity-get-to): Ditto.
1415         (elmo-msgdb-overview-entity-get-cc): Ditto.
1416
1417         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1418         (elmo-mime-collect-message/partial-pieces): Ditto.
1419
1420         * elmo-filter.el (elmo-message-field): Ditto.
1421
1422         * elmo-date.el (elmo-datevec-to-time): New function.
1423         (elmo-time-parse-date-string): Ditto.
1424         (elmo-time-make-date-string): Ditto.
1425         (elmo-time<): Ditto.
1426
1427         * elmo-version.el (elmo-version): Up to 2.15.1.
1428
1429 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1430
1431         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1432         member of elmo-local-flags.
1433
1434 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1435
1436         * elmo-version.el (elmo-version): Up to 2.15.0.
1437
1438 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1439
1440         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1441         `ignore-msgdb' is non-nil.
1442
1443 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1444
1445         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1446         (elmo-condition-in-msgdb-p): Ditto.
1447         (elmo-file-field-primitive-condition-match): Ditto.
1448         (elmo-file-field-condition-match): Ditto.
1449
1450         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1451
1452 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1453
1454         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1455         subdirectories here.
1456         (elmo-global-flags-initialize): New function.
1457
1458         * elmo.el (toplevel): Added autoload setting for
1459         `elmo-global-flags-initialize'.
1460
1461 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1462
1463         * elmo.el (message-number-changed): Define new signal.
1464         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1465         message-number-changed signal.
1466         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1467         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1468         Respect `elmo-pack-number-check-strict'.
1469
1470 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1471
1472         * elmo-signal.el (elmo-connect-signal): Document.
1473         (elmo-emit-signal): Ditto.
1474         (elmo-emit-signal): It should pass source argument to filter and
1475         handler, not slot-source.
1476
1477 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1478
1479         * modb.el (elmo-msgdb-update-entity): New API and define generic
1480         implement.
1481
1482         * modb-standard.el (elmo-msgdb-update-entity): Define.
1483
1484         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1485         API and define generic implement.
1486
1487         * elmo.el (update-overview): New singnal.
1488
1489         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1490         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1491         (elmo-message-entity-parent): Define.
1492
1493         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1494         `update-overview'.
1495
1496         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1497
1498         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1499
1500 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1501
1502         * elmo.el (elmo-folder-synchronize): Sort the return value of
1503         `elmo-list-diff'.
1504
1505         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1506         list.
1507
1508 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1509
1510         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1511         `default-enable-multibyte-characters'.
1512         (elmo-object-load): Use `with-temp-buffer' instead of
1513         `elmo-set-work-buf'.
1514         (elmo-object-save): Ditto.
1515         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1516         `elmo-set-work-buf'.
1517         (elmo-decoded-field-body): Ditto.
1518
1519         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1520
1521         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1522         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1523
1524         * elmo-version.el (elmo-version): Up to 2.13.3.
1525
1526 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1527
1528         * elmo-util.el (elmo-list-diff): Fix the last change.
1529         Reverse order of result lists.
1530
1531 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1532
1533         * modb-standard.el (elmo-msgdb-set-flag): Use
1534         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1535         (elmo-msgdb-unset-flag): Ditto.
1536
1537         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1538         `elmo-list-diff'.
1539
1540         * elmo-util.el (elmo-list-diff): Rewrite.
1541         (elmo-list-diff-nonsortable): New function.
1542
1543 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1544
1545         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1546         `elmo-multibypte-buffer-name'.  All referers are updated.
1547
1548 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1549
1550         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1551         (elmo-mime-entity-fragment-p): New function.
1552         (mime-elmo-buffer-entity): Added slot `reassembled'.
1553         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1554         (elmo-message-mime-entity-internal): New function (renamed from
1555         `elmo-message-mime-entity').
1556         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1557         (elmo-mime-make-reassembled-mime-entity): New function.
1558         (elmo-message-reassembled-mime-entity): Ditto.
1559         (elmo-mime-collect-message/partial-pieces): Ditto.
1560
1561 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1562
1563         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1564
1565         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1566         (elmo-with-enable-multibyte): New macro.
1567
1568         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1569
1570 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1571
1572         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1573         argument `number'.
1574         (elmo-filter-connect-signals): Follow the above change.
1575
1576 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1577
1578         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1579
1580         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1581         that only the first flag is used.
1582
1583 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1584
1585         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1586         if available.
1587
1588 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1589
1590         * elmo-signal.el: New file.
1591
1592         * elmo.el (toplevel): Require elmo-signal.
1593         (flag-changing, flag-changed, cache-changed): New signal.
1594         (elmo-folder): Remove slog `handlers'.
1595         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1596         `elmo-folder-notify-event'.
1597         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1598         (elmo-folder-unset-flag): Ditto.
1599         (elmo-event-handler): Abolish.
1600         (elmo-event-handler-flag-changed): Ditto.
1601         (elmo-event-handler-cache-changed): Ditto.
1602         (elmo-folder-add-handler): Ditto.
1603         (elmo-folder-remove-handler): Ditto.
1604         (elmo-folder-notify-event): Ditto.
1605
1606         * elmo-pipe.el (toplevel): Require elmo-signal.
1607         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1608         (elmo-pipe-connect-signals): New function.
1609         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1610         (elmo-folder-set-flag): Ditto.
1611         (elmo-folder-unset-flag): Ditto.
1612         (elmo-message-set-cached): Ditto.
1613
1614         * elmo-multi.el (toplevel): Require elmo-signal.
1615         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1616         (elmo-multi-connect-signals): New function.
1617         (elmo-multi-map-numbers): Ditto.
1618         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1619         (elmo-message-fetch): Ditto.
1620         (elmo-folder-set-flag): Ditto.
1621         (elmo-folder-unset-flag): Ditto.
1622
1623         * elmo-filter.el (toplevel): Require elmo-signal.
1624         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1625         (elmo-filter-connect-signals): New function.
1626         (elmo-filter-add-flag-count): Ditto.
1627         (elmo-message-fetch): Does not call
1628         `elmo-filter-folder-countup-message-flags' and
1629         `elmo-folder-notify-event'.
1630         (elmo-message-set-cached): Ditto.
1631         (elmo-folder-set-flag): Ditto.
1632         (elmo-folder-unset-flag): Ditto.
1633
1634         * elmo-version.el (elmo-version): Up to 2.13.2.
1635
1636 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1637
1638         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1639         `flags'.
1640
1641 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1642
1643         * elmo-filter.el (elmo-message-set-cached): Call
1644         `elmo-folder-notify-event' with event `cache-changed'.
1645
1646         * elmo-multi.el (elmo-message-set-cached): Ditto.
1647
1648         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1649
1650 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1651
1652         * elmo.el (elmo-folder-encache): Abolish.
1653
1654 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1655
1656         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1657         (elmo-folder-next-message-number-dop): Return appropriate negative
1658         integer.
1659
1660 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1661
1662         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1663         clearing pending operations.
1664         (elmo-folder-next-message-number-dop): Return appropriate negative
1665         integer.
1666
1667 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1668
1669         * elmo.el (toplevel): Added autoload setting for `md5'.
1670         (elmo-msgdb-path-encode-threshold): New user option.
1671         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1672         longer than `elmo-msgdb-path-encode-threshold'.
1673
1674         * elmo-flag.el (elmo-global-mark-migrate): Use
1675         `elmo-folder-expand-msgdb-path' instead of
1676         `elmo-folder-msgdb-path'.
1677
1678 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1679
1680         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1681         element of the difference is nil.
1682
1683 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1684
1685         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1686         to the check logic of file systems which are weak in colon character.
1687
1688 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1689
1690         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1691
1692 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1693
1694         * elmo-maildir.el (elmo-maildir-move-file): New function.
1695         (elmo-folder-append-buffer): Use it.
1696         (elmo-folder-append-messages): Ditto.
1697         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1698
1699         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1700         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1701
1702         * elmo-maildir.el (elmo-maildir-separator): New user option.
1703         (elmo-maildir-adjust-separator): New macro.
1704         (elmo-maildir-list-location): Use it.
1705         (elmo-maildir-update-current): Ditto.
1706         (elmo-maildir-set-mark): Ditto.
1707         (elmo-maildir-delete-mark): Ditto.
1708         (These changes are based on Hiroya Murata's patch [wl: 13437])
1709
1710 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1711
1712         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1713
1714 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1715
1716         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1717         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1718         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1719
1720 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1721
1722         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1723         Use `with-temp-buffer'.
1724
1725 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1726
1727         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1728
1729         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1730         `wl-read-search-condition').
1731         (elmo-read-search-condition-internal): Likewise.
1732
1733         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1734         (elmo-flag-valid-p): New function.
1735         (elmo-folder-initialize): Check flag name is valid.
1736
1737 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1738
1739         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1740         delimiter to obtain root mailbox itself.
1741
1742 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1743
1744         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1745         type mismatch.
1746
1747 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1748
1749         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1750         as t.
1751
1752 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1753
1754         * elmo-shimbun.el (toplevel): Require cl at compile.
1755
1756         * elmo-nntp.el (toplevel): Ditto.
1757
1758         * elmo-nmz.el (toplevel): Ditto.
1759
1760         * elmo-multi.el (toplevel): Ditto.
1761
1762         * elmo-file.el (toplevel): Ditto.
1763
1764         * elmo-dop.el (toplevel): Ditto.
1765
1766         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1767
1768 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1769
1770         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1771         as nil.
1772
1773         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1774         size of elmo-message-fetch-internal is 0 byte.
1775
1776 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1777
1778         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1779
1780 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1781
1782         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1783         always plugged.
1784
1785 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1786
1787         * elmo-maildir.el (elmo-map-message-fetch): Call
1788         `elmo-map-folder-set-flag'.
1789
1790         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1791         (elmo-message-fetch): Merge from
1792         `elmo-message-fetch-with-cache-process'.
1793
1794         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1795         (elmo-message-fetch): Define.
1796
1797         * elmo-nntp.el (elmo-message-fetch): Renamed from
1798         `elmo-message-fetch-with-cache-process'.
1799
1800         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1801         (elmo-message-fetch): Define.
1802
1803         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1804         search-key.
1805
1806         * elmo-shimbun.el (shimbun-mua-search-id): Use
1807         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1808         (elmo-shimbun-folder-shimbun-header): Ditto.
1809         (elmo-shimbun-get-headers): Ditto.
1810         (elmo-shimbun-update-overview): Ditto.
1811
1812         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1813
1814         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1815         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1816
1817 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1818
1819         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1820         message is cached.
1821         (elmo-message-fetch-string): Fixed argument.
1822
1823 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1824
1825         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1826         exchange order of arguments `section' and `unread'.
1827         (elmo-message-encache): Follow the API change.
1828         (elmo-message-match-condition): Ditto.
1829         (elmo-generic-folder-append-messages): Ditto.
1830         (elmo-message-fetch-string): New function.
1831
1832         * elmo-split.el (elmo-split-subr): Ditto.
1833
1834         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1835
1836         * elmo-pipe.el (elmo-message-fetch): Ditto.
1837
1838         * elmo-multi.el (elmo-message-fetch): Ditto.
1839
1840         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1841
1842         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1843
1844         * elmo-filter.el (elmo-message-fetch): Ditto.
1845
1846         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1847
1848         * elmo-imap4.el (mime-imap-location-section-body): Use
1849         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1850         follow the API change.
1851
1852 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1853
1854         * elmo-access.el: New file.
1855
1856         * elmo-null.el: Ditto.
1857
1858         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1859
1860 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1861
1862         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1863         (elmo-network-session): New attribute `last-accessed'.
1864         (elmo-network-get-session): Discard network cache if elapsed time
1865         since last-accessed is larger than elmo-network-session-idle-timeout.
1866
1867 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1868
1869         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1870         and added `number', `require-entireness'.
1871         (elmo-find-fetch-strategy): Rewrite.
1872         (elmo-message-fetch): Unset `unread' flag when argument unread is
1873         non-nil.
1874
1875         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1876
1877         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1878         (elmo-message-fetch): Notify event `flag-changed'.
1879
1880         * elmo-pipe.el: Likewise.
1881
1882         * elmo-mime.el (elmo-mime-entity): New class.
1883         (elmo-mime-entity-display-p): New generic function.
1884         (elmo-mime-entity-display): Ditto.
1885         (elmo-mime-entity-display-as-is): Ditto.
1886         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1887         elmo-mime-entity.
1888         (elmo-make-mime-message-location): Removed.
1889         (elmo-mime-message-display): Ditto.
1890         (elmo-mime-display-as-is): Ditto.
1891         (elmo-message-mime-entity): New function.
1892
1893         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1894
1895         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1896         change.
1897         (elmo-message-fetch): Re-count flagged message number and notify
1898         event `flag-changed'.
1899
1900         * elmo-version.el (elmo-version): Up to 2.13.1.
1901
1902 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * elmo-filter.el (elmo-message-field): Define.
1905         (elmo-message-set-field): Ditto.
1906
1907 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1908
1909         * elmo.el (elmo-message-set-cached): Call
1910         `elmo-folder-notify-event' with cache-changed.
1911         (elmo-event-handler-cache-changed): New generic function.
1912
1913 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1914
1915         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1916         instead of elmo-add-name-to-file.
1917         (elmo-folder-append-messages): Ditto.
1918
1919 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1920
1921         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1922
1923 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1924
1925         * elmo-version.el (elmo-version): Up to 2.13.0.
1926
1927         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1928         `auto'.
1929
1930         * modb-standard.el (modb-standard-economize-entity-size): Changed
1931         default value to `t'.
1932
1933         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1934         `standard'.
1935
1936         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1937         after parsing greeting string.
1938
1939 2004-11-23  Daishi Kato <daishi@axlight.com>
1940
1941         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1942         New user option.
1943         (elmo-spam-spamoracle-call): Use it.
1944
1945 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1946
1947         * elmo.el (elmo-message-accessible-p): Message in dop spool
1948         is accessible.
1949
1950 2004-11-23  Daishi Kato <daishi@axlight.com>
1951
1952         * elsp-spamoracle.el: New file.
1953
1954 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1955
1956         * elmo.el (elmo-message-flags-for-append): New function.
1957         (elmo-generic-folder-append-messages): Use it.
1958
1959         * elmo-split.el (elmo-split-subr): Ditto.
1960
1961         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1962         `flags' and use elmo-folder-append-buffer instead of
1963         write-region-as-binary.
1964         (elmo-dop-filter-pending-messages): New function.
1965         (elmo-folder-append-buffer-dop): Call
1966         elmo-dop-spool-folder-append-buffer with `flag'.
1967         (elmo-folder-set-flag-dop): Filter messages by
1968         elmo-dop-filter-pending-messages.
1969         (elmo-folder-unset-flag-dop): Ditto.
1970         (elmo-folder-append-buffer-dop-delayed): Use
1971         elmo-message-flags-for-append to get flags of the message and
1972         simplify.
1973
1974 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1975
1976         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1977
1978 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1979
1980         * elmo.el (elmo-folder): Added handlers slot.
1981         (elmo-event-handler): New class.
1982         (elmo-event-handler-flag-changed): New API.
1983         (elmo-folder-add-handler): New function.
1984         (elmo-folder-remove-handler): Ditto.
1985         (elmo-folder-notify-event): Ditto.
1986         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1987         `flag-changed'.
1988         (elmo-folder-unset-flag): Ditto.
1989
1990         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1991         (elmo-folder-unset-flag): Ditto.
1992
1993         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1994         (elmo-folder-unset-flag): Ditto.
1995
1996         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1997         (elmo-folder-unset-flag): Ditto.
1998
1999         * elmo-version.el (elmo-version): Up to 2.11.33.
2000
2001 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2002
2003         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2004
2005 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2006
2007         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2008
2009         * elmo-flag.el (elmo-folder-unset-flag): Define.
2010         (elmo-global-flag-detach): Do process when the flag is not target
2011         flag.
2012
2013 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2014
2015         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2016         variable.
2017         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2018
2019 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2020
2021         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2022         function.
2023         (elmo-folder-delete-messages): Detach messages before delete
2024         messages from target folder.
2025         (elmo-folder-detach-messages): Set updated number-list to slot.
2026
2027 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2028
2029         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2030
2031 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2032
2033         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2034
2035 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2036
2037         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2038         internal use only).
2039         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2040         not modified.
2041         (elmo-folder-delete-messages): Define.
2042         (elmo-folder-move-messages): Don't call
2043         `elmo-folder-detach-messages'.
2044         (elmo-folder-synchronize): Rewrite.
2045         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2046
2047         * elmo-util.el (elmo-last): New function.
2048         (elmo-set-list): Ditto.
2049         (elmo-number-set-delete-list): Ditto.
2050         (elmo-number-set-delete): Ditto.
2051
2052         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2053
2054         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2055         `elmo-folder-delete-messages' and don't delete location map.
2056         (elmo-folder-detach-messages): Define.
2057
2058         * elmo-imap4.el (elmo-folder-delete): Use
2059         `elmo-folder-delete-messages-internal' instead of
2060         `elmo-folder-delete-messages'.
2061
2062         * elmo-filter.el (elmo-folder-delete-messages): Call
2063         `elmo-folder-detach-messages'.
2064         (elmo-folder-detach-messages): Don't call
2065         `elmo-folder-detach-messages' for target folder.
2066
2067         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2068         message deletion is succeeded.
2069
2070         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2071
2072         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2073         from `elmo-folder-delete-messages'.
2074
2075         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2076
2077         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2078
2079         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2080
2081         * elmo-version.el (elmo-version): Up to 2.11.32.
2082
2083 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2084
2085         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2086         (elmo-global-flag-list): Added obsolete variable setting.
2087
2088         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2089
2090         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2091         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2092         `elmo-mime-display-header-analysis' is nil.
2093
2094         * elmo-flag.el (elmo-global-flags): Renamed from
2095         `elmo-global-flag-list' (All other related portions are changed).
2096         (elmo-local-flags): New variable.
2097         (elmo-local-flag-p): New function.
2098         (elmo-global-flag-set-internal): Cause an error when flag is not
2099         global.
2100
2101 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2102
2103         * elmo-util.el (elmo-concat-path): Treat empty path.
2104
2105 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2106
2107         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2108         field-or-fields).
2109         (elmo-split-address-match): Ditto.
2110         (elmo-split-equal): Ditto.
2111         (elmo-split-match): Ditto.
2112
2113 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2114
2115         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2116         (elmo-generic-folder-append-messages): If src message exists but
2117         has no flag, pass (read) for the FLAG argument of
2118         `elmo-folder-append-buffer'. Otherwise, pass nil.
2119
2120         * elmo-split.el (elmo-split-subr): Likewise.
2121
2122         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2123
2124         * elmo-multi.el (elmo-message-flags): Ditto.
2125
2126         * elmo-filter.el (elmo-message-flags): Ditto.
2127
2128         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2129         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2130         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2131         
2132 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2133
2134         * elmo-split.el (elmo-split-rule): Update comment.
2135         (elmo-split-address-equal): Allow 2nd argument to be a list.
2136         (elmo-split-address-match): Ditto.
2137         (elmo-split-equal): Ditto.
2138         (elmo-split-match): Ditto.
2139
2140 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2141
2142         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2143         (elmo-folder-append-msgdb): Don't treat `read'.
2144         (elmo-message-flags): Don't return `read'.
2145
2146         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2147         (elmo-folder-unset-read-delayed): Ditto.
2148
2149         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2150
2151 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2152
2153         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2154         deletion.
2155
2156 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2157
2158         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2159         header.
2160
2161 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2162
2163         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2164         here.
2165         (elmo-msgdb-save): Bind inhibit-quit.
2166         (modb-standard-message-entity): Ditto.
2167
2168 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2169
2170         * elmo-database.el: No need to require elmo-msgdb.
2171
2172 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2173
2174         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2175         instead of `elmo-list-subdirectories'.
2176
2177 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2178
2179         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2180         group entry.
2181         (elmo-folder-exists-p): "[" is empty.
2182         (elmo-folder-list-subfolders): Define.
2183         (elmo-folder-have-subfolder-p): Ditto.
2184
2185 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2186
2187         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2188
2189 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2190
2191         * elmo-filter.el (elmo-folder-local-p): Define.
2192
2193 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2194
2195         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2196         when entity is garbaged.
2197         (modb-standard-save-entity-1): Don't modify the original entity.
2198
2199 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2200
2201         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2202
2203 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2204
2205         * elmo.el (elmo-strict-folder-diff): Use
2206         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2207
2208 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2209
2210         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2211         (elmo-msgdb-message-number): Ditto.
2212         (elmo-msgdb-message-field): Ditto.
2213
2214         * modb-standard.el (modb-standard-economize-entity-size): New user
2215         option.
2216         (modb-standard-loaded-message-id): New inline function.
2217         (modb-standard-load-entity): Use it.
2218         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2219         throw message-id string away.
2220         (elmo-msgdb-flag-available-p): Define.
2221         (elmo-msgdb-message-number): Ditto.
2222         (elmo-msgdb-message-field): Ditto.
2223
2224         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2225         (suppoted -> supported).
2226         (modb-legacy-supported-flag-p): Ditto.
2227         (elmo-msgdb-set-flag): Ditto.
2228         (elmo-msgdb-unset-flag): Ditto.
2229         (elmo-msgdb-flag-available-p): Define.
2230
2231         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2232         is `t', treat it as legacy entity.
2233         
2234         * elmo.el (elmo-message-flag-available-p): New generic function.
2235         (elmo-message-number): Ditto.
2236         (elmo-message-field): Use `elmo-msgdb-message-field'.
2237
2238         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2239
2240         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2241         (elmo-message-number): Ditto.
2242
2243         * elmo-multi.el (elmo-message-number): Define.
2244         (elmo-message-flag-available-p): Ditto.
2245
2246         * elmo-filter.el (elmo-message-flag-available-p): Define.
2247         (elmo-message-number): Ditto.
2248
2249         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2250         (elmo-folder-initialize): Load `max-number'.
2251         (elmo-folder-commit): Save it.
2252         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2253         (elmo-global-flag-set-internal): Set up max-number slot.
2254
2255 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2256
2257         * elmo-version.el (elmo-version): Up to 2.11.31.
2258
2259 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2260
2261         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2262         unibyte string of the current buffer for the argument of `md5'
2263         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2264
2265 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2266
2267         * modb-legacy.el (modb-legacy-flag-list): New constant.
2268         (modb-legacy-suppoted-flag-p): New internal function.
2269         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2270         (elmo-msgdb-unset-flag): Ditto.
2271
2272 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2273
2274         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2275
2276         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2277         from msgdb.
2278
2279 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2280
2281         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2282         (follow the API change).
2283
2284         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2285
2286 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2287
2288         * modb-standard.el (modb-standard-digest-flags): Abolish.
2289         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2290
2291         * elmo-vars.el (elmo-digest-flags): New variable.
2292         (elmo-preserved-flags): Moved from elmo-flag.el.
2293
2294         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2295         (elmo-imap4-flag-to-imap-criteria): Ditto.
2296         (elmo-imap4-folder-list-flagged): Use it.
2297
2298         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2299
2300         * elmo.el (elmo-folder-count-flags): Changed return value.
2301
2302         * elmo-flag.el (elmo-preserved-flags): New variable.
2303         (elmo-get-global-flags): Use it.
2304
2305         * modb-standard.el (modb-standard-digest-flags): New variable.
2306         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2307         Changed behavior of `any'.
2308
2309         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2310         which are defined the Internet draft
2311         (draft-melnikov-imap-keywords-03.txt).
2312         (elmo-imap4-flags-to-imap): New function.
2313         (elmo-folder-append-buffer): Use it.
2314
2315         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2316         in the docstring.
2317
2318         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2319         avoid the bug of Emacs 21.3.
2320
2321 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2322
2323         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2324         function find-coding-system does not exist.
2325
2326 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2327
2328         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2329         parsing.
2330
2331 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2332
2333         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2334         response codes.
2335
2336 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2337
2338         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2339         (elmo-network-close-session): Follow the changes in
2340         `elmo-pop3-read-response'.
2341         (elmo-pop3-auth-user): Ditto.
2342         (elmo-pop3-auth-apop): Ditto.
2343         (elmo-network-initialize-session): Ditto.
2344         (elmo-network-authenticate-session): Ditto.
2345         (elmo-network-setup-session): Ditto.
2346         (elmo-folder-status): Ditto.
2347         (elmo-message-fetch-plugged): Ditto.
2348         (elmo-pop3-delete-msg): Ditto.
2349
2350 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2351
2352         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2353         on failure.
2354
2355 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2356
2357         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2358         style.
2359         (elmo-bind-directory): Ditto.
2360
2361 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2362
2363         * elmo.el (elmo-folder-append-messages): Note on return value.
2364         * elmo-archive.el (elmo-folder-append-messages): Don't return
2365         message numbers which could not be appended.
2366
2367 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2368
2369         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2370
2371 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2372
2373         * elmo-version.el (elmo-version): Up to 2.11.30.
2374
2375 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2376
2377         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2378         `mask'.
2379
2380         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2381
2382         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2383         (elmo-multi-split-numbers): Add elmo-folder object into each
2384         element of return value at first.
2385         (elmo-folder-delete-messages): Follow the above change.
2386         (elmo-folder-detach-messages): Ditto.
2387
2388         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2389         number which is synchronized in target folder.
2390
2391 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2392
2393         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2394         Change default value to symbol `all'.
2395         (elmo-map-message-fetch): Change condition to update overview
2396         follow the above.
2397
2398 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2399
2400         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2401         behavior to update overview.
2402         (elmo-shimbun-update-overview-folder-list): Note it.
2403
2404 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2405
2406         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2407         recursive call.
2408
2409 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2410
2411         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2412         buffer-disable-undo, it is unnecessary.
2413         (elmo-spam-register-good-messages): Ditto.
2414
2415         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2416         Ditto.
2417
2418         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2419
2420 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2421
2422         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2423         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2424         elmo-set-buffer-multibyte.
2425         (elmo-object-load): Ditto.
2426         (elmo-save-buffer): Ditto.
2427         (elmo-delete-char): Ditto.
2428         (elmo-file-field-primitive-condition-match): Ditto.
2429         (elmo-mime-string): Ditto.
2430
2431         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2432         (elmo-archive-field-condition-match): Ditto.
2433
2434         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2435
2436         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2437
2438         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2439         (elmo-nntp-msgdb-create-message): Ditto.
2440
2441         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2442
2443         * elmo.el (elmo-message-match-condition): Ditto.
2444         (elmo-message-match-condition): Ditto.
2445
2446         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2447         Ditto.
2448
2449         * elmo-version.el (elmo-version): Up to 2.11.29.
2450
2451         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2452         (elsp-header): New backend.
2453
2454         * elmo-util.el (elmo-decoded-field-body): New function.
2455
2456 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2457
2458         * elmo-version.el (elmo-version): Up to 2.11.28.
2459
2460 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2461
2462         * elmo-filter.el: Rewrite.
2463
2464         * elmo-version.el (elmo-version): Up to 2.11.27.
2465
2466 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2467
2468         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2469         msgdb path for the localdir folder with absolute path.
2470
2471         * utf7.el: Synch up with latest gnus/utf7.el;
2472         Modified for latest Emacs.
2473
2474 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2475
2476         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2477         shimbun backend couldn't open.
2478
2479 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2480
2481         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2482         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2483         when a destination folder is a filter folder.
2484
2485 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2486
2487         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2488         (elmo-generic-folder-append-messages): Call elmo-message-flags
2489         with argument `msgid'.
2490
2491         * elmo-split.el (elmo-split-subr): Ditto.
2492
2493         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2494
2495         * elmo-multi.el (elmo-message-flags): Ditto.
2496
2497 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2498
2499         * elmo.el (elmo-folder): Add new slot `flag-table'.
2500         (elmo-folder-flag-table): New API.
2501         (elmo-folder-close-flag-table): Ditto.
2502         (elmo-folder-preserve-flags): New function.
2503         (elmo-generic-folder-append-messages): Use
2504         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2505         Flag of a non-registered message, it sets to nil.
2506         Does not set flag to flag-table.
2507
2508         * elmo-maildir.el (elmo-folder-append-buffer): Use
2509         `elmo-folder-preserve-flags'.
2510         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2511         `elmo-folder-close-flag-table'.
2512
2513         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2514         (elmo-archive-folder-append-buffer): Use
2515         `elmo-folder-preserve-flags'.
2516
2517         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2518
2519         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2520
2521         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2522         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2523         `elmo-folder-close-flag-table'.
2524
2525         * elmo-version.el (elmo-version): Up to 2.11.26.
2526
2527 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2528
2529         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2530
2531         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2532         md5's 4th and 5th argument (non-existent in flim one).
2533
2534 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2535
2536         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2537         message, It sets to nil.
2538
2539 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2540
2541         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2542         list is non-nil.
2543
2544 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2545
2546         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2547
2548         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2549
2550         * elmo-util.el (elmo-uniq-sorted-list): New function.
2551         (elmo-make-number-list): Ditto.
2552         (elmo-number-set-to-number-list): Use elmo-make-number-list
2553         and don't use nreverse.
2554
2555 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2556
2557         * elmo-version.el (elmo-version): Up to 2.11.25.
2558
2559 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2560
2561         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2562         field not exists in message, Use md5 message digest of header.
2563
2564 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2565
2566         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2567         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2568         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2569         * elmo-split.el (elmo-split-subr): Check return value of
2570         elmo-folder-append-buffer.
2571
2572         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2573         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2574
2575         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2576         message-id.
2577
2578 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2579
2580         * elmo-split.el (elmo-split-subr): Append message with flag.
2581
2582         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2583         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2584         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2585
2586 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2587
2588         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2589         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2590         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2591
2592 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2593
2594         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2595         with a function call of `process-buffer'.  All callers are updated.
2596         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2597         Remove redundant `set-buffer' in a while loop.
2598
2599 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2600
2601         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2602         calls.
2603
2604 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2605
2606         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2607         elsp-spamfilter-register-buffer-internal with current buffer.
2608         (elmo-spam-register-spam-buffer): Ditto.
2609         (elmo-spam-register-good-buffer): Ditto.
2610
2611 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2612
2613         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2614         if it is not contained in the response(A workaround for courier-imap).
2615
2616 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2617
2618         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2619         parenthesis.
2620
2621 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2622
2623         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2624         range.
2625
2626 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2627
2628         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2629         of nconc.
2630
2631         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2632         argument handler.
2633         (elmo-msgdb-message-match-condition): Follow the change above.
2634
2635 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2636
2637         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2638         folder name.
2639
2640 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2641
2642         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2643
2644 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2645
2646         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2647
2648 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2649
2650         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2651         not found.
2652
2653 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2654
2655         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2656         value.
2657         (elmo-file-command-argument): Undo last change for cygwin.
2658         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2659         Don't return nil.
2660         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2661
2662 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2663
2664         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2665         value returned from elmo-file-find is nil.
2666
2667 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2668
2669         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2670         to elmo-vars.el.
2671
2672         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2673         instead of insert-file-contents-as-binary.
2674         (elmo-message-set-field): New generic function.
2675
2676         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2677         behavior change on `split-string'.
2678
2679         * elmo-file.el (elmo-file-find): New function.
2680         (elmo-file-command): New user option.
2681         (elmo-file-command-argument): Ditto.
2682         (elmo-file-fetch-max-size): Ditto.
2683         (elmo-file-detect-format): New function.
2684         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2685         Use elmo-file-detect-format.
2686         (elmo-map-folder-list-message-locations): Don't treat directories.
2687
2688 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2689
2690         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2691         (elmo-passwd-alist-clear): Shred password before clear.
2692         (elmo-remove-passwd): Remove all mached pair.
2693
2694 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2695
2696         * elmo.el (elmo-folder-synchronize): Fix description of the return
2697         value.
2698
2699 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2700
2701         * elmo.el (elmo-message-fetch-bodystructure): New method.
2702         (elmo-message-fetch-bodystructure): Define default.
2703
2704         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2705         elmo-message-fetch-bodystructure.
2706         (elmo-message-fetch-bodystructure): Define.
2707
2708         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2709
2710 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2711
2712         * elmo-filter.el (elmo-message-folder): Define.
2713
2714 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2715
2716         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2717         elmo-delete-cr-buffer.
2718
2719         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2720
2721         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2722
2723         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2724
2725         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2726         type seems to be a text.
2727
2728 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2729
2730         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2731         (elmo-spam-register-good-buffer): Ditto.
2732         (elmo-spam-spamassassin-register-messages): Ditto.
2733
2734         * elmo-util.el (elmo-string-member-ignore-case): Define with
2735         static-cond.
2736
2737 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2738
2739         * elmo.el (elmo-folder-type): Undo last change.
2740
2741         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2742
2743         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2744         warnings.
2745
2746         * elmo-file.el: New file.
2747         
2748         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2749
2750         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2751         variable.
2752         (elmo-spam-spamassassin-register-messages): New inline function.
2753         (elmo-spam-register-spam-messages): Define.
2754         (elmo-spam-register-good-messages): Ditto.
2755
2756         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2757         Fixed typo.
2758
2759         * elmo.el (toplevel): Added autoload setting for
2760         `elmo-get-global-flags'.
2761         (elmo-message-has-global-flag-p): New function.
2762         (elmo-message-set-global-flags): Ditto.
2763         (elmo-folder-type): Improvement for name: format.
2764
2765         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2766         availability of keyword flags.
2767         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2768         (elmo-folder-list-flagged-plugged): Renamed from
2769         elmo-folder-list-flagged-unplugged.
2770         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2771         accept any flag as keyword flag.
2772         (elmo-folder-set-flag-plugged): Accept keyword flags.
2773         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2774
2775         * elmo-flag.el (elmo-get-global-flags): New function.
2776
2777         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2778         folders.
2779
2780         * elmo-version.el (elmo-version): Up to 2.11.24.
2781
2782 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2783
2784         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2785         elmo-multiple-field-body instead of std11-field-body to check all
2786         headers.
2787
2788 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2789
2790         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2791         or "size".
2792
2793 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2794
2795         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2796         unintern is unbound.
2797
2798 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2799
2800         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2801         Protect from infinite loop.
2802
2803 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2804
2805         * elsp-bogofilter.el
2806         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2807         (elmo-spam-bogofilter-register-messages): New internal function.
2808         (elmo-spam-register-spam-messages): Define.
2809         (elmo-spam-register-good-messages): Ditto.
2810
2811 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2812
2813         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2814         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2815         (elmo-spam-bogofilter-call): Fixed the last change.
2816         (elmo-spam-bogofilter-arguments): Ditto.
2817
2818         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2819         Follow the options change of latest bogofilter.
2820
2821         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2822         (elmo-spam-bogofilter-good-switch): Ditto.
2823         (elmo-spam-bogofilter-arguments-alist): New user option.
2824         (elmo-spam-bogofilter-debug): Ditto.
2825         (elmo-spam-bogofilter-call): Renamed from
2826         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2827         is non-nil, insert output in buffer for debug.
2828         (elmo-spam-bogofilter-arguments): New macro.
2829         (elmo-spam-buffer-spam-p): Use it.
2830         (elsp-bogofilter-register-buffer): Ditto.
2831
2832 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2833
2834         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2835         regexp.
2836
2837 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2838
2839         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2840         value as "ruby".
2841         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2842         (elmo-spam-bsfilter-program): Set default value as full path for
2843         `bsfilter'.
2844         (elmo-spam-bsfilter-debug): New user option.
2845         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2846         non-nil, insert output in buffer for debug. Fix treating of
2847         argument.
2848
2849 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2850
2851         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2852         `elmo-maildir-flag-specs' element instead of one.
2853         (elmo-map-folder-unset-flag): Ditto.
2854         (Reported by Ken Makimura <macky@astem.or.jp>)
2855
2856         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2857         (elmo-folder-unset-flag-plugged): Ditto.
2858
2859 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2860
2861         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2862         to `reads' slot only if `in-msgdb' is nil.
2863
2864 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2865
2866         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2867         and complement argument list.
2868
2869 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2870
2871         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2872         instead of elmo-folder-list-flagged.
2873
2874 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2875
2876         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2877
2878         * elsp-bsfilter.el: New file.
2879
2880         * elmo-pipe.el (elmo-folder-list-unreads,
2881         elmo-folder-list-answereds,
2882         elmo-folder-list-importants,
2883         elmo-folder-flag-as-important,
2884         elmo-folder-unflag-important,
2885         elmo-folder-flag-as-read,
2886         elmo-folder-unflag-read,
2887         elmo-folder-flag-as-answered,
2888         elmo-folder-unflag-answered): Remove.
2889         (elmo-folder-set-flag): Define.
2890         (elmo-folder-unset-flag): Ditto.
2891
2892         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2893         (elmo-folder-set-flag): Define.
2894         (elmo-folder-unset-flag): Ditto.
2895         (elmo-folder-list-unreads): Remove.
2896         (elmo-folder-list-flagged): Define.
2897
2898         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2899         (elmo-folder-list-unreads,
2900         elmo-folder-list-importants,
2901         elmo-folder-list-answereds,
2902         elmo-folder-list-unreads-plugged,
2903         elmo-folder-list-importants-plugged,
2904         elmo-folder-list-answereds-plugged): Remove.
2905         (elmo-folder-list-flagged-plugged): New method.
2906         (elmo-folder-unflag-important,
2907         elmo-folder-flag-as-important,
2908         elmo-folder-unflag-read,
2909         elmo-folder-flag-as-read,
2910         elmo-folder-unflag-answered,
2911         elmo-folder-flag-as-answered,
2912         elmo-folder-flag-as-read-unplugged,
2913         elmo-folder-unflag-read-unplugged,
2914         elmo-folder-flag-as-important-unplugged,
2915         elmo-folder-unflag-important-unplugged,
2916         elmo-folder-flag-as-answered-unplugged,
2917         elmo-folder-unflag-answered-unplugged): Remove.
2918         (elmo-folder-set-flag): Define.
2919         (elmo-folder-unset-flag): Ditto.
2920         (elmo-folder-set-flag-unplugged): Ditto.
2921         (elmo-folder-unset-flag-unplugged): Ditto.
2922
2923         * elmo-multi.el (elmo-folder-list-unreads,
2924         elmo-folder-list-answereds,
2925         elmo-folder-list-importants,
2926         elmo-folder-flag-as-important,
2927         elmo-folder-unflag-important,
2928         elmo-folder-flag-as-read,
2929         elmo-folder-unflag-read,
2930         elmo-folder-flag-as-answered,
2931         elmo-folder-unflag-answered): Remove.
2932         (elmo-folder-set-flag): Define.
2933         (elmo-folder-unset-flag): Ditto.
2934
2935         * elmo-map.el (elmo-map-folder-unflag-important,
2936         elmo-map-folder-flag-as-important,
2937         elmo-map-folder-unflag-read,
2938         elmo-map-folder-flag-as-read,
2939         elmo-map-folder-unflag-answered,
2940         elmo-map-folder-flag-as-answered): Remove.
2941         (elmo-map-folder-set-flag): New method.
2942         (elmo-map-folder-unset-flag): Ditto.
2943         (elmo-map-folder-list-unreads,
2944         elmo-map-folder-list-importants,
2945         elmo-map-folder-list-answereds): Remove.
2946         (elmo-folder-list-flagged-internal): Define.
2947         (elmo-map-folder-list-flagged): New method.
2948
2949         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2950         (elmo-map-folder-list-unreads,
2951         elmo-map-folder-list-importants,
2952         elmo-map-folder-list-flagged): Remove.
2953         (elmo-map-folder-list-flagged): Define.
2954         (elmo-map-folder-flag-as-important,
2955         elmo-map-folder-unflag-important,
2956         elmo-map-folder-flag-as-read,
2957         elmo-map-folder-unflag-read,
2958         elmo-map-folder-flag-as-answered,
2959         elmo-map-folder-unflag-answered): Remove.
2960         (elmo-maildir-set-mark-messages): New internal function.
2961         (elmo-map-folder-set-flag): Define.
2962         (elmo-map-folder-unset-flag): Ditto.
2963
2964         * elmo.el (toplevel): Added autoload setting for
2965         `elmo-folder-list-global-flag-messages'.
2966         (elmo-folder-list-unreads,
2967         elmo-folder-list-importants,
2968         elmo-folder-list-answereds): Remove.
2969         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2970         Return a list whitch merged with messages have global flag.
2971         (elmo-folder-list-flagged-internal): New method.
2972         (elmo-folder-unflag-important,
2973         elmo-folder-flag-as-important,
2974         elmo-folder-unflag-read,
2975         elmo-folder-flag-as-read,
2976         elmo-folder-unflag-answered,
2977         elmo-folder-flag-as-answered): Remove.
2978         (elmo-folder-set-flag): New method.
2979         (elmo-folder-unset-flag): Ditto.
2980         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2981         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2982
2983         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2984         (elmo-folder-list-unreads-plugged,
2985         elmo-folder-list-importants-plugged,
2986         elmo-folder-list-answereds-plugged,
2987         elmo-folder-list-flagged-unplugged,
2988         elmo-folder-unflag-important-plugged,
2989         elmo-folder-flag-as-important-plugged,
2990         elmo-folder-unflag-read-plugged,
2991         elmo-folder-flag-as-read-plugged,
2992         elmo-folder-unflag-answered-plugged,
2993         elmo-folder-flag-as-answered-plugged): Remove.
2994         (elmo-folder-set-flag-plugged,
2995         elmo-folder-unset-flag-plugged): Define.
2996
2997         * elmo-flag.el (elmo-folder-initialize): Register to
2998         `elmo-global-flag-list' if flag is not global.
2999         (elmo-folder-append-messages): Set flag to source messages.
3000
3001         * elmo-filter.el (elmo-filter-folder-list-unreads,
3002         elmo-folder-list-unreads,
3003         elmo-filter-folder-list-importants,
3004         elmo-folder-list-importants,
3005         elmo-folder-flag-as-read,
3006         elmo-folder-unflag-read,
3007         elmo-folder-flag-as-important,
3008         elmo-folder-unflag-important,
3009         elmo-folder-flag-as-answered,
3010         elmo-folder-unflag-answered): Remove.
3011         (elmo-folder-set-flag): Define.
3012         (elmo-folder-unset-flag): Ditto.
3013
3014         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3015         elmo-folder-unflag-read-dop,
3016         elmo-folder-flag-as-important-dop,
3017         elmo-folder-unflag-important-dop,
3018         elmo-folder-flag-as-answered-dop,
3019         elmo-folder-unflag-answered-dop): Remove.
3020         (elmo-folder-set-flag-dop,
3021         elmo-folder-unset-flag-dop,
3022         elmo-folder-set-important-delayed,
3023         elmo-folder-unset-important-delayed,
3024         elmo-folder-set-read-delayed,
3025         elmo-folder-unset-read-delayed,
3026         elmo-folder-set-answered-delayed,
3027         elmo-folder-unset-answered-delayed): New function.
3028         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3029         (elmo-dop-queue-method-name-alist): Ditto.
3030
3031         * elmo-version.el (elmo-version): Up to 2.11.23.
3032
3033 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3034
3035         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3036
3037         * elsp-sa.el: New file.
3038
3039 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3040
3041         * modb-standard.el (modb-standard-message-entity): New function.
3042         (elmo-msgdb-message-entity): Use it.
3043
3044 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3045
3046         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3047         behavior when one-level is nil.
3048
3049         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3050
3051         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3052
3053 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3054
3055         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3056         get max number.
3057         (elmo-generic-folder-diff): Ditto.
3058
3059         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3060         (elmo-folder-update-number): Ditto.
3061
3062         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3063         (elmo-folder-next-message-number-dop): Ditto.
3064
3065 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3066
3067         * elmo-filter.el (elmo-folder-msgdb-create): Use
3068         `elmo-message-entity' and `elmo-message-flags' instead of
3069         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3070
3071 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3072
3073         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3074         `if-exists'.
3075
3076 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3077
3078         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3079
3080         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3081
3082         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3083
3084 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3085
3086         * elmo-version.el (elmo-version): Up to 2.11.22.
3087
3088 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3089
3090         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3091
3092 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3093
3094         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3095         if the message dose not exist.
3096
3097 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3098
3099         * elmo-version.el (elmo-version): Up to 2.11.21.
3100
3101 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3102
3103         * modb-standard.el (toplevel): Don't require mime.
3104
3105 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3106
3107         * elsp-bogofilter.el (toplevel): Don't require path-util.
3108         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3109         (elmo-spam-bogofilter-header): Abolish.
3110         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3111         (elmo-spam-bogofilter-args): New user option.
3112         (elsp-bogofilter-call-bogofilter): New internal function.
3113         (elmo-spam-buffer-spam-p): Use it.
3114         (elsp-bogofilter-register-buffer): Renamed from
3115         `elmo-spam-bogofilter-register-buffer';
3116         Use `elsp-bogofilter-call-bogofilter'.
3117         (elmo-spam-register-spam-buffer): Follow the change above.
3118         (elmo-spam-register-good-buffer): Ditto.
3119
3120 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3121
3122         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3123         message-id is nil do nothing.
3124
3125 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3126
3127         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3128         Revival.
3129         (elmo-imap4-session): Removed use-flag slot.
3130         (elmo-imap4-session-select-mailbox): Undo last change.
3131         (elmo-folder-use-flag-p): Use
3132         elmo-imap4-disuse-server-flag-mailbox-regexp.
3133
3134 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3135
3136         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3137         (elmo-imap4-session-select-mailbox): Set it up.
3138         (elmo-folder-use-flag-p): Return value of use-flag slot.
3139
3140 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3141
3142         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3143         message-id is nil.
3144         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3145
3146         * modb-entity.el (elmo-message-entity-handler): Likewise.
3147
3148 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3149
3150         * elmo.el (toplevel): Remove setting of autoloding for
3151         elmo-global-flag-initialize.
3152         (elmo-init): Don't call elmo-global-flag-initialize.
3153         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3154
3155         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3156         (elmo-global-mark-migrate): Don't call it.
3157         (elmo-global-mark-upgrade): Ditto.
3158
3159 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3160
3161         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3162         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3163
3164         * elmo-vars.el (elmo-init-hook): New user option.
3165
3166         * elmo.el (elmo-init): Run the elmo-init-hook.
3167
3168         * elmo-flag.el (elmo-global-mark-migrate): New function.
3169
3170 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3171
3172         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3173         Undo last change (move to elmo-msgdb-unset-flag).
3174         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3175         flag is unset.
3176
3177 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3178
3179         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3180         read flag is set.
3181         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3182         (elmo-msgdb-unset-flag): Ditto.
3183
3184 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3185
3186         * elmo-split.el (elmo-split): Return split message count.
3187
3188 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3189
3190         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3191         is nil.
3192
3193 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3194
3195         * elmo.el (elmo-folder-unflag-important): Call
3196         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3197         a symbol `always'.
3198
3199         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3200         before unset flag.
3201         (elmo-global-flag-detach): Delete the message from flag folder, if
3202         `delete-if-none' is a symbol `always'.
3203
3204 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3205
3206         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3207         `elmo-spam-spamfilter-decode-buffer'.
3208         (elsp-spamfilter-register-buffer-internal): New internal function.
3209         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3210         (elmo-spam-register-spam-buffer): Ditto.
3211         (elmo-spam-register-good-buffer): Ditto.
3212
3213         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3214         change.
3215         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3216         (elmo-spam-register-spam-buffer): Follow the API change.
3217         (elmo-spam-register-good-buffer): Ditto.
3218
3219         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3220         (elmo-split-spam-p): Added argument plist; Call
3221         `elmo-spam-buffer-spam-p' with new argument register.
3222
3223         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3224         `register'.
3225         (elmo-spam-message-spam-p): Ditto.
3226         (elmo-spam-register-spam-buffer): Added optional argument
3227         `restore'.
3228         (elmo-spam-register-good-buffer): Ditto.
3229         (elmo-spam-register-spam-messages): Ditto.
3230         (elmo-spam-register-good-messages): Ditto.
3231
3232 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3233
3234         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3235         register into good corpus.
3236         (elmo-spam-register-good-buffer): Fixed to register into bad
3237         corpus.
3238
3239 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3240
3241         * elmo-version.el (elmo-version): Up to 2.11.20.
3242
3243         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3244         change.
3245
3246         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3247         flag without depending on \Recent flag.
3248
3249 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3250
3251         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3252         (elmo-spam-modified-p): Defined.
3253         (elmo-spam-save-status): Set `modified' slot to nil.
3254         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3255         (elmo-spam-register-good-buffer): Ditto.
3256
3257         * elmo-spam.el (elmo-spam-modified-p): New API.
3258
3259 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3260
3261         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3262         duplicate definition.
3263
3264         * elmo-util.el (elmo-unfold-field-body): New function.
3265         (elmo-msgdb-get-message-id-from-buffer): Use it.
3266
3267         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3268         Fixed the last change; Use elmo-unfold-field-body.
3269
3270 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3271
3272         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3273         Unfold date value.
3274
3275 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3276
3277         * elmo-spam.el (elmo-spam-save-status): New API.
3278
3279         * elsp-spamfilter.el: New file.
3280
3281 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3282
3283         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3284
3285 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3286
3287         * elmo-split.el (elmo-split-spam-p): New function.
3288
3289         * elmo-spam.el: New file.
3290
3291         * elsp-bogofilter.el: Ditto.
3292
3293 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3294
3295         * elmo.el (elmo-folder-next-message-number): New API.
3296         (elmo-folder-next-message-number): Define.
3297         (elmo-message-field): Don't check folder length.
3298
3299         * elmo-net.el (elmo-folder-next-message-number): Define.
3300         (elmo-folder-next-message-number-unplugged): Define.
3301
3302         * elmo-map.el (elmo-folder-next-message-number): Define.
3303         (elmo-folder-delete-messages): Clear hash value.
3304
3305         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3306
3307         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3308         (elmo-folder-delete-messages-dop-delayed): Always return t.
3309
3310         * elmo-version.el (elmo-version): Up to 2.11.19.
3311
3312 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3313
3314         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3315         change.
3316
3317         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3318         identical cons cell into the mark-alist and the hash table.
3319
3320 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3321
3322         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3323         elmo-folder-list-messages with argument `visible-only' as t.
3324
3325         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3326         (elmo-folder-msgdb-create): Check the target folder.
3327
3328 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3329
3330         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3331         `permanentflag' instead of `flags'.
3332         (elmo-folder-open): Ditto.
3333         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3334         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3335         (elmo-folder-use-flag-p): Always return t.
3336         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3337         `permanentflags' does not exist.
3338         (elmo-folder-open): Ditto.
3339
3340 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3341
3342         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3343         is nil.
3344         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3345
3346         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3347         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3348         response.
3349         (elmo-folder-open): Ditto.
3350         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3351         slot of the session includes the flag.
3352         (elmo-imap4-session-flag-available-p): New function.
3353         (elmo-imap4-folder-list-flagged): Ditto.
3354         (elmo-folder-list-unreads-plugged): Use it.
3355         (elmo-folder-list-importants-plugged): Ditto.
3356         (elmo-folder-list-answereds-plugged): Ditto.
3357         (elmo-imap4-search-internal-primitive): Ditto.
3358         (elmo-imap4-folder-list-any-plugged,
3359         elmo-imap4-folder-list-digest-plugged): Abolish.
3360
3361         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3362         if numbers is nil.
3363
3364 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3365
3366         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3367
3368 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3369
3370         * elmo-util.el (elmo-get-hash-val): Simplify.
3371         (elmo-set-hash-val): Rewrite.
3372
3373 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3374
3375         * elmo.el (elmo-folder-list-messages): Append killed messages into
3376         result if `visible-only' is nil and `in-msgdb' is non-nil.
3377
3378         * elmo-util.el (elmo-uniq-list): Added optional argument
3379         `delete-function'.
3380
3381         * modb.el (elmo-msgdb-flag-count): New API.
3382
3383         * modb-standard.el (modb-standard): Added slot flag-count.
3384         (modb-standard-countup-flags): New function.
3385         (modb-standard-load-flag): Call it.
3386         (elmo-msgdb-append): Ditto.
3387         (elmo-msgdb-clear): Clear slot flag-count.
3388         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3389         (elmo-msgdb-unset-flag): Treat `all' flag and call
3390         modb-standard-countup-flags.
3391         (elmo-msgdb-flag-count): Define.
3392         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3393         (elmo-msgdb-delete-messages): Ditto.
3394
3395         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3396         (elmo-msgdb-flag-count): Define.
3397
3398         * elmo.el (elmo-folder-list-messages): Undo last change.
3399         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3400         (elmo-folder-kill-messages): Unset all flags to numbers.
3401
3402         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3403         elmo-folder-kill-messages.
3404
3405         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3406         (elmo-nntp-folder-delete-messages): Abolish.
3407
3408         * elmo-version.el (elmo-version): Up to 2.11.18.
3409
3410 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3411
3412         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3413         (elmo-folder-kill-messages-range): New function.
3414         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3415         instead of elmo-folder-kill-messages-before.
3416
3417 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3418
3419         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3420         elmo-imap4-current-msgdb to decide entity handler.
3421
3422 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3423
3424         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3425
3426         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3427         inline function.
3428         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3429         (elmo-msgdb-overview-entity-set-number,
3430         elmo-msgdb-overview-entity-get-references,
3431         elmo-msgdb-overview-entity-set-references,
3432         elmo-msgdb-overview-entity-get-from-no-decode,
3433         elmo-msgdb-overview-entity-get-from,
3434         elmo-msgdb-overview-entity-set-from,
3435         elmo-msgdb-overview-entity-get-subject,
3436         elmo-msgdb-overview-entity-get-subject-no-decode,
3437         elmo-msgdb-overview-entity-set-subject,
3438         elmo-msgdb-overview-entity-get-date,
3439         elmo-msgdb-overview-entity-set-date,
3440         elmo-msgdb-overview-entity-get-to,
3441         elmo-msgdb-overview-entity-get-cc,
3442         elmo-msgdb-overview-entity-get-size,
3443         elmo-msgdb-overview-entity-set-size,
3444         elmo-msgdb-overview-entity-get-extra,
3445         elmo-msgdb-overview-entity-set-extra,
3446         elmo-msgdb-overview-entity-get-extra-field,
3447         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3448         (elmo-msgdb-make-index): Use
3449         `elmo-msgdb-overview-entity-get-number-internal'.
3450         (elmo-msgdb-clear-index): Ditto.
3451         (elmo-msgdb-append-entity): Ditto;
3452         Use `elmo-msgdb-overview-entity-get-id-internal'.
3453
3454         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3455         elmo-msgdb-overview-entity-set-number,
3456         elmo-msgdb-overview-entity-get-references,
3457         elmo-msgdb-overview-entity-set-references,
3458         elmo-msgdb-overview-entity-get-from-no-decode,
3459         elmo-msgdb-overview-entity-get-from,
3460         elmo-msgdb-overview-entity-set-from,
3461         elmo-msgdb-overview-entity-get-subject,
3462         elmo-msgdb-overview-entity-get-subject-no-decode,
3463         elmo-msgdb-overview-entity-set-subject,
3464         elmo-msgdb-overview-entity-get-date,
3465         elmo-msgdb-overview-entity-set-date,
3466         elmo-msgdb-overview-entity-get-to,
3467         elmo-msgdb-overview-entity-get-cc,
3468         elmo-msgdb-overview-entity-get-size,
3469         elmo-msgdb-overview-entity-set-size,
3470         elmo-msgdb-overview-entity-get-extra,
3471         elmo-msgdb-overview-entity-set-extra,
3472         elmo-msgdb-overview-entity-get-extra-field,
3473         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3474         and rewrote for backward compatibility.
3475
3476 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3477
3478         * elmo.el (elmo-message-entity-number,
3479         elmo-message-entity-set-number,
3480         elmo-message-entity-field,
3481         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3482
3483         * elmo-msgdb.el (elmo-message-entity-number,
3484         elmo-message-entity-set-number,
3485         elmo-message-entity-field,
3486         elmo-message-entity-set-field): Moved from elmo.el.
3487
3488 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3489
3490         * elmo.el (toplevel): Changed definition orders.
3491
3492 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3493
3494         * modb.el (elmo-msgdb-search): New API .
3495         (elmo-msgdb-match-condition): Ditto.
3496
3497         * modb-standard.el (elmo-msgdb-search): Define.
3498
3499         * modb-legacy.el (elmo-msgdb-search): Ditto.
3500
3501         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3502         from elmo-msgdb-match-condition-internal.
3503
3504         * elmo.el (elmo-folder-search-fast): Abolish.
3505         (elmo-folder-search): Use elmo-msgdb-search and
3506         elmo-with-progress-display.
3507
3508         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3509         as msgdb API.
3510
3511         * elmo.el (elmo-folder): Remove slot message-modified and
3512         flag-modified.
3513         (elmo-folder-set-message-modified): Abolish.
3514         (elmo-generic-folder-commit): Follow the change above.
3515         (elmo-folder-synchronize): Ditto.
3516
3517         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3518
3519         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3520
3521         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3522
3523 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3524
3525         * modb-standard.el (modb-standard-make-message-entity,
3526         elmo-msgdb-make-message-entity,
3527         elmo-msgdb-create-message-entity-from-buffer,
3528         elmo-msgdb-message-entity-number,
3529         elmo-msgdb-message-entity-set-number,
3530         elmo-msgdb-message-entity-field,
3531         elmo-msgdb-message-entity-set-field,
3532         elmo-msgdb-copy-message-entity,
3533         elmo-msgdb-match-condition-internal): Remove.
3534
3535         * modb-entity.el: New file (again).
3536
3537         * modb.el (toplevel): Require modb-entity.
3538         (elmo-msgdb-message-entity-handler): New method.
3539
3540         * modb-standard.el (modb-standard-entity-id): Use
3541         elmo-message-entity-handler.
3542         (modb-standard-load-entity): Ditto.
3543         (elmo-msgdb-append-entity): Ditto.
3544         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3545
3546         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3547         elmo-msgdb-decoded-cache-hashtb,
3548         (modb-legacy-make-message-entity,
3549         elmo-msgdb-make-message-entity,
3550         elmo-msgdb-create-message-entity-from-buffer,
3551         elmo-msgdb-message-entity-number,
3552         elmo-msgdb-message-entity-set-number,
3553         elmo-msgdb-message-entity-field,
3554         elmo-msgdb-message-entity-set-field,
3555         elmo-msgdb-copy-message-entity,
3556         elmo-msgdb-match-condition-internal,
3557         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3558
3559         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3560         (elmo-message-entity-set-number): Ditto.
3561         (elmo-message-entity-field): Ditto.
3562         (elmo-message-entity-set-field): Ditto.
3563
3564         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3565
3566         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3567
3568         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3569
3570         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3571         (elmo-nntp-msgdb-create-message): Ditto.
3572
3573         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3574         (elmo-folder-msgdb-create): Add unread flag.
3575
3576         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3577
3578         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3579
3580         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3581
3582         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3583
3584         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3585         elmo-msgdb-messge-entity-handler.
3586         * elmo-version.el (elmo-version): Up to 2.11.17.
3587
3588 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3589
3590         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3591         change.
3592
3593 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3594
3595         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3596
3597         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3598         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3599         (elmo-msgdb-flag-table): Ditto.
3600         (elmo-msgdb-sort-by-date): Ditto.
3601
3602         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3603
3604         * modb-standard.el (toplevel): Require mime.
3605         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3606         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3607         elmo-msgdb-message-entity-number.
3608         (elmo-msgdb-append-entity): Ditto.
3609         (elmo-msgdb-create-message-entity-from-file): Remove.
3610         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3611         corresponds to the entity.
3612         (elmo-msgdb-message-entity-number): Do nothing currently.
3613         (elmo-msgdb-message-entity-field): Ditto.
3614         (elmo-msgdb-message-entity-set-field): Ditto.
3615         (elmo-msgdb-copy-message-entity): Ditto.
3616         (elmo-msgdb-match-condition-internal): Ditto.
3617
3618         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3619         elmo-util.el.
3620         (elmo-msgdb-create-message-entity-from-file): Remove.
3621
3622         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3623         modb-legacy.el.
3624         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3625
3626         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3627
3628 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3629
3630         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3631         (elmo-msgdb-message-entity-field): Ditto.
3632         (elmo-msgdb-message-entity-number): Ditto.
3633
3634 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3635
3636         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3637         Fixed how to set extra field into entity.
3638         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3639         symbol.
3640
3641         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3642         Fixed how to set extra field into entity.
3643         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3644         symbol.
3645
3646 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3647
3648         * modb.el (elmo-message-entity-db): New function.
3649         (elmo-msgdb-make-message-entity): New API.
3650         (elmo-msgdb-message-entity-number): Ditto.
3651         (elmo-msgdb-message-entity-set-number): Ditto.
3652         (elmo-msgdb-message-entity-field): Ditto.
3653         (elmo-msgdb-message-entity-set-field): Ditto.
3654         (elmo-msgdb-copy-message-entity): Ditto.
3655         (elmo-msgdb-create-message-entity-from-file): Ditto.
3656         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3657         (elmo-msgdb-match-condition-internal): Ditto.
3658
3659         * modb-standard.el (modb-legacy): Require modb-legacy.
3660         (modb-standard-make-message-entity): New inline function.
3661         (elmo-msgdb-make-message-entity): Define.
3662         (elmo-msgdb-create-message-entity-from-file): Ditto.
3663         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3664         (elmo-msgdb-message-entity-field): Ditto.
3665         (elmo-msgdb-message-entity-set-field): Ditto.
3666         (elmo-msgdb-copy-message-entity): Ditto.
3667         (elmo-msgdb-match-condition-internal): Ditto.
3668
3669         * modb-legacy.el: Don't require modb-entity.
3670         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3671         (elmo-msgdb-match-condition-primitive): Ditto.
3672         (elmo-msgdb-get-decoded-cache): Ditto.
3673         (elmo-msgdb-overview-entity-get-id): Ditto.
3674         (elmo-msgdb-overview-entity-get-number): Ditto.
3675         (elmo-msgdb-overview-entity-set-number): Ditto.
3676         (elmo-msgdb-overview-entity-get-references): Ditto.
3677         (elmo-msgdb-overview-entity-set-references): Ditto.
3678         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3679         (elmo-msgdb-overview-entity-get-from): Ditto.
3680         (elmo-msgdb-overview-entity-set-from): Ditto.
3681         (elmo-msgdb-overview-entity-get-subject): Ditto.
3682         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3683         (elmo-msgdb-overview-entity-set-subject): Ditto.
3684         (elmo-msgdb-overview-entity-get-date): Ditto.
3685         (elmo-msgdb-overview-entity-set-date): Ditto.
3686         (elmo-msgdb-overview-entity-get-to): Ditto.
3687         (elmo-msgdb-overview-entity-get-cc): Ditto.
3688         (elmo-msgdb-overview-entity-get-size): Ditto.
3689         (elmo-msgdb-overview-entity-set-size): Ditto.
3690         (elmo-msgdb-overview-entity-get-extra): Ditto.
3691         (elmo-msgdb-overview-entity-set-extra): Ditto.
3692         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3693         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3694         (elmo-msgdb-number-load): Ditto.
3695         (elmo-msgdb-overview-load): Ditto.
3696         (elmo-msgdb-mark-load): Ditto.
3697         (elmo-msgdb-number-save): Ditto.
3698         (elmo-msgdb-mark-save): Ditto.
3699         (elmo-msgdb-overview-save): Ditto.
3700         (modb-legacy-make-message-entity): New inline function.
3701         (elmo-msgdb-insert-file-header): Ditto.
3702         (elmo-msgdb-make-message-entity): Define.
3703         (elmo-msgdb-create-message-entity-from-file): Ditto.
3704         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3705         (elmo-msgdb-message-entity-number): Ditto.
3706         (elmo-msgdb-message-entity-set-number): Ditto.
3707         (elmo-msgdb-message-entity-field): Ditto.
3708         (elmo-msgdb-message-entity-set-field): Ditto.
3709         (elmo-msgdb-copy-message-entity): Ditto.
3710         (elmo-msgdb-match-condition-internal): Ditto.
3711
3712         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3713         (elmo-message-copy-entity): Rewrite.
3714         (elmo-message-entity-number): Ditto.
3715         (elmo-message-entity-set-number): Ditto.
3716         (elmo-message-entity-field): Use elmo-message-entity-db.
3717         (elmo-message-entity-set-field): Ditto.
3718         (elmo-message-field): Rewrite.
3719
3720         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3721         elmo-msgdb.el
3722         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3723
3724         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3725         elmo-message-entity-field.
3726         (elmo-shimbun-folder-shimbun-header): Ditto.
3727         (elmo-shimbun-entity-to-header): Ditto.
3728         (elmo-folder-msgdb-create): Ditto.
3729         (elmo-shimbun-msgdb-create-entity): Ditto;
3730         Use elmo-msgdb-create-message-entity-from-buffer.
3731         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3732         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3733
3734         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3735         elmo-msgdb-create-message-entity-from-file and 
3736         elmo-message-entity-field.
3737
3738         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3739         elmo-message-entity-number.
3740         (elmo-pop3-msgdb-create-message): Use
3741         elmo-msgdb-create-message-entity-from-buffer,
3742         elmo-message-entity-set-field, elmo-message-entity-number and
3743         elmo-message-entity-set-number.
3744
3745         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3746         the API change in elmo-msgdb-make-message-entity.
3747         (elmo-nntp-msgdb-create-message): Use
3748         elmo-msgdb-create-message-entity-from-buffer.
3749
3750         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3751         elmo-message-entity-field and
3752         elmo-msgdb-create-message-entity-from-file.
3753
3754         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3755         (elmo-msgdb-get-field): Abolish.
3756         (elmo-msgdb-get-number): Rewrite.
3757         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3758         (elmo-msgdb-flag-table): Ditto.
3759         (elmo-msgdb-get-last-message-id,
3760         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3761         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3762         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3763         (elmo-msgdb-create-overview-from-buffer,
3764         elmo-msgdb-overview-get-parent-entity): Abolish.
3765
3766         * elmo-mime.el (elmo-mime-display-as-is): Use
3767         elmo-message-entity-field.
3768
3769         * elmo-map.el (elmo-folder-pack-numbers): Use
3770         elmo-message-entity-set-number.
3771
3772         * elmo-maildir.el (elmo-folder-msgdb-create): 
3773         elmo-msgdb-create-message-entity-from-file instead of
3774         elmo-msgdb-create-overview-entity-from-file.
3775
3776         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3777         msgdb.
3778         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3779         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3780
3781         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3782         elmo-messge-entity-field and elmo-message-entity-number.
3783         (elmo-imap4-fetch-callback-1): Call
3784         elmo-msgdb-create-message-entity-from-buffer instead of
3785         elmo-msgdb-create-overview-from-buffer. 
3786         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3787         (elmo-find-fetch-strategy): Likewise.
3788
3789         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3790         elmo-localdir-msgdb-create-entity with argument msgdb.
3791
3792         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3793         and elmo-message-entity-set-number.
3794
3795         * elmo-cache.el (elmo-folder-msgdb-create): Use
3796         elmo-message-entity-field.
3797         (elmo-folder-msgdb-create): Call
3798         elmo-msgdb-create-message-entity-from-file instead of
3799         elmo-msgdb-create-overview-entity-from-file.
3800
3801         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3802         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3803         instead of elmo-msgdb-create-overview-from-buffer.
3804         (elmo-archive-msgdb-create-entity): Ditto.
3805         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3806         elmo-message-entity-field.
3807         (elmo-archive-parse-mmdf): Ditto.
3808
3809         * modb-entity.el: Removed.
3810
3811         * elmo-version.el (elmo-version): Up to 2.11.16.
3812
3813 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3814
3815         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3816         `is-local'.
3817         (elmo-folder-flag-as-answered): Ditto.
3818
3819 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3820
3821         * modb-standard.el: New file.
3822
3823         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3824         elmo-msgdb-convert-type is `sync'.
3825
3826         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3827         (elmo-msgdb-convert-type): New user option.
3828
3829         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3830         (elmo-load-msgdb): Auto detect saved type.
3831
3832         * elmo-version.el (elmo-version): Up to 2.11.15.
3833
3834 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3835
3836         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3837
3838         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3839         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3840         with argument `delete-if-none' when dst-folder is 'null.
3841
3842         * elmo-flag.el (elmo-folder-append-messages): Defined.
3843         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3844
3845 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3846
3847         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3848
3849 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3850
3851         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3852         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3853         (elmo-folder-commit): Ditto.
3854
3855 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3856
3857         * elmo-flag.el: New file.
3858
3859         * elmo-mark.el: Removed.
3860
3861         * modb-legacy.el (modb-legacy-new-mark,
3862         modb-legacy-unread-uncached-mark,
3863         modb-legacy-unread-cached-mark,
3864         modb-legacy-read-uncached-mark,
3865         modb-legacy-answered-cached-mark,
3866         modb-legacy-answered-uncached-mark,
3867         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3868         All other related portions are changed.
3869
3870         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3871         (elmo-folder-list-messages-with-global-mark): Abolish.
3872         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3873         (elmo-folder-flag-as-important): Ditto.
3874         (elmo-folder-unflag-read): Ditto.
3875         (elmo-folder-flag-as-read): Ditto.
3876         (elmo-folder-unflag-answered): Ditto.
3877         (elmo-folder-flag-as-answered): Ditto.
3878         (elmo-message-encache): Return the cache path.
3879         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3880         (elmo-message-set-flag): Transitional implementation.
3881         (elmo-message-unset-flag): Ditto.
3882         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3883         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3884         (elmo-init): Call elmo-global-flag-initialize.
3885         (toplevel): Added autoload settings for elmo-flag.
3886
3887         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3888
3889         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3890         (elmo-file-cache-delete): Don't treat global-mark.
3891
3892         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3893
3894         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3895
3896         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3897         `elmo-global-flags-set'.
3898
3899         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3900         `flag'.
3901         (elmo-folder-unflag-read): Ditto.
3902         (elmo-folder-unflag-important): Ditto.
3903         (elmo-folder-flag-as-important): Ditto.
3904         (elmo-folder-unflag-answered): Ditto.
3905         (elmo-folder-flag-as-answered): Ditto.
3906
3907         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3908         `elmo-global-flags-set'.
3909         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3910
3911         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3912
3913         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3914         `flag'.
3915         (elmo-folder-flag-as-important): Ditto.
3916         (elmo-folder-unflag-important): Ditto.
3917         (elmo-folder-flag-as-important): Ditto.
3918         (elmo-folder-unflag-read): Ditto.
3919         (elmo-folder-flag-as-read): Ditto.
3920         (elmo-folder-unflag-answered): Ditto.
3921         (elmo-folder-flag-as-answered): Ditto.
3922
3923         * elmo-multi.el (elmo-folder-list-importants): Don't call
3924         elmo-folder-list-messages-with-global-mark.
3925         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3926         (elmo-folder-unflag-important): Ditto.
3927         (elmo-folder-flag-as-read): Ditto.
3928         (elmo-folder-unflag-read): Ditto.
3929         (elmo-folder-flag-as-answered): Ditto.
3930         (elmo-folder-unflag-answered): Ditto.
3931
3932         * elmo-msgdb.el (elmo-msgdb-new-mark,
3933         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3934         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3935         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3936         (Moved to modb-legacy.el).
3937         (elmo-flag-table-get): Treat important flag too.
3938
3939         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3940         `mark' to `flag'.
3941         (elmo-map-folder-flag-as-important): Ditto.
3942         (elmo-map-folder-unflag-read): Ditto.
3943         (elmo-map-folder-flag-as-read): Ditto.
3944         (elmo-map-folder-unflag-answered): Ditto.
3945         (elmo-map-folder-flag-as-answered): Ditto.
3946         (elmo-folder-unflag-important): Ditto.
3947         (elmo-folder-flag-as-important): Ditto.
3948         (elmo-folder-unflag-read): Ditto.
3949         (elmo-folder-flag-as-read): Ditto.
3950         (elmo-folder-unflag-answered): Ditto.
3951         (elmo-folder-flag-as-answered): Ditto.
3952
3953         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3954         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3955         `flag'.
3956         (elmo-map-folder-unflag-important): Ditto.
3957         (elmo-map-folder-flag-as-read): Ditto.
3958         (elmo-map-folder-unflag-read): Ditto.
3959         (elmo-map-folder-flag-as-answered): Ditto.
3960         (elmo-map-folder-unflag-answered): Ditto.
3961
3962         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3963         `elmo-global-flags-set'.
3964         (elmo-global-flags-set): Added autoload setting.
3965
3966         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3967         `flag'.
3968
3969         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3970         `elmo-msgdb-global-mark-set'.
3971         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3972         Call `elmo-global-flags-set'.
3973         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3974         `flag'.
3975         (elmo-folder-flag-as-important-plugged): Ditto.
3976         (elmo-folder-unflag-read-plugged): Ditto.
3977         (elmo-folder-flag-as-read-plugged): Ditto.
3978         (elmo-folder-unflag-answered-plugged): Ditto.
3979         (elmo-folder-flag-as-answered-plugged): Ditto.
3980         (elmo-global-flags-set): Added autoload setting.
3981
3982         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3983         `flag'.
3984         (elmo-folder-unflag-read): Ditto.
3985         (elmo-folder-flag-as-important): Ditto.
3986         (elmo-folder-unflag-important): Ditto.
3987         (elmo-folder-flag-as-answered): Ditto.
3988         (elmo-folder-unflag-answered): Ditto.
3989
3990         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3991         change of `mark'->`flag'.
3992         (elmo-dop-queue-method-name-alist): Ditto.
3993         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3994         (elmo-folder-unflag-read-dop): Ditto.
3995         (elmo-folder-flag-as-important-dop): Ditto.
3996         (elmo-folder-unflag-important-dop): Ditto.
3997         (elmo-folder-flag-as-answered-dop): Ditto.
3998         (elmo-folder-unflag-answered-dop): Ditto.
3999
4000         * elmo-cache.el (elmo-folder-msgdb-create): Call
4001         `elmo-global-flags-set'.
4002
4003         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4004         Call `elmo-global-flags-set'.
4005         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4006         elmo-archive-parse-mmdf with argument `folder'.
4007         (elmo-archive-parse-mmdf): Added argument `folder';
4008         Call `elmo-global-flags-set'.
4009
4010         * elmo-version.el (elmo-version): Up to 2.11.14.
4011
4012 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4013
4014         * modb.el (elmo-msgdb-length): Define.
4015
4016         * elmo.el (elmo-make-folder): Fixed.
4017         (elmo-generic-folder-append-messages): Follow the API change.
4018
4019         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4020         API change.
4021
4022 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4023
4024         * modb.el: New file.
4025
4026         * modb-entity.el: Ditto.
4027
4028         * modb-legacy.el: Ditto.
4029
4030         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4031         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4032         of `elmo-msgdb-overview-get-entity'.
4033         (elmo-msgdb-get-field): Ditto.
4034         (elmo-msgdb-merge): Moved to `elmo.el'.
4035         (elmo-msgdb-length): Removed; redefine as modb method.
4036         (elmo-msgdb-change-mark): Abolish.
4037         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4038         (elmo-msgdb-match-condition): Don't use mark.
4039         (elmo-msgdb-overview-get-entity): Abolish.
4040         Split modb part into `modb*.el'.
4041
4042         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4043
4044         * elmo-shimbun.el (shimbun-mua-search-id): Use
4045         `elmo-msgdb-message-entity' instead of
4046         `elmo-msgdb-overview-get-entity'.
4047         (elmo-shimbun-folder-shimbun-header): Ditto.
4048         (elmo-shimbun-get-headers): Ditto.
4049         (elmo-shimbun-update-overview): Ditto.
4050
4051         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4052
4053         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4054
4055         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4056         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4057
4058         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4059         `elmo-msgdb-mark-to-flags'.
4060
4061         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4062         `elmo-msgdb-set-path'.
4063
4064         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4065  
4066         * elmo-version.el (elmo-version): Up to 2.11.13.
4067
4068         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4069
4070         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4071         of mark.
4072
4073 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4074
4075         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4076         mismatch.
4077
4078 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4079
4080         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4081         instead of `elmo-msgdb-get-cached'.
4082         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4083
4084         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4085         (elmo-msgdb-set-cached): Ditto.
4086         (elmo-msgdb-set-flag): Rewrite.
4087         (elmo-msgdb-unset-flag): Ditto.
4088
4089         * elmo-msgdb.el: Rewrite with luna.
4090
4091         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4092         (elmo-folder-msgdb): Follow the change above.
4093         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4094         (elmo-folder-unmark-important): Follow the API change.
4095         (elmo-folder-mark-as-important): Ditto.
4096         (elmo-folder-unmark-read): Ditto.
4097         (elmo-folder-mark-as-read): Ditto.
4098         (elmo-folder-unmark-answered): Ditto.
4099         (elmo-folder-mark-as-answered): Ditto.
4100         (elmo-folder-clear): Likewise.
4101
4102         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4103         instead of `elmo-msgdb-load' (renamed).
4104
4105         * elmo-version.el (elmo-version): Up to 2.11.12.
4106
4107 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4108
4109         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4110         change.
4111         (elmo-message-mark): Abolish.
4112         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4113         instead of `elmo-msgdb-change-mark'.
4114
4115         * elmo-pipe.el (elmo-message-mark): Abolish.
4116
4117         * elmo-multi.el (elmo-message-mark): Ditto.
4118
4119         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4120         (elmo-msgdb-unread-uncached-mark): Ditto.
4121         (elmo-msgdb-unread-cached-mark): Ditto.
4122         (elmo-msgdb-read-uncached-mark): Ditto.
4123         (elmo-msgdb-answered-cached-mark): Ditto.
4124         (elmo-msgdb-answered-uncached-mark): Ditto.
4125         (elmo-msgdb-important-mark): Ditto.
4126         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4127         `use-cache'.
4128         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4129         `flags'.
4130         (elmo-flag-table-load): Changed flag to list of flag.
4131         (elmo-flag-table-set): If flags is nil, set read flag.
4132         (elmo-flag-table-get): Return derived flags from global mark,
4133         cache status and saved flags.
4134         (elmo-msgdb-flag-table): Follow the change above.
4135         (elmo-msgdb-out-of-date-messages): New function.
4136
4137         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4138
4139         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4140
4141         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4142
4143         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4144         (elmo-nntp-msgdb-create-message): Ditto.
4145
4146         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4147
4148         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4149         independent.
4150         (elmo-folder-msgdb-create): Follow the API change.
4151
4152         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4153         (elmo-folder-append-messages): Ditto.
4154
4155         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4156         (elmo-folder-append-buffer): Ditto.
4157
4158         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4159
4160         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4161
4162         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4163         (elmo-archive-parse-mmdf): Ditto.
4164
4165         * elmo-version.el (elmo-version): Up to 2.11.11.
4166
4167 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4168
4169         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4170         `elmo-msgdb-mark'.
4171
4172         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4173
4174         * elmo-pipe.el (elmo-message-flags): Defined.
4175
4176         * elmo-multi.el (elmo-message-flags): Ditto.
4177
4178 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4179
4180         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4181         `elmo-msgdb-delete-msgs'.
4182
4183         * elmo.el (elmo-folder-count-flags): Don't use
4184         `elmo-msgdb-get-mark-alist'.
4185         (elmo-folder-detach-messages): Follow the API change.
4186
4187         * elmo.el (elmo-folder-list-messages): Append killed messages into
4188         result if `visible-only' is nil.
4189
4190         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4191         canceled messages.
4192         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4193         (elmo-folder-update-number): Likewise.
4194
4195         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4196         (elmo-pop3-sort-msgdb-by-original-number): Use
4197         `elmo-msgdb-sort-entities'.
4198
4199         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4200         (elmo-msgdb-sort-by-date): Use it.
4201         (elmo-msgdb-overview-sort-by-date): Abolish.
4202
4203         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4204
4205         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4206         (elmo-msgdb-flags): New function.
4207         (elmo-msgdb-merge): Use elmo-msgdb-append.
4208
4209         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4210         change.
4211
4212         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4213
4214         * elmo-dop.el (elmo-folder-status-dop): Use
4215         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4216
4217 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4218
4219         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4220
4221         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4222
4223         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4224
4225         * elmo-util.el (elmo-with-progress-display): New macro.
4226
4227         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4228
4229 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4230
4231         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4232         `elmo-folder-list-message-entities' instead of
4233         `elmo-msgdb-get-overview'.
4234         (elmo-map-folder-list-message-locations): Ditto.
4235
4236         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4237         methods instead of treat directly).
4238         (elmo-msgdb-clear): Ditto.
4239         (elmo-msgdb-delete-msgs): Ditto.
4240         (elmo-msgdb-sort-by-date): Ditto.
4241
4242         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4243         local variables.
4244         (elmo-nntp-folder-msgdb-create): Follow the API change.
4245
4246         * elmo-version.el (elmo-version): Up to 2.11.10.
4247
4248 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4249
4250         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4251         (elmo-msgdb-flags-to-mark): Ditto.
4252         (elmo-msgdb-append-entity): Ditto.
4253
4254         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4255         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4256         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4257         (elmo-archive-parse-mmdf): Ditto.
4258
4259         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4260
4261         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4262
4263         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4264
4265         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4266
4267         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4268
4269         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4270
4271         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4272
4273         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4274
4275         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4276         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4277         to empty msgdb.
4278
4279         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4280         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4281         instead of directly construction.
4282         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4283         instead of construct msgdb.
4284
4285         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4286         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4287         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4288         instead of construct msgdb.
4289
4290 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4291
4292         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4293         when field is from or subject.
4294
4295 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4296
4297         * elmo-multi.el (elmo-message-entity-parent): Define.
4298         (elmo-folder-search): Rewrite.
4299
4300 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4301
4302         * elmo-multi.el (elmo-message-cached-p): Define.
4303
4304         * elmo.el (elmo-message-cached-p): New method.
4305         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4306         (elmo-message-flags): New method.
4307         (elmo-message-flagged-p): New function.
4308
4309         * elmo-version.el (elmo-version): Up to 2.11.9.
4310
4311 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4312
4313         * elmo-version.el (elmo-version): Up to 2.11.8.
4314
4315         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4316
4317         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4318
4319 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4320
4321         * elmo.el (elmo-folder-detach-messages): Undo last change.
4322
4323 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4324
4325         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4326
4327         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4328         only when src folder type is pop3.
4329
4330 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4331
4332         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4333         elmo-msgdb-overview-entity-get-number instead of
4334         elmo-message-entity-number.
4335
4336 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4337
4338         * elmo-version.el (elmo-version): Up to 2.11.7.
4339
4340 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4341
4342         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4343         function.
4344
4345         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4346         (elmo-msgdb-merge): New function.
4347         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4348         (elmo-msgdb-make-index): Rewrite.
4349
4350         * elmo-version.el (elmo-version): Up to 2.11.6.
4351
4352         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4353         use it as a the path for loading message entities.
4354
4355         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4356
4357 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4358
4359         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4360         message-modified slot of itself if it does not require target msgdb.
4361
4362         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4363         if folder length is zero.
4364         (elmo-mime-display-as-is): Ditto.
4365
4366         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4367
4368         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4369
4370 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4371
4372         * elmo.el (elmo-folder-set-message-modified): New method.
4373         (elmo-generic-folder-commit): Use it.
4374         (elmo-folder-synchronize): Ditto.
4375
4376         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4377         (elmo-folder-commit): Remove duplicate definition.
4378
4379 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4380
4381         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4382
4383 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4384
4385         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4386         (elmo-strict-folder-diff): Ditto.
4387         (elmo-folder-set-info-max-by-numdb): Simplify.
4388
4389         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4390         elmo-msgdb-list-messages.
4391
4392         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4393         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4394
4395 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4396
4397         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4398         visible-only is non-nil.
4399         (elmo-folder-confirm-appends): Changed message.
4400         (elmo-folder-synchronize): Added argument disable-killed.
4401
4402         * elmo-multi.el (elmo-folder-synchronize): Added argument
4403         disable-killed.
4404
4405         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4406
4407         * elmo-version.el (elmo-version): Up to 2.11.5.
4408
4409         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4410         elmo-list-filter.
4411
4412         * elmo-util.el (elmo-list-filter): Simplify.
4413
4414         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4415         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4416         (elmo-generic-folder-diff): Abolish argument.
4417         (elmo-msgdb-load): Don't use number-alist.
4418
4419         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4420
4421         * elmo-pipe.el (elmo-folder-diff): Ditto.
4422
4423         * elmo-nmz.el (elmo-folder-diff): Ditto.
4424
4425         * elmo-net.el (elmo-folder-diff): Ditto.
4426
4427         * elmo-maildir.el (elmo-folder-diff): Ditto.
4428
4429         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4430
4431         * elmo-multi.el (elmo-folder-diff): Ditto
4432         (elmo-multi-folder-diff): Rewrite.
4433
4434 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4435
4436         * elmo-pipe.el (elmo-folder-msgdb): Define.
4437
4438 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4439
4440         * elmo.el (elmo-message-set-cached): Define as a method.
4441
4442         * elmo-pipe.el (elmo-message-set-cached): Define.
4443         (elmo-find-fetch-strategy): Ditto.
4444
4445         * elmo-multi.el (elmo-message-set-cached): Define.
4446         (elmo-find-fetch-strategy): Rewrite.
4447
4448         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4449
4450         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4451
4452 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4453
4454         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4455         instead of number-alist.
4456
4457         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4458         mark nor message-id when msgdb of source folder is not loaded.
4459
4460         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4461
4462         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4463
4464 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4465
4466         * elmo.el (elmo-folder-length): Don't require msgdb.
4467
4468 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4469
4470         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4471         (elmo-message-field): Ditto.
4472
4473         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4474         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4475         slot.
4476         (elmo-map-folder-list-answereds): Define.
4477         (elmo-maildir-list-location): Treat 'R' info.
4478         (elmo-folder-msgdb-create): Treat flag-table.
4479         (elmo-folder-append-messages): Save flag-table.
4480
4481 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4482
4483         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4484         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4485
4486 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4487
4488         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4489
4490         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4491         'read when mark is null.
4492
4493 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4494
4495         * elmo-version.el (elmo-version): Up to 2.11.4.
4496
4497 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4498
4499         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4500         (elmo-folder-mark-as-answered): Ditto.
4501
4502 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4503
4504         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4505         (elmo-pop3-get-session): Make msgdb directory after session.
4506         (elmo-folder-exists-p): Check exactly at the first time even when the
4507         elmo-pop3-exists-exactly is nil.
4508
4509         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4510         (elmo-folder-list-messages): Define instead of
4511         elmo-folder-list-messages-internal.
4512         (elmo-folder-check): Check destination folder.
4513         (elmo-folder-synchronize): Drain the pipe.
4514
4515         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4516         when msgdb is not loaded.
4517
4518         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4519
4520         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4521         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4522         messages.
4523
4524         * elmo.el (elmo-folder-kill-messages-before): New function.
4525         (elmo-folder-kill-messages): Ditto.
4526         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4527
4528         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4529         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4530         killed not by synchronize (e.g. scoring).
4531
4532 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4533
4534         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4535         treated.
4536         (elmo-folder-search): Follow the change above.
4537
4538         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4539         into the candidates of search field.
4540
4541 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4542
4543         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4544         (elmo-msgdb-unset-flag): Ditto.
4545
4546         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4547
4548 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4549
4550         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4551         (elmo-folder-commit): Define.
4552         (elmo-folder-synchronize): Ditto.
4553         (elmo-folder-list-flagged): Ditto.
4554         (elmo-folder-commit): Ditto.
4555         (elmo-folder-length): Ditto.
4556         (elmo-folder-count-flags): Ditto.
4557         (elmo-message-mark): Ditto.
4558         (elmo-message-field): Ditto.
4559         (elmo-message-entity): Ditto.
4560         (elmo-message-folder): Ditto.
4561
4562 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4563
4564         * elmo.el (elmo-message-field): Define as a method.
4565
4566         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4567         (elmo-message-field): Define.
4568
4569         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4570         (elmo-folder-list-importants): Ditto.
4571         (elmo-folder-list-answereds): Ditto.
4572
4573         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4574         qualifier.
4575         (elmo-folder-mark-as-read): Ditto.
4576         (elmo-folder-unmark-read): Ditto.
4577         (elmo-folder-mark-as-answered): Ditto.
4578         (elmo-folder-unmark-answered): Ditto.
4579         (elmo-folder-list-flagged): Define.
4580         (elmo-folder-commit): Ditto.
4581         (elmo-folder-length): Ditto.
4582         (elmo-folder-count-flags): Ditto.
4583
4584 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4585
4586         * elmo.el (elmo-folder-detach-messages): New method.
4587         (elmo-folder-move-messages): Use it.
4588         (elmo-folder-synchronize): Ditto.
4589
4590         * elmo-multi.el (elmo-folder-detach-messages): Define.
4591
4592         * elmo.el (elmo-message-copy-entity): New function.
4593         (elmo-message-entity-set-number): Ditto.
4594         (elmo-message-mark): Define as method.
4595
4596         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4597         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4598         (elmo-message-entity): Fixed last change.
4599         (elmo-message-mark): Define.
4600         (elmo-folder-msgdb-create): Abolish.
4601         (elmo-multi-folder-append-msgdb): Ditto.
4602         (elmo-multi-folder-diff): Fixed.
4603         (elmo-multi-split-number-alist): Removed.
4604         (elmo-multi-split-mark-alist): Removed.
4605         (elmo-folder-list-messages): Define.
4606         (elmo-folder-list-messages-internal): Removed.
4607
4608         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4609         local file messages.
4610         (elmo-folder-msgdb-create): Fixed read mark.
4611
4612 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4613
4614         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4615         if mark is nil.
4616
4617 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4618
4619         * elmo.el (elmo-folder-list-message-entities): Define as inline
4620         function.
4621         (elmo-folder-messages): Abolish.
4622
4623         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4624         folder.
4625         (elmo-folder-synchronize): Define.
4626         (elmo-message-entity): Define.
4627
4628 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4629
4630         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4631         elmo-imap4-session-select-mailbox.
4632
4633         * elmo.el (elmo-folder-move-messages): Don't display any message.
4634
4635         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4636         parsing.
4637         (elmo-imap4-session-check): Don't wait CHECK response.
4638         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4639
4640 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4641
4642         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4643
4644 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4645
4646         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4647         API.
4648         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4649
4650
4651         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4652         (elmo-folder-list-message-entities): Added argument in-msgdb and
4653         numbers.
4654         (elmo-folder-synchronize): Define as a method.
4655
4656         * elmo-nntp.el (elmo-folder-initialize): Don't use
4657         elmo-nntp-default-user if zero-length username is specified
4658         explicitly.
4659
4660 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4661
4662         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4663         server name in case with username.
4664         (XXX: this is ad-hoc fix against username includes "@", it
4665         should be solved fundamentally)
4666
4667 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4668
4669         * elmo-nntp.el (elmo-nntp-debug): New function.
4670         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4671         (elmo-network-authenticate-session): Hide auth-info from the log.
4672
4673         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4674         user name if it is equal to elmo-nntp-default-user.
4675
4676 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4677
4678         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4679         instead of shimbun-server-internal;
4680         Use shimbun-current-group instead of shimbun-current-group-internal.
4681         (elmo-folder-plugged-p): Use shimbun-server instead of
4682         shimbun-server-internal.
4683         (elmo-folder-set-plugged): Ditto.
4684         (elmo-net-port-info): Ditto.
4685         (elmo-folder-check): Ditto.
4686         (elmo-folder-expand-msgdb-path): Ditto.
4687         (elmo-folder-list-subfolders): Ditto.
4688
4689 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4690
4691         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4692         Convert field-name to lower case.
4693         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4694
4695 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4696
4697         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4698         `message' and `error' take format string.
4699
4700 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4701
4702         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4703
4704 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4705
4706         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4707         recursive call (can't byte compile on emacs 20.7).
4708
4709 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4710
4711         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4712         (elmo-folder-list-message-entities): New API.
4713         (elmo-message-entity): Ditto.
4714         (elmo-message-entity-parent): Ditto.
4715         (elmo-folder-do-each-message-entity): Ditto.
4716         (elmo-message-entity-number): Ditto.
4717         (elmo-message-entity-field): Ditto.
4718         (elmo-message-entity-set-field): Ditto.
4719         (elmo-folder-count-flags): Ditto.
4720         (elmo-folder-length): Ditto.
4721
4722         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4723         not.
4724
4725         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4726         (elmo-msgdb-count-marks): Abolish.
4727         (elmo-msgdb-make-entity): Ditto.
4728         (elmo-msgdb-do-each-entity): Ditto.
4729         (elmo-msgdb-message-entity): New inline function.
4730         (elmo-msgdb-message-entity-field): Ditto.
4731         (elmo-msgdb-message-entity-set-field): Ditto.
4732         (elmo-msgdb-make-message-entity): New function.
4733
4734 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4735
4736         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4737         to flag. (All other related portions are changed.)
4738         (elmo-folder-msgdb-create): Likewise.
4739         (elmo-generic-folder-append-messages): Use flag-table instead of
4740         seen-list.
4741         (elmo-folder-move-messages): Removed redundant process.
4742         (elmo-folder-synchronize): Likewise.
4743
4744         * elmo-msgdb.el (elmo-flag-table-get): New function.
4745         (elmo-flag-table-save): Fixed.
4746         (elmo-msgdb-length): New inline function.
4747         (elmo-msgdb-flag-table): New function.
4748         (elmo-msgdb-mark): Add optional argument new.
4749         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4750         (elmo-msgdb-seen-list): Ditto.
4751         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4752
4753
4754 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4755
4756         * elmo.el (elmo-message-set-mark): Abolish.
4757         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4758         (All related portions are changed.)
4759
4760         * elmo-msgdb.el (toplevel): Added comment.
4761         (elmo-load-msgdb): Added 4th element `path'.
4762         (elmo-msgdb-append): Follow the change above.
4763         (elmo-msgdb-clear): Ditto.
4764         (elmo-msgdb-delete-msgs): Ditto.
4765         (elmo-msgdb-get-path): New inline function.
4766         (elmo-msgdb-set-path): Ditto.
4767         (elmo-flag-table-filename): New variable.
4768         (elmo-flag-table-load): New function.
4769         (elmo-flag-table-set): Ditto.
4770         (elmo-flag-table-save): Ditto.
4771         (elmo-msgdb-get-field-value): Abolish.
4772         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4773
4774 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4775
4776         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4777         the folder has been deleted successfully.
4778         * elmo-imap4.el (elmo-folder-delete): Ditto.
4779         * elmo-archive.el (elmo-folder-delete): Ditto.
4780         * elmo-localdir.el (elmo-folder-delete): Ditto.
4781         * elmo-maildir.el (elmo-folder-delete): Ditto.
4782
4783 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4784
4785         * elmo-util.el (elmo-string-member-ignore-case): New function.
4786         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4787         (elmo-imap4-fetch-callback-1-subr): Likewise.
4788
4789 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4790
4791         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4792         the case of the name attribute "\Noselect".
4793
4794 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4795
4796         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4797
4798         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4799         flist, is not always a member of onum-alist.
4800
4801 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4802
4803         * elmo-version.el (elmo-version): Up to 2.11.3.
4804
4805 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4806
4807         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4808         copied from localdir's one.
4809
4810         * elmo-pipe.el (elmo-folder-rename): New method, rename
4811         destination folder with leaving source folder as it is.
4812
4813 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4814
4815         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4816         replace-regexp.
4817
4818 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4819
4820         * elmo-version.el (elmo-version): Up to 2.11.2.
4821
4822 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4823
4824         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4825         shimbun-open in case of "@".
4826         (elmo-folder-open-internal): Cope with shimbun = nil case.
4827         (elmo-folder-plugged-p): Ditto.
4828         (elmo-folder-list-subfolders): Make list for "@/" group.
4829
4830 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4831
4832         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4833         mailbox (e.g. for %~/something).
4834
4835 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4836
4837         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4838         Replace nested conditional with guard clauses.
4839
4840 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4841
4842         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4843         error [wl:11327].
4844
4845         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4846         print-depth.
4847
4848 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4849
4850         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4851         Replace nested conditional with guard clauses.
4852
4853 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4854
4855         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4856         (elmo-passwd-alist-save): Ditto.
4857         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4858
4859 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4860
4861         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4862         dir-name only if it is absolute path.
4863         (TODO: distinguish +/something and +something)
4864
4865 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4866
4867         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4868         path for "+~/something".
4869
4870 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4871
4872         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4873         as non-directory, cause error before rename-file.
4874         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4875         apropriately, mimic localdir's one.
4876         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4877
4878 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4879
4880         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4881
4882 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4883
4884         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4885
4886         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4887         
4888         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4889         is included in the global-mark or not.
4890
4891 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4892
4893         * utf7.el (toplevel): Avoid error when the function
4894         find-coding-system does not exist.
4895
4896 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4897
4898         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4899         cache even if the folder is plugged.
4900         (elmo-nntp-search-primitive): Do nothing when body search is
4901         invoked (although it is not used by the change above).
4902         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4903
4904 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4905
4906         * elmo-version.el (elmo-version): Up to 2.11.1.
4907
4908 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4909
4910         * elmo-archive.el: Specify charset.
4911
4912 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4913
4914         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4915         process buffer lives or not.
4916
4917         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4918         while flushing queues (It causes infinite loop).
4919
4920 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4921
4922         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4923
4924 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4925
4926         * utf7.el (toplevel): Check the ucs features dynamically.
4927         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4928
4929         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4930         folder is creatabe or not if it already exists.
4931
4932 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4933
4934         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4935
4936         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4937
4938         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4939         (elmo-imap4-read-response): Take care of garbage response.
4940
4941 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4942
4943         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4944         just return nil instead of error.
4945
4946 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4947
4948         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4949         search-key is "body".
4950
4951 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4952
4953         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4954         of elmo-string-matched-assoc to use match-data.
4955         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4956
4957 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4958
4959         * elmo-split.el (elmo-split->): New function.
4960         (elmo-split-<): Ditto.
4961
4962 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4963
4964         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4965         workaround for invalid message-id.
4966
4967 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4968
4969         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4970         return normal pop3 session or pop3 biff session.
4971
4972 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4973
4974         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4975         info part to the cur files when the new files already have it.
4976         (Adviced by Jared Rhine <jared@wordzoo.com>)
4977
4978 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4979
4980         * elmo-split.el (elmo-split-default-action): New variable.
4981         (elmo-split-subr): Use it if all other conditions are passed.
4982         Extend `fname' and rename it as `action'. (implemented
4983         Teranishi-san's idea in [wl:10800])
4984
4985 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4986
4987         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4988         * elmo-util.el: Ditto.
4989
4990 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4991
4992         * elmo.el (elmo-message-accessible-p): Renamed from
4993         elmo-message-cached-p and rewritten.
4994
4995 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4996
4997         * elmo.el (elmo-folder-list-flagged): New generic function.
4998         (elmo-folder-list-importants): New implementation.
4999         (elmo-folder-list-answereds): Ditto.
5000         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
5001         Added 'digest'.
5002         (elmo-message-cached-p): New function.
5003         (elmo-message-set-flag): Ditto (no content).
5004         (elmo-message-unset-flag): Ditto.
5005         (elmo-folder-list-messages-mark-match): Abolish.
5006
5007         * elmo-util.el (elmo-regexp-opt): New function.
5008
5009         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5010         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5011         Added 'digest'.
5012         (elmo-msgdb-list-flagged): New function.
5013
5014         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5015         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5016         Added 'digest'.
5017
5018         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5019
5020 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5021
5022         * elmo-version.el (elmo-version): Up to 2.11.0.
5023
5024 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5025
5026         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5027         `elmo-file-cache-exists-p'; use proper mark that depends on
5028         `use-cache'.
5029         (elmo-msgdb-unset-flag): Ditto.
5030         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5031
5032         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5033         with 4th argument `use-cache'.
5034
5035 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5036
5037         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5038         (elmo-folder-mark-as-important): Ditto.
5039         (elmo-folder-unmark-read): Ditto.
5040         (elmo-folder-mark-as-read): Ditto.
5041         (elmo-folder-unmark-answered): Ditto.
5042         (elmo-folder-mark-as-answered): Ditto.
5043
5044         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5045         message status.
5046         (elmo-msgdb-mark): Likewise.
5047         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5048         (elmo-msgdb-unset-flag): Likewise.
5049
5050         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5051
5052 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5053
5054         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5055         `last:' filter.
5056
5057 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5058
5059         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5060         set spool-length to 0.
5061
5062 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5063
5064         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5065         (elmo-dop-queue-flush): Fixed last change.
5066
5067 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5068
5069         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5070         if require-msgdb slot is nil.
5071         (elmo-folder-list-importants): Likewise.
5072
5073 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5074
5075         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5076         mark is changed.
5077
5078         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5079         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5080         is changed.
5081
5082 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5083
5084         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5085
5086 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5087
5088         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5089
5090         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5091
5092 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5093
5094         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5095         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5096
5097 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5098
5099         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5100         the problem reported by Sean Rima [wl-en:180].
5101
5102 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5103
5104         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5105
5106         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5107
5108         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5109
5110         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5111
5112         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5113
5114         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5115
5116         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5117
5118 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5119
5120         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5121         status number.
5122
5123 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5124
5125         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5126         (elmo-folder-mark-as-read): Follow the API change.
5127         (elmo-message-set-cached): New function.
5128
5129         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5130
5131         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5132
5133         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5134         (elmo-folder-mark-as-important): Ditto.
5135         (elmo-folder-unmark-read): Ditto.
5136         (elmo-folder-mark-as-read): Ditto.
5137         (elmo-folder-unmark-answered): Ditto.
5138         (elmo-folder-mark-as-answered): Ditto.
5139
5140         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5141         (elmo-folder-unmark-important): Ditto.
5142         (elmo-folder-mark-as-read): Ditto.
5143         (elmo-folder-unmark-read): Ditto.
5144         (elmo-folder-mark-as-answered): Ditto.
5145         (elmo-folder-unmark-answered): Ditto.
5146
5147         * elmo-mark.el (toplevel): Removed some mark method definitions.
5148
5149         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5150         (elmo-map-folder-mark-as-answered): Ditto.
5151         (elmo-folder-unmark-important): Add :before qualifier.
5152         (elmo-folder-mark-as-important): Ditto.
5153         (elmo-folder-unmark-read): Ditto.
5154         (elmo-folder-mark-as-read): Ditto.
5155         (elmo-folder-unmark-answered): Define.
5156         (elmo-folder-mark-as-answered): Ditto.
5157
5158         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5159         (elmo-map-folder-unmark-answered): Ditto.
5160
5161         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5162
5163         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5164         (elmo-folder-mark-as-important): Ditto.
5165         (elmo-folder-unmark-read): Ditto.
5166         (elmo-folder-mark-as-read): Ditto.
5167         (elmo-folder-unmark-answered): Ditto.
5168         (elmo-folder-mark-as-answered): Ditto.
5169
5170         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5171         `mark'; evaluate mark condition.
5172         (elmo-msgdb-match-condition-internal): New function.
5173         (elmo-msgdb-match-condition): Call it; changed argument.
5174
5175         * elmo.el (elmo-folder-search): Follow the API change on
5176         `elmo-msgdb-match-condition'.
5177
5178 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5179
5180         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5181         original mark is non-nil.
5182
5183 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5184
5185         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5186         (elmo-map-folder-list-answereds): New method.
5187         (elmo-folder-list-unreads): Add :around qualifier.
5188         (elmo-folder-list-importants): Ditto.
5189         (elmo-folder-list-answereds): Ditto.
5190
5191 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5192
5193         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5194
5195         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5196         method if msgdb is not required.
5197         (elmo-filter-folder-list-importants): Don't treat global-mark.
5198
5199         * elmo.el (elmo-folder-list-importants): Ditto.
5200
5201         * elmo-net.el (elmo-folder-list-importants): Ditto.
5202
5203         * elmo-map.el (elmo-folder-list-importants): Ditto.
5204
5205         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5206
5207         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5208         (elmo-imap4-folder-list-any-plugged): New function.
5209         (elmo-imap4-search-internal-primitive): Use it.
5210
5211         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5212         only when require-msgdb slot is non-nil.
5213         (elmo-folder-close): Clear target folder's msgdb.
5214
5215 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5216
5217         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5218         (elmo-pop3-msgdb-create-by-header): Ditto.
5219         (elmo-pop3-msgdb-create-message): Ditto.
5220
5221         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5222
5223         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5224
5225         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5226
5227         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5228         (elmo-folder-msgdb-create): Ditto.
5229         (elmo-nntp-folder-msgdb-create): Ditto.
5230         (elmo-nntp-msgdb-create-by-header): Ditto.
5231         (elmo-nntp-msgdb-create-message): Ditto.
5232         (elmo-folder-list-unreads): Define.
5233
5234         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5235         (elmo-folder-append-messages): Ditto.
5236         (elmo-folder-list-unreads): Define.
5237         (elmo-folder-list-importants): Ditto.
5238         (elmo-folder-list-answereds): Ditto.
5239
5240         * elmo-net.el (elmo-folder-list-unreads): Define.
5241         (elmo-folder-list-importants): Ditto.
5242         (elmo-folder-list-answereds): Ditto.
5243         (elmo-folder-list-answereds-plugged): Ditto.
5244         (elmo-folder-msgdb-create): Follow the API change.
5245         (elmo-folder-msgdb-create-unplugged): Ditto.
5246         (elmo-folder-unmark-answered): Define.
5247         (elmo-folder-mark-as-answered-unplugged): Ditto.
5248         (elmo-folder-unmark-answered-unplugged): Ditto.
5249
5250         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5251         (elmo-msgdb-unread-uncached-mark): Ditto.
5252         (elmo-msgdb-unread-cached-mark): Ditto.
5253         (elmo-msgdb-read-uncached-mark): Ditto.
5254         (elmo-msgdb-answered-cached-mark): Ditto.
5255         (elmo-msgdb-answered-uncached-mark): Ditto.
5256         (elmo-msgdb-important-mark): Ditto.
5257         (elmo-msgdb-set-mark): Rewrite.
5258         (elmo-msgdb-count-marks): Rewrite.
5259         (elmo-msgdb-mark-alist-set): Abolish.
5260         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5261         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5262
5263         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5264         (elmo-folder-close): Define.
5265         (elmo-folder-msgdb-create): Follow the API change.
5266         (elmo-folder-list-unreads): Rewrite.
5267         (elmo-folder-mark-as-important): Ditto.
5268         (elmo-folder-unmark-important): Ditto.
5269         (elmo-folder-mark-as-read): Ditto.
5270         (elmo-folder-unmark-read): Ditto.
5271         (elmo-folder-mark-as-answered): Define.
5272         (elmo-folder-unmark-answered): Ditto.
5273
5274         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5275         (elmo-folder-append-messages): Ditto.
5276
5277         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5278
5279         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5280         (elmo-folder-list-importants): Ditto.
5281
5282         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5283         (elmo-folder-append-messages): Ditto.
5284
5285         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5286         change.
5287         (elmo-folder-msgdb-create-plugged): Ditto.
5288         (elmo-folder-append-messages): Ditto.
5289         (elmo-folder-list-answereds-plugged): Define.
5290         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5291         (elmo-folder-unmark-answered-plugged): Define.
5292         (elmo-folder-mark-as-answered-plugged): Ditto.
5293         (elmo-folder-search-requires-msgdb-p): Ditto.
5294
5295         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5296         (elmo-folder-initialize): Set it.
5297         (elmo-folder-msgdb): Define.
5298         (elmo-folder-check): Call elmo-folder-synchronize.
5299         (elmo-folder-close): Define.
5300         (elmo-folder-commit): Ditto.
5301         (elmo-folder-msgdb-create): Rewrite.
5302         (elmo-folder-list-unreads): Ditto.
5303         (elmo-folder-list-importants): Ditto.
5304         (elmo-folder-mark-as-read): Ditto.
5305         (elmo-folder-unmark-read): Ditto.
5306         (elmo-folder-mark-as-important): Ditto.
5307         (elmo-folder-unmark-important): Ditto.
5308         (elmo-folder-mark-as-answered): Define.
5309         (elmo-folder-unmark-answered): Ditto.
5310
5311         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5312         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5313         (elmo-dop-queue-method-name-alist): Likewise.
5314         (elmo-folder-mark-as-answered-dop): New inline function.
5315         (elmo-folder-unmark-answered-dop): Ditto.
5316         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5317
5318         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5319         (elmo-folder-msgdb-create): Ditto.
5320         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5321         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5322         (elmo-archive-parse-mmdf): Ditto.
5323
5324         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5325         (elmo-folder-list-unreads-internal): Ditto.
5326
5327         * elmo.el (elmo-folder-msgdb): Define as generic function.
5328         (elmo-folder-list-messages): Added argument `in-msgdb'.
5329         (elmo-folder-list-unreads): Define as generic function.
5330         (elmo-folder-list-importants): Ditto.
5331         (elmo-folder-list-answereds): Ditto.
5332         (elmo-folder-list-messages-with-global-mark): New function.
5333         (elmo-folder-msgdb-create): Removed mark arguments.
5334         (elmo-folder-unmark-answered): New generic function.
5335         (elmo-folder-mark-as-answered): Ditto.
5336         (elmo-folder-append-messages): Removed argunment `unread-marks'
5337         (elmo-folder-list-unreads-internal): Abolish.
5338         (elmo-folder-list-importants-internal): Ditto.
5339         (elmo-folder-search-requires-msgdb-p): New generic function.
5340         (elmo-folder-search-requires-msgdb-p-internal): New function.
5341         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5342         elmo-msgdb-load.
5343         (elmo-folder-search-fast): Added key 'mark'.
5344         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5345         instead of unread-marks argument.
5346         (elmo-folder-move-messages): Removed argunment `unread-marks'
5347         (elmo-folder-unmark-important): Define.
5348         (elmo-folder-mark-as-important): Ditto.
5349         (elmo-folder-unmark-read): Ditto.
5350         (elmo-folder-mark-as-read): Ditto.
5351         (elmo-folder-unmark-answered): Ditto.
5352         (elmo-folder-mark-as-answered): Ditto.
5353         (elmo-folder-replace-marks): Abolish.
5354         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5355         duplicates.
5356         (elmo-folder-synchronize): Removed mark arguments;
5357         return crosspost only number.
5358
5359 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5360
5361         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5362         Remove redundunt connectivity check.
5363
5364 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5365
5366         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5367         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5368
5369 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5370
5371         * pldap.el (ldap-decode-string): Return string as-is if
5372         `ldap-coding-system' is nil.
5373         (ldap-encode-string): Ditto.
5374         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5375         (ldap-default-host): Fixed docstring.
5376
5377 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5378
5379         * elmo-util.el (elmo-warning): Define as a macro which uses
5380         `display-warning' if it is defined as a function.
5381
5382         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5383         (elmo-split-equal): Use it.
5384         (elmo-split-match): Ditto.
5385         (elmo-split-message-entity): New buffer-local variable.
5386         (elmo-split-subr): Set it.
5387
5388         * elmo-version.el (elmo-version): Up to 2.9.15.
5389
5390 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5391
5392         * elmo-imap4.el (elmo-network-initialize-session):
5393         Check capability after starttls.
5394
5395 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5396
5397         * elmo-util.el (elmo-list-delete): Added optional argument
5398         DELETE-FUNCTION.
5399
5400         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5401
5402         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5403
5404         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5405
5406         * elmo-imap4.el (elmo-folder-initialize): Don't use
5407         elmo-imap4-default-mailbox.
5408
5409 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5410
5411         * elmo-split.el (toplevel): Use `product-provide'.
5412         (elmo-split): Checkdoc.
5413
5414 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5415
5416         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5417         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5418         the function `elmo-imap4-debug-1'.
5419
5420 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5421
5422         * elmo-split.el (elmo-split): Moved to run hooks and to show
5423         message from elmo-split-subr.
5424         (elmo-split-subr): Follow the change above.
5425
5426         * elmo-split.el (elmo-split-subr): New function (renamed from
5427         elmo-split-subr).
5428         (elmo-split): Changed to call elmo-split-subr by element of
5429         elmo-split-folder.
5430         (elmo-split-folder): Changed customization type to choice.
5431
5432 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5433
5434         * elmo-split.el (elmo-split-and): Fixed condition.
5435
5436 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5437
5438         * elmo-split.el: New file.
5439         (elmo-split): Fixed logic.
5440         Display "Test:" instead of "Folder:" when reharsal.
5441
5442         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5443         explicitly.
5444
5445         * elmo-version.el (elmo-version): Up to 2.9.14.
5446
5447         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5448         wl-expand-newtext).
5449
5450 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5451
5452         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5453         message with no message-id field.
5454
5455 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5456
5457         * elmo-version.el (elmo-version): Up to 2.9.13.
5458
5459         * elmo-dop.el (elmo-folder-status-dop): Fix.
5460
5461 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5462
5463         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5464
5465         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5466         changing default value of default-mime-charset.
5467         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5468
5469         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5470
5471         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5472         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5473         instead of elmo-dop-queue-method-name-alist to check merging queue.
5474         (elmo-folder-delete-messages-dop): Delete from queue if negative
5475         message number.
5476         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5477         file is already removed.
5478
5479 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5480
5481         * elmo-vars.el: Bind colon keywords for old Emacsen.
5482
5483 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5484
5485         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5486         against non-exsisting charset.
5487
5488 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5489
5490         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5491         Use eword-decode-and-unfold-unstructured-field-body.
5492
5493         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5494         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5495         exists to decode raw subject string.
5496         (toplevel): Require 'mime.
5497
5498         * elmo-version.el (elmo-version): Up to 2.9.12.
5499
5500 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5501
5502         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5503         (elmo-msgdb-set-mark): Ditto.
5504
5505         * elmo-version.el (elmo-version): Up to 2.9.11.
5506
5507 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5508
5509         * elmo-util.el (elmo-delete-match-files): New function.
5510
5511         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5512         instead of elmo-delete-directory.
5513
5514         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5515         elmo-hash-minimun-size as 63.
5516
5517         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5518         elmo-diff-unread is nil.
5519
5520         * elmo-imap4.el (elmo-folder-open): Fix.
5521
5522         * elmo.el (elmo-message-mark): Rewrite.
5523         (elmo-message-field): Ditto.
5524         (elmo-message-set-mark): Ditto.
5525         (elmo-folder-replace-marks): New function.
5526         (elmo-generic-folder-append-msgdb): Removed third argument for
5527         elmo-msgdb-append.
5528         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5529         (elmo-msgdb-load): New implementation.
5530
5531         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5532
5533         * elmo-util.el (elmo-list-insert): New implementation.
5534
5535         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5536         argument for elmo-msgdb-append.
5537         
5538
5539         * elmo-msgdb.el (elmo-load-msgdb): New function.
5540         (elmo-make-msgdb): Ditto.
5541         (elmo-msgdb-get-index): New inline function.
5542         (elmo-msgdb-set-index): Ditto.
5543         (elmo-msgdb-get-entity-hashtb): Ditto.
5544         (elmo-msgdb-get-mark-hashtb): Ditto.
5545         (elmo-msgdb-get-mark): Ditto.
5546         (elmo-msgdb-set-mark): Ditto.
5547         (elmo-msgdb-count-marks): Ditto.
5548         (elmo-msgdb-get-number): Ditto.
5549         (elmo-msgdb-get-field): Ditto.
5550         (elmo-msgdb-seen-list): Ditto.
5551         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5552         (elmo-msgdb-delete-msgs): Follow the changes above.
5553         (elmo-msgdb-overview-get-entity): Ditto.
5554         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5555         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5556         and rewritten.
5557         (elmo-msgdb-make-index): Likewise.
5558         (elmo-msgdb-append): Removed third argument.
5559         (elmo-msgdb-clear): Clear index as nil.
5560         (elmo-folder-set-info-hashtb): Removed.
5561         (elmo-folder-set-info-max-by-numdb): Ditto.
5562         (elmo-folder-info-make-hashtb): Ditto.
5563
5564         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5565
5566         * elmo-map.el (elmo-folder-pack-number): Ditto.
5567
5568 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5569
5570         * elmo-version.el (elmo-version): Up to 2.9.10.
5571
5572         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5573
5574         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5575
5576 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5577
5578         * elmo-utils.el (elmo-make-directory): Add option.
5579         Default file mode is 700.
5580
5581 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5582
5583         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5584
5585 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5586
5587         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5588         mime-charset.
5589
5590         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5591         and "smaller".
5592
5593 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5594
5595         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5596         (elmo-shimbun-folder-entity-hash): New function.
5597         (elmo-shimbun-folder-shimbun-header): Ditto.
5598         (elmo-shimbun-entity-to-header): Ditto.
5599         (elmo-shimbun-msgdb-to-headers): Removed.
5600         (elmo-shimbun-folder-setup): Ditto.
5601         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5602         for hash key.
5603         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5604         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5605         Removed useless local bind.
5606         (elmo-folder-open-internal): Don't call
5607         `elmo-shimbun-folder-setup'.
5608         (elmo-folder-close-internal): Clear entity-hash slot.
5609         (elmo-folder-clear): Ditto.
5610         (elmo-shimbun-msgdb-create-entity): Use
5611         `elmo-shimbun-folder-shimbun-header'.
5612         (elmo-map-message-fetch): Ditto.
5613         (elmo-shimbun-update-overview): Use overview entity instead of
5614         shimbun header to lookup id by references.
5615         (elmo-map-folder-list-message-locations): Use not only headers but
5616         also overviews to list locations.
5617
5618 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5619
5620         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5621         msgdb path.
5622
5623         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5624
5625 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5626
5627         * elmo-util.el (elmo-read-search-condition-internal): Give default
5628         value for date.
5629
5630 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5631
5632         * elmo-util.el (elmo-condition-parse-search-value): Accept
5633         YYYY-MM-DD format to search.
5634         * elmo-date.el (elmo-date-get-datevec): Likewise.
5635
5636 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5637
5638         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5639         debugging code.
5640
5641 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5642
5643         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5644         from t.
5645
5646         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5647
5648         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5649         case from `elmo-folder-exists-p'.
5650         (elmo-folder-exists-p): Removed.
5651         (elmo-folder-creatable-p) Ditto.
5652
5653         * elmo-net.el (elmo-folder-create): Defined.
5654         (elmo-folder-create-unplugged): New function.
5655         (elmo-folder-exists-p): Changed default value to nil from t.
5656
5657         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5658         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5659
5660         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5661         `elmo-create-folder-dop' and append queue
5662         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5663         (elmo-folder-create-dop-delayed): New function.
5664
5665         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5666
5667         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5668
5669         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5670         (elmo-folder-writable-p) : Ditto.
5671
5672         * elmo-version.el (elmo-version): Up to 2.9.9.
5673
5674 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5675
5676         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5677         `elmo-message-use-cache-p' returns nil.
5678         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5679         (ignore cache file and refer the substance in local folders)
5680
5681 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5682
5683         * elmo-version.el (elmo-version): Up to 2.9.8.
5684
5685 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5686
5687         * elmo-version.el (elmo-version): Up to 2.9.7.
5688
5689         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5690
5691 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5692
5693         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5694
5695 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5696
5697         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5698         from --early.
5699         (elmo-map-folder-list-message-locations): Reverse location list.
5700
5701 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5702
5703         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5704
5705 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5706
5707         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5708         as a key.
5709         (elmo-nntp-folder-list-subfolders): Follow the change above.
5710
5711 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5712
5713         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5714         name if authentication type is specified.
5715
5716 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5717
5718         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5719         variable.
5720         (elmo-default-nntp-stream-type): Ditto.
5721         (elmo-default-pop3-stream-type): Ditto.
5722
5723 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5724
5725         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5726
5727 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5728
5729         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5730         elmo-vars.el.
5731         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5732
5733         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5734         (elmo-maildir-folder-path): Ditto.
5735         (elmo-maildir-list): Ditto (abolished).
5736
5737 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5738
5739         * elmo-version.el (elmo-version): Up to 2.9.6.
5740
5741 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5742
5743         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5744         (elmo-maildir-folder-path): Ditto.
5745         (elmo-msgdb-directory): Ditto.
5746         (elmo-passwd-life-time): Ditto.
5747         (elmo-msgdb-extra-fields): Ditto.
5748         (elmo-enable-disconnected-operation): Ditto.
5749
5750 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5751
5752         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5753         other choices.
5754         (elmo-pop3-default-authenticate-type): Ditto.
5755
5756 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5757
5758         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5759         choices for custom.
5760         (elmo-pop3-default-authenticate-type): Ditto.
5761
5762 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5763
5764         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5765         mailbox to new-folder.
5766
5767 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5768
5769         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5770         less than new, set new as unread.
5771
5772         * elmo-util.el (elmo-string): Don't put text-property if nil.
5773
5774 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5775
5776         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5777         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5778
5779 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5780
5781         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5782         is nil on `completing-read'.
5783
5784 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5785
5786         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5787         for namespace part.
5788         (elmo-imap4-parse-namespace-subr): Ditto.
5789         (elmo-folder-list-subfolders): Append a delimiter when the specified
5790         folder path is a root with namespace and does not end with delimiter.
5791
5792 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5793
5794         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5795         was used.
5796
5797 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5798
5799         * elmo-util.el (elmo-save-buffer): The first argument of message
5800         is a format control string.
5801
5802 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5803
5804         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5805         `elmo-folder-diff').
5806         (elmo-diff-unread): Likewise.
5807
5808 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5809
5810         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5811         is t on `completing-read'.
5812
5813 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5814
5815         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5816         method of target folder with self mark-alist if MARK-ALIST is nil.
5817
5818 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5819
5820         * elmo-version.el (elmo-version): Up to 2.9.5.
5821
5822 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5823
5824         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5825         (elmo-dop-merge-funcs): Remove.
5826
5827 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5828
5829         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5830         Return t if PATH is directory, too.
5831         Use `dolist' instead of while loop.
5832
5833 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5834
5835         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5836         is deleted.
5837
5838 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5839
5840         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5841         return value to t.
5842         (elmo-folder-list-messages-unplugged): Return t if
5843         elmo-enable-disconnected-operation is nil.
5844
5845         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5846         `elmo-folder-list-messages-internal'.
5847
5848 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5849
5850         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5851         Change to looking-at `[23][0-9]+'.
5852         (elmo-network-initialize-session): Use 'error-msg'
5853         * elmo-net.el (elmo-network-open-session): Set unplugged
5854         if elmo-network-initialize-session returns 'elmo-open-err.
5855
5856 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5857
5858         * elmo-version.el (elmo-version): Up to 2.9.4.
5859
5860 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5861
5862         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5863         `elmo-folder-list-messages-internal'.
5864
5865 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5866
5867         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5868         (elmo-message-match-condition): New method.
5869         (elmo-folder-search-fast): New inline function.
5870         (elmo-msgdb-search): Removed.
5871
5872         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5873         target folder if it is unplugged.
5874         (elmo-folder-list-messages-internal): Return t if target folder is
5875         unplugged and itself is persistent; In this case, use list be
5876         searched already.
5877
5878         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5879         (elmo-msgdb-search-internal-primitive): Ditto.
5880         (elmo-msgdb-match-condition): New function.
5881         (elmo-msgdb-match-condition-primitive): Ditto.
5882
5883         * elmo-util.el (elmo-filter-condition-p): New macro.
5884
5885         * elmo-cache.el (elmo-folder-search): Removed.
5886
5887         * elmo-localdir.el (elmo-folder-search): Ditto.
5888
5889         * elmo-maildir.el (elmo-folder-search): Ditto.
5890
5891         * elmo-mark.el (elmo-folder-search): Ditto.
5892
5893         * elmo-nmz.el (elmo-folder-search): Ditto.
5894
5895         * elmo-sendlog.el (elmo-folder-search): Ditto.
5896
5897         * elmo-shimbun.el (elmo-folder-search): Ditto.
5898
5899         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5900         if folder is unplugged.
5901
5902         * elmo-nntp.el (elmo-folder-search): Likewise.
5903         (elmo-nntp-search-internal): New function.
5904
5905         * elmo-version.el (elmo-version): Up to 2.9.3.
5906
5907 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5908
5909         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5910
5911 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5912
5913         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5914
5915 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5916
5917         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5918
5919 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5920
5921         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5922         (elmo-map-folder-list-message-locations): Do drive letter conversion
5923         on Windows environment.
5924         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5925         (elmo-map-message-fetch): Ditto.
5926
5927 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5928
5929         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5930         (elmo-network-initialize-session): Ditto.
5931
5932 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5933
5934         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5935
5936         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5937
5938         * elmo-util.el (elmo-progress-clear): Ditto.
5939
5940         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5941         `DD-Mon-YYYY' type date.
5942
5943 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5944
5945         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5946         `elmo-date-make-sortable-string' instead of
5947         `timezone-make-date-sortable'.
5948
5949         * elmo-date.el (elmo-date-make-sortable-string): Use
5950         `timezone-make-time-string'.
5951
5952 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5953
5954         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5955
5956         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5957         `since'; Fix timezone.
5958
5959         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5960
5961         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5962
5963 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5964
5965         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5966
5967 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5968
5969         * elmo.el (elmo-generic-folder-append-messages): Make
5970         fetch-strategy with `use-cache' as 'maybe. Check return value of
5971         `elmo-message-fetch'.
5972         (elmo-message-fetch): Return return value of
5973         `elmo-message-fetch-with-cache-process'.
5974         (elmo-message-fetch-with-cache-process): Return non-nil if
5975         fetching was succeed. Load cache when fetching was failed and
5976         fetch-strategy-use-cache is 'maybe.
5977
5978         * elmo-util.el (elmo-file-cache-load): New function.
5979
5980         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5981         defun.
5982
5983         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5984         non-nil if fetching was succeed.
5985
5986         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5987
5988         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5989
5990         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5991         (elmo-message-fetch-with-cache-process): Likwise.
5992
5993         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5994
5995         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5996
5997         * elmo-version.el (elmo-version): Up to 2.9.2.
5998
5999 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
6000
6001         * elmo.el (elmo-folder-delete): Delete msgdb path.
6002
6003         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6004
6005         * elmo-maildir.el (elmo-folder-delete): Ditto.
6006
6007         * elmo-localdir.el (elmo-folder-delete): Ditto.
6008
6009         * elmo-imap4.el (elmo-folder-delete): Ditto.
6010
6011 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6012
6013         * elmo.el (luna-define-class): Added `biff' slot.
6014
6015         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6016         (elmo-pop3-debug-inhibit-logging): Abolished.
6017         (elmo-network-close-session): Eliminated needless let.
6018         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6019         (elmo-pop3-send-command): Added `no-log' argument.
6020         (elmo-pop3-process-filter): Use `with-current-buffer'.
6021         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6022         if login failure.
6023         (elmo-pop3-auth-apop): Likewise.
6024         (elmo-network-authenticate-session): Likewise.
6025
6026         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6027         if biff folder.
6028
6029         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6030         string to determine protocol.
6031         (elmo-network-session-name-prefix): Abolished.
6032         (elmo-network-session-cache-key): Follow the change above.
6033         (elmo-network-open-session): Ditto.
6034
6035         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6036         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6037
6038         * elmo-version.el (elmo-version): Up to 2.9.1.
6039
6040         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6041         unmatch condition checking.
6042
6043         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6044         condition.
6045
6046 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6047
6048         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6049
6050 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6051
6052         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6053         test for while loop to execute at least one SEARCH command.
6054
6055 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6056
6057         * elmo-version.el (elmo-version): Up to 2.9.0.
6058
6059 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6060
6061         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6062         (elmo-archive-folder-path): Define.
6063         (elmo-folder-initialize): Setup `dir-name' slot.
6064         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6065         Use `dir-name' as prefix of each subfolders.
6066         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6067
6068 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6069
6070         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6071         (elmo-pipe-folder-list-target-messages): New internal function.
6072         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6073         `killed-list'.
6074         (elmo-pipe-folder-copied-list-load): New function.
6075         (elmo-pipe-folder-copied-list-save): Ditto.
6076         (elmo-folder-open-internal): Follow the change above.
6077         (elmo-folder-status): Fixed for copy.
6078
6079 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6080
6081         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6082
6083 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6084
6085         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6086         elmo-copy-file instead of elmo-add-name-to-file.
6087
6088         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6089
6090         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6091         "file://..." index.
6092
6093         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6094         of accept-process-output as 1.
6095         (elmo-pop3-read-contents): Ditto.
6096         (elmo-pop3-read-body): Ditto.
6097
6098 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6099
6100         * elmo-version.el (product-version-as-string): Remove define.
6101
6102 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6103
6104         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6105         (elmo-imap4-copy-messages): Chop number set using
6106         `elmo-imap4-number-set-chop-length'.
6107         (elmo-imap4-set-flag): Ditto.
6108         (elmo-imap4-search-internal-primitive): Ditto.
6109
6110 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6111
6112         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6113         `elmo-folder-make-temp-dir'
6114
6115         * elmo-vars.el (elmo-cache-directory): New variable.
6116         (elmo-cache-dir): Abolished.
6117         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6118
6119         * elmo-version.el (elmo-version): Up to 2.7.7.
6120
6121 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6122
6123         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6124         defcustom; Set default value as t.
6125
6126 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6127
6128         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6129         (ldap-search-program-arguments): Changed default value.
6130         (ldap-search-basic): Accept exit status 4.
6131         (ldap/field-body): Parse options.
6132         (ldap/collect-field): Ditto.
6133         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6134
6135         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6136         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6137         (elmo-imap4-accept-ok): Ditto.
6138         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6139         'notify-bye, only BYE error is reported.
6140         (elmo-folder-exists-p-plugged): Set no-error argument of
6141         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6142
6143         * elmo.el (elmo-imap4-bye-error): Changed message.
6144
6145         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6146         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6147         queues (It causes infinite loop).
6148
6149 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6150
6151         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6152         (RECENT UNSEEN MESSAGES) extension.
6153
6154 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6155
6156         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6157         Check number of overview fields.
6158
6159 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6160
6161         * elmo.el (elmo-folder-confirm-appends): Changed message.
6162         (elmo-folder-confirm-appends): Ditto.
6163
6164         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6165         `with-temp-buffer'.
6166         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6167
6168 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6169
6170         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6171         of elmo-folder-update-threshold is nil, which can be set by
6172         wl-summary-update-confirm-threshold.
6173
6174 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6175
6176         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6177         (elmo-nmz-index-alias-alist): Ditto.
6178         (elmo-map-folder-list-message-locations): Follow the change above.
6179
6180 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6181
6182         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6183
6184         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6185
6186         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6187
6188         * elmo-util.el (elmo-read): Ditto.
6189         (elmo-display-error): Ditto.
6190
6191         * elmo-vars.el (elmo-date-match): Ditto.
6192
6193         * pldap.el (ldap-coding-system): Ditto.
6194
6195         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6196         `elmo-inhibit-number-mapping' as nil.
6197
6198 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6199
6200         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6201         space delimiter for list response.
6202
6203 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6204
6205         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6206
6207 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6208
6209         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6210         (elmo-map-message-fetch): Fix.
6211         * elmo-map.el (elmo-folder-status): Fix for killed.
6212
6213 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6214
6215         * elmo-sendlog.el: New file.
6216         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6217
6218 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6219
6220         * acap.el (acap-logging-out): New buffer local variable.
6221         (acap-close): Set it.
6222         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6223         an error.
6224
6225 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6226
6227         * acap.el (acap-response-bye-p): New function.
6228         (acap-response-bye-message): Ditto.
6229         (acap-wait-for-response): If bye response is received, cause an error.
6230         (acap-parse-response): Make bye response when 'Bye' is received.
6231
6232 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6233
6234         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6235
6236 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6237
6238         * elmo-util.el (elmo-copy-file): Added argument
6239         `ok-if-already-exists'.
6240         (elmo-copy-file): Fixed typo.
6241
6242 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6243
6244         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6245
6246 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6247
6248         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6249
6250 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6251
6252         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6253         to killed-list.
6254
6255 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6256
6257         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6258         (elmo-folder-initialize): Fix for `copy'.
6259         (elmo-pipe-drain): Ditto.
6260         (elmo-folder-open-internal): Ditto.
6261         (elmo-folder-newsgroups): Fix.
6262
6263 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6264
6265         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6266         for each message.
6267
6268         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6269         recent value is returned from imap folder.
6270
6271         * elmo.el (elmo-folder-newsgroups): New generic function.
6272
6273         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6274         (elmo-folder-initialize): Set it.
6275         (elmo-folder-expand-msgdb-path): Use it.
6276         (elmo-folder-newsgroups): Define.
6277
6278         * elmo-filter.el (elmo-folder-newsgroups): Define.
6279
6280         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6281
6282         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6283
6284         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6285
6286 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6287
6288         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6289         user option.
6290         (elmo-shimbun-header-extra-field): New inline function.
6291         (elmo-shimbun-header-set-extra-field): Ditto.
6292         (elmo-shimbun-folder-header-hash-setup): Ditto.
6293         (elmo-shimbun-update-overview): Ditto.
6294         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6295         (elmo-shimbun-folder-setup): Use
6296         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6297         (elmo-shimbun-get-headers): Ditto.
6298         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6299         Insert `X-Shimbun-Id:' header if extra field is set.
6300         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6301         field's value instead of `shimbun-header-id'.
6302
6303         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6304         inline function.
6305         (elmo-msgdb-overview-entity-set-date): Ditto.
6306         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6307
6308 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6309
6310         * mmimap.el (mmimap-entity-section): Changed body node number from
6311         "0" to "1".
6312
6313 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6314
6315         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6316         `elmo-folder-delete-messages'.
6317
6318         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6319         (elmo-folder-initialize): Changed to expand alias into index path.
6320
6321         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6322         `elmo-mime-insert-header-from-buffer' with 6th arg
6323         `sorted-fields'.
6324
6325 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6326
6327         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6328
6329         * elmo.el (elmo-diff-new): New inline function.
6330         (elmo-diff-unread): Ditto.
6331         (elmo-diff-all): Ditto.
6332
6333         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6334         value from responseb.
6335         (elmo-imap4-folder-diff-plugged): Ditto.
6336         (elmo-imap4-server-diff-async): Added recent argument.
6337         (elmo-server-diff-async): Ditto.
6338         (elmo-imap4-folder-diff-plugged): Ditto.
6339
6340         * elmo-version.el (elmo-version): Up to 2.7.6.
6341
6342 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6343
6344         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6345         in quoted-stirng.
6346
6347 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6348
6349         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6350
6351         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6352
6353         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6354
6355         * elmo-multi.el (elmo-folder-initialize): Ditto.
6356
6357         * elmo-util.el (elmo-parse-token): New function.
6358         (elmo-parse-prefixed-element): Ditto.
6359
6360 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6361
6362         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6363         delete process.
6364         (elmo-imap4-accept-ok): Ditto.
6365
6366 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6367
6368         * mmimap.el (mime-imap-entity-header-string): Don't check first
6369         element of node-id is `0' (Follow last change).
6370
6371 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6372
6373         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6374         assigned irregular node-id to nested multipart section.
6375         (initialize-instance): Followed above change.
6376
6377 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6378
6379         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6380         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6381         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6382         `elmo-shimbun-get-headers');
6383         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6384         visible article on summary exists in headers).
6385         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6386
6387 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6388
6389         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6390         definition.
6391
6392 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6393
6394         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6395
6396 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6397
6398         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6399         header separator into loop condition.
6400
6401 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6402
6403         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6404         Return duplicate folder if it has subfolder.
6405
6406 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6407
6408         * elmo.el (elmo-make-folder): Add folder name error check.
6409
6410         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6411         (elmo-nntp-encode-group-string): New inline function.
6412         (elmo-nntp-decode-group-string): Ditto.
6413         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6414         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6415         Use `not' instead of `null';
6416         Use elmo-nntp-decode-group-string.
6417
6418         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6419
6420         * elmo-version.el (elmo-version): Up to 2.7.5.
6421
6422 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6423
6424         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6425         Hide progress gauge if `elmo-folder-move-messages' exits
6426         nonlocally.
6427
6428 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6429
6430         * elmo-imap4.el (elmo-folder-initialize): Use
6431         `elmo-imap4-encode-folder-string' for folder name.
6432
6433 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6434
6435         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6436         `done'.
6437
6438 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6439
6440         * elmo-util.el (elmo-progress-counter-alist): New internal
6441         variable.
6442         (elmo-progress-counter-value): New macro.
6443         (elmo-progress-counter-all-value): Ditto.
6444         (elmo-progress-counter-format): Ditto.
6445         (elmo-progress-counter-set-value): Ditto.
6446         (elmo-progress-set): New function.
6447         (elmo-progress-clear): Ditto.
6448         (elmo-progress-notify): Ditto.
6449
6450         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6451         counter.
6452
6453         * elmo.el (elmo-generic-folder-append-messages): Call
6454         `elmo-progress-notify'.
6455         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6456
6457         * elmo-archive.el (elmo-folder-append-messages): Call
6458         `elmo-progress-notify'.
6459
6460         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6461
6462         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6463
6464         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6465
6466 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6467
6468         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6469         'Create'.
6470         (elmo-message-encache-dop): Added argument `read'.
6471
6472         * elmo-shimbun.el (elmo-message-encache): Ditto.
6473
6474         * elmo-net.el (elmo-message-encache): Ditto.
6475
6476         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6477         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6478         elmo-imap4-seen-messages.
6479         (elmo-folder-msgdb-create-plugged): Initialize
6480         elmo-imap4-seen-messages;
6481         Set seen mark on elmo-imap4-seen-messages.
6482
6483         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6484
6485         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6486         elmo-folder-append-buffer.
6487         (elmo-folder-encache): Added optional argument `read'.
6488         (elmo-message-encache): Ditto.
6489
6490         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6491
6492         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6493
6494         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6495         if append buffer content succeds.
6496
6497 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6498
6499         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6500         elmo-display-progress.
6501
6502         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6503         Set 4th argument of mime-display-message.
6504         (elmo-mime-display-as-is): Ditto.
6505
6506 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6507
6508         * elmo-nmz.el (toplevel): Require 'mime-edit.
6509         (elmo-nmz-content-type-alist): Abolished.
6510         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6511         content is not a message.
6512         (elmo-map-message-fetch): Changed behavior exept for message content;
6513         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6514         content-type, Add From: and Subject: field.
6515
6516 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6517
6518         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6519         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6520         not a message.
6521
6522 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6523
6524         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6525         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6526
6527         * elmo-archive.el (elmo-folder-writable-p): Defined.
6528
6529         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6530
6531         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6532
6533         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6534
6535         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6536
6537         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6538
6539         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6540
6541         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6542
6543         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6544
6545 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6546
6547         * elmo-util.el (elmo-address-quote-specials): New function;
6548         Renamed from `wl-address-quote-specials'.
6549
6550 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6551
6552         * elmo-version.el (elmo-version): Up to 2.7.4.
6553
6554 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6555
6556         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6557
6558 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6559
6560         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6561         both compile-time and run-time to avoid byte-compile warning.
6562
6563 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6564
6565         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6566
6567 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6568
6569         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6570         option.
6571         (elmo-mime-display-as-is-internal): Use it.
6572
6573         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6574         if `read-passwd' is not defined.
6575
6576 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6577
6578         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6579         by original number.
6580         (elmo-folder-status): Call `elmo-folder-open-internal';
6581         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6582         (elmo-folder-close-internal): Set location-alist as nil.
6583         (elmo-folder-clear): Define.
6584         (elmo-folder-check): Don't set location-alist as nil.
6585
6586         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6587
6588 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6589
6590         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6591         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6592
6593         * mmimap.el (mime-imap-entity::requested): New slot.
6594         (mime-imap-location-fetch-entity-p): New generic function.
6595         (mime-decode-parameters): Define using `defun-maybe'.
6596         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6597         content-type structure.
6598         (mime-entity-body): Return empty body if
6599         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6600
6601         * elmo.el (elmo-message-displaying): New variable.
6602
6603         * elmo-mime.el (elmo-mime-message-display): Bind
6604         elmo-message-displaying as t.
6605
6606         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6607
6608 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6609
6610         * acap.el (acap-open): erase buffer before starting network process.
6611         (acap-store): Rewrite.
6612
6613 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6614
6615         * elmo-imap4.el (elmo-imap4-default-mailbox,
6616         elmo-imap4-default-server
6617         elmo-imap4-default-authenticate-type,
6618         elmo-imap4-default-user,
6619         elmo-imap4-default-port,
6620         elmo-imap4-default-stream-type,
6621         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6622
6623         * elmo-pop3.el (elmo-pop3-default-user,
6624         elmo-pop3-default-server,
6625         elmo-pop3-default-authenticate-type,
6626         elmo-pop3-default-port,
6627         elmo-pop3-default-stream-type,
6628         elmo-pop3-stream-type-alist): Ditto.
6629
6630         * elmo-nntp.el (elmo-nntp-default-server,
6631         elmo-nntp-default-user,
6632         elmo-nntp-default-port,
6633         elmo-nntp-default-stream-type,
6634         elmo-nntp-stream-type-alist): Ditto.
6635
6636         * elmo-vars.el: Follow changes above.
6637         (elmo-setting): New custom group; added 'elmo-setting group to
6638         above variables.
6639
6640         * elmo-version.el (elmo-version): Up to 2.7.3.
6641
6642         * acap.el (acap-parse-response): Don't delete process when BYE
6643         response (It causes hang-up on slow network environment).
6644         (toplevel): Added comment.
6645
6646 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6647
6648         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6649
6650         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6651         parsing NIL.
6652         (acap-parse-return-metadata): Ditto.
6653
6654         * slp.el: New file.
6655         (toplevel): Fixed typo.
6656
6657         * acap.el: New file.
6658         (acap-network-stream-open): Show "Connecting..." message.
6659         (acap-parse-response): Fixed problem for BYE untagged response.
6660         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6661         (toplevel): Added tiny comments.
6662
6663 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6664
6665         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6666         space delimiter for uidl response.
6667
6668 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6669
6670         * elmo-vars.el (elmo-use-semi): Eliminated.
6671
6672         * elmo-util.el (elmo-string-assoc-all): New function.
6673
6674 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6675
6676         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6677         property 'mime-preview-situation for `mime-preview-quit'.
6678
6679 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6680
6681         * elmo.el (elmo-message-fetch-with-cache-process): Call
6682         elmo-message-fetch-internal instead of causing an error when fetch
6683         strategy is 'entire but only 'section cache is available.
6684
6685 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6686
6687         * elmo-version.el (elmo-version): Up to 2.7.2.
6688
6689         * elmo.el (elmo-generic-folder-append-messages): Make
6690         fetch-strategy with `use-cache'.
6691
6692         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6693         (elmo-dop-queue-method-name): New macro.
6694
6695 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6696
6697         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6698         unbalanced parenthesis.
6699
6700 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6701
6702         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6703
6704 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6705
6706         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6707         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6708
6709 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6710
6711         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6712         local variables.
6713
6714 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6715
6716         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6717         (elmo-message-use-cache-p): Define.
6718         (elmo-folder-msgdb-create): Treat cache.
6719
6720 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6721
6722         * elmo-nntp.el (elmo-network-initialize-session): Call
6723         `elmo-nntp-send-mode-reader'.
6724         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6725
6726 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6727
6728         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6729         alist.
6730         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6731         assoc.
6732
6733         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6734         for `elmo-plugged-p'.
6735         (elmo-open-network-stream): Fixed stream-type argument.
6736
6737 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6738
6739         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6740         unknown archive type is specified.
6741
6742 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6743
6744         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6745
6746         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6747         while loading msgdb.
6748
6749         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6750         (elmo-folder-open-internal): Rewrite.
6751
6752 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6753
6754         * elmo-mime.el (elmo-mime-display-as-is-internal):
6755         Adjust buffer-multibyte status.
6756
6757 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6758
6759         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6760         of elmo-condition-find-key.
6761
6762         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6763         (elmo-condition-in-msgdb-p): Ditto.
6764         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6765         argument.
6766
6767 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6768
6769         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6770
6771 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6772
6773         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6774         label for elmo-display-progress.
6775
6776 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6777
6778         * elmo.el (elmo-folder-clear): New method.
6779         (elmo-folder-clear): Define.
6780         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6781
6782         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6783         (elmo-folder-clear): Define.
6784
6785         * elmo-map.el (elmo-folder-clear): Define.
6786
6787         * elmo-version.el (elmo-version): Up to 2.7.1.
6788
6789 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6790
6791         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6792         updates.
6793
6794 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6795
6796         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6797         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6798
6799 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6802
6803         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6804         and re-written.
6805
6806         * elmo-imap4.el (elmo-folder-initialize): Use
6807         elmo-get-network-stream-type.
6808
6809         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6810
6811         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6812
6813 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6814
6815         * elmo.el (elmo-message-encache): Set unread argument for
6816         elmo-message-fetch.
6817
6818         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6819
6820         * elmo.el (elmo-net-port-info): New method.
6821
6822         * elmo-shimbun.el (elmo-net-port-info): Define.
6823         (elmo-message-encache): Ditto.
6824
6825         * elmo-net.el (elmo-net-port-info): Define as method.
6826
6827         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6828         unplugged status when elmo-enable-disconnected-operation is t.
6829
6830         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6831         of spool folder before checking new number.
6832
6833 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6834
6835         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6836         (elmo-network-setup-session): Ditto.
6837         (elmo-message-fetch-plugged): Ditto.
6838         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6839         (elmo-network-initialize-session): Ditto.
6840         (elmo-pop3-read-response): Abolish 3rd argument.
6841         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6842         (elmo-pop3-read-contents): Ditto.
6843         (elmo-pop3-read-body): Ditto.
6844         (elmo-folder-status): Call elmo-folder-close.
6845         (elmo-pop3-lock): Abolish.
6846         (elmo-pop3-unlock): Ditto.
6847         (elmo-pop3-locked-p): Ditto.
6848         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6849
6850 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6851
6852         * elmo-version.el (elmo-version): Up to 2.7.0.
6853
6854         * elmo-pop3.el (elmo-pop3-debug): New variable.
6855         (elmo-pop3-debug-inhibit-logging): Ditto.
6856         (elmo-pop3-debug): New function.
6857         (elmo-pop3-send-command): Call elmo-pop3-debug.
6858         (elmo-pop3-read-response): Added keep-lock optional argument;
6859         Don't unlock if keep-lock is non-nil.
6860         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6861         (elmo-network-authenticate-session): Bind
6862         elmo-pop3-debug-inhibit-logging as t.
6863         (elmo-network-setup-session): Call elmo-pop3-read-response with
6864         keep-lock argument.
6865         (elmo-pop3-read-msg): Ditto.
6866         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6867         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6868         (elmo-network-initialize-session): Call elmo-pop3-lock.
6869         (elmo-folder-close-internal): Don't clear location-alist slot.
6870         (elmo-folder-check): Clear location-alist slot.
6871
6872 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6873
6874         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6875         (elmo-pop3-send-command): Call elmo-pop3-lock.
6876         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6877         (elmo-pop3-read-contents): Ditto.
6878         (elmo-pop3-lock): New function.
6879         (elmo-pop3-unlock): Ditto.
6880         (elmo-pop3-locked-p): Ditto.
6881         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6882         returns t.
6883
6884 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6885
6886         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6887
6888         * elmo-util.el (elmo-file-field-primitive-condition-match):
6889         New inline function (Don't fetch file content if "first" or "last").
6890         (elmo-file-field-condition-match): Use
6891         elmo-file-field-primitive-condition-match.
6892
6893         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6894         "first".
6895
6896         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6897         (elmo-message-fetch-plugged): Fixed.
6898
6899         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6900
6901 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6902
6903         * elmo.el (elmo-folder-move-messages): Bind
6904         elmo-inhibit-display-retrieval-progress as t while moving messages.
6905
6906         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6907         New variable.
6908         (elmo-inhibit-display-retrieval-progress): Ditto.
6909
6910         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6911         for retrieval progress;
6912         Don't display progress when total buffer size is smaller than
6913         elmo-display-retrieval-progress-threshold.
6914         (elmo-message-fetch-plugged): Don't display progress when
6915         elmo-inhibit-display-retrieval-progress is non-nil.
6916
6917         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6918         for retrieval progress;
6919         Don't display progress when literal size is smaller than
6920         elmo-display-retrieval-progress-threshold.
6921         (elmo-imap4-message-fetch): Don't display progress when
6922         elmo-inhibit-display-retrieval-progress is non-nil.
6923
6924 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6925
6926         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6927         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6928         (elmo-imap4-message-fetch): Likewise.
6929
6930         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6931         (elmo-shimbun-index-range-alist): Ditto.
6932         (elmo-shimbun-use-entire-index): Abolish.
6933         (shimbun-mua-use-entire-index): Ditto.
6934         (elmo-shimbun-folder): Added new slot `range'.
6935         (elmo-folder-initialize): Setup slot `range'.
6936
6937 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6938
6939         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6940         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6941         (elmo-shimbun-get-headers): Use return value of
6942         `shimbun-article-expiration-days'.
6943         (elmo-folder-close-internal): Clean up last-check slot.
6944
6945         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6946         (elmo-pop3-total-size): New variable.
6947         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6948
6949         * elmo.el (elmo-folder-reserve-status-p): New method.
6950
6951         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6952         (elmo-shimbun-use-entire-index): New user option.
6953         (shimbun-elmo-mua): New class.
6954         (shimbun-mua-search-id): Define.
6955         (shimbun-mua-use-entire-index): Ditto.
6956         (elmo-shimbun-folder:last-check): New slot.
6957         (elmo-shimbun-headers-cache-header-list): Abolish.
6958         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6959         (elmo-shimbun-headers-cache-header-hash): Ditto.
6960         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6961         (elmo-shimbun-headers-cache-last-check): Ditto.
6962         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6963         (elmo-shimbun-headers-check-p): Rewrite.
6964         (elmo-shimbun-msgdb-to-headers): New function.
6965         (elmo-shimbun-get-headers): Rewrite.
6966         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6967         (elmo-folder-open-internal): Get headers only if
6968         `elmo-shimbun-headers-check-p' is non-nil.
6969         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6970         is non-nil.
6971         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6972         (elmo-quit): Removed.
6973
6974         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6975         function.
6976         (elmo-msgdb-overview-entity-set-extra): Ditto.
6977         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6978
6979         * elmo-map.el (elmo-folder-status): Don't call
6980         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6981         is non-nil.
6982
6983 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6984
6985         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6986         of `elmo-msgdb-search-internal-primitive' when condition's car is
6987         `and' or `or'.
6988
6989 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6990
6991         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6992
6993 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6994
6995         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6996         call `elmo-pipe-drain'.
6997
6998 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6999
7000         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7001         typo. (elmo-cache-folder -> elmo-mark-folder)
7002
7003 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7004
7005         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7006         `elmo-message-fetch'.
7007
7008 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7009
7010         * elmo-net.el (elmo-message-encache): Fixed typo.
7011         (elmo-message-fetch-unplugged): Changed call
7012         `elmo-message-fetch-internal' without argument `outbuf'.
7013
7014 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7015
7016         * elmo.el (elmo-message-encache): Define as generic function.
7017         (elmo-message-fetch-field): New generic function.
7018         (elmo-message-fetch-with-cache-process): Cause an error when
7019         fetch strategy is 'entire but only 'section cache is available.
7020         (toplevel): Fixed nmz folder definition.
7021
7022         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7023         (elmo-msgdb-resume-list-filename): Ditto.
7024         (elmo-queue-filename): Ditto.
7025         (elmo-enable-disconnected-operation): Changed default value to t.
7026
7027         * elmo-util.el (elmo-cache-path-section-p): New function.
7028         (elmo-file-cache-get): Use it.
7029         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7030         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7031         (elmo-dop-queue-save): Ditto.
7032
7033         * elmo-net.el (elmo-folder-status-unplugged): Call
7034         elmo-folder-status-dop.
7035         (elmo-folder-list-messages-unplugged): Implemented.
7036         (elmo-folder-delete-messages-unplugged): Define.
7037         (elmo-folder-msgdb-create): Define.
7038         (elmo-folder-msgdb-create-unplugged): Define.
7039         (elmo-folder-mark-as-read-unplugged): Ditto.
7040         (elmo-folder-unmark-read-unplugged): Ditto.
7041         (elmo-folder-mark-as-important-unplugged): Ditto.
7042         (elmo-folder-unmark-important-unplugged): Ditto.
7043         (elmo-message-encache): Ditto.
7044
7045         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7046         (elmo-dop-queue-save): Ditto.
7047
7048         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7049         `elmo-folder-msgdb-create'.
7050         (elmo-folder-append-buffer): Implemented unplugged operation.
7051         (elmo-folder-append-messages): Call parent method in unplugged status.
7052         (elmo-message-fetch-unplugged): Removed definition.
7053         (elmo-message-fetch-field): Implemented.
7054
7055         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7056         (elmo-dop-folder): Removed variable definition.
7057         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7058         (elmo-dop-queue-flush): Implemented.
7059         (elmo-dop-queue-merge): Removed definition (TODO).
7060         (elmo-dop-spool-folder): New function.
7061         (elmo-dop-spool-folder-append-buffer): Ditto.
7062         (elmo-dop-spool-folder-list-messages): Ditto.
7063         (elmo-dop-list-deleting-messages): Ditto.
7064         (elmo-folder-append-buffer-dop): Ditto.
7065         (elmo-folder-delete-messages-dop): Ditto.
7066         (elmo-message-encache-dop): New inline function.
7067         (elmo-create-folder-dop): Ditto.
7068         (elmo-folder-mark-as-read-dop): Ditto.
7069         (elmo-folder-unmark-read-dop): Ditto.
7070         (elmo-folder-mark-as-important-dop): Ditto.
7071         (elmo-folder-unmark-important-dop): Ditto.
7072         (elmo-folder-status-dop): Fixed.
7073         (elmo-folder-append-buffer-dop-delayed): New function.
7074         (elmo-folder-delete-messages-dop-delayed): Ditto.
7075         (elmo-dop-msgdb): Ditto.
7076
7077 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7078
7079         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7080
7081 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7082
7083         * elmo.el (elmo-folder-move-messages): Fixed problem when
7084         `dst-folder' is 'null.
7085
7086 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7087
7088         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7089         instead of current mark.
7090
7091         * elmo-multi.el (elmo-folder-list-importants-internal): No
7092         operation if importants is not list.
7093
7094         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7095         Return t if importants is not list.
7096
7097         * elmo-map.el (elmo-map-folder-list-importants): Define.
7098         (elmo-folder-list-importants-internal): Check return value of
7099         `elmo-map-folder-list-importants-internal'.
7100
7101         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7102
7103         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7104
7105         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7106
7107         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7108
7109 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7110
7111         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7112         (Patch is provided by <kita@coe.nttdata.co.jp>).
7113
7114 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7115
7116         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7117         mark folder.
7118
7119 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7120
7121         * elmo.el (elmo-message-fetch): Define.
7122         (elmo-message-fetch-with-cache-process): New generic method.
7123         (elmo-message-fetch-internal): New generic method.
7124         (elmo-folder-synchronize):
7125
7126         * elmo-archive.el (elmo-message-fetch-internal): Define.
7127         (elmo-message-fetch): Eliminated.
7128
7129         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7130         (elmo-message-fetch): Eliminated.
7131
7132         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7133         argument OUTBUF.
7134         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7135
7136         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7137         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7138
7139         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7140         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7141
7142         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7143
7144         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7145
7146         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7147
7148         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7149         (elmo-message-fetch-unplugged): New generic method.
7150         (elmo-message-fetch-internal): Remove cache process (Renamed from
7151         `elmo-message-fetch').
7152
7153         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7154         (elmo-message-fetch): Eliminated.
7155         (elmo-message-fetch-unplugged): Ditto.
7156
7157         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7158
7159 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7160
7161         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7162         of `to-be-deleted' from number-alist to number-list.
7163
7164 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7165
7166         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7167         (elmo-folder-mark-as-important): Ditto.
7168
7169 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7170
7171         * elmo.el (elmo-folder): Added process-duplicates slot.
7172
7173         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7174         (elmo-folder-unmark-read): Ditto.
7175         (elmo-folder-unmark-important): Ditto.
7176         (elmo-folder-mark-as-important): Ditto.
7177
7178         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7179         duplicated message processing.
7180
7181         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7182
7183 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7184
7185         * elmo-util.el (elmo-list-subdirectories-1): New function.
7186         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7187         (elmo-mapcar-list-of-list): New function.
7188
7189         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7190         `elmo-mapcar-list-of-list' instead of `mapcar'.
7191
7192         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7193
7194         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7195         `elmo-have-link-count'. Return the fully qualified folder name.
7196
7197 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7198
7199         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7200         (elmo-shimbun-headers-cache): New internal variable.
7201         (elmo-shimbun-headers-cache-header-list): New inline function.
7202         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7203         (elmo-shimbun-headers-cache-header-hash): Ditto.
7204         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7205         (elmo-shimbun-headers-cache-last-check): Ditto.
7206         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7207         (elmo-shimbun-lapse-seconds): Ditto.
7208         (elmo-shimbun-headers-cache-check-p): Ditto.
7209         (elmo-shimbun-get-headers): New function.
7210         (elmo-folder-open-internal): Call it.
7211         (elmo-quit): Define (Clear headers-cache).
7212
7213 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7214
7215         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7216
7217         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7218         (elmo-msgdb-flist-save): Ditto.
7219
7220         * elmo-shimbun.el (elmo-folder-list-subfolders):
7221         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7222         (elmo-folder-exists-p): Ditto.
7223
7224         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7225         argument for `shimbun-header-insert'.
7226
7227 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7228
7229         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7230         at first time.
7231
7232         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7233         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7234
7235 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7236
7237         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7238         (elmo-folder-plugged-p): Define.
7239         (elmo-folder-set-plugged): Ditto.
7240         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7241         (elmo-folder-list-messages-internal): Return t if unplugged.
7242         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7243
7244         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7245         when elmo-folder-list-messages-internal method of children returns t.
7246
7247         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7248         pair is nil.
7249         (elmo-folder-open-internal): Don't update if unplugged status.
7250
7251 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7252
7253         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7254         new message.
7255
7256 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7257
7258         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7259
7260         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7261         saving.
7262
7263 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7264
7265         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7266
7267         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7268         (elmo-folder-open-internal): Set up headers slot.
7269         (elmo-folder-check): Call elmo-folder-close-internal and
7270         elmo-folder-open-internal.
7271         (elmo-folder-close-internal): Clean up headers slot.
7272
7273 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7274
7275         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7276         exactly folder list.
7277         (elmo-folder-append-messages): Fixed append archive with prefix.
7278
7279         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7280         make temp files with start-number.
7281
7282         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7283
7284 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7285
7286         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7287         argument `visible-only'.
7288         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7289         instead of `if'.
7290
7291         * elmo-pop3.el (elmo-folder-open-internal): Check
7292         `elmo-inhibit-number-mapping' is non-nil.
7293
7294         * elmo-pipe.el (elmo-folder-status): Fixed.
7295
7296 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7297
7298         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7299
7300         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7301         (elmo-folder-open-internal): Setup `header-hash' slot.
7302         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7303         information.
7304         (elmo-map-message-fetch): Ditto.
7305
7306 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7307
7308         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7309         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7310         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7311         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7312
7313         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7314
7315 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7316
7317         * sb-airs.el: Added footer.
7318
7319         * shimbun.el (shimbun-article): Define as luna-method.
7320
7321         * sb-tcup.el: New file.
7322
7323         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7324         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7325
7326 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7327
7328         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7329         (shimbun-get-headers): Ditto.
7330
7331         * elmo.el: Moved obsolete variable definitions from
7332         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7333
7334         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7335         groups.
7336
7337         * shimbun.el: New file.
7338
7339         * elmo-shimbun.el: New file.
7340
7341         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7342         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7343         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7344         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7345
7346 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7347
7348         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7349         hierarchy is t.
7350
7351 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7352
7353         * elmo.el (elmo-folder-msgdb): Define as macro.
7354         (elmo-folder-open): Added argument `load-msgdb'.
7355         (elmo-generic-folder-open): Ditto.
7356         (elmo-folder-encache): New function.
7357
7358         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7359
7360         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7361
7362         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7363         Eliminated argument FOLDER and added argument MSGDB.
7364         (elmo-dop-queue-load): Moved from elmo-dop.el.
7365         (elmo-dop-queue-save): Ditto.
7366
7367         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7368
7369         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7370
7371         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7372         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7373         (elmo-filter-folder-list-importants-internal): Ditto.
7374
7375         * elmo-map.el (elmo-folder-pack-number): Ditto.
7376
7377         * elmo-mime.el (elmo-mime-message-display): Ditto.
7378
7379         * elmo.el (elmo-generic-folder-commit): Ditto.
7380         (elmo-folder-list-unreads): Ditto.
7381         (elmo-folder-list-importants): Ditto.
7382         (elmo-generic-folder-commit): Ditto.
7383         (elmo-message-set-mark): Ditto.
7384         (elmo-generic-folder-append-msgdb): Ditto.
7385         (elmo-folder-synchronize): Ditto.
7386         (elmo-folder-messages): Ditto.
7387         (elmo-init): Call elmo-dop-queue-load.
7388         (elmo-folder-list-messages): Ditto.
7389
7390         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7391         (elmo-nntp-folder-process-crosspost): Ditto.
7392         (elmo-folder-list-unreads-internal): Ditto.
7393
7394         * elmo-dop.el: Removed old functions.
7395
7396 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7397
7398         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7399         `folder' to `msgdb'.
7400
7401 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7402
7403         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7404         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7405
7406         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7407         case-fold-search.
7408
7409 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7410
7411         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7412         defined.
7413
7414         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7415         (mmimap-parse-parameters-from-list): Define as alias for
7416         `mime-decode-parameter-plist' if it is defined as function.
7417         (mmimap-make-mime-entity): Added argument `number'.
7418         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7419         as 0.
7420         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7421
7422         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7423
7424         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7425
7426         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7427
7428 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7429
7430         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7431
7432         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7433         when elmo-imap4-default-authenticate-type is nil.
7434         (elmo-folder-list-subfolders): Ditto
7435         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7436         (elmo-imap4-fetch-callback-1-subr): Renamed from
7437         `elmo-imap4-fetch-callback-1' and define as inline function.
7438         (elmo-imap4-fetch-callback-1):
7439         Renamed from `elmo-imap4-fetch-callback'.
7440         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7441
7442         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7443         msgdb path (To keep compatibility with main trunk).
7444
7445         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7446
7447         * elmo-util.el (elmo-make-file-cache): Moved position of
7448         some macros.
7449
7450         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7451         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7452         instead of `elmo-pop3-inhibit-uidl'.
7453         (elmo-folder-exists-p): Ditto.
7454         (elmo-pop3-folder-list-messages): Ditto.
7455
7456         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7457         instead of `elmo-pop3-inhibit-uidl'.
7458         (elmo-folder-status): Ditto.
7459
7460         * elmo-dop.el (elmo-dop-folder): New variable.
7461         (elmo-dop-lock-message): Eliminated.
7462         (elmo-dop-unlock-message): Ditto.
7463         (elmo-dop-lock-list-load): Ditto.
7464         (elmo-dop-lock-list-save): Ditto.
7465         (elmo-dop-delete-folder): Ditto.
7466         (elmo-dop-rename-folder): Ditto.
7467
7468         * elmo.el: Removed incomplete commentary.
7469
7470 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7471
7472         * elmo.el (toplevel): Require 'elmo-version first;
7473         for little `recursive-load-depth' settings.
7474         Fix "ends here" comment.
7475
7476 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7477
7478         * elmo-util.el (toplevel): Require 'poem;
7479         Some functions are moved from elmo-cache.el.
7480
7481         * elmo-net.el (toplevel): Require 'elmo-cache.
7482
7483         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7484
7485         * elmo.el (toplevel): Ditto.
7486
7487         * elmo-cache.el: Rewrite with luna;
7488         Some functions are moved to elmo-util.el.
7489
7490         * elmo-internal.el (elmo-internal-folder-list): New variable.
7491         (elmo-internal-folder-initialize): Rewrite.
7492         (elmo-folder-list-subfolders): Ditto.
7493
7494         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7495         (elmo-cache-collect-sub-directories): Ditto.
7496
7497 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7498
7499         * elmo-version.el (elmo-version): Up to 2.5.8.
7500
7501         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7502
7503         * elmo-util.el (elmo-list-insert): New function.
7504
7505 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7506
7507         * elmo.el (elmo-init): New function.
7508         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7509
7510         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7511         (Renamed from `elmo-localdir-header-chop-length').
7512
7513         * elmo-pop3.el (elmo-pop3-use-cache,
7514         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7515
7516         * elmo-nntp.el (elmo-message-fetch): Define.
7517         (elmo-message-fetch-unplugged): Ditto.
7518         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7519         (elmo-nntp-use-cache): Ditto.
7520         (elmo-nntp-max-number-precedes-list-active): Ditto.
7521
7522         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7523
7524         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7525         `elmo-msgdb-insert-file-header'.
7526         Use `elmo-msgdb-file-header-chop-length'.
7527
7528         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7529         `elmo-vars.el'.
7530
7531         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7532         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7533         `elmo-msgdb-insert-file-header'.
7534
7535         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7536         Use new variable;
7537         Define obsolete variables with `elmo-define-obsolete-variable',
7538
7539         * elmo-util.el (elmo-warning-buffer-name): New constant.
7540         (elmo-warning): New function.
7541         (elmo-obsolete-variable-alist): New variable.
7542         (elmo-obsolete-variable-show-warnings): New variable.
7543         (elmo-define-obsolete-variable): New function.
7544         (elmo-resque-obsolete-variable): Ditto.
7545         (elmo-resque-obsolete-variables): Ditto.
7546
7547 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7548
7549         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7550         Eliminated.
7551
7552         * elmo-pop3.el, elmo-nntp.el: Use custom.
7553
7554 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7555
7556         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7557         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7558
7559 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7560
7561         * Luna-fy Kenichi OKADA's following changes.
7562         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7563         `nohide'.
7564         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7565
7566 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7567
7568         * elmo-util.el (elmo-display-progress): Prefer
7569         `progress-feedback-with-label' to `lprogress-display'.
7570
7571 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7572
7573         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7574
7575 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7576
7577         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7578         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7579         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7580         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7581         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7582         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7583         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7584         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7585         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7586         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7587         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7588         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7589         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7590
7591 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7592
7593         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7594         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7595
7596 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7597
7598         * elmo.el (elmo-folder-process-crosspost): New generic method.
7599         (elmo-folder-writable-p): Ditto.
7600         (elmo-folder-message-appendable-p): Eliminated.
7601         (elmo-generic-folder-append-msgdb): Rewrite.
7602         (elmo-newsgroups-hashtb): New internal variable.
7603         (elmo-crosspost-message-set): Eliminated.
7604         (elmo-crosspost-message-delete): Ditto.
7605         (elmo-setup-subscribed-newsgroups): New function.
7606         (elmo-crosspost-message-alist-modified): New internal variable.
7607         (elmo-crosspost-message-alist-load): New function (Renamed from
7608         `wl-crosspost-alist-load').
7609         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7610         `wl-crosspost-alist-save').
7611
7612         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7613
7614         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7615         `unreads'.
7616         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7617         elmo-newsgroups-hashtb).
7618         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7619         `elmo-nntp-folder-update-crosspost-message-alist'.
7620         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7621         `elmo-nntp-groups-hashtb'.
7622         (elmo-nntp-make-groups-hashtb): Eliminated.
7623         (elmo-nntp-parse-newsgroups): New function (Renamed from
7624         `wl-parse-newsgroups').
7625         (elmo-folder-creatable-p, elmo-folder-writable-p,
7626         elmo-folder-close-internal, elmo-folder-mark-as-read,
7627         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7628         Define.
7629         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7630
7631         * elmo-net.el (elmo-message-fetch): Check buffer size.
7632
7633         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7634
7635         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7636
7637         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7638         before `close' command.
7639
7640         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7641         `mark-alist' (All other related portions are changed).
7642
7643 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7644
7645         * elmo-util.el (elmo-create-hash-size): Eliminated.
7646         (elmo-make-hash) Make a hash with `one less than a power of two'
7647         length.
7648
7649         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7650         (elmo-hash-maximum-size): Changed value.
7651
7652 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7653
7654         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7655         (elmo-mime-message-display-as-is): Ditto.
7656
7657 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7658
7659         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7660         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7661
7662 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7663
7664         * elmo-mark.el: New file.
7665
7666         * elmo-internal.el: Rewrite (Almost empty).
7667
7668 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7669
7670         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7671         (mime-imap-entity-header-string): Ditto.
7672         (mmimap-entity-section): Rewrite.
7673
7674 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7675
7676         * elmo-nmz.el: New file.
7677
7678         * elmo-pipe.el: Rewrite with luna.
7679
7680 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7681
7682         * elmo-archive.el: Rewrite with luna.
7683
7684         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7685         (elmo-folder-list-importants-internal): Ditto.
7686
7687 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7688
7689         * elmo-archive.el (elmo-archive-version): Abolish.
7690         (toplevel) Removed `boso' comment.
7691
7692 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7693
7694         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7695         elmo-msgdb-add-msgs-to-seen-list-subr;
7696         Changed argument seen-marks to unread-marks.
7697
7698         * elmo-nntp.el: Rewrite with luna.
7699
7700 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7701
7702         * elmo-filter.el: Rewrite with luna.
7703
7704 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7705
7706         * elmo-pop3.el: Rewrite with luna.
7707
7708 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7709
7710         * elmo-multi.el: Rewrite with luna.
7711
7712         * elmo-vars.el (elmo-use-killed-list): Abolish.
7713         All other related portions are changed.
7714         (elmo-filename-replace-string-alist): Renamed from
7715         elmo-msgid-replace-string-alist.
7716
7717 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7718
7719         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7720
7721         * elmo-map.el: New file.
7722         * elmo-maildir.el: Rewrite with luna.
7723
7724 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * elmo.el: Changed meaning of `elmo-folder-commit'.
7727         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7728
7729 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7730
7731         * elmo.el (elmo-folder-append-buffer): New function.
7732         (Renamed from `elmo-append-msg')
7733
7734 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7735
7736         * elmo-mime.el: New file.
7737
7738 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7739
7740         * elmo-cache.el: Rewrite.
7741
7742 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7743
7744         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7745
7746 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7747
7748         * elmo-vars.el (elmo): New group.
7749         (elmo-strict-diff-folder-regexp): New variable.
7750
7751         * elmo-util.el (elmo-call-func): Abolish.
7752         (elmo-folder-get-type): Ditto.
7753         (elmo-*-get-spec): Ditto.
7754         (elmo-*-spec-*): Ditto.
7755         (elmo-imap4-identical-name-space-p): Ditto.
7756         (elmo-folder-identical-system-p): Ditto.
7757         (elmo-folder-direct-copy-alist): Ditto.
7758         (elmo-folder-direct-copy-p): Ditto.
7759
7760         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7761         (elmo-folder-initialize): Define.
7762         (elmo-folder-get-primitive-list): Ditto.
7763
7764         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7765         (elmo-folder-initialize): Define.
7766         Renamed `elmo-network-session-host-internal' to
7767         `elmo-network-session-server-internal'.
7768
7769         * elmo-multi.el (elmo-multi-folder): New luna class.
7770         (elmo-folder-initialize): Define.
7771         (elmo-folder-get-primitive-list): Ditto.
7772         (elmo-folder-contains-type): Ditto.
7773         (elmo-message-use-cache-p): Ditto.
7774
7775         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7776         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7777
7778         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7779         (elmo-folder-initialize): Define.
7780
7781         * elmo-filter.el (elmo-filter-folder): New luna class.
7782         (elmo-folder-initialize): Define.
7783         (elmo-folder-get-primitive-list): Ditto.
7784         (elmo-folder-contains-type): Ditto.
7785
7786 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7787
7788         * elmo-imap4.el: Rewrite with luna.
7789
7790         * mmimap.el: New file.
7791
7792         * mmelmo.el, mmelmo-imap4.el: Removed.
7793
7794         * elmo-net.el: Ditto.
7795
7796         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7797         (elmo-folder-initialize): Define.
7798
7799         * elmo-archive.el (elmo-archive-folder): New luna class.
7800         (elmo-folder-initialize): Define.
7801
7802         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7803         `elmo-folder-msgdb-path'.
7804         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7805         `elmo-make-folder'.
7806
7807 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7808
7809         * elmo.el: New file.
7810
7811         * elmo2.el: Renamed to elmo.el.
7812
7813 \f
7814 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7815
7816         * elmo-cache.el (elmo-cache-expire-by-size): Count
7817         a disk usage for a cache file entry in KB even when
7818         its kind is a directory.
7819
7820 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7821
7822         * elmo-version.el (elmo-version): Up to 2.5.7.
7823
7824 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7825
7826         * elmo-version.el (elmo-version): Up to 2.5.6.
7827
7828 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7829
7830         * elmo-version.el (elmo-version): Up to 2.5.5.
7831
7832 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7833
7834         * elmo-imap4.el (elmo-network-authenticate-session):
7835         Fixed a logic for response checking.
7836
7837 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7838
7839         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7840         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7841         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7842         `sasl-mechanisms'.
7843
7844         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7845         for `starttls-open-stream' and `starttls-negotiate'.
7846
7847         * elmo-nntp.el: Remove autoload settings for
7848         `starttls-open-stream' and `starttls-negotiate'.
7849
7850         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7851         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7852         `luna-define-class' with `eval-and-compile'.
7853
7854 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7855
7856         * elmo-util.el (elmo-read-search-condition-internal):
7857         Require an element of table for searching field.
7858
7859 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7860
7861         * elmo-version.el (elmo-version): Up to 2.5.4.
7862
7863 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7864
7865         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7866
7867 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7868
7869         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7870
7871 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7872
7873         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7874         before greeting.
7875
7876 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7877
7878         * elmo-imap4.el (elmo-imap4-delete-folder):
7879         Send "close" before "delete" (Use commented out line).
7880         (elmo-imap4-rename-folder): Ditto.
7881
7882         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7883         folder string itself.
7884         (elmo-dop-list-deleted): New function.
7885         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7886         killed.
7887
7888         * elmo-util.el (elmo-string-rassoc-all): New function.
7889
7890 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7891
7892         * elmo-version.el (elmo-version): Up to 2.5.3.
7893
7894         * elmo-net.el (elmo-network-get-session): Changed logic for
7895         checking process status.
7896
7897         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7898         process is nil;
7899         Changed logic for checking process status.
7900
7901 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7902
7903         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7904         before greeting.
7905         (elmo-network-setup-session): Set UIDL hash size according to
7906         the length of list response.
7907         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7908         according to the length of list response;
7909         Return the length of list response.
7910         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7911
7912 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7913
7914         * elmo-imap4.el (toplevel): Require 'ssl.
7915         Add autoload 'starttls.
7916         * elmo-pop3.el (toplevel): Ditto.
7917         * elmo-nntp.el (toplevel): Ditto.
7918
7919 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7920
7921         * elmo-imap4.el (toplevel): defun at compile time.
7922         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7923         sasl-next-step, sasl-step-data, sasl-step-set-data.
7924         * elmo-pop3.el (toplevel): Ditto.
7925
7926 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7927
7928         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7929
7930 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7931
7932         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7933         if error.
7934         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7935         and `elmo-pop-auth-apop'.
7936
7937 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7938
7939         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7940
7941 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7942
7943         * elmo-pop3.el (elmo-network-authenticate-session): Split
7944         encoded response value.
7945
7946 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7947
7948         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7949         `elmo-pop3-force-login'.
7950         Redefine `sasl-mechanisms'.
7951         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7952
7953 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7954
7955         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7956         Delete `elmo-imap4-authenticator-alist'.
7957         (elmo-imap4-auth-cram-md5): Delete.
7958         (elmo-imap4-auth-digest-md5): Delete.
7959
7960 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7961
7962         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7963         (elmo-pop3-auth-scram-md5): Ditto.
7964         (elmo-pop3-auth-cram-md5): Ditto.
7965
7966 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7967
7968         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7969         Delete `elmo-pop3-authenticator-alist'.
7970
7971 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7972
7973         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7974         new SASL API.
7975         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7976
7977 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7978
7979         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7980
7981 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7982
7983         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7984         Fixed problem when `elmo-pop3-use-uidl' is nil.
7985         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7986
7987 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7988
7989         * elmo-version.el (elmo-version): Up to 2.5.2.
7990
7991 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7992
7993         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7994         New function.
7995         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7996         (elmo-pop3-msgdb-create-as-numlist): Use it.
7997
7998         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7999         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8000
8001         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8002         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8003
8004 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8005
8006         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8007         when elmo-mark-as-read is called with second argument nil.
8008
8009 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8010
8011         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8012         Moved to elmo-util.el.
8013
8014         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8015         Moved from elmo-pipe.el
8016
8017         * elmo-archive.el (elmo-archive-call-process): Enclose with
8018         static-if.
8019
8020         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8021         "RFC822" (because RFC822.PEEK is obsolete).
8022         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8023
8024 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8025
8026         * elmo-archive.el (elmo-archive-call-process): Don't check for
8027         the exit status when Nemacs is running.
8028
8029 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8030
8031         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8032         'plain.
8033
8034         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8035         (elmo-pop3-get-spec): Set default of auth to 'user.
8036
8037         * elmo-imap4.el (elmo-imap4-session-check):
8038         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8039         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8040         (elmo-imap4-auth-login): New function; Revival.
8041         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8042         `elmo-imap4-auth-login'.
8043
8044 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8045
8046         * elmo2.el (toplevel): Move `product-provide' declare.
8047         * mmelmo.el (toplevel): Ditto.
8048
8049 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8050
8051         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8052
8053 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8054
8055         * elmo-util.el (elmo-folder-get-store-type): New function.
8056         (elmo-folder-direct-copy-p): Use it.
8057
8058 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8059
8060         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8061         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8062         and result of `elmo-imap4-use-flag-p'.
8063         (elmo-imap4-fetch-callback-1): Set mark according to
8064         the result of `elmo-imap4-use-flag-p'.
8065
8066 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8067
8068         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8069         (elmo-generic-list-folder-unread): Ditto.
8070         (elmo-folder-get-info): Ditto.
8071         (elmo-folder-set-info-max-by-numdb): Ditto.
8072         (elmo-folder-get-info-max): Ditto.
8073         (elmo-folder-get-info-length): Ditto.
8074         (elmo-folder-get-info-unread): Ditto.
8075         (elmo-folder-info-make-hashtb): Ditto.
8076
8077         * elmo2.el: Removed above functions.
8078
8079 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8080
8081         * elmo-imap4.el (toplevel): Require 'ssl.
8082         Add autoload 'starttls.
8083         * elmo-pop3.el (toplevel): Ditto.
8084         * elmo-nntp.el (toplevel): Ditto.
8085
8086 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8087
8088         * elmo-imap4.el (toplevel): defun at compile time.
8089         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8090         sasl-next-step, sasl-step-data, sasl-step-set-data.
8091         * elmo-pop3.el (toplevel): Ditto.
8092
8093 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8094
8095         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8096
8097 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8098
8099         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8100         if error.
8101         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8102         and `elmo-pop-auth-apop'.
8103
8104 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8105
8106         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8107
8108 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8109
8110         * elmo-pop3.el (elmo-network-authenticate-session): Split
8111         encoded response value.
8112
8113 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8114
8115         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8116         `elmo-pop3-force-login'.
8117         Redefine `sasl-mechanisms'.
8118         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8119
8120 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8121
8122         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8123         Delete `elmo-imap4-authenticator-alist'.
8124         (elmo-imap4-auth-cram-md5): Delete.
8125         (elmo-imap4-auth-digest-md5): Delete.
8126
8127 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8128
8129         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8130         (elmo-pop3-auth-scram-md5): Ditto.
8131         (elmo-pop3-auth-cram-md5): Ditto.
8132
8133 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8134
8135         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8136         Delete `elmo-pop3-authenticator-alist'.
8137
8138 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8139
8140         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8141         new SASL API.
8142         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8143
8144 \f
8145 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8146
8147         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8148
8149 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8150
8151         * elmo-nntp.el (elmo-nntp-get-folders-info):
8152         Fixed problem when '\' character is contained in user-id.
8153         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8154
8155 \f
8156 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8157
8158         * elmo-imap4.el (elmo-imap4-delete-folder):
8159         Send "close" before "delete" (Use commented out line).
8160         (elmo-imap4-rename-folder): Ditto.
8161
8162         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8163         folder string itself.
8164         (elmo-dop-list-deleted): New function.
8165         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8166         killed.
8167
8168         * elmo-util.el (elmo-string-rassoc-all): New function.
8169
8170         * elmo-version.el (elmo-version): Up to 2.5.1.
8171
8172 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8173
8174         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8175
8176         * elmo-internal.el (elmo-internal-search): Fix last change.
8177
8178 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8179
8180         * elmo-internal.el (elmo-internal-search): Rewrite.
8181         (Fixed problem which is pointed out by Akihiro MOTOKI
8182         <motoki@da.jp.nec.com>)
8183
8184         * elmo-version.el (elmo-version): Up to 2.5.0.
8185
8186 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8187
8188         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8189
8190 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8191
8192         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8193         non-nil, make hierarchy.
8194
8195 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8196
8197         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8198         `elmo-pop3-use-uidl' must be bound to nil.
8199         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8200
8201 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8202
8203         * elmo-util.el (elmo-copy-file): Don't cause an error after
8204         `add-name-to-file' failed.
8205
8206         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8207         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8208
8209 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8210
8211         * elmo-version.el (elmo-version): Up to 2.3.93.
8212
8213 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8214
8215         * elmo-util.el (elmo-flatten): New function.
8216
8217 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8218
8219         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8220         sync Author header.
8221         * elmo-cache.el (toplevel): Ditto.
8222         * elmo-database.el (toplevel): Ditto.
8223         * elmo-date.el (toplevel): Ditto.
8224         * elmo-dop.el (toplevel): Ditto.
8225         * elmo-filter.el (toplevel): Ditto.
8226         * elmo-imap4.el (toplevel): Ditto.
8227         * elmo-internal.el (toplevel): Ditto.
8228         * elmo-localdir.el (toplevel): Ditto.
8229         * elmo-localnews.el (toplevel): Ditto.
8230         * elmo-maildir.el (toplevel): Ditto.
8231         * elmo-msgdb.el (toplevel): Ditto.
8232         * elmo-multi.el (toplevel): Ditto.
8233         * elmo-net.el (toplevel): Ditto.
8234         * elmo-nntp.el (toplevel): Ditto.
8235         * elmo-pipe.el (toplevel): Ditto.
8236         * elmo-pop3.el (toplevel): Ditto.
8237         * elmo-util.el (toplevel): Ditto.
8238         * elmo-vars.el (toplevel): Ditto.
8239         * elmo2.el (toplevel): Ditto.
8240         * mmelmo-imap4.el (toplevel): Ditto.
8241         * mmelmo.el (toplevel): Ditto.
8242
8243         * elmo-version.el (elmo-version): Move to top.
8244
8245         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8246         * elmo-imap4.el (toplevel): Ditto.
8247         * elmo-localdir.el (toplevel): Ditto.
8248         * elmo-msgdb.el (toplevel): Ditto.
8249         * elmo-nntp.el (toplevel): Ditto.
8250         * elmo-pop3.el (toplevel): Ditto.
8251         * elmo-version.el (toplevel): Ditto.
8252
8253         * elmo-localnews.el (toplevel): Added Keyword header.
8254
8255 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8256
8257         * elmo-version.el (product-version-as-string): Defined using
8258         `defun-maybe'.
8259         (toplevel): Use it.
8260
8261         * elmo-localdir.el (toplevel): Updated copyright notice.
8262         * elmo-version.el (toplevel): Ditto.
8263         * elmo-msgdb.el (toplevel): Ditto.
8264         * elmo-imap4.el (toplevel): Ditto.
8265         * elmo-nntp.el (toplevel): Ditto.
8266         * elmo-pop3.el (toplevel): Ditto.
8267
8268 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8269
8270         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8271         messages.
8272
8273         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8274         parameter value (It sometimes contains raw kanji).
8275
8276 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8277
8278         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8279         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8280
8281 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8282
8283         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8284
8285 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8286
8287         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8288         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8289
8290 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8291
8292         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8293         value if selecting folder succceeded.
8294         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8295
8296 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8297
8298         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8299         representation.
8300
8301         * elmo-util.el (elmo-string-matched-member): New function.
8302
8303 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8304
8305         * elmo-util.el (elmo-unintern): New macro.
8306         (elmo-number-set-member): Fixed docstring.
8307
8308         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8309         tag token.
8310
8311 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8312
8313         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8314         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8315
8316 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8317
8318         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8319         `no-error'.
8320         Added docstring.
8321         Return non-nil if selecting folder succeeded.
8322         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8323
8324 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8325
8326         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8327         `file-name-completion' returns t.
8328         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8329         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8330         directory if it does not exist.
8331         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8332         for iteration.
8333
8334 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8335
8336         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8337         enclosure (It's harmful in unplugged status).
8338
8339         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8340
8341         * mmelmo-1.el: Removed.
8342
8343         * mmelmo-2.el: Ditto.
8344
8345         * mmelmo-imap4-1.el: Ditto.
8346
8347         * mmelmo-imap4-2.el: Ditto.
8348
8349         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8350
8351         * mmelmo.el: Merged mmelmo-2.el.
8352
8353         * elmo-version.el (elmo-version): Up to 2.3.92.
8354
8355 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8356
8357         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8358         elmo-update-number): Remove last period in "...done." message.
8359         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8360         Ditto.
8361         * elmo-cache.el (elmo-cache-expire-by-size,
8362         elmo-cache-get-sorted-cache-file-list,
8363         elmo-cache-msgdb-create-as-numlist): Ditto.
8364         * elmo-dop.el (elmo-dop-save-pending-messages,
8365         (elmo-dop-flush-pending-append-operations): Ditto.
8366         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8367         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8368         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8369         (elmo-localdir-pack-number): Ditto.
8370         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8371         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8372         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8373         mime-write-entity-content): Ditto.
8374         * pldap.el (ldap-search-basic): Ditto.
8375
8376 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8377
8378         * elmo-version.el (elmo-version): Up to 2.3.91.
8379
8380         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8381         Only when filter is 'last'.
8382
8383         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8384         (elmo-condition-parse-search-value): Use it.
8385         (elmo-read-search-condition-internal): Quote value only when
8386         it is not an atom.
8387
8388 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8389
8390         * elmo2.el (elmo-generic-folder-diff): Fix.
8391
8392 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8393
8394         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8395         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8396         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8397         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8398         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8399         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8400
8401 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8402
8403         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8404         extra-fields.
8405
8406 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8407
8408         * elmo-version.el (elmo-version): Up to 2.3.90.
8409
8410         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8411         (elmo-imap4-list-folder-important): Ditto.
8412
8413 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8414
8415         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8416
8417 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8418
8419         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8420
8421 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8422
8423         * elmo-nntp.el (elmo-network-initialize-session):
8424         Add starttls negotiation.
8425
8426 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8427
8428         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8429         response.
8430         (elmo-network-setup-session): Define.
8431         Call `elmo-nntp-send-mode-reader' when session opened.
8432
8433 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8434
8435         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8436
8437 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8438
8439         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8440         an invalid SPACE character ahead of `SEARCH' command.  Move
8441         a valid SPACE character following `SEARCH' from conditional
8442         `format' arguments to control-strings.
8443
8444 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8445
8446         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8447         was succeeded.
8448
8449         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8450
8451 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8452
8453         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8454         `w32-get-true-file-link-count' as t.
8455
8456         * elmo-imap4.el (elmo-imap4-read): Abolished.
8457         (Renamed to `elmo-read' and moved to elmo-util.el)
8458         All other related portions are changed.
8459
8460         * elmo-util.el (elmo-read): New function.
8461         (elmo-condition-parse-search-value): Use it.
8462
8463 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8464
8465         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8466
8467         * elmo-nntp.el (elmo-nntp-session): Define.
8468         (elmo-nntp-setting): Abolished.
8469         All other related portions are changed.
8470         (elmo-nntp-get-server-command): Changed argument.
8471         (elmo-nntp-set-server-command): Ditto.
8472         (elmo-nntp-xover-p): Ditto.
8473         (elmo-nntp-set-xover): Ditto.
8474         (elmo-nntp-listgroup-p): Ditto.
8475         (elmo-nntp-set-listgroup): Ditto.
8476         (elmo-nntp-list-active-p): Ditto.
8477         (elmo-nntp-set-list-active): Ditto.
8478         (elmo-nntp-xhdr-p): Ditto.
8479         (elmo-nntp-set-xhdr): Ditto.
8480         (elmo-nntp-flush-connection): Abolished.
8481         (elmo-nntp-get-connection): Abolished.
8482         (elmo-nntp-get-session): New function.
8483         (elmo-network-initialize-session): Defined.
8484         (elmo-network-authenticate-session): Ditto.
8485         (elmo-nntp-send-mode-reader): Changed argument.
8486         (elmo-nntp-send-command): Changed argument.
8487         All other related portions are changed.
8488         (elmo-nntp-read-response): Ditto.
8489         (elmo-nntp-read-raw-response): Ditto.
8490         (elmo-nntp-read-contents): Ditto.
8491         (elmo-nntp-read-body): Ditto.
8492         (elmo-nntp-goto-folder): Abolished.
8493         (elmo-nntp-select-group): New function.
8494         All other related portions are changed.
8495         (This function substitutes `elmo-nntp-goto-folder')
8496         (elmo-nntp-msgdb-create-by-header): Rewrite.
8497         (elmo-nntp-get-overview): Eliminated.
8498         (elmo-nntp-get-message): Ditto.
8499         (elmo-nntp-open-connection) Abolished.
8500         (elmo-nntp-read-msg): Rewrite.
8501         (elmo-nntp-post): Ditto.
8502         (elmo-nntp-send-data): Abolished.
8503         (elmo-nntp-send-buffer): New function.
8504         (elmo-nntp-send-data-line): Define as inline function.
8505         (elmo-nntp-get-folders-info-prepare): Use session as key.
8506         (elmo-nntp-groups-read-response): Changed argument.
8507         (elmo-nntp-retrieve-headers): Ditto.
8508         (elmo-nntp-msgdb-create-message): Ditto.
8509
8510         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8511         when searching by 'since' or 'before'.
8512
8513 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8514
8515         * elmo-version.el (toplevel): Use product-version-as-string for set
8516         verstion-string, if defined.
8517
8518 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8519
8520         * elmo-util.el: Doc fixes.
8521
8522 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8523
8524         * elmo-archive.el (toplevel): Use product-provide.
8525         * elmo-cache.el (toplevel): Ditto.
8526         * elmo-database.el (toplevel): Ditto.
8527         * elmo-date.el (toplevel): Ditto.
8528         * elmo-dop.el (toplevel): Ditto.
8529         * elmo-filter.el (toplevel): Ditto.
8530         * elmo-imap4.el (toplevel): Ditto.
8531         * elmo-internal.el (toplevel): Ditto.
8532         * elmo-localdir.el (toplevel): Ditto.
8533         * elmo-localnews.el (toplevel): Ditto.
8534         * elmo-maildir.el (toplevel): Ditto.
8535         * elmo-msgdb.el (toplevel): Ditto.
8536         * elmo-multi.el (toplevel): Ditto.
8537         * elmo-net.el (toplevel): Ditto.
8538         * elmo-nntp.el (toplevel): Ditto.
8539         * elmo-pipe.el (toplevel): Ditto.
8540         * elmo-pop3.el (toplevel): Ditto.
8541         * elmo-util.el (toplevel): Ditto.
8542         * elmo-vars.el (toplevel): Ditto.
8543         * elmo2.el (toplevel): Ditto.
8544         * mmelmo-1.el (toplevel): Ditto.
8545         * mmelmo-2.el (toplevel): Ditto.
8546         * mmelmo-imap4-1.el (toplevel): Ditto.
8547         * mmelmo-imap4-2.el (toplevel): Ditto.
8548         * mmelmo-imap4.el (toplevel): Ditto.
8549         * mmelmo.el (toplevel): Ditto.
8550
8551 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8552
8553         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8554         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8555
8556 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8557
8558         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8559         before splitting.
8560         (elmo-multi-split-number-alist): Ditto.
8561
8562 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8563
8564         * elmo-version.el: New file.  Use product.el.
8565         * elmo2.el: Add (require 'elmo-version).
8566         * elmo-vars.el (elmo-appname, elmo-version): Move to
8567         elmo-version.el
8568
8569 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8570
8571         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8572         `elmo-msgdb-expand-path'.
8573         (elmo-msgdb-load): Ditto.
8574         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8575         (elmo-generic-list-folder-unread): Rewrite.
8576         (elmo-generic-list-folder-important): Changed argument.
8577         (elmo-list-folder-unread): Ditto.
8578         (elmo-list-folder-important): Ditto.
8579         (elmo-folder-diff): Rewrite.
8580         (elmo-generic-folder-diff): New function.
8581         (elmo-multi-get-number-alist-list): Abolished
8582         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8583         (elmo-multi-folder-diff): Moved to elmo-multi.el
8584         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8585
8586         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8587         `elmo-msgdb-expand-path'.
8588         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8589         (elmo-pop3-read-msg): Ditto.
8590         (elmo-pop3-delete-msgs): Ditto.
8591         (elmo-pop3-folder-diff): New alias.
8592
8593         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8594         `elmo-msgdb-expand-path'.
8595         (elmo-pipe-list-folder-unread): Changed arguments.
8596         (elmo-pipe-list-folder-important): Ditto.
8597         (elmo-pipe-folder-diff): New alias.
8598
8599         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8600         `elmo-msgdb-expand-path'.
8601         (elmo-nntp-max-of-folder): Ditto.
8602         (elmo-nntp-msgdb-create): Ditto.
8603         (elmo-nntp-delete-msgs): Ditto.
8604         (elmo-nntp-folder-diff): New alias.
8605
8606         * elmo-multi.el (elmo-multi-folder-diff): New function.
8607         (elmo-multi-split-mark-alist): Ditto.
8608         (elmo-multi-split-number-alist): Ditto.
8609         (elmo-multi-mark-alist-list): Abolished (Renamed to
8610         elmo-multi-split-mark-alist).
8611         (elmo-multi-list-folder-unread): Rewrite.
8612         (elmo-multi-list-folder-important): Ditto.
8613         (elmo-multi-list-folder): Set `spec' as 1st argument for
8614         `elmo-msgdb-expand-path'.
8615         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8616         instead of `elmo-multi-get-number-alist-list'.
8617
8618         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8619         If 1st argument is not string, treat as spec.
8620         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8621         `elmo-msgdb-expand-path'.
8622         (elmo-msgdb-flist-load): Ditto.
8623         (elmo-msgdb-flist-save): Ditto.
8624         (elmo-msgdb-delete-path): Ditto.
8625         (elmo-msgdb-rename-path): Ditto.
8626
8627         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8628         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8629         (elmo-maildir-delete-mark-msgs): Ditto.
8630         (elmo-maildir-msgdb-create): Ditto.
8631         (elmo-maildir-read-msg): Ditto.
8632         (elmo-maildir-delete-msgs): Ditto.
8633         (elmo-maildir-list-folder-subr): Ditto.
8634         (elmo-maildir-search): Ditto.
8635         (elmo-maildir-get-msg-filename): Ditto.
8636         (elmo-maildir-pack-number): Ditto.
8637         (elmo-maildir-folder-diff): New alias.
8638
8639         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8640
8641         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8642         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8643         (elmo-localdir-folder-diff): New alias.
8644
8645         * elmo-internal.el (elmo-internal-list-folder-subr):
8646         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8647         (elmo-internal-list-folder-by-location): Ditto.
8648         (elmo-internal-msgdb-create): Ditto.
8649         (elmo-internal-delete-msgs): Ditto.
8650         (elmo-internal-read-msg): Ditto.
8651         (elmo-internal-folder-diff): New alias.
8652
8653         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8654         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8655         `elmo-msgdb-expand-path'.
8656         (elmo-imap4-list-folder-unread): Changed arguments.
8657         (elmo-imap4-list-folder-important): Ditto.
8658
8659         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8660         (elmo-filter-list-folder-important): Ditto.
8661         (elmo-filter-folder-diff): New function.
8662
8663         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8664
8665         * elmo-cache.el (elmo-cache-list-folder):
8666         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8667         (elmo-cache-copy-msgs): Ditto.
8668         (elmo-cache-folder-diff): New alias.
8669
8670         * elmo-archive.el (elmo-archive-list-folder-subr):
8671         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8672         (elmo-archive-get-archive-name): Ditto.
8673         (elmo-archive-create-file): Ditto.
8674         (elmo-archive-append-msg): Ditto.
8675         (elmo-archive-copy-msgs): Ditto.
8676         (elmo-archive-copy-msgs-froms): Ditto.
8677         (elmo-archive-get-msg-filename): Ditto.
8678         (elmo-archive-folder-diff): New alias.
8679
8680 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8681
8682         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8683         (elmo-pop3-stream-type-alist): New variable.
8684         (elmo-nntp-stream-type-alist): New variable.
8685
8686         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8687         (elmo-kill-buffer): Ditto.
8688         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8689         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8690         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8691         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8692         (elmo-imap4-get-spec): Take into account
8693         `elmo-imap4-stream-type-alist'.
8694
8695 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8696
8697         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8698         (elmo-nntp-list-folders-get-cache): Ditto.
8699
8700 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8701
8702         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8703         character before 'uid'.
8704
8705 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8706
8707         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8708
8709         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8710
8711         * elmo-util.el (elmo-number-set-member): New function.
8712         (elmo-number-set-append-list): Ditto.
8713         (elmo-number-set-append): Ditto.
8714
8715         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8716         Use `elmo-number-set-member'.
8717         (elmo-living-messages): Ditto.
8718         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8719         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8720
8721         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8722         (elmo-imap4-add-to-cont-list): Abolished.
8723         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8724         instead of elmo-imap4-add-to-cont-list.
8725
8726         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8727         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8728
8729         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8730
8731 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8732
8733         * elmo-util.el (elmo-condition-parse-search-value):
8734         Fixed date parsing.
8735
8736 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8737
8738         * elmo-util.el (elmo-condition-find-key-internal): New function.
8739         (elmo-condition-find-key): Ditto.
8740
8741         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8742         (elmo-msgdb-search-internal): Ditto.
8743         (elmo-msgdb-search): Ditto.
8744
8745 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8746
8747         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8748         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8749
8750         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8751         (elmo-nntp-search-primitive): Fixed problem when condition is
8752         'unmatch'.
8753
8754         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8755
8756         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8757         (elmo-nntp-xhdr-p): New macro.
8758         (elmo-nntp-set-xhdr): Ditto.
8759         (elmo-nntp-parse-xhdr-response): New function.
8760         (elmo-nntp-retrieve-field): Ditto.
8761         (elmo-nntp-search-primitive): Ditto.
8762         (elmo-nntp-search): Implemented.
8763
8764         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8765
8766         * elmo-archive.el (elmo-archive-search): Set all number list to
8767         `elmo-archive-field-condition-match'
8768
8769         * elmo-localdir.el (elmo-localdir-search): Likewise.
8770
8771         * elmo-maildir.el (elmo-maildir-search): Likewise.
8772
8773 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8774
8775         * elmo-msgdb.el (elmo-living-messages): New function.
8776         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8777         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8778         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8779         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8780         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8781         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8782         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8783         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8784         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8785         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8786         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8787
8788 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8789
8790         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8791
8792         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8793
8794         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8795
8796         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8797         arguments for `SEARCH' command.
8798         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8799         All other related portions are changed.
8800
8801         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8802
8803         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8804         (elmo-list-folder-unread): Rewrite.
8805         (elmo-list-folder-important): Ditto.
8806
8807         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8808         (elmo-condition-parse-error): New inline function.
8809         (elmo-read-search-condition): New function.
8810         (elmo-read-search-condition-internal): Ditto.
8811         (elmo-parse-search-condition): Rewrite.
8812         (elmo-condition-parse): New function.
8813         (elmo-condition-parse-or-expr): Ditto.
8814         (elmo-condition-parse-and-expr): Ditto.
8815         (elmo-condition-parse-primitive): Ditto.
8816         (elmo-condition-parse-search-value): Ditto.
8817         (elmo-buffer-field-primitive-condition-match): Ditto.
8818         (elmo-buffer-field-condition-match): Rewrite.
8819         (elmo-file-field-condition-match): Ditto.
8820
8821         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8822         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8823
8824         * elmo-internal.el (elmo-internal-search): Set `number' and
8825         `number-list' argument of `elmo-file-field-condition-match'.
8826
8827         * elmo-maildir.el (elmo-maildir-search): Ditto.
8828
8829         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8830         `msgdb' as argument instead of `mark-alist'.
8831         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8832         `overview'.
8833
8834         * elmo-multi.el: Likewise.
8835
8836         * elmo-pipe.el: Likewise.
8837
8838         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8839         (elmo-imap4-search-internal): Rewrite.
8840         (elmo-imap4-search): Ditto.
8841
8842         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8843         (elmo-filter-list-folder-unread): Ditto.
8844         (elmo-filter-list-folder-important): Ditto.
8845         (elmo-filter-search): Rewrite.
8846
8847         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8848         `number-list' argument of `elmo-file-field-condition-match'.
8849         (elmo-cache-search): Ditto.
8850
8851         * elmo-localdir.el: Likewise.
8852
8853         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8854         number-list and pass it to `elmo-buffer-field-condition-match'.
8855         (elmo-archive-field-condition-match): Pass `number-list' to
8856         `elmo-archive-field-condition-match'
8857
8858 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8859
8860         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8861         `listgroup'.
8862
8863         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8864         (elmo-folder-diff-async-callback-data): Ditto.
8865         (elmo-folder-diff-async): New function.
8866
8867         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8868         (elmo-network-session-cache-key): Use it as a prefix of the session
8869         name.
8870         (elmo-network-open-session): Ditto.
8871
8872         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8873         (elmo-imap4-status-callback-data): Ditto.
8874         (elmo-imap4-server-diff-async-callback): New variable.
8875         (elmo-imap4-server-diff-async-callback-data): Ditto.
8876         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8877         `elmo-imap4-status-callback-data'.
8878         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8879         `elmo-imap4-status-callback-data' as nil.
8880         (elmo-imap4-server-diff): Ditto.
8881         (elmo-imap4-server-diff-async-callback-1): New function.
8882         (elmo-imap4-server-diff-async): Ditto.
8883         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8884
8885 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8886
8887         * elmo-util.el (elmo-list-delete): Doc fix.
8888         (elmo-delete-lists): Abolish.
8889         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8890         instead of `elmo-delete-lists'.
8891
8892 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8893
8894         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8895         before `sort'.
8896
8897 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8898
8899         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8900         `elmo-imap4-literal-subr'.
8901         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8902         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8903
8904 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8905
8906         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8907         (elmo-archive-list-folder): Fix.
8908         (elmo-archive-max-of-folder): Fix.
8909
8910 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8911
8912         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8913          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8914         (elmo-localdir-append-msg): Ditto.
8915         (elmo-localdir-list-folder): Fix for `nonsort'.
8916         (elmo-localdir-list-folder-subr): Fix for `killed'.
8917         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8918         (elmo-maildir-list-folder-subr): Ditto.
8919         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8920         (elmo-archive-list-folder-subr): Ditto.
8921         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8922         (elmo-internal-list-folder-subr): Ditto.
8923
8924 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8925
8926         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8927
8928 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8929
8930         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8931
8932 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8933
8934         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8935         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8936
8937         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8938         before greeting.
8939         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8940         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8941
8942 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8943
8944         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8945
8946         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8947         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8948         before STORE command.
8949
8950 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8951
8952         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8953
8954         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8955         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8956         of `response'.
8957         (elmo-imap4-list-folders): Removed unused local variable.
8958         (elmo-network-initialize-session): Ditto.
8959         (elmo-imap4-delete-msg-by-id): Ditto.
8960         (elmo-imap4-parse-fetch): Ditto.
8961         (elmo-imap4-copy-msgs): Ditto.
8962         Use `dst-spec' instead of `dst-folder'.
8963         (elmo-network-authenticate-session): Check authenticate type `plain'.
8964
8965 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8966
8967         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8968         garbage checking.
8969         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8970         `elmo-imap4-response-value'.
8971         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8972
8973 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8974
8975         * elmo-imap4.el (elmo-imap4-send-command):
8976         Cause elmo-imap4-bye-error when current response is BYE.
8977         (elmo-imap4-arrival-filter): Changed greeting response value.
8978
8979         * elmo2.el (elmo-imap4-bye-error): Define.
8980
8981         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8982         (elmo-imap4-server-diff): Ditto.
8983         (elmo-imap4-response-bye-p): New macro.
8984         (elmo-imap4-response-error-text): Get text from BYE response.
8985         (elmo-imap4-read-response): Return if BYE response.
8986         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8987         (elmo-imap4-folder-exists-p): Ditto.
8988         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8989         (elmo-imap4-parse-bye): New function.
8990         (elmo-imap4-parse-response): Remove needless let.
8991         Call `elmo-imap4-parse-bye'.
8992
8993 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8994
8995         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8996         the mailbox does not exist.
8997         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8998
8999 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
9000
9001         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9002
9003 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9004
9005         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9006
9007         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9008         (elmo-network-initialize-session-buffer): Defined.
9009
9010         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9011         Abolished.
9012         (mmelmo-imap4-get-mime-entity): Rewrite.
9013
9014         * elmo2.el (elmo-error): Capitalize error message.
9015
9016         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9017         (elmo-network-session-buffer): New macro.
9018         (elmo-network-open-session): Use it.
9019
9020         * elmo-imap4.el: Rewrite.
9021
9022 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9023
9024         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9025
9026 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9027
9028         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9029         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9030         (elmo-imap4-create-msgdb-from-overview-string): Use
9031         `elmo-msgdb-create-overview-from-buffer'.
9032
9033 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9034
9035         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9036         (elmo-imap4-default-hierarchy-delimiter): New variable.
9037         (elmo-imap4-list-folders): Use it.
9038
9039 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9040
9041         * elmo-net.el (elmo-network-open-session): Add user and
9042         stream-type for process-buffer name.
9043
9044         * elmo-pop3.el (elmo-network-initialize-session): Call
9045         buffer-disable-undo.
9046
9047         * elmo-imap4.el (elmo-network-initialize-session):
9048         Set current-buffer as an argument for `buffer-disable-undo'.
9049
9050         * elmo-pop3.el (elmo-network-close-session): Don't use
9051         `process-live-p'.
9052
9053         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9054         Set default as 'user.
9055
9056         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9057
9058         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9059         and `elmo-imap4-flush-connection'.
9060
9061         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9062         (elmo-pop3-get-spec): Assume auth as symbol.
9063         (elmo-open-network-stream): Moved to `elmo-net'.
9064
9065         * elmo-pop3.el (toplevel): Require 'elmo-net.
9066         Define `sasl-cram-md5' to silence byte compilier.
9067         (elmo-pop3-connection-cache) Abolished.
9068         (elmo-pop3-authenticator-alist) New variable.
9069         (elmo-pop3-session): Define.
9070         (elmo-pop3-connection-get-process): Abolished.
9071         (elmo-pop3-connection-get-buffer): Ditto.
9072         (elmo-pop3-close-connection): Ditto.
9073         (elmo-pop3-flush-connection): Ditto.
9074         (elmo-pop3-get-connection): Ditto.
9075         (elmo-pop3-get-session): New function.
9076         (Replacement for `elmo-pop3-get-connection').
9077         All other related modules are changed.
9078         (elmo-network-close-session): Define.
9079         (elmo-pop3-send-command): Abolished argument `buffer'.
9080         All other related modules are changed.
9081         (elmo-pop3-read-response): Likewise.
9082         (elmo-pop3-open-connection): Abolished.
9083         (elmo-pop3-auth-user): New function.
9084         (elmo-pop3-auth-apop): Ditto.
9085         (elmo-pop3-auth-cram-md5): Ditto.
9086         (elmo-pop3-auth-scram-md5): Ditto.
9087         (elmo-pop3-auth-digest-md5): Ditto.
9088         (elmo-network-initialize-session): Define.
9089         (elmo-network-authenticate-session): Ditto.
9090         (elmo-network-setup-session): Ditto.
9091
9092         * elmo-imap4.el (toplevel): Require 'elmo-net.
9093         (elmo-imap4-session): Define.
9094         (elmo-imap4-connection-cache): Abolished.
9095         (elmo-imap4-password-key): Ditto.
9096         (elmo-imap4-flush-connection): Ditto.
9097         (elmo-imap4-get-connection): Ditto.
9098         All other related modules are changed.
9099         (elmo-imap4-get-session): New function
9100         (Replacement for `elmo-imap4-get-connection').
9101         (elmo-imap4-read-response): Abolished argument `buffer'.
9102         All other related modules are changed.
9103         (elmo-imap4-send-command): Likewise.
9104         (elmo-imap4-select-folder): Abolished.
9105         All other related modules are changed.
9106         (elmo-imap4-select-mailbox): New function.
9107         (Replacement for `elmo-imap4-select-folder').
9108         (elmo-imap4-auth-login): Simplify.
9109         (Assume current buffer as process buffer)
9110         (elmo-imap4-auth-cram-md5): Ditto.
9111         (elmo-imap4-auth-digest-md5): Ditto.
9112         (elmo-imap4-login): Ditto.
9113         (elmo-imap4-open-connection): Abolished.
9114         (elmo-imap4-open-connection-1): Abolished.
9115         (elmo-network-initialize-sessoin): Define.
9116         (elmo-network-authenticate-session): Ditto.
9117         (elmo-network-setup-session): Ditto.
9118
9119         * elmo-net.el: New module.
9120
9121 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9122
9123         * elmo-util.el (elmo-define-error): New function.
9124
9125         * elmo2.el (elmo-error): Define.
9126         (elmo-open-error): Define.
9127         (elmo-authenticate-error): Define.
9128
9129         * elmo-imap4.el (elmo-imap4-error): Abolish.
9130         (elmo-imap4-error-type): Abolish.
9131         (elmo-imap4-error-process): Abolish.
9132         (elmo-imap4-error-message): Abolish
9133         (elmo-imap4-list-folders): Don't quote lambda.
9134         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9135         (elmo-imap4-parse-namespace): Ditto.
9136         (elmo-imap4-open-connection): Rewrite.
9137         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9138         (elmo-imap4-get-connection): Abolish local variable `result'.
9139
9140 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9141
9142         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9143         wrong-type-argument error when auth is nil.
9144
9145 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9146
9147         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9148         (elmo-default-nntp-stream-type): Ditto.
9149         (elmo-default-pop3-stream-type): Ditto.
9150         (elmo-network-stream-type-alist): Ditto.
9151         (elmo-default-imap4-ssl): Abolished.
9152         (elmo-default-nntp-ssl): Ditto.
9153         (elmo-default-pop3-ssl): Ditto.
9154
9155         * elmo-util.el: (toplevel): Removed needless requires.
9156         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9157         (elmo-open-network-stream): Open network stream according to
9158         the value of `elmo-network-stream-type-alist'.
9159         (elmo-get-network-stream-type): New function.
9160         (elmo-network-stream-type-spec-string): New macro.
9161         (elmo-network-stream-type-symbol): Ditto.
9162         (elmo-network-stream-type-function): Ditto.
9163
9164         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9165         network-stream-type. All other related portions are changed.
9166         (elmo-pop3-open-connection): Ditto.
9167
9168         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9169         network-stream-type. All other related portions are changed.
9170
9171         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9172         network-stream-type.All other related portions are changed.
9173         (elmo-imap4-error): New macro.
9174         (elmo-imap4-error-type): Ditto.
9175         (elmo-imap4-error-process): Ditto.
9176         (elmo-imap4-error-message): Ditto.
9177         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9178         (elmo-imap4-auth-cram-md5): Ditto.
9179         (elmo-imap4-auth-digest-md5): Ditto.
9180         (elmo-imap4-login): Ditto.
9181         (elmo-imap4-open-connection): Remove password entry if authentication
9182         was in vain.
9183         (elmo-imap4-user-at-host): Abolished.
9184         (elmo-imap4-password-key): New buffer local variable.
9185         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9186         using protocol, port, auth and stream-type.
9187
9188         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9189
9190 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9191
9192         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9193
9194         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9195
9196         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9197         (elmo-imap4-authenticator-alist): New variable.
9198         (elmo-imap4-open-connection-1): Rename from
9199         elmo-imap4-open-connection.
9200         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9201         only wraps elmo-imap4-open-connection-1.
9202         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9203         user-at-host.
9204         (elmo-imap4-auth-login): New function.
9205         (elmo-imap4-auth-cram-md5): New function.
9206         (elmo-imap4-auth-digest-md5): New function.
9207         (elmo-imap4-login): New function.
9208
9209 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9210
9211         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9212         function `error'.
9213
9214 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9215
9216         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9217
9218 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9219
9220         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9221
9222 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9223
9224         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9225         for server responses, quote `*' regardless of where it appears.
9226
9227 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9228
9229         * elmo-maildir.el (elmo-maildir-commit): New alias.
9230
9231 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9232
9233         * elmo-util.el (elmo-display-progress):
9234                 Use `progress-feedback-with-label'.
9235
9236 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9237
9238         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9239         (elmo-imap4-non-atom-char-regex): Ditto.
9240         (elmo-imap4-non-text-char-regex): Ditto.
9241         (elmo-imap4-literal-threshold): Ditto.
9242         (elmo-imap4-atom-p): New function.
9243         (elmo-imap4-quotable-p): Ditto.
9244         (elmo-imap4-nil): Ditto.
9245         (elmo-imap4-atom): Ditto.
9246         (elmo-imap4-quoted): Ditto.
9247         (elmo-imap4-literal-subr): Ditto.
9248         (elmo-imap4-literal): Ditto.
9249         (elmo-imap4-buffer-literal): Ditto.
9250         (elmo-imap4-string-subr): Ditto.
9251         (elmo-imap4-string): Ditto.
9252         (elmo-imap4-buffer-string): Ditto.
9253         (elmo-imap4-astring-subr): Ditto.
9254         (elmo-imap4-astring): Ditto.
9255         (elmo-imap4-buffer-astring): Ditto.
9256         (elmo-imap4-nstring): Ditto.
9257         (elmo-imap4-buffer-nstring): Ditto.
9258         (elmo-imap4-mailbox): New alias.
9259         (elmo-imap4-field-body): Ditto.
9260         (elmo-imap4-userid): Ditto.
9261         (elmo-imap4-password): Ditto.
9262         (elmo-imap4-format-quoted): New function.
9263         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9264         arguments and handle "atom", "quoted" and "literal" string here.
9265         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9266         `elmo-imap4-send-command'.
9267         (elmo-imap4-folder-exists-p): Likewise.
9268         (elmo-imap4-create-folder): Likewise.
9269         (elmo-imap4-delete-folder): Likewise.
9270         (elmo-imap4-rename-folder): Likewise.
9271         (elmo-imap4-max-of-folder): Likewise.
9272         (elmo-imap4-check-validity): Likewise.
9273         (elmo-imap4-sync-validity): Likewise.
9274         (elmo-imap4-server-diff): Likewise.
9275         (elmo-imap4-select-folder): Likewise.
9276         (elmo-imap4-copy-msgs): Likewise.
9277         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9278         (elmo-imap4-mark-set-on-msgs): Likewise.
9279         (elmo-imap4-read-part): Likewise.
9280         (elmo-imap4-read-msg): Likewise.
9281         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9282         `elmo-imap4-password' for `elmo-imap4-send-command'.
9283         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9284         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9285         `elmo-imap4-buffer-literal'.
9286         (elmo-imap4-append-msg): Likewise.
9287
9288         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9289         `delete' for removing dead connection from the connection cache.
9290         Move deletion of the process buffer after that.
9291         (elmo-imap4-list): Change `defsubst' to `defun'.
9292         (elmo-imap4-commit): Make error message verbose.
9293         (elmo-imap4-search): Ditto.
9294         (elmo-imap4-list): Ditto.
9295         (elmo-imap4-select-folder): Ditto.
9296         (elmo-imap4-copy-msgs): Ditto.
9297         (elmo-imap4-delete-msg-by-id): Ditto.
9298         (elmo-imap4-append-msg-by-id): Ditto.
9299         (elmo-imap4-append-msg): Ditto.
9300
9301 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9302
9303         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9304         when dired is used on XEmacs.
9305
9306 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9307
9308         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9309         instead of `append'.
9310         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9311         `elmo-plugged-p' directly.
9312         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9313         of `elmo-plugged-p' directly.
9314
9315         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9316         Eliminate unused variable.  Use `memq' for checking a process status.
9317         Use `cons' instead of `append' for updating the connection cache.
9318         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9319         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9320
9321 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9322
9323         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9324         `elmo-imap4-read-point' exactly.
9325
9326         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9327         the local variable `folder' to `mailbox'.
9328         Rename the argument `fld' to `folder'.
9329
9330 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9331
9332         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9333         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9334
9335 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9336
9337         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9338         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9339         (elmo-pop3-uidl-number-hash): Ditto.
9340         (elmo-pop3-size-hash): Ditto.
9341         (elmo-pop3-uidl-done): Ditto.
9342         (elmo-pop3-list-done): Ditto.
9343         (elmo-pop3-connection-get-process): New defmacro.
9344         (elmo-pop3-connection-get-buffer): Ditto.
9345         (elmo-pop3-close-connection): Delete buffer and process.
9346         (elmo-pop3-flush-connection): Don't delete buffer and process.
9347         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9348         Setup UIDL and size hash.
9349         (elmo-pop3-send-command-no-erase): Deleted
9350         (elmo-pop3-send-command): Added optional argument `no-erase'.
9351         (elmo-pop3-parse-uidl-response): New function.
9352         (elmo-pop3-parse-list-response): Set size hash.
9353         (elmo-pop3-list-location): New function.
9354         (elmo-pop3-list-by-uidl-subr): Ditto.
9355         (elmo-pop3-list-by-list): Ditto.
9356         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9357         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9358         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9359         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9360         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9361         Use uidl.
9362         (elmo-pop3-uidl-to-number): New function.
9363         (elmo-pop3-number-to-uidl): Ditto.
9364         (elmo-pop3-number-to-size): Ditto.
9365         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9366         Set number by use of uidl.
9367         (elmo-pop3-msgdb-create-message): Likewise.
9368         Set size, loc-alist in msgdb.
9369         (elmo-pop3-read-msg): Set number by use of uidl.
9370         Added optional argument `msgdb'.
9371         (elmo-pop3-delete-msg): Ditto.
9372         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9373         (elmo-pop3-commit): Close connection.
9374
9375         * elmo-pipe.el (elmo-pipe-max-of-folder):
9376         Bind `elmo-pop3-use-uidl' as nil.
9377         (elmo-pipe-drain): Ditto.
9378         Call `elmo-commit'.
9379
9380         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9381         (elmo-msgdb-overview-entity-set-size): New defsubst.
9382
9383 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9384
9385         * elmo-vars.el (elmo-use-killed-list): New variable
9386         (Renamed from `elmo-nntp-use-killed-list').
9387         (elmo-nntp-use-killed-list): Eliminated.
9388
9389         * elmo-msgdb.el (elmo-msgdb-expand-path):
9390         Changed expanding msgdb path for elmo-multi.
9391
9392         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9393         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9394         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9395         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9396         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9397         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9398         (toplevel): Deleted time-stamp line.
9399
9400         * elmo2.el (elmo-clear-killed ): Defined as function
9401         (Abolished defining as a backend function).
9402         All other related modules are changed.
9403
9404 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9405
9406         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9407
9408 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9409
9410         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9411
9412 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9413
9414         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9415
9416 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9417
9418         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9419         asynchronous folder check.
9420
9421         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9422
9423         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9424         `elmo-nntp-use-killed-list'.
9425         (elmo-nntp-list-folder): Use killed list.
9426         (elmo-nntp-max-of-folder): Ditto.
9427         (elmo-nntp-msgdb-create): Set killed list.
9428
9429         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9430
9431         * elmo2.el (elmo-clear-killed): New backend function.
9432         All other related modules are changed.
9433
9434 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9435
9436         * elmo-util.el (elmo-imap4-spec-folder): Use
9437         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9438         All callers changed.
9439
9440 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9441
9442         * mmelmo-2.el (initialize-instance):
9443         Use `mime-buffer-entity-buffer-internal' instead of
9444         `mime-entity-buffer'.
9445
9446         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9447         (mime-entity-body): Implemented.
9448         (mime-goto-header-start-point): Deleted.
9449         (mime-goto-body-end-point): Ditto.
9450         (mime-entity-point-min): Ditto.
9451         (mime-entity-point-max): Ditto.
9452         (mime-entity-children): Ditto.
9453         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9454         instead of `mime-entity-buffer'.
9455         (mime-entity-header-buffer): Ditto.
9456         (mime-entity-body-buffer): Ditto.
9457         (mime-write-entity-content): Ditto.
9458
9459         * pldap.el (ldap-static-if): New macro.
9460         (toplevel): Use it instead of `static-if'.
9461
9462 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9463
9464         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9465         included in `attrs' argument.
9466
9467 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9468
9469         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9470
9471         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9472         (ldap-ldif-safe-init-char-regexp): Ditto.
9473         (ldap-ldif-safe-string-regexp): Ditto.
9474         (ldap/ldif-safe-string-p): New macro.
9475         (ldap/ldif-insert-field): Ditto.
9476         (ldap-modify): Use it.
9477         (ldap-add): Ditto.
9478         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9479         (ldap-decode-attribute): Decode only when `attr' is consp.
9480         (ldap-delete): Bind `ret'.
9481         (toplevel): Require 'cl at compile time.
9482         Removed (require 'poe) and (require 'std11).
9483         (pldap-version): Eliminated.
9484         (ldap-search-basic): Removed auth and dn binding.
9485         (ldap-ldif-field-name-regexp): New constant.
9486         (ldap-ldif-field-head-regexp): Ditto.
9487         (ldap-ldif-next-field-head-regexp): Ditto.
9488         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9489         (ldap/field-end): New function.
9490         (ldap/field-body): Use it.
9491         (ldap/collect-field): Ditto.
9492         (ldap-search-basic): Use `ldap/field-body'.
9493
9494 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9495
9496         * pldap.el (ldap-default-attribute-encoder): New user option.
9497         (ldap/field-body): Decode base64 string.
9498         (ldap/collect-field): Ditto.
9499         (ldap-encode-attribute): New function.
9500         (ldap-add-entries): Use it.
9501         (ldap-modify-entries): Ditto.
9502         (ldap-search-entries): Enclosed decoding function with
9503         `with-temp-buffer' and set as unibyte.
9504         (ldap-search-basic): Set process buffer as unibyte.
9505
9506         * elmo-util.el (elmo-folder-identical-system-p):
9507         Eliminated name space checking.
9508
9509         * pldap.el: New module.
9510         toplevel: Changed condition to detect built-in ldap feature.
9511         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9512         (ldap-add): Added error handling.
9513         (ldap-modify): Ditto.
9514         (ldap-delete): Ditto.
9515
9516 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9517
9518         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9519         Initialize local variables with `let'.  Inline a temporary
9520         variable for the progress percentage.  Sort `setq' to reduce
9521         function call in the while-loop.
9522
9523         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9524         into the conditional branch.
9525
9526 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9527
9528         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9529         Move a conditional out of the while-loop.
9530
9531 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9532
9533         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9534         elmo-msgdb-overview-get-entity-by-number.
9535         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9536         throw.
9537
9538 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9539
9540         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9541         the local variable for a packed number self descriptively.
9542
9543 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9544
9545         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9546         * elmo-localdir.el (elmo-localdir-pack-number): Use
9547         `elmo-msgdb-overview-get-entity' instead of
9548         `elmo-msgdb-overview-get-entity-by-number'.
9549         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9550         (elmo-msgdb-search-overview-entity): Removed.
9551         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9552         by message-id or number.
9553         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9554         instead of `elmo-msgdb-overview-get-entity-by-number'.
9555
9556 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9557
9558         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9559         non-nil, use hash table for overview.
9560         (elmo-hash-maximum-size): New variable.
9561         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9562         (elmo-msgdb-make-overview-hashtb): New function.
9563         (elmo-msgdb-clear-overview-hashtb): New function.
9564         (elmo-clear-hash-val): New macro.
9565         All other related modules are changed.
9566
9567 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9568
9569         * elmo2.el (elmo-move-msgs): If there's other message with
9570         same message-id, don't use cache.
9571
9572 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9573
9574         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9575         number is already packed.
9576
9577 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9578
9579         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9580
9581 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9582
9583         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9584         All other related modules are changed.
9585
9586 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9587
9588         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9589         of refiling failure on Maildir.
9590
9591 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9592
9593         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9594         decoded mime-charset with cache.
9595         (elmo-msgdb-overview-entity-get-from): Ditto.
9596         (elmo-msgdb-overview-entity-get-subject): Ditto.
9597         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9598
9599 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9600
9601         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9602         (elmo-remove-passwd): Fill password with 0 before erase.
9603         * elmo-vars.el (elmo-passwd-life-time): New variable.
9604
9605 \f
9606 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9607
9608         * elmo-cache.el (elmo-buffer-cache-add):
9609         Set message cache buffer as unibyte.
9610
9611 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9612
9613         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9614         become nil.
9615
9616 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9617
9618         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9619         when display is finished.
9620         (elmo-nntp-msgdb-create): Ditto.
9621         (elmo-nntp-groups-read-response): Ditto.
9622         (elmo-nntp-retrieve-headers): Ditto.
9623         (elmo-nntp-msgdb-create-message): Ditto.
9624         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9625         (elmo-pop3-msgdb-create-message): Ditto.
9626
9627 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9628
9629         * elmo-maildir.el (elmo-maildir-msgdb-create):
9630         Use `elmo-msgdb-sort-by-date'.
9631
9632 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9633
9634         * elmo2.el (elmo-read-msg-no-cache):
9635         Eliminated arguments after `outbuf'.
9636         Don't use cache even if it exists.
9637         (elmo-read-msg): Don't pass arguments after `outbuf' to
9638         `elmo-read-msg-no-cache'.
9639
9640 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9641
9642         * elmo-archive.el (elmo-archive-list-folders):
9643         Use `file-name-directory' if base folder does not exist.
9644
9645 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9646
9647         * elmo-archive.el (elmo-archive-list-folders): Don't use
9648         `file-name-directory'.
9649
9650 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9651
9652         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9653         If `force' is non-nil, try flushing all operation queues.
9654
9655 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9656
9657         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9658         as-binary-process.
9659
9660 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9661
9662         * elmo-util.el (elmo-display-progress): Fixed.
9663
9664 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9665
9666         * elmo-util.el (elmo-display-progress): New function.
9667         All other related modules are changed.