337790be619db5c606ab20e4d49940f2b0ccd108
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
4         cosmetic fix).
5
6 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7
8         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
9         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
10         (elmo-string-to-list, elmo-list-to-string): Ditto.
11
12 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
13
14         * elmo-archive.el (elmo-archive-field-condition-match)
15         (elmo-archive-suffix-alist)
16         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
17         (elmo-archive-folder-message-make-temp-files)
18         (elmo-archive-append-files)
19         (elmo-archive-field-condition-match): Fix indent.
20
21         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
22         Avoid `args-out-of-range 0, 1' error.
23
24 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
25
26         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
27         (delete-backward-char X) that deletes region in Emacs 24.
28         See delete-active-region described in NEWS.
29         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
30         * elmo-util.el (elmo-get-file-string): Ditto.
31         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
32
33 2010-08-09  David Maus  <dmaus@ictsoc.de>
34
35         * elmo.el (elmo-folder-open-internal-p): New luna method.
36         (elmo-folder-move-messages): Open source folder only if necessary.
37         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
38         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
39         * elmo-map.el (elmo-folder-open-internal-p): Dto.
40         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
41
42 2010-08-01  David Maus  <dmaus@ictsoc.de>
43
44         * elmo.el (elmo-folder-move-messages): Open source folder before
45         moving messages.
46
47 2010-04-15  David Maus  <dmaus@ictsoc.de>
48
49         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
50         imap user name.
51
52 2010-04-14  David Maus  <dmaus@ictsoc.de>
53
54         * elmo-imap4.el (elmo-imap4-disabled-extension): New
55         variable. List of server extensions that are disabled on the
56         client side.
57         (elmo-imap4-session-capable-p): Honour list of disabled
58         extensions.
59
60 2010-03-17  David Maus  <dmaus@ictsoc.de>
61
62         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
63         (elmo-imap4-search-internal-primitive): Pass filter type to imap
64         search when performing search for flagged messages.
65
66 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
67
68         * modb-standard.el (modb-standard-save-entity): Use
69         `modb-standard-cleanup-stale-entities' to clean up stale entity
70         files in modb cache.
71         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
72         capabilities after login.
73
74 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
75
76         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
77         indent (only cosmetic fix).
78
79 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
80
81         * elmo-version.el (elmo-version): Up to 2.15.9.
82
83         * elmo-imap4.el (elmo-imap4-elist): New function
84         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
85         ESEARCH feature (RFC4731).
86         * elmo-imap4.el (toplevel): Require time-stamp
87         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
88         elmo-imap4-read-response elmo-imap4-read-untagged
89         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
90         logging format.
91         * elmo-imap4.el (elmo-folder-list-messages-plugged,
92         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
93         for full uid range on folder entering, retrieve updates only for
94         newly appeared messages.
95         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
96         elmo-imap4-read-response, elmo-imap4-read-untagged,
97         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
98         to format-time-string.
99         * elmo-vars.el (toplevel): New custom
100         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
101         flag for some buggy servers.
102         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
103
104 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
105
106         * acap.el (acap-parse-response): Fix comment-out style. Use three
107         semicolons, that should start at the left margin.
108         See. also (Info-goto-node "(elisp)Comment Tips").
109         * elmo.el (toplevel, elmo-message-match-condition)
110         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
111         Ditto.
112         * elmo-archive.el (elmo-archive-suffix-alist)
113         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
114         (elmo-archive-method-list)
115         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
116         Ditto.
117         * elmo-imap4.el (toplevel)
118         (elmo-imap4-send-command, elmo-imap4-check-validity)
119         (elmo-imap4-fetch-callback-1-subr)
120         (elmo-network-initialize-session, elmo-server-diff-async)
121         (elmo-imap4-folder-diff-plugged): Ditto
122         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
123         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
124         * elmo-net.el (elmo-network-close-session): Ditto.
125         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
126         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
127         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
128         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
129         (elmo-number-set-delete)
130         (elmo-cache-get-oldest-cache-file-entity): Ditto.
131
132 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
133
134         * elmo-version.el (elmo-version): Up to 2.15.8.
135
136         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
137         `with-current-buffer' instead of `save-excursion' (for suppress
138         compile warnings).
139
140         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
141         instead of `int-to-string'.
142         * elmo-archive.el (elmo-archive-message-fetch-internal)
143         (elmo-archive-folder-message-make-temp-files)
144         (elmo-archive-folder-append-buffer)
145         (elmo-folder-delete-messages-internal)
146         (elmo-archive-msgdb-create-entity)
147         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
148         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
149         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
150         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
151         * elmo-imap4.el (elmo-imap4-make-number-set-list)
152         (elmo-folder-list-subfolders): Ditto.
153         * elmo-localdir.el (elmo-message-file-name)
154         (elmo-folder-message-make-temp-files)
155         (elmo-localdir-msgdb-create-entity)
156         (elmo-folder-append-messages-*-localdir)
157         (elmo-folder-pack-numbers): Ditto.
158         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
159         * elmo-map.el (elmo-location-map-key): Ditto.
160         * elmo-nntp.el (elmo-nntp-folder-postfix)
161         (elmo-nntp-folder-list-subfolders)
162         (elmo-nntp-folder-msgdb-create): Ditto.
163
164         * elmo.el (elmo-crosspost-message-alist-save): Don't use
165         `function' for `lambda'.
166         * elmo-archive.el (elmo-archive-folder-list-subfolders)
167         (elmo-folder-append-messages-*-archive)
168         (elmo-folder-delete-messages-internal): Ditto.
169         * elmo-date.el (elmo-replace-in-string): Ditto.
170         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
171         (elmo-folder-list-flagged): Ditto.
172         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
173         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
174         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
175
176 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
177
178         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
179         `elmo-dop-spool-folder' was used before it was defined"; Use
180         `defun' instead.
181
182         * pldap.el (ldap/ldif-safe-string-p): macro to function.
183         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
184
185         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
186         `mapcar'; Suppress compile warning.
187         * elmo-imap4.el (elmo-network-initialize-session-buffer)
188         (elmo-imap4-search-internal-primitive): Ditto.
189         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
190         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
191
192         * elmo-imap4.el (elmo-imap4-parse-address-list)
193         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
194         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
195         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
196         `(string-to-char " ")' instead of `? ', `?\ '.
197
198 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
199
200         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
201         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
202         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
203         `function' for lambda.
204
205         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
206         `string-to-number' instead of `string-to-int'.
207
208         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
209         instead of `save-excursion' (for suppress compile warnings).
210         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
211         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
212         (elmo-nntp-post): Ditto.
213
214 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
215
216         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
217         Mule-UCS (to-utf-16).
218         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
219         Emacs 23.
220
221 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
222
223         * utf7.el (utf7-find-coding-system-without-bom): New Function.
224         (utf7-utf-16-coding-system): use no-BOM coding system.
225         (utf7-get-u16char-converter): remove workaround for BOM.
226
227 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
228
229         * elmo-util.el (elmo-union): New function, make a union of two lists.
230
231         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
232         mime-view when displaying malformed base64 attach.
233
234         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
235         (removed duplicated code)
236
237         * modb-standard.el (modb-standard-cleanup-stale-entities): New
238         function, Remove stale entities from elmo's cache.
239
240 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
241
242         * elmo-version.el (elmo-version): Up to 2.15.7.
243
244 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
245
246         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
247         default value to `--auto-update'.
248
249 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
250
251         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
252         Add `elmo-pop3-read-point' barrier.
253
254 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
255
256         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
257         goto the previous end-point insead of the head-point, and use
258         `search-forward' instead of `re-search-forward'.
259
260 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
261
262         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
263
264 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
265
266         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
267         case-insensitive fashion.
268
269 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
270
271         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
272
273 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
274
275         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
276         `eval-and-compile' for suppress compile warnings.
277
278         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
279         instead of `defun-maybe'
280
281         * elmo-util.el: Add (eval-when-compile (require 'static)).
282
283 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
284
285         * mmimap.el: Remove (require 'static).
286         * acap.el: Ditto.
287
288         * elmo-flag.el: Move ';;; Code:' comment.
289         * elmo-imap4.el: Ditto.
290         * elmo-net.el: Ditto.
291
292         * elmo-version.el (product-provide): Fix comment.
293
294 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
295
296         * slp.el: Add (eval-when-compile (require 'cl)).
297         * elmo-date.el: Ditto.
298         * elmo-pop3.el: Ditto.
299         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
300
301 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
302
303         * modb.el (elmo-msgdb-match-condition-primitive): Use
304         `string-to-number' instead of `string-to-int'.
305
306         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
307         (elmo-msgdb-message-match-condition)
308         (elmo-msgdb-create-message-entity-from-buffer): Use
309         `string-to-number' instead of `string-to-int'.
310
311         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
312         instead of `string-to-int'.
313
314         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
315         instead of `string-to-int'.
316
317         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
318         `string-to-number' instead of `string-to-int'.
319
320         * elmo-nntp.el (elmo-nntp-make-msglist)
321         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
322         (elmo-nntp-create-msgdb-from-overview-string)
323         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
324         (elmo-nntp-search-primitive): Use `string-to-number' instead of
325         `string-to-int'.
326
327         * elmo-net.el (elmo-net-folder-set-parameters): Use
328         `string-to-number' instead of `string-to-int'.
329
330         * elmo-localdir.el (elmo-localdir-list-subr): Use
331         `string-to-number' instead of `string-to-int'.
332
333         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
334         `string-to-number' instead of `string-to-int'.
335
336         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
337         instead of `string-to-int'.
338
339         * elmo-archive.el (elmo-archive-list-folder-subr): Use
340         `string-to-number' instead of `string-to-int'.
341
342 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
343
344         * elmo-util.el (elmo-get-passwd): Fix typo.
345
346         * elmo-nntp.el (elmo-nntp-get-server-command)
347         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
348         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
349         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
350         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
351
352         * elmo-imap4.el (elmo-imap4-debug)
353         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
354         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
355         (elmo-imap4-response-value, elmo-imap4-response-error-text)
356         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
357         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
358         (elmo-imap4-identical-system-p): New backquote style.
359
360 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
361
362         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
363         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
364         (elmo-dop-queue-arguments): Ditto.
365
366         * elmo-date.el (elmo-match-substring): New backquote style.
367         (elmo-match-string, elmo-match-buffer): Ditto.
368         (elmo-date-make-sortable-string): Ditto.
369
370         * elmo-archive.el (elmo-archive-get-method):New backquote style.
371         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
372
373         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
374         style.
375
376         * elmo-net.el (elmo-network-stream-type-spec-string): New
377         backquote style.
378         (elmo-network-stream-type-symbol): Ditto.
379         (elmo-network-stream-type-feature): Ditto.
380         (elmo-network-stream-type-function): Ditto.
381         (elmo-network-session-buffer): Ditto.
382
383         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
384         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
385         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
386         (elmo-bind-directory, elmo-set-work-buf): Ditto.
387
388         * elmo.el (elmo-folder-send): New backquote style.
389
390 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
391
392         * pldap.el (ldap-static-if): New backquote style.
393         (ldap/ldif-safe-string-p): Ditto.
394         (ldap/ldif-insert-field): Ditto.
395
396         * elmo-version.el (elmo-version): Up to 2.15.6.
397
398 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
399
400         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
401         messages with \Deleted flag.
402         (elmo-folder-delete-messages-plugged): Ask before sending expunge
403         command if there are messages with \Deleted flag.
404
405 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
406
407         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
408         http://seclists.org/bugtraq/2007/Apr/0018.html
409         (Suggested by Tatsuya Kinoshita)
410
411 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
412
413         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
414         with \Noselect attribute.
415
416 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
417
418         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
419         hierarchical folder structure with UW-imapd.
420
421 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
422
423         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
424         when the LOGINDISABLED capability is advertised.
425
426 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
427
428         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
429
430 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
431
432         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
433         `entity'.
434         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
435         if the message entity is exists.
436
437 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
438
439         * elmo-util.el (elmo-msgdb-insert-file-header): Call
440         `elmo-delete-cr-buffer'.
441
442         * elmo-localdir.el (elmo-message-fetch-internal): Use
443         `insert-file-contents-as-raw-text' instead of
444         `insert-file-contents-as-binary'.
445
446         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
447
448 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
449
450         * elmo-imap4.el (elmo-network-initialize-session): Check to
451         retrieve a whole greeting message.
452
453 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
454
455         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
456
457 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
458
459         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
460         (elmo-progress-notify): Use it instead of `plist-get'.
461
462 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
463
464         * elmo.el (elmo-generic-folder-append-messages): Remove unused
465         variable `table'.
466
467 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
468
469         * elmo-pipe.el (elmo-folder-set-plugged): Define.
470
471 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
472
473         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
474         (elmo-spam-list-spam-messages): Check it option.
475
476 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
477
478         * elmo-util.el (elmo-with-progress-display): Return the value
479         of the last form in `body'.
480
481 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
482
483         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
484         `elmo-progress-counter' as t when a query callback returns nil.
485         (elmo-progress-clear): New function.
486         (elmo-progress-done): Split into `elmo-progress-clear'.
487         (elmo-progress-notify): Update a total slot when it is nil.
488         (elmo-with-progress-display): Call `elmo-progress-clear' in
489         unwind-protect and move calling `elmo-progress-done' to outside.
490
491         * elmo-imap4.el (elmo-imap4-find-next-line): Call
492         `elmo-progress-notify' with :total parameter instead of
493         `elmo-progress-counter-set-total'.
494
495 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
496
497         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
498         Make it interactive.
499         (elmo-progress-start): Avoid updating `elmo-progress-counter'
500         when a query callback returns nil.  Return a progress counter
501         instead of t whenever a start callback was called.
502
503 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
504
505         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
506         (elmo-imap4-send-command): Use it.
507         (elmo-network-initialize-session): Ditto.
508         (elmo-network-setup-session): Ditto.
509         (elmo-folder-msgdb-create-plugged): Ditto.
510
511 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
512
513         * elmo-util.el (elmo-progress-done): Fix a miss refer to
514         `elmo-progress-counter'.
515
516 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
517
518         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
519         (elsp-bsfilter-list-spam-filter): New function.
520         (elsp-bsfilter-start-list-spam): Ditto.
521         (elsp-bsfilter-read-list-spam): Ditto.
522         (elmo-spam-list-spam-messages): Use async process to display
523         progress message by each message.
524
525 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
526
527         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
528         of flushing previously inserted message contents.
529
530         * elmo-imap4.el (elmo-folder-search): Fix return value.
531
532 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
533
534         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
535         of reporter is enable or not.
536
537 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
538
539         * elmo-util.el (elmo-list-bigger-diff): Abolish.
540         (elmo-display-progress): Ditto.
541         (elmo-progress-counter-alist): Ditto.
542         (elmo-progress-set): Ditto.
543         (elmo-progress-clear): Ditto.
544         (elmo-progress-counter-all-value): Rename to
545         `elmo-progress-counter-total'.
546         (elmo-progress-counter-format): Rename to
547         `elmo-progress-counter-action'.
548         (elmo-progress-counter): New internal variable.
549         (elmo-progress-callback-function): Ditto.
550         (elmo-progress-counter-label): New function.
551         (elmo-progress-counter-set-total): Ditto.
552         (elmo-progress-counter-set-action): Ditto.
553         (elmo-progress-call-callback): Ditto.
554         (elmo-progress-start): Ditto.
555         (elmo-progress-done): Ditto.
556         (elmo-progress-notify): Rewrite.
557         (elmo-with-progress-display): Remove first argument
558         `condition'. Add optional argument `var' in `spec'.
559
560         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
561         (elmo-display-retrieval-progress-threshold): Ditto.
562         (elmo-inhibit-display-retrieval-progress): Ditto.
563
564         * Replace all pair of `elmo-progress-set' and
565         `elmo-progress-clear' into `elmo-with-progress-display'.
566
567         * Replace to call `elmo-display-progress' into pair of
568         `elmo-progress-notify' and `elmo-with-progress-display'.
569
570         * elmo-version.el (elmo-version): Up to 2.15.5.
571
572 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
575         `cond'.
576
577 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
578
579         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
580         cleanup-forms [wl:14027].
581
582 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
583
584         * elmo-flag.el (elmo-global-flag-set-internal): Use
585         `elmo-copy-file' by priority when the message is a file.
586
587 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
588
589         * elmo.el: Fix typo: disptch -> dispatch.
590
591 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
592
593         * elmo.el (elmo-file-tag): New class.
594         (elmo-append-messages-disptch-table): New constant.
595         (elmo-folder-type-p): New function.
596         (elmo-folder-append-messages): Redefine as function.
597
598         * elmo-null.el (elmo-folder-append-messages): Renamed from
599         `elmo-folder-append-messages'.
600
601         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
602         (elmo-folder-append-messages-*-maildir): Renamed from
603         `elmo-folder-append-messages'.
604
605         * elmo-localdir.el (elmo-localdir-folder): Inherit
606         `elmo-file-tag'.
607         (elmo-folder-append-messages-*-localdir): Renamed from
608         `elmo-folder-append-messages'.
609
610         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
611         from `elmo-folder-append-messages'.
612
613         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
614         `elmo-folder-append-messages'.
615
616         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
617         function.
618         (elmo-folder-append-messages-*-filter): Ditto.
619
620         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
621
622         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
623         (elmo-folder-append-messages-*-pipe): Renamed from
624         `elmo-folder-append-messages'.
625
626         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
627
628         * elmo-file.el (elmo-file-folder): Ditto.
629
630         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
631
632         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
633         from `elmo-folder-append-messages'
634
635 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
636
637         * elmo-map.el (elmo-location-map-setup): Change an argument
638         `locations' to optional.
639         (elmo-location-map-clear): Abolish.
640         (elmo-folder-clear): Follow the API change.
641
642         * elmo-pop3.el (elmo-folder-clear): Ditto.
643
644         * elmo-pop3.el (toplevel): Require elmo-map.
645         (elmo-pop3-folder): Inherit elmo-location-map and abolish
646         location-alist slot (All other related portions are changed).
647         (elmo-pop3-folder-use-uidl): New function.
648         (elmo-folder-msgdb-create): Don't sort message entities.
649         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
650         (elmo-pop3-number-to-size): Convert return value to number.
651         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
652         working buffer.
653
654         * elmo-map.el: Use `location-map' as a variable name for instance
655         instead of `mapper'.
656         (elmo-location-map-setup): Return location alist.
657         (elmo-location-map-update): Ditto.
658
659 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
660
661         * elmo-map.el (elmo-location-map): New class; split location and
662         number mapping from elmo-map-folder (All other related portions
663         are changed).
664
665         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
666         change.
667
668         * elmo-version.el (elmo-version): Up to 2.15.4.
669
670 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
671
672         * elmo-vars.el (elmo-use-hardlink): New user option.
673
674         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
675         `elmo-use-hardlink'.
676
677         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
678         killed-list.
679         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
680         instead of `*-internal'. Use `elmo-with-progress-display'.
681
682 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
683
684         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
685         `elmo-spam-process-messages-as-mbox'.
686
687         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
688
689 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
690
691         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
692         argument BUFFER of `call-process'.
693
694 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
695
696         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
697         args.
698         (elsp-bsfilter-list-spam-files): Ditto.
699
700 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
701
702         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
703         (elmo-spam-bsfilter-max-messages-per-process): New use option.
704         (elmo-spam-bsfilter-debug): Fix a group.
705         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
706         `--homedir'.
707         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
708         (elsp-bsfilter-list-spam-files): New function.
709         (elmo-spam-list-spam-messages): Define.
710         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
711         (elmo-spam-bsfilter-register-messages): New function.
712         (elmo-spam-register-spam-messages): Define.
713         (elmo-spam-register-good-messages): Ditto.
714
715         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
716
717         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
718         `nconc' and `consp'.
719
720 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
721
722         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
723         hash table to test whether a location is exists.
724
725 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
726
727         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
728         even if some error occurred.
729
730         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
731         meaningless unwind-protect.
732
733         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
734         start-number correctly.
735         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
736         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
737
738 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
739
740         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
741         (elmo-folder-initialize): Use it.
742         (elmo-global-flag-replace-referrer): New function.
743
744         * elmo.el (toplevel): Added autoload setting for
745         `elmo-global-flag-replace-referrer'.
746         (elmo-folder-rename): Rewrite the last change use
747         `elmo-global-flag-replace-referrer'.
748
749         * elmo-pipe.el (elmo-folder-rename): Call
750         `elmo-global-flag-replace-referrer'.
751
752 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo.el (elmo-folder-rename): Set meta data for global flags
755         follow the rename.
756
757 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
758
759         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
760         as 'not-loaded.
761         (elmo-folder-close): Ditto.
762         (elmo-filter-folder-number-list-loaded-p): New function.
763         (elmo-filter-folder-number-list): Check whether loaded or not.
764         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
765         of `elmo-filter-folder-number-list-internal'.
766         (elmo-folder-delete-messages): Ditto.
767         (elmo-folder-length): Check whether number-list is loaded or not.
768
769 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
770
771         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
772         field `real field' into each element of list.
773         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
774         (elmo-msgdb-message-entity-field): Ditto.
775         (modb-entity-ml-info-real-fields): New function.
776
777         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
778
779         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
780         `elmo-msgdb-extra-fields'.
781
782 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
783
784         * elmo-util.el (elmo-passwd-alist-load): Move point to min
785         position before read.
786
787 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
788
789         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
790         (elmo-global-flags-initialize): Ditto.
791
792 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
793
794         * elmo-archive.el (toplevel): Don't require emu, std11
795         and elmo-localdir.
796
797         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
798         definition.
799
800 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
801
802         * elmo.el (elmo-folder-confirm-appends): Display folder name.
803
804 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
805
806         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
807         literals.
808
809 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
810
811         * elmo-maildir.el (elmo-maildir-list-location): Reduce
812         `elmo-get-last-modification-time' call.
813
814 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
815
816         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
817         expression.
818         (elmo-maildir-set-mark): Ditto.
819         (elmo-maildir-delete-mark): Ditto.
820
821 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
822
823         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
824         optional argument `separators'.
825
826 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
827
828         * elmo.el (cache-changed): Abolish.
829         (status-changed): New signal.
830         (elmo-message-killed-p): New generic function and define for
831         elmo-folder.
832         (elmo-folder-recover-messages): Ditto.
833         (elmo-message-set-cached): Emit signal `status-changed' instead of
834         `cache-changed'.
835         (elmo-message-status): New macro.
836         (elmo-message-status-folder): Ditto.
837         (elmo-message-status-number): Ditto.
838         (elmo-message-status-set-flags): Ditto.
839         (elmo-message-status-set-killed): Ditto.
840         (elmo-message-status-flags): New function.
841         (elmo-message-status-cached-p): Ditto.
842         (elmo-message-status-killed-p): Ditto.
843
844         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
845         `status-changed' instead of `cache-changed'.
846         (elmo-folder-recover-messages): Define.
847         (elmo-message-killed-p): Ditto.
848
849         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
850         `status-changed' instead of `cache-changed'.
851
852         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
853         (elmo-message-killed-p): Define.
854         (elmo-folder-recover-messages): Ditto.
855
856         * elmo-version.el (elmo-version): Up to 2.15.3.
857
858 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
859
860         * elmo-signal.el (elmo-signal-bindings): Use cons to append
861         element into list.
862         (elmo-define-signal-handler): Add docstring.
863         (elmo-define-signal-filter): Ditto.
864
865         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
866
867 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
868
869         * elmo-util.el (elmo-flatten): Don't use recursive call.
870
871         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
872         assignment.
873         (elmo-folder-message-make-temp-files): Use `number-to-string'
874         instead of `int-to-string'.
875
876 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
877
878         * elmo-search.el (elmo-folder-delete-messages): Define.
879
880 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
881
882         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
883         customization type.
884         (elmo-mailing-list-count-spec-list): Ditto.
885
886         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
887         for `list-id'.
888
889 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
890
891         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
892         handling.
893
894 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
895
896         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
897         (elmo-mailing-list-count-spec-list): Ditto.
898
899         * elmo-util.el (elmo-map-until-success): New function.
900         (elmo-string-match-substring): Ditto.
901         (elmo-find-list-match-value): Ditto.
902
903         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
904         Removed.
905         (modb-entity-extract-ml-info-from-subject): Ditto.
906         (modb-entity-extract-ml-info-from-return-path): Ditto.
907         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
908         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
909         (modb-entity-extract-ml-info-from-mailman): Ditto.
910         (modb-entity-extract-mailing-list-info-functions): Ditto.
911         (modb-entity-extract-mailing-list-info): Rewrite with
912         `elmo-find-list-match-value'.
913
914 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
915
916         * elmo-net.el (elmo-network-session-retry-count): New user option.
917         (elmo-network-session-buffer-name): New internal function.
918         (elmo-network-session-buffer-create): Ditto.
919         (elmo-network-open-session): Retry open network session
920         `elmo-network-session-retry-count' times.
921
922 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
923
924         * elmo-util.el (elmo-list-filter): Rewritten.
925
926 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
927
928         * elmo-util.el (elmo-string-member): Allow symbol element in list.
929
930 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
931
932         * elmo-search.el (elmo-make-search-engine): Use prefix
933         `elmo-search-' for require symbol instead of `else-'.
934         (elmo-search-engine-extprog): New class.
935         (elmo-search-engine-do-search): Remove nil from argument
936         list. Added argument pattern to evaluate element as function.
937         (elmo-search-engine-local-file): Derived from
938         `elmo-search-engine-extprog'.
939         (elmo-search-engine-create-message-entity): Check existance of file.
940         (elmo-search-engine-fetch-message): Ditto.
941         (elmo-search-namazu-index): Follow the API change.
942         (elmo-search-grep-target): Ditto.
943
944 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
945
946         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
947         characters of working buffer.
948
949         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
950         Does not bind `default-mime-charset'.
951         (elmo-msgdb-create-message-entity-from-buffer): Removed
952         unnecessary local bind.
953
954         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
955         function.
956         (modb-entity-extract-mailing-list-info-functions): Added it.
957
958 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
959
960         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
961         when number and message-id are non-nil.
962
963         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
964
965         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
966         conditional steatment.
967         (elmo-pop3-auth-apop): Likewise.
968         (elmo-network-authenticate-session): Likewise.
969
970 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
971
972         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
973         symbol `fill-column'.
974         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
975         decode field value.
976
977         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
978         (elmo-decoded-field-body): Ditto.
979
980 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
981
982         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
983         `tokens' to `params'.
984
985 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
986
987         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
988         working buffer.
989
990 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
991
992         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
993         decide index.
994
995 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
996
997         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
998         Set default value as nil.
999         (toplevel): Register search engines by
1000         `elmo-search-register-engine' if there are not defined.
1001
1002         * elmo.el (autoload): Added autoload setting for
1003         `elmo-search-register-engine'.
1004
1005 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1006
1007         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1008         folder instead of nmz folder.
1009         (elmo-nmz-default-index-path): Added obsolete variable setting.
1010         (elmo-nmz-index-alias-alist): Ditto.
1011         (elmo-nmz-use-drive-letter): Ditto.
1012
1013         * elmo-search.el (elmo-search-register-engine): New function.
1014
1015         * elmo-nmz.el: Removed.
1016
1017         * elmo-version.el (elmo-version): Up to 2.15.2.
1018
1019 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1020
1021         * elmo-search.el: New file.
1022
1023 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1024
1025         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1026         condition `larger' and `smaller'.
1027
1028 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1031         `"' (double quote) into "_Q_".
1032
1033 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1034
1035         * elmo-net.el (elmo-net-quote-chars): Abolish.
1036         (elmo-net-format-quoted): Ditto.
1037
1038 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1039
1040         * elmo.el (elmo-get-folder-function): New variable.
1041         (elmo-get-folder): New function.
1042         (elmo-folder-rename): Call `elmo-make-folder' with specified
1043         mime-charset.
1044
1045         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1046         `elmo-make-folder'.
1047         (elmo-split-subr): Ditto.
1048
1049         * elmo-multi.el (elmo-folder-initialize): Ditto.
1050
1051         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1052
1053         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1054         (elmo-flag-get-folder): Ditto.
1055
1056         * elmo-filter.el (elmo-folder-initialize): Ditto.
1057
1058         * elmo-access.el (elmo-folder-initialize): Ditto.
1059         (elmo-access-folder-update-children): Ditto.
1060
1061         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1062         (elmo-dop-queue-flush): Ditto.
1063         (elmo-folder-append-buffer-dop-delayed): Ditto.
1064         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1065         mime-charset.
1066
1067         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1068         instead of `elmo-make-folder'.
1069         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1070         destination folder instead of send `elmo-folder-rename-internal'.
1071
1072         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1073         slot of subfolder instead of create it.
1074
1075 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1076
1077         * elmo-util.el (elmo-collect-separators): New function.
1078         (elmo-collect-separators-internal): Ditto.
1079         (elmo-collect-trail-separators): Ditto.
1080         (elmo-parse-separated-tokens): Ditto.
1081         (elmo-parse-separated-tokens-internal): Ditto.
1082         (elmo-quote-syntactical-element): Ditto.
1083
1084         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1085         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1086
1087         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1088         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1089         (elmo-nntp-folder-list-subfolders): Quote a user name.
1090
1091         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1092         (elmo-net-parse-network): Abolish.
1093         (elmo-net-folder-set-parameters): New function.
1094         (elmo-folder-initialize): Follow the above change.
1095
1096         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1097         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1098         (elmo-folder-list-subfolders): Use
1099         `elmo-quote-syntactical-element' instead of
1100         `elmo-net-format-quoted' to quote mailbox and user name.
1101
1102 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1103
1104         * elmo-util.el (elmo-token-valid-p): New function.
1105         (elmo-parse-token): Add optional argument `requirement'.
1106         (elmo-parse-prefixed-element): Likewise.
1107
1108         * elmo-net.el (elmo-net-quote-chars): Renamed from
1109         `elmo-net-quote-chars-regexp'.
1110         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1111
1112         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1113         by info document. Check token `uidl' is started an alphabet.
1114
1115         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1116         by info document. Check token `user' is started an alphabet.
1117
1118         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1119         (elmo-folder-list-subfolders): Quote user.
1120
1121 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1122
1123         * elmo-util.el (elmo-quoted-specials-list): New constant.
1124         (elmo-quoted-token): New function.
1125
1126         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1127         (elmo-net-format-quoted): New function.
1128         (elmo-net-parse-network): Ditto.
1129         (elmo-folder-initialize): Use it.
1130
1131         * elmo-nntp.el (elmo-folder-initialize): Use
1132         `elmo-net-parse-network' to parse network specification instead of
1133         `elmo-folder-initialize#elmo-net'.
1134
1135         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1136
1137         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1138         (elmo-folder-list-subfolders): Quote folder name by
1139         `elmo-net-format-quoted'.
1140
1141 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1142
1143         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1144         (elmo-folder-search): Use it.
1145
1146 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * modb-standard.el (modb-standard-loaded-message-id): Use
1149         `elmo-msgdb-message-entity-field'.
1150
1151 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1152
1153         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1154         without filename.
1155
1156 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1157
1158         * elmo-util.el (elmo-set-auto-coding): New function.
1159         (elmo-object-load): Use it.
1160
1161 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1162
1163         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1164         (elmo-time<): Define as alias of `elmo-time-less-p'.
1165         (elmo-time-to-datevec): New function.
1166
1167         * elmo-date.el (elmo-time-to-days): New function.
1168
1169 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1170
1171         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1172         is not cons cell.
1173
1174 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1175
1176         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1177         parenthesis.
1178
1179         * elmo-util.el (elmo-map-recursive): New function.
1180
1181         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1182         (modb-entity-encode-string-recursive): Ditto.
1183
1184 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1185
1186         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1187         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1188         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1189         compare sequence number when last modified time is nil.
1190
1191 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1192
1193         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1194
1195         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1196
1197 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1198
1199         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1200         modification time of the file.
1201
1202 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1203
1204         * elmo-util.el (elmo-condition-optimize): Discriminated against
1205         preserved fields, extra fields and the other weight.
1206
1207 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * modb-entity.el (initialize-instance): Define.
1210         (modb-entity-handler-mime-charset): New internal function.
1211         (modb-standard-entity-set-field): Use it.
1212         (elmo-msgdb-message-entity-field): Ditto.
1213         (elmo-msgdb-message-entity-field): Ditto.
1214
1215         * modb.el (elmo-msgdb-match-condition): Rewrite with
1216         `elmo-condition-match'.
1217         (elmo-msgdb-match-condition-primitive): New function.
1218
1219         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1220         arguments `flags' and `numbers'.
1221         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1222         `elmo-msgdb-message-match-condition').
1223         (modb-buffer-entity-handler): New class.
1224
1225         * elmo.el (elmo-folder-search): Optimize condition to use
1226         `elmo-condition-optimize'.
1227         (elmo-message-buffer-match-condition): New function.
1228         (elmo-message-match-condition): Use
1229         `elmo-message-buffer-match-condition' instead of
1230         `elmo-buffer-field-condition-match'.
1231
1232         * elmo-util.el (elmo-condition-match): New function.
1233         (elmo-condition-optimize): Ditto.
1234         (elmo-buffer-field-primitive-condition-match): Abolish.
1235         (elmo-buffer-field-condition-match): Ditto.
1236
1237         * elmo-archive.el (elmo-archive-field-condition-match): Use
1238         `elmo-message-buffer-match-condition' instead of
1239         `elmo-buffer-field-condition-match'.
1240
1241 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1242
1243         * elmo-flag.el (elmo-global-flags-initialize): Check the
1244         existence of the flag directory.
1245
1246 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1247
1248         * elmo-access.el (elmo-folder-initialize): Call
1249         `elmo-multi-connect-signals'.
1250
1251         * elmo-pipe.el (elmo-folder-close): Define.
1252
1253         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1254         children folders.
1255
1256         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1257         with target folder.
1258
1259         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1260         `number'.
1261
1262         * elmo-multi.el (elmo-message-entity): Don't use return value of
1263         `elmo-message-entity-set-number'.
1264
1265 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1266
1267         * modb.el (modb-generic): Added slot `mime-charset'.
1268
1269         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1270         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1271         and `modb-entity-handler-dump-parameters'.
1272         (modb-standard-default-entity-handler): Abolish.
1273         (elmo-msgdb-message-entity-handler): Save created handler by
1274         instance slot.
1275
1276         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1277         (modb-entity-handler-list-parameters): New method.
1278         (modb-entity-handler-equal-p): New function.
1279         (modb-entity-handler-dump-parameters): Ditto.
1280         (modb-entity-parse-address-string): Encode return value.
1281         (modb-entity-make-address-string): Decode argument value.
1282         (modb-entity-decode-string-recursive): New function.
1283         (modb-entity-encode-string-recursive): Ditto.
1284         (modb-standard-entity-normalizer): Set to encode field value.
1285         (modb-standard-entity-specializer): Follow the above change.
1286         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1287         mime-charset of handler.
1288         (elmo-msgdb-message-entity-field): Ditto.
1289         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1290         structure.
1291         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1292
1293         * elmo.el (elmo-folder): Added slot `mime-charset'.
1294         (elmo-make-folder): Added argument `mime-charset'.
1295         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1296         `mime-charest'.
1297
1298         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1299         (elmo-make-msgdb): Likewise.
1300
1301         * elmo-internal.el (elmo-internal-folder-initialize): Call
1302         `luna-make-entity' with :mime-charset parameter.
1303
1304 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1305
1306         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1307         encoded words in `from' and `subject' field.
1308
1309 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1310
1311         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1312         (elmo-msgdb-match-condition): Get handler from entity instead of
1313         msgdb.
1314
1315         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1316         (modb-standard-load-entity): Treat new file format.
1317         (modb-standard-save-entity-1): Save as new file format.
1318         (modb-standard-save-entity): Split messages into section here.
1319         (elmo-msgdb-message-field): Follow the API change.
1320         (modb-standard-default-entity-handler): New internal variable.
1321         (elmo-msgdb-message-entity-handler): Define.
1322
1323         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1324         to `elmo-vars.el'.
1325         (modb-entity-field-extractor-alist): New user option.
1326         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1327         added argument `type'.
1328         (elmo-msgdb-copy-message-entity): Add optional argument
1329         `make-handler'.
1330         (modb-set-field-converter): New function.
1331         (modb-convert-field-value): Ditto.
1332         (modb-entity-string-decoder): Ditto.
1333         (modb-entity-string-encoder): Ditto.
1334         (modb-entity-parse-date-string): Ditto.
1335         (modb-entity-make-date-string): Ditto.
1336         (modb-entity-mime-decoder): Ditto.
1337         (modb-entity-mime-encoder): Ditto.
1338         (modb-entity-address-list-decoder): Ditto.
1339         (modb-entity-address-list-encoder): Ditto.
1340         (modb-entity-parse-address-string): Ditto.
1341         (modb-entity-make-address-string): Ditto.
1342         (modb-entity-create-field-indices): Ditto.
1343         (modb-legacy-entity-field-slots): New constant.
1344         (modb-legacy-entity-field-indices): Ditto.
1345         (modb-legacy-entity-normalizer): New variable.
1346         (modb-legacy-entity-specializer): Ditto.
1347         (modb-legacy-entity-field-index): New macro.
1348         (modb-legacy-entity-set-field): New function.
1349         (modb-legacy-make-message-entity): Rewrite.
1350         (elmo-msgdb-create-message-entity-from-buffer): Use
1351         `elmo-msgdb-get-references-from-buffer'. Use
1352         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1353         Use `modb-legacy-entity-set-field' instead of
1354         `elmo-msgdb-message-entity-set-field'.
1355         (elmo-msgdb-message-entity-field): Rewrite.
1356         (elmo-msgdb-message-entity-set-field): Ditto.
1357         (elmo-msgdb-copy-message-entity): Make new entity by
1358         `make-handler' if it specified.
1359         (elmo-msgdb-message-match-condition): Define a method of
1360         `modb-entity-handler' and follow the API change.
1361         (modb-standard-entity-handler): New class.
1362         (modb-entity-extract-ml-info-from-x-sequence): New function.
1363         (modb-entity-extract-ml-info-from-subject): Ditto.
1364         (modb-entity-extract-ml-info-from-return-path): Ditto.
1365         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1366         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1367         (modb-entity-extract-mailing-list-info): Ditto.
1368         (modb-entity-extract-mailing-list-info-functions): New variable.
1369
1370         * elmo.el (elmo-message-field): Add optional argument `type'.
1371
1372         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1373         from `modb-entity.el'.
1374
1375         * elmo-util.el (elmo-object-load): Decode by coding-system from
1376         `set-auto-coding-function'.
1377         (elmo-object-save): Use `detect-mime-charset-region' and add
1378         coding cookie if encode.
1379         (elmo-msgdb-get-references-from-buffer): New function.
1380         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1381
1382         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1383
1384         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1385         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1386         instead of `shimbun-make-header' and follow the API change.
1387         (elmo-shimbun-update-overview): Follow the API change.
1388         (elmo-map-folder-list-message-locations): Ditto.
1389
1390         * elmo-pipe.el (elmo-message-field): Ditto.
1391
1392         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1393         Ditto.
1394
1395         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1396
1397         * elmo-multi.el (elmo-message-field): Ditto.
1398
1399         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1400         (elmo-msgdb-sort-by-date): Ditto.
1401         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1402         `elmo-message-entity-field'.
1403         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1404         change.
1405         (elmo-msgdb-overview-entity-get-from): Ditto.
1406         (elmo-msgdb-overview-entity-get-subject): Ditto.
1407         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1408         (elmo-msgdb-overview-entity-get-date): Ditto.
1409         (elmo-msgdb-overview-entity-get-to): Ditto.
1410         (elmo-msgdb-overview-entity-get-cc): Ditto.
1411
1412         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1413         (elmo-mime-collect-message/partial-pieces): Ditto.
1414
1415         * elmo-filter.el (elmo-message-field): Ditto.
1416
1417         * elmo-date.el (elmo-datevec-to-time): New function.
1418         (elmo-time-parse-date-string): Ditto.
1419         (elmo-time-make-date-string): Ditto.
1420         (elmo-time<): Ditto.
1421
1422         * elmo-version.el (elmo-version): Up to 2.15.1.
1423
1424 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1425
1426         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1427         member of elmo-local-flags.
1428
1429 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1430
1431         * elmo-version.el (elmo-version): Up to 2.15.0.
1432
1433 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1434
1435         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1436         `ignore-msgdb' is non-nil.
1437
1438 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1439
1440         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1441         (elmo-condition-in-msgdb-p): Ditto.
1442         (elmo-file-field-primitive-condition-match): Ditto.
1443         (elmo-file-field-condition-match): Ditto.
1444
1445         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1446
1447 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1448
1449         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1450         subdirectories here.
1451         (elmo-global-flags-initialize): New function.
1452
1453         * elmo.el (toplevel): Added autoload setting for
1454         `elmo-global-flags-initialize'.
1455
1456 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1457
1458         * elmo.el (message-number-changed): Define new signal.
1459         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1460         message-number-changed signal.
1461         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1462         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1463         Respect `elmo-pack-number-check-strict'.
1464
1465 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1466
1467         * elmo-signal.el (elmo-connect-signal): Document.
1468         (elmo-emit-signal): Ditto.
1469         (elmo-emit-signal): It should pass source argument to filter and
1470         handler, not slot-source.
1471
1472 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1473
1474         * modb.el (elmo-msgdb-update-entity): New API and define generic
1475         implement.
1476
1477         * modb-standard.el (elmo-msgdb-update-entity): Define.
1478
1479         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1480         API and define generic implement.
1481
1482         * elmo.el (update-overview): New singnal.
1483
1484         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1485         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1486         (elmo-message-entity-parent): Define.
1487
1488         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1489         `update-overview'.
1490
1491         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1492
1493         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1494
1495 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1496
1497         * elmo.el (elmo-folder-synchronize): Sort the return value of
1498         `elmo-list-diff'.
1499
1500         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1501         list.
1502
1503 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1504
1505         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1506         `default-enable-multibyte-characters'.
1507         (elmo-object-load): Use `with-temp-buffer' instead of
1508         `elmo-set-work-buf'.
1509         (elmo-object-save): Ditto.
1510         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1511         `elmo-set-work-buf'.
1512         (elmo-decoded-field-body): Ditto.
1513
1514         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1515
1516         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1517         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1518
1519         * elmo-version.el (elmo-version): Up to 2.13.3.
1520
1521 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1522
1523         * elmo-util.el (elmo-list-diff): Fix the last change.
1524         Reverse order of result lists.
1525
1526 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1527
1528         * modb-standard.el (elmo-msgdb-set-flag): Use
1529         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1530         (elmo-msgdb-unset-flag): Ditto.
1531
1532         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1533         `elmo-list-diff'.
1534
1535         * elmo-util.el (elmo-list-diff): Rewrite.
1536         (elmo-list-diff-nonsortable): New function.
1537
1538 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1539
1540         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1541         `elmo-multibypte-buffer-name'.  All referers are updated.
1542
1543 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1544
1545         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1546         (elmo-mime-entity-fragment-p): New function.
1547         (mime-elmo-buffer-entity): Added slot `reassembled'.
1548         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1549         (elmo-message-mime-entity-internal): New function (renamed from
1550         `elmo-message-mime-entity').
1551         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1552         (elmo-mime-make-reassembled-mime-entity): New function.
1553         (elmo-message-reassembled-mime-entity): Ditto.
1554         (elmo-mime-collect-message/partial-pieces): Ditto.
1555
1556 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1557
1558         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1559
1560         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1561         (elmo-with-enable-multibyte): New macro.
1562
1563         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1564
1565 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1566
1567         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1568         argument `number'.
1569         (elmo-filter-connect-signals): Follow the above change.
1570
1571 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1572
1573         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1574
1575         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1576         that only the first flag is used.
1577
1578 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1579
1580         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1581         if available.
1582
1583 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1584
1585         * elmo-signal.el: New file.
1586
1587         * elmo.el (toplevel): Require elmo-signal.
1588         (flag-changing, flag-changed, cache-changed): New signal.
1589         (elmo-folder): Remove slog `handlers'.
1590         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1591         `elmo-folder-notify-event'.
1592         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1593         (elmo-folder-unset-flag): Ditto.
1594         (elmo-event-handler): Abolish.
1595         (elmo-event-handler-flag-changed): Ditto.
1596         (elmo-event-handler-cache-changed): Ditto.
1597         (elmo-folder-add-handler): Ditto.
1598         (elmo-folder-remove-handler): Ditto.
1599         (elmo-folder-notify-event): Ditto.
1600
1601         * elmo-pipe.el (toplevel): Require elmo-signal.
1602         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1603         (elmo-pipe-connect-signals): New function.
1604         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1605         (elmo-folder-set-flag): Ditto.
1606         (elmo-folder-unset-flag): Ditto.
1607         (elmo-message-set-cached): Ditto.
1608
1609         * elmo-multi.el (toplevel): Require elmo-signal.
1610         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1611         (elmo-multi-connect-signals): New function.
1612         (elmo-multi-map-numbers): Ditto.
1613         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1614         (elmo-message-fetch): Ditto.
1615         (elmo-folder-set-flag): Ditto.
1616         (elmo-folder-unset-flag): Ditto.
1617
1618         * elmo-filter.el (toplevel): Require elmo-signal.
1619         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1620         (elmo-filter-connect-signals): New function.
1621         (elmo-filter-add-flag-count): Ditto.
1622         (elmo-message-fetch): Does not call
1623         `elmo-filter-folder-countup-message-flags' and
1624         `elmo-folder-notify-event'.
1625         (elmo-message-set-cached): Ditto.
1626         (elmo-folder-set-flag): Ditto.
1627         (elmo-folder-unset-flag): Ditto.
1628
1629         * elmo-version.el (elmo-version): Up to 2.13.2.
1630
1631 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1632
1633         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1634         `flags'.
1635
1636 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1637
1638         * elmo-filter.el (elmo-message-set-cached): Call
1639         `elmo-folder-notify-event' with event `cache-changed'.
1640
1641         * elmo-multi.el (elmo-message-set-cached): Ditto.
1642
1643         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1644
1645 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1646
1647         * elmo.el (elmo-folder-encache): Abolish.
1648
1649 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1650
1651         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1652         (elmo-folder-next-message-number-dop): Return appropriate negative
1653         integer.
1654
1655 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1656
1657         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1658         clearing pending operations.
1659         (elmo-folder-next-message-number-dop): Return appropriate negative
1660         integer.
1661
1662 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1663
1664         * elmo.el (toplevel): Added autoload setting for `md5'.
1665         (elmo-msgdb-path-encode-threshold): New user option.
1666         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1667         longer than `elmo-msgdb-path-encode-threshold'.
1668
1669         * elmo-flag.el (elmo-global-mark-migrate): Use
1670         `elmo-folder-expand-msgdb-path' instead of
1671         `elmo-folder-msgdb-path'.
1672
1673 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1674
1675         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1676         element of the difference is nil.
1677
1678 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1679
1680         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1681         to the check logic of file systems which are weak in colon character.
1682
1683 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1684
1685         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1686
1687 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1688
1689         * elmo-maildir.el (elmo-maildir-move-file): New function.
1690         (elmo-folder-append-buffer): Use it.
1691         (elmo-folder-append-messages): Ditto.
1692         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1693
1694         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1695         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1696
1697         * elmo-maildir.el (elmo-maildir-separator): New user option.
1698         (elmo-maildir-adjust-separator): New macro.
1699         (elmo-maildir-list-location): Use it.
1700         (elmo-maildir-update-current): Ditto.
1701         (elmo-maildir-set-mark): Ditto.
1702         (elmo-maildir-delete-mark): Ditto.
1703         (These changes are based on Hiroya Murata's patch [wl: 13437])
1704
1705 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1706
1707         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1708
1709 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1710
1711         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1712         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1713         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1714
1715 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1716
1717         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1718         Use `with-temp-buffer'.
1719
1720 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1721
1722         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1723
1724         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1725         `wl-read-search-condition').
1726         (elmo-read-search-condition-internal): Likewise.
1727
1728         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1729         (elmo-flag-valid-p): New function.
1730         (elmo-folder-initialize): Check flag name is valid.
1731
1732 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1733
1734         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1735         delimiter to obtain root mailbox itself.
1736
1737 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1738
1739         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1740         type mismatch.
1741
1742 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1743
1744         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1745         as t.
1746
1747 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1748
1749         * elmo-shimbun.el (toplevel): Require cl at compile.
1750
1751         * elmo-nntp.el (toplevel): Ditto.
1752
1753         * elmo-nmz.el (toplevel): Ditto.
1754
1755         * elmo-multi.el (toplevel): Ditto.
1756
1757         * elmo-file.el (toplevel): Ditto.
1758
1759         * elmo-dop.el (toplevel): Ditto.
1760
1761         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1762
1763 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1764
1765         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1766         as nil.
1767
1768         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1769         size of elmo-message-fetch-internal is 0 byte.
1770
1771 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1772
1773         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1774
1775 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1776
1777         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1778         always plugged.
1779
1780 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1781
1782         * elmo-maildir.el (elmo-map-message-fetch): Call
1783         `elmo-map-folder-set-flag'.
1784
1785         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1786         (elmo-message-fetch): Merge from
1787         `elmo-message-fetch-with-cache-process'.
1788
1789         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1790         (elmo-message-fetch): Define.
1791
1792         * elmo-nntp.el (elmo-message-fetch): Renamed from
1793         `elmo-message-fetch-with-cache-process'.
1794
1795         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1796         (elmo-message-fetch): Define.
1797
1798         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1799         search-key.
1800
1801         * elmo-shimbun.el (shimbun-mua-search-id): Use
1802         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1803         (elmo-shimbun-folder-shimbun-header): Ditto.
1804         (elmo-shimbun-get-headers): Ditto.
1805         (elmo-shimbun-update-overview): Ditto.
1806
1807         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1808
1809         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1810         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1811
1812 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1813
1814         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1815         message is cached.
1816         (elmo-message-fetch-string): Fixed argument.
1817
1818 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1819
1820         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1821         exchange order of arguments `section' and `unread'.
1822         (elmo-message-encache): Follow the API change.
1823         (elmo-message-match-condition): Ditto.
1824         (elmo-generic-folder-append-messages): Ditto.
1825         (elmo-message-fetch-string): New function.
1826
1827         * elmo-split.el (elmo-split-subr): Ditto.
1828
1829         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1830
1831         * elmo-pipe.el (elmo-message-fetch): Ditto.
1832
1833         * elmo-multi.el (elmo-message-fetch): Ditto.
1834
1835         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1836
1837         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1838
1839         * elmo-filter.el (elmo-message-fetch): Ditto.
1840
1841         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1842
1843         * elmo-imap4.el (mime-imap-location-section-body): Use
1844         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1845         follow the API change.
1846
1847 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1848
1849         * elmo-access.el: New file.
1850
1851         * elmo-null.el: Ditto.
1852
1853         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1854
1855 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1856
1857         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1858         (elmo-network-session): New attribute `last-accessed'.
1859         (elmo-network-get-session): Discard network cache if elapsed time
1860         since last-accessed is larger than elmo-network-session-idle-timeout.
1861
1862 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1863
1864         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1865         and added `number', `require-entireness'.
1866         (elmo-find-fetch-strategy): Rewrite.
1867         (elmo-message-fetch): Unset `unread' flag when argument unread is
1868         non-nil.
1869
1870         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1871
1872         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1873         (elmo-message-fetch): Notify event `flag-changed'.
1874
1875         * elmo-pipe.el: Likewise.
1876
1877         * elmo-mime.el (elmo-mime-entity): New class.
1878         (elmo-mime-entity-display-p): New generic function.
1879         (elmo-mime-entity-display): Ditto.
1880         (elmo-mime-entity-display-as-is): Ditto.
1881         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1882         elmo-mime-entity.
1883         (elmo-make-mime-message-location): Removed.
1884         (elmo-mime-message-display): Ditto.
1885         (elmo-mime-display-as-is): Ditto.
1886         (elmo-message-mime-entity): New function.
1887
1888         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1889
1890         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1891         change.
1892         (elmo-message-fetch): Re-count flagged message number and notify
1893         event `flag-changed'.
1894
1895         * elmo-version.el (elmo-version): Up to 2.13.1.
1896
1897 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * elmo-filter.el (elmo-message-field): Define.
1900         (elmo-message-set-field): Ditto.
1901
1902 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1903
1904         * elmo.el (elmo-message-set-cached): Call
1905         `elmo-folder-notify-event' with cache-changed.
1906         (elmo-event-handler-cache-changed): New generic function.
1907
1908 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1909
1910         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1911         instead of elmo-add-name-to-file.
1912         (elmo-folder-append-messages): Ditto.
1913
1914 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1915
1916         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1917
1918 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1919
1920         * elmo-version.el (elmo-version): Up to 2.13.0.
1921
1922         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1923         `auto'.
1924
1925         * modb-standard.el (modb-standard-economize-entity-size): Changed
1926         default value to `t'.
1927
1928         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1929         `standard'.
1930
1931         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1932         after parsing greeting string.
1933
1934 2004-11-23  Daishi Kato <daishi@axlight.com>
1935
1936         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1937         New user option.
1938         (elmo-spam-spamoracle-call): Use it.
1939
1940 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1941
1942         * elmo.el (elmo-message-accessible-p): Message in dop spool
1943         is accessible.
1944
1945 2004-11-23  Daishi Kato <daishi@axlight.com>
1946
1947         * elsp-spamoracle.el: New file.
1948
1949 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1950
1951         * elmo.el (elmo-message-flags-for-append): New function.
1952         (elmo-generic-folder-append-messages): Use it.
1953
1954         * elmo-split.el (elmo-split-subr): Ditto.
1955
1956         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1957         `flags' and use elmo-folder-append-buffer instead of
1958         write-region-as-binary.
1959         (elmo-dop-filter-pending-messages): New function.
1960         (elmo-folder-append-buffer-dop): Call
1961         elmo-dop-spool-folder-append-buffer with `flag'.
1962         (elmo-folder-set-flag-dop): Filter messages by
1963         elmo-dop-filter-pending-messages.
1964         (elmo-folder-unset-flag-dop): Ditto.
1965         (elmo-folder-append-buffer-dop-delayed): Use
1966         elmo-message-flags-for-append to get flags of the message and
1967         simplify.
1968
1969 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1970
1971         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1972
1973 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1974
1975         * elmo.el (elmo-folder): Added handlers slot.
1976         (elmo-event-handler): New class.
1977         (elmo-event-handler-flag-changed): New API.
1978         (elmo-folder-add-handler): New function.
1979         (elmo-folder-remove-handler): Ditto.
1980         (elmo-folder-notify-event): Ditto.
1981         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1982         `flag-changed'.
1983         (elmo-folder-unset-flag): Ditto.
1984
1985         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1986         (elmo-folder-unset-flag): Ditto.
1987
1988         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1989         (elmo-folder-unset-flag): Ditto.
1990
1991         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1992         (elmo-folder-unset-flag): Ditto.
1993
1994         * elmo-version.el (elmo-version): Up to 2.11.33.
1995
1996 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1997
1998         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1999
2000 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2001
2002         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2003
2004         * elmo-flag.el (elmo-folder-unset-flag): Define.
2005         (elmo-global-flag-detach): Do process when the flag is not target
2006         flag.
2007
2008 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2009
2010         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2011         variable.
2012         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2013
2014 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2015
2016         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2017         function.
2018         (elmo-folder-delete-messages): Detach messages before delete
2019         messages from target folder.
2020         (elmo-folder-detach-messages): Set updated number-list to slot.
2021
2022 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2023
2024         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2025
2026 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2027
2028         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2029
2030 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2031
2032         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2033         internal use only).
2034         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2035         not modified.
2036         (elmo-folder-delete-messages): Define.
2037         (elmo-folder-move-messages): Don't call
2038         `elmo-folder-detach-messages'.
2039         (elmo-folder-synchronize): Rewrite.
2040         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2041
2042         * elmo-util.el (elmo-last): New function.
2043         (elmo-set-list): Ditto.
2044         (elmo-number-set-delete-list): Ditto.
2045         (elmo-number-set-delete): Ditto.
2046
2047         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2048
2049         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2050         `elmo-folder-delete-messages' and don't delete location map.
2051         (elmo-folder-detach-messages): Define.
2052
2053         * elmo-imap4.el (elmo-folder-delete): Use
2054         `elmo-folder-delete-messages-internal' instead of
2055         `elmo-folder-delete-messages'.
2056
2057         * elmo-filter.el (elmo-folder-delete-messages): Call
2058         `elmo-folder-detach-messages'.
2059         (elmo-folder-detach-messages): Don't call
2060         `elmo-folder-detach-messages' for target folder.
2061
2062         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2063         message deletion is succeeded.
2064
2065         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2066
2067         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2068         from `elmo-folder-delete-messages'.
2069
2070         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2071
2072         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2073
2074         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2075
2076         * elmo-version.el (elmo-version): Up to 2.11.32.
2077
2078 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2079
2080         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2081         (elmo-global-flag-list): Added obsolete variable setting.
2082
2083         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2084
2085         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2086         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2087         `elmo-mime-display-header-analysis' is nil.
2088
2089         * elmo-flag.el (elmo-global-flags): Renamed from
2090         `elmo-global-flag-list' (All other related portions are changed).
2091         (elmo-local-flags): New variable.
2092         (elmo-local-flag-p): New function.
2093         (elmo-global-flag-set-internal): Cause an error when flag is not
2094         global.
2095
2096 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2097
2098         * elmo-util.el (elmo-concat-path): Treat empty path.
2099
2100 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2101
2102         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2103         field-or-fields).
2104         (elmo-split-address-match): Ditto.
2105         (elmo-split-equal): Ditto.
2106         (elmo-split-match): Ditto.
2107
2108 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2109
2110         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2111         (elmo-generic-folder-append-messages): If src message exists but
2112         has no flag, pass (read) for the FLAG argument of
2113         `elmo-folder-append-buffer'. Otherwise, pass nil.
2114
2115         * elmo-split.el (elmo-split-subr): Likewise.
2116
2117         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2118
2119         * elmo-multi.el (elmo-message-flags): Ditto.
2120
2121         * elmo-filter.el (elmo-message-flags): Ditto.
2122
2123         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2124         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2125         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2126         
2127 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2128
2129         * elmo-split.el (elmo-split-rule): Update comment.
2130         (elmo-split-address-equal): Allow 2nd argument to be a list.
2131         (elmo-split-address-match): Ditto.
2132         (elmo-split-equal): Ditto.
2133         (elmo-split-match): Ditto.
2134
2135 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2136
2137         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2138         (elmo-folder-append-msgdb): Don't treat `read'.
2139         (elmo-message-flags): Don't return `read'.
2140
2141         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2142         (elmo-folder-unset-read-delayed): Ditto.
2143
2144         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2145
2146 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2147
2148         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2149         deletion.
2150
2151 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2152
2153         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2154         header.
2155
2156 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2157
2158         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2159         here.
2160         (elmo-msgdb-save): Bind inhibit-quit.
2161         (modb-standard-message-entity): Ditto.
2162
2163 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2164
2165         * elmo-database.el: No need to require elmo-msgdb.
2166
2167 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2168
2169         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2170         instead of `elmo-list-subdirectories'.
2171
2172 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2173
2174         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2175         group entry.
2176         (elmo-folder-exists-p): "[" is empty.
2177         (elmo-folder-list-subfolders): Define.
2178         (elmo-folder-have-subfolder-p): Ditto.
2179
2180 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2181
2182         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2183
2184 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2185
2186         * elmo-filter.el (elmo-folder-local-p): Define.
2187
2188 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2189
2190         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2191         when entity is garbaged.
2192         (modb-standard-save-entity-1): Don't modify the original entity.
2193
2194 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2195
2196         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2197
2198 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2199
2200         * elmo.el (elmo-strict-folder-diff): Use
2201         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2202
2203 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2204
2205         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2206         (elmo-msgdb-message-number): Ditto.
2207         (elmo-msgdb-message-field): Ditto.
2208
2209         * modb-standard.el (modb-standard-economize-entity-size): New user
2210         option.
2211         (modb-standard-loaded-message-id): New inline function.
2212         (modb-standard-load-entity): Use it.
2213         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2214         throw message-id string away.
2215         (elmo-msgdb-flag-available-p): Define.
2216         (elmo-msgdb-message-number): Ditto.
2217         (elmo-msgdb-message-field): Ditto.
2218
2219         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2220         (suppoted -> supported).
2221         (modb-legacy-supported-flag-p): Ditto.
2222         (elmo-msgdb-set-flag): Ditto.
2223         (elmo-msgdb-unset-flag): Ditto.
2224         (elmo-msgdb-flag-available-p): Define.
2225
2226         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2227         is `t', treat it as legacy entity.
2228         
2229         * elmo.el (elmo-message-flag-available-p): New generic function.
2230         (elmo-message-number): Ditto.
2231         (elmo-message-field): Use `elmo-msgdb-message-field'.
2232
2233         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2234
2235         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2236         (elmo-message-number): Ditto.
2237
2238         * elmo-multi.el (elmo-message-number): Define.
2239         (elmo-message-flag-available-p): Ditto.
2240
2241         * elmo-filter.el (elmo-message-flag-available-p): Define.
2242         (elmo-message-number): Ditto.
2243
2244         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2245         (elmo-folder-initialize): Load `max-number'.
2246         (elmo-folder-commit): Save it.
2247         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2248         (elmo-global-flag-set-internal): Set up max-number slot.
2249
2250 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2251
2252         * elmo-version.el (elmo-version): Up to 2.11.31.
2253
2254 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2255
2256         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2257         unibyte string of the current buffer for the argument of `md5'
2258         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2259
2260 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2261
2262         * modb-legacy.el (modb-legacy-flag-list): New constant.
2263         (modb-legacy-suppoted-flag-p): New internal function.
2264         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2265         (elmo-msgdb-unset-flag): Ditto.
2266
2267 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2268
2269         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2270
2271         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2272         from msgdb.
2273
2274 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2275
2276         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2277         (follow the API change).
2278
2279         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2280
2281 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2282
2283         * modb-standard.el (modb-standard-digest-flags): Abolish.
2284         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2285
2286         * elmo-vars.el (elmo-digest-flags): New variable.
2287         (elmo-preserved-flags): Moved from elmo-flag.el.
2288
2289         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2290         (elmo-imap4-flag-to-imap-criteria): Ditto.
2291         (elmo-imap4-folder-list-flagged): Use it.
2292
2293         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2294
2295         * elmo.el (elmo-folder-count-flags): Changed return value.
2296
2297         * elmo-flag.el (elmo-preserved-flags): New variable.
2298         (elmo-get-global-flags): Use it.
2299
2300         * modb-standard.el (modb-standard-digest-flags): New variable.
2301         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2302         Changed behavior of `any'.
2303
2304         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2305         which are defined the Internet draft
2306         (draft-melnikov-imap-keywords-03.txt).
2307         (elmo-imap4-flags-to-imap): New function.
2308         (elmo-folder-append-buffer): Use it.
2309
2310         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2311         in the docstring.
2312
2313         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2314         avoid the bug of Emacs 21.3.
2315
2316 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2317
2318         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2319         function find-coding-system does not exist.
2320
2321 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2322
2323         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2324         parsing.
2325
2326 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2327
2328         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2329         response codes.
2330
2331 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2332
2333         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2334         (elmo-network-close-session): Follow the changes in
2335         `elmo-pop3-read-response'.
2336         (elmo-pop3-auth-user): Ditto.
2337         (elmo-pop3-auth-apop): Ditto.
2338         (elmo-network-initialize-session): Ditto.
2339         (elmo-network-authenticate-session): Ditto.
2340         (elmo-network-setup-session): Ditto.
2341         (elmo-folder-status): Ditto.
2342         (elmo-message-fetch-plugged): Ditto.
2343         (elmo-pop3-delete-msg): Ditto.
2344
2345 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2346
2347         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2348         on failure.
2349
2350 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2351
2352         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2353         style.
2354         (elmo-bind-directory): Ditto.
2355
2356 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2357
2358         * elmo.el (elmo-folder-append-messages): Note on return value.
2359         * elmo-archive.el (elmo-folder-append-messages): Don't return
2360         message numbers which could not be appended.
2361
2362 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2363
2364         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2365
2366 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2367
2368         * elmo-version.el (elmo-version): Up to 2.11.30.
2369
2370 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2371
2372         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2373         `mask'.
2374
2375         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2376
2377         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2378         (elmo-multi-split-numbers): Add elmo-folder object into each
2379         element of return value at first.
2380         (elmo-folder-delete-messages): Follow the above change.
2381         (elmo-folder-detach-messages): Ditto.
2382
2383         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2384         number which is synchronized in target folder.
2385
2386 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2387
2388         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2389         Change default value to symbol `all'.
2390         (elmo-map-message-fetch): Change condition to update overview
2391         follow the above.
2392
2393 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2394
2395         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2396         behavior to update overview.
2397         (elmo-shimbun-update-overview-folder-list): Note it.
2398
2399 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2400
2401         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2402         recursive call.
2403
2404 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2405
2406         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2407         buffer-disable-undo, it is unnecessary.
2408         (elmo-spam-register-good-messages): Ditto.
2409
2410         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2411         Ditto.
2412
2413         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2414
2415 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2416
2417         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2418         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2419         elmo-set-buffer-multibyte.
2420         (elmo-object-load): Ditto.
2421         (elmo-save-buffer): Ditto.
2422         (elmo-delete-char): Ditto.
2423         (elmo-file-field-primitive-condition-match): Ditto.
2424         (elmo-mime-string): Ditto.
2425
2426         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2427         (elmo-archive-field-condition-match): Ditto.
2428
2429         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2430
2431         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2432
2433         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2434         (elmo-nntp-msgdb-create-message): Ditto.
2435
2436         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2437
2438         * elmo.el (elmo-message-match-condition): Ditto.
2439         (elmo-message-match-condition): Ditto.
2440
2441         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2442         Ditto.
2443
2444         * elmo-version.el (elmo-version): Up to 2.11.29.
2445
2446         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2447         (elsp-header): New backend.
2448
2449         * elmo-util.el (elmo-decoded-field-body): New function.
2450
2451 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2452
2453         * elmo-version.el (elmo-version): Up to 2.11.28.
2454
2455 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2456
2457         * elmo-filter.el: Rewrite.
2458
2459         * elmo-version.el (elmo-version): Up to 2.11.27.
2460
2461 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2462
2463         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2464         msgdb path for the localdir folder with absolute path.
2465
2466         * utf7.el: Synch up with latest gnus/utf7.el;
2467         Modified for latest Emacs.
2468
2469 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2470
2471         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2472         shimbun backend couldn't open.
2473
2474 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2475
2476         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2477         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2478         when a destination folder is a filter folder.
2479
2480 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2481
2482         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2483         (elmo-generic-folder-append-messages): Call elmo-message-flags
2484         with argument `msgid'.
2485
2486         * elmo-split.el (elmo-split-subr): Ditto.
2487
2488         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2489
2490         * elmo-multi.el (elmo-message-flags): Ditto.
2491
2492 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2493
2494         * elmo.el (elmo-folder): Add new slot `flag-table'.
2495         (elmo-folder-flag-table): New API.
2496         (elmo-folder-close-flag-table): Ditto.
2497         (elmo-folder-preserve-flags): New function.
2498         (elmo-generic-folder-append-messages): Use
2499         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2500         Flag of a non-registered message, it sets to nil.
2501         Does not set flag to flag-table.
2502
2503         * elmo-maildir.el (elmo-folder-append-buffer): Use
2504         `elmo-folder-preserve-flags'.
2505         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2506         `elmo-folder-close-flag-table'.
2507
2508         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2509         (elmo-archive-folder-append-buffer): Use
2510         `elmo-folder-preserve-flags'.
2511
2512         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2513
2514         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2515
2516         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2517         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2518         `elmo-folder-close-flag-table'.
2519
2520         * elmo-version.el (elmo-version): Up to 2.11.26.
2521
2522 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2523
2524         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2525
2526         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2527         md5's 4th and 5th argument (non-existent in flim one).
2528
2529 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2530
2531         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2532         message, It sets to nil.
2533
2534 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2535
2536         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2537         list is non-nil.
2538
2539 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2540
2541         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2542
2543         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2544
2545         * elmo-util.el (elmo-uniq-sorted-list): New function.
2546         (elmo-make-number-list): Ditto.
2547         (elmo-number-set-to-number-list): Use elmo-make-number-list
2548         and don't use nreverse.
2549
2550 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2551
2552         * elmo-version.el (elmo-version): Up to 2.11.25.
2553
2554 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2555
2556         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2557         field not exists in message, Use md5 message digest of header.
2558
2559 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2560
2561         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2562         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2563         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2564         * elmo-split.el (elmo-split-subr): Check return value of
2565         elmo-folder-append-buffer.
2566
2567         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2568         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2569
2570         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2571         message-id.
2572
2573 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2574
2575         * elmo-split.el (elmo-split-subr): Append message with flag.
2576
2577         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2578         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2579         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2580
2581 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2582
2583         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2584         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2585         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2586
2587 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2588
2589         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2590         with a function call of `process-buffer'.  All callers are updated.
2591         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2592         Remove redundant `set-buffer' in a while loop.
2593
2594 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2595
2596         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2597         calls.
2598
2599 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2600
2601         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2602         elsp-spamfilter-register-buffer-internal with current buffer.
2603         (elmo-spam-register-spam-buffer): Ditto.
2604         (elmo-spam-register-good-buffer): Ditto.
2605
2606 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2607
2608         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2609         if it is not contained in the response(A workaround for courier-imap).
2610
2611 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2612
2613         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2614         parenthesis.
2615
2616 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2617
2618         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2619         range.
2620
2621 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2622
2623         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2624         of nconc.
2625
2626         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2627         argument handler.
2628         (elmo-msgdb-message-match-condition): Follow the change above.
2629
2630 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2631
2632         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2633         folder name.
2634
2635 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2636
2637         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2638
2639 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2640
2641         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2642
2643 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2644
2645         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2646         not found.
2647
2648 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2649
2650         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2651         value.
2652         (elmo-file-command-argument): Undo last change for cygwin.
2653         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2654         Don't return nil.
2655         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2656
2657 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2658
2659         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2660         value returned from elmo-file-find is nil.
2661
2662 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2663
2664         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2665         to elmo-vars.el.
2666
2667         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2668         instead of insert-file-contents-as-binary.
2669         (elmo-message-set-field): New generic function.
2670
2671         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2672         behavior change on `split-string'.
2673
2674         * elmo-file.el (elmo-file-find): New function.
2675         (elmo-file-command): New user option.
2676         (elmo-file-command-argument): Ditto.
2677         (elmo-file-fetch-max-size): Ditto.
2678         (elmo-file-detect-format): New function.
2679         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2680         Use elmo-file-detect-format.
2681         (elmo-map-folder-list-message-locations): Don't treat directories.
2682
2683 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2684
2685         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2686         (elmo-passwd-alist-clear): Shred password before clear.
2687         (elmo-remove-passwd): Remove all mached pair.
2688
2689 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2690
2691         * elmo.el (elmo-folder-synchronize): Fix description of the return
2692         value.
2693
2694 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2695
2696         * elmo.el (elmo-message-fetch-bodystructure): New method.
2697         (elmo-message-fetch-bodystructure): Define default.
2698
2699         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2700         elmo-message-fetch-bodystructure.
2701         (elmo-message-fetch-bodystructure): Define.
2702
2703         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2704
2705 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2706
2707         * elmo-filter.el (elmo-message-folder): Define.
2708
2709 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2710
2711         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2712         elmo-delete-cr-buffer.
2713
2714         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2715
2716         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2717
2718         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2719
2720         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2721         type seems to be a text.
2722
2723 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2724
2725         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2726         (elmo-spam-register-good-buffer): Ditto.
2727         (elmo-spam-spamassassin-register-messages): Ditto.
2728
2729         * elmo-util.el (elmo-string-member-ignore-case): Define with
2730         static-cond.
2731
2732 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2733
2734         * elmo.el (elmo-folder-type): Undo last change.
2735
2736         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2737
2738         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2739         warnings.
2740
2741         * elmo-file.el: New file.
2742         
2743         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2744
2745         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2746         variable.
2747         (elmo-spam-spamassassin-register-messages): New inline function.
2748         (elmo-spam-register-spam-messages): Define.
2749         (elmo-spam-register-good-messages): Ditto.
2750
2751         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2752         Fixed typo.
2753
2754         * elmo.el (toplevel): Added autoload setting for
2755         `elmo-get-global-flags'.
2756         (elmo-message-has-global-flag-p): New function.
2757         (elmo-message-set-global-flags): Ditto.
2758         (elmo-folder-type): Improvement for name: format.
2759
2760         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2761         availability of keyword flags.
2762         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2763         (elmo-folder-list-flagged-plugged): Renamed from
2764         elmo-folder-list-flagged-unplugged.
2765         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2766         accept any flag as keyword flag.
2767         (elmo-folder-set-flag-plugged): Accept keyword flags.
2768         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2769
2770         * elmo-flag.el (elmo-get-global-flags): New function.
2771
2772         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2773         folders.
2774
2775         * elmo-version.el (elmo-version): Up to 2.11.24.
2776
2777 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2778
2779         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2780         elmo-multiple-field-body instead of std11-field-body to check all
2781         headers.
2782
2783 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2784
2785         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2786         or "size".
2787
2788 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2789
2790         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2791         unintern is unbound.
2792
2793 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2794
2795         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2796         Protect from infinite loop.
2797
2798 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2799
2800         * elsp-bogofilter.el
2801         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2802         (elmo-spam-bogofilter-register-messages): New internal function.
2803         (elmo-spam-register-spam-messages): Define.
2804         (elmo-spam-register-good-messages): Ditto.
2805
2806 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2807
2808         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2809         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2810         (elmo-spam-bogofilter-call): Fixed the last change.
2811         (elmo-spam-bogofilter-arguments): Ditto.
2812
2813         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2814         Follow the options change of latest bogofilter.
2815
2816         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2817         (elmo-spam-bogofilter-good-switch): Ditto.
2818         (elmo-spam-bogofilter-arguments-alist): New user option.
2819         (elmo-spam-bogofilter-debug): Ditto.
2820         (elmo-spam-bogofilter-call): Renamed from
2821         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2822         is non-nil, insert output in buffer for debug.
2823         (elmo-spam-bogofilter-arguments): New macro.
2824         (elmo-spam-buffer-spam-p): Use it.
2825         (elsp-bogofilter-register-buffer): Ditto.
2826
2827 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2828
2829         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2830         regexp.
2831
2832 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2833
2834         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2835         value as "ruby".
2836         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2837         (elmo-spam-bsfilter-program): Set default value as full path for
2838         `bsfilter'.
2839         (elmo-spam-bsfilter-debug): New user option.
2840         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2841         non-nil, insert output in buffer for debug. Fix treating of
2842         argument.
2843
2844 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2845
2846         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2847         `elmo-maildir-flag-specs' element instead of one.
2848         (elmo-map-folder-unset-flag): Ditto.
2849         (Reported by Ken Makimura <macky@astem.or.jp>)
2850
2851         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2852         (elmo-folder-unset-flag-plugged): Ditto.
2853
2854 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2855
2856         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2857         to `reads' slot only if `in-msgdb' is nil.
2858
2859 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2860
2861         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2862         and complement argument list.
2863
2864 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2865
2866         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2867         instead of elmo-folder-list-flagged.
2868
2869 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2870
2871         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2872
2873         * elsp-bsfilter.el: New file.
2874
2875         * elmo-pipe.el (elmo-folder-list-unreads,
2876         elmo-folder-list-answereds,
2877         elmo-folder-list-importants,
2878         elmo-folder-flag-as-important,
2879         elmo-folder-unflag-important,
2880         elmo-folder-flag-as-read,
2881         elmo-folder-unflag-read,
2882         elmo-folder-flag-as-answered,
2883         elmo-folder-unflag-answered): Remove.
2884         (elmo-folder-set-flag): Define.
2885         (elmo-folder-unset-flag): Ditto.
2886
2887         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2888         (elmo-folder-set-flag): Define.
2889         (elmo-folder-unset-flag): Ditto.
2890         (elmo-folder-list-unreads): Remove.
2891         (elmo-folder-list-flagged): Define.
2892
2893         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2894         (elmo-folder-list-unreads,
2895         elmo-folder-list-importants,
2896         elmo-folder-list-answereds,
2897         elmo-folder-list-unreads-plugged,
2898         elmo-folder-list-importants-plugged,
2899         elmo-folder-list-answereds-plugged): Remove.
2900         (elmo-folder-list-flagged-plugged): New method.
2901         (elmo-folder-unflag-important,
2902         elmo-folder-flag-as-important,
2903         elmo-folder-unflag-read,
2904         elmo-folder-flag-as-read,
2905         elmo-folder-unflag-answered,
2906         elmo-folder-flag-as-answered,
2907         elmo-folder-flag-as-read-unplugged,
2908         elmo-folder-unflag-read-unplugged,
2909         elmo-folder-flag-as-important-unplugged,
2910         elmo-folder-unflag-important-unplugged,
2911         elmo-folder-flag-as-answered-unplugged,
2912         elmo-folder-unflag-answered-unplugged): Remove.
2913         (elmo-folder-set-flag): Define.
2914         (elmo-folder-unset-flag): Ditto.
2915         (elmo-folder-set-flag-unplugged): Ditto.
2916         (elmo-folder-unset-flag-unplugged): Ditto.
2917
2918         * elmo-multi.el (elmo-folder-list-unreads,
2919         elmo-folder-list-answereds,
2920         elmo-folder-list-importants,
2921         elmo-folder-flag-as-important,
2922         elmo-folder-unflag-important,
2923         elmo-folder-flag-as-read,
2924         elmo-folder-unflag-read,
2925         elmo-folder-flag-as-answered,
2926         elmo-folder-unflag-answered): Remove.
2927         (elmo-folder-set-flag): Define.
2928         (elmo-folder-unset-flag): Ditto.
2929
2930         * elmo-map.el (elmo-map-folder-unflag-important,
2931         elmo-map-folder-flag-as-important,
2932         elmo-map-folder-unflag-read,
2933         elmo-map-folder-flag-as-read,
2934         elmo-map-folder-unflag-answered,
2935         elmo-map-folder-flag-as-answered): Remove.
2936         (elmo-map-folder-set-flag): New method.
2937         (elmo-map-folder-unset-flag): Ditto.
2938         (elmo-map-folder-list-unreads,
2939         elmo-map-folder-list-importants,
2940         elmo-map-folder-list-answereds): Remove.
2941         (elmo-folder-list-flagged-internal): Define.
2942         (elmo-map-folder-list-flagged): New method.
2943
2944         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2945         (elmo-map-folder-list-unreads,
2946         elmo-map-folder-list-importants,
2947         elmo-map-folder-list-flagged): Remove.
2948         (elmo-map-folder-list-flagged): Define.
2949         (elmo-map-folder-flag-as-important,
2950         elmo-map-folder-unflag-important,
2951         elmo-map-folder-flag-as-read,
2952         elmo-map-folder-unflag-read,
2953         elmo-map-folder-flag-as-answered,
2954         elmo-map-folder-unflag-answered): Remove.
2955         (elmo-maildir-set-mark-messages): New internal function.
2956         (elmo-map-folder-set-flag): Define.
2957         (elmo-map-folder-unset-flag): Ditto.
2958
2959         * elmo.el (toplevel): Added autoload setting for
2960         `elmo-folder-list-global-flag-messages'.
2961         (elmo-folder-list-unreads,
2962         elmo-folder-list-importants,
2963         elmo-folder-list-answereds): Remove.
2964         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2965         Return a list whitch merged with messages have global flag.
2966         (elmo-folder-list-flagged-internal): New method.
2967         (elmo-folder-unflag-important,
2968         elmo-folder-flag-as-important,
2969         elmo-folder-unflag-read,
2970         elmo-folder-flag-as-read,
2971         elmo-folder-unflag-answered,
2972         elmo-folder-flag-as-answered): Remove.
2973         (elmo-folder-set-flag): New method.
2974         (elmo-folder-unset-flag): Ditto.
2975         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2976         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2977
2978         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2979         (elmo-folder-list-unreads-plugged,
2980         elmo-folder-list-importants-plugged,
2981         elmo-folder-list-answereds-plugged,
2982         elmo-folder-list-flagged-unplugged,
2983         elmo-folder-unflag-important-plugged,
2984         elmo-folder-flag-as-important-plugged,
2985         elmo-folder-unflag-read-plugged,
2986         elmo-folder-flag-as-read-plugged,
2987         elmo-folder-unflag-answered-plugged,
2988         elmo-folder-flag-as-answered-plugged): Remove.
2989         (elmo-folder-set-flag-plugged,
2990         elmo-folder-unset-flag-plugged): Define.
2991
2992         * elmo-flag.el (elmo-folder-initialize): Register to
2993         `elmo-global-flag-list' if flag is not global.
2994         (elmo-folder-append-messages): Set flag to source messages.
2995
2996         * elmo-filter.el (elmo-filter-folder-list-unreads,
2997         elmo-folder-list-unreads,
2998         elmo-filter-folder-list-importants,
2999         elmo-folder-list-importants,
3000         elmo-folder-flag-as-read,
3001         elmo-folder-unflag-read,
3002         elmo-folder-flag-as-important,
3003         elmo-folder-unflag-important,
3004         elmo-folder-flag-as-answered,
3005         elmo-folder-unflag-answered): Remove.
3006         (elmo-folder-set-flag): Define.
3007         (elmo-folder-unset-flag): Ditto.
3008
3009         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3010         elmo-folder-unflag-read-dop,
3011         elmo-folder-flag-as-important-dop,
3012         elmo-folder-unflag-important-dop,
3013         elmo-folder-flag-as-answered-dop,
3014         elmo-folder-unflag-answered-dop): Remove.
3015         (elmo-folder-set-flag-dop,
3016         elmo-folder-unset-flag-dop,
3017         elmo-folder-set-important-delayed,
3018         elmo-folder-unset-important-delayed,
3019         elmo-folder-set-read-delayed,
3020         elmo-folder-unset-read-delayed,
3021         elmo-folder-set-answered-delayed,
3022         elmo-folder-unset-answered-delayed): New function.
3023         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3024         (elmo-dop-queue-method-name-alist): Ditto.
3025
3026         * elmo-version.el (elmo-version): Up to 2.11.23.
3027
3028 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3029
3030         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3031
3032         * elsp-sa.el: New file.
3033
3034 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3035
3036         * modb-standard.el (modb-standard-message-entity): New function.
3037         (elmo-msgdb-message-entity): Use it.
3038
3039 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3040
3041         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3042         behavior when one-level is nil.
3043
3044         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3045
3046         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3047
3048 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3049
3050         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3051         get max number.
3052         (elmo-generic-folder-diff): Ditto.
3053
3054         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3055         (elmo-folder-update-number): Ditto.
3056
3057         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3058         (elmo-folder-next-message-number-dop): Ditto.
3059
3060 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3061
3062         * elmo-filter.el (elmo-folder-msgdb-create): Use
3063         `elmo-message-entity' and `elmo-message-flags' instead of
3064         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3065
3066 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3067
3068         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3069         `if-exists'.
3070
3071 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3072
3073         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3074
3075         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3076
3077         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3078
3079 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3080
3081         * elmo-version.el (elmo-version): Up to 2.11.22.
3082
3083 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3084
3085         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3086
3087 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3088
3089         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3090         if the message dose not exist.
3091
3092 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3093
3094         * elmo-version.el (elmo-version): Up to 2.11.21.
3095
3096 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3097
3098         * modb-standard.el (toplevel): Don't require mime.
3099
3100 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3101
3102         * elsp-bogofilter.el (toplevel): Don't require path-util.
3103         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3104         (elmo-spam-bogofilter-header): Abolish.
3105         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3106         (elmo-spam-bogofilter-args): New user option.
3107         (elsp-bogofilter-call-bogofilter): New internal function.
3108         (elmo-spam-buffer-spam-p): Use it.
3109         (elsp-bogofilter-register-buffer): Renamed from
3110         `elmo-spam-bogofilter-register-buffer';
3111         Use `elsp-bogofilter-call-bogofilter'.
3112         (elmo-spam-register-spam-buffer): Follow the change above.
3113         (elmo-spam-register-good-buffer): Ditto.
3114
3115 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3116
3117         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3118         message-id is nil do nothing.
3119
3120 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3121
3122         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3123         Revival.
3124         (elmo-imap4-session): Removed use-flag slot.
3125         (elmo-imap4-session-select-mailbox): Undo last change.
3126         (elmo-folder-use-flag-p): Use
3127         elmo-imap4-disuse-server-flag-mailbox-regexp.
3128
3129 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3130
3131         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3132         (elmo-imap4-session-select-mailbox): Set it up.
3133         (elmo-folder-use-flag-p): Return value of use-flag slot.
3134
3135 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3136
3137         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3138         message-id is nil.
3139         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3140
3141         * modb-entity.el (elmo-message-entity-handler): Likewise.
3142
3143 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3144
3145         * elmo.el (toplevel): Remove setting of autoloding for
3146         elmo-global-flag-initialize.
3147         (elmo-init): Don't call elmo-global-flag-initialize.
3148         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3149
3150         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3151         (elmo-global-mark-migrate): Don't call it.
3152         (elmo-global-mark-upgrade): Ditto.
3153
3154 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3155
3156         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3157         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3158
3159         * elmo-vars.el (elmo-init-hook): New user option.
3160
3161         * elmo.el (elmo-init): Run the elmo-init-hook.
3162
3163         * elmo-flag.el (elmo-global-mark-migrate): New function.
3164
3165 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3166
3167         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3168         Undo last change (move to elmo-msgdb-unset-flag).
3169         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3170         flag is unset.
3171
3172 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3173
3174         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3175         read flag is set.
3176         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3177         (elmo-msgdb-unset-flag): Ditto.
3178
3179 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3180
3181         * elmo-split.el (elmo-split): Return split message count.
3182
3183 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3184
3185         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3186         is nil.
3187
3188 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3189
3190         * elmo.el (elmo-folder-unflag-important): Call
3191         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3192         a symbol `always'.
3193
3194         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3195         before unset flag.
3196         (elmo-global-flag-detach): Delete the message from flag folder, if
3197         `delete-if-none' is a symbol `always'.
3198
3199 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3200
3201         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3202         `elmo-spam-spamfilter-decode-buffer'.
3203         (elsp-spamfilter-register-buffer-internal): New internal function.
3204         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3205         (elmo-spam-register-spam-buffer): Ditto.
3206         (elmo-spam-register-good-buffer): Ditto.
3207
3208         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3209         change.
3210         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3211         (elmo-spam-register-spam-buffer): Follow the API change.
3212         (elmo-spam-register-good-buffer): Ditto.
3213
3214         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3215         (elmo-split-spam-p): Added argument plist; Call
3216         `elmo-spam-buffer-spam-p' with new argument register.
3217
3218         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3219         `register'.
3220         (elmo-spam-message-spam-p): Ditto.
3221         (elmo-spam-register-spam-buffer): Added optional argument
3222         `restore'.
3223         (elmo-spam-register-good-buffer): Ditto.
3224         (elmo-spam-register-spam-messages): Ditto.
3225         (elmo-spam-register-good-messages): Ditto.
3226
3227 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3228
3229         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3230         register into good corpus.
3231         (elmo-spam-register-good-buffer): Fixed to register into bad
3232         corpus.
3233
3234 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3235
3236         * elmo-version.el (elmo-version): Up to 2.11.20.
3237
3238         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3239         change.
3240
3241         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3242         flag without depending on \Recent flag.
3243
3244 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3245
3246         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3247         (elmo-spam-modified-p): Defined.
3248         (elmo-spam-save-status): Set `modified' slot to nil.
3249         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3250         (elmo-spam-register-good-buffer): Ditto.
3251
3252         * elmo-spam.el (elmo-spam-modified-p): New API.
3253
3254 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3255
3256         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3257         duplicate definition.
3258
3259         * elmo-util.el (elmo-unfold-field-body): New function.
3260         (elmo-msgdb-get-message-id-from-buffer): Use it.
3261
3262         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3263         Fixed the last change; Use elmo-unfold-field-body.
3264
3265 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3266
3267         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3268         Unfold date value.
3269
3270 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3271
3272         * elmo-spam.el (elmo-spam-save-status): New API.
3273
3274         * elsp-spamfilter.el: New file.
3275
3276 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3277
3278         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3279
3280 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3281
3282         * elmo-split.el (elmo-split-spam-p): New function.
3283
3284         * elmo-spam.el: New file.
3285
3286         * elsp-bogofilter.el: Ditto.
3287
3288 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3289
3290         * elmo.el (elmo-folder-next-message-number): New API.
3291         (elmo-folder-next-message-number): Define.
3292         (elmo-message-field): Don't check folder length.
3293
3294         * elmo-net.el (elmo-folder-next-message-number): Define.
3295         (elmo-folder-next-message-number-unplugged): Define.
3296
3297         * elmo-map.el (elmo-folder-next-message-number): Define.
3298         (elmo-folder-delete-messages): Clear hash value.
3299
3300         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3301
3302         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3303         (elmo-folder-delete-messages-dop-delayed): Always return t.
3304
3305         * elmo-version.el (elmo-version): Up to 2.11.19.
3306
3307 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3308
3309         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3310         change.
3311
3312         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3313         identical cons cell into the mark-alist and the hash table.
3314
3315 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3316
3317         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3318         elmo-folder-list-messages with argument `visible-only' as t.
3319
3320         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3321         (elmo-folder-msgdb-create): Check the target folder.
3322
3323 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3324
3325         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3326         `permanentflag' instead of `flags'.
3327         (elmo-folder-open): Ditto.
3328         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3329         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3330         (elmo-folder-use-flag-p): Always return t.
3331         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3332         `permanentflags' does not exist.
3333         (elmo-folder-open): Ditto.
3334
3335 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3336
3337         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3338         is nil.
3339         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3340
3341         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3342         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3343         response.
3344         (elmo-folder-open): Ditto.
3345         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3346         slot of the session includes the flag.
3347         (elmo-imap4-session-flag-available-p): New function.
3348         (elmo-imap4-folder-list-flagged): Ditto.
3349         (elmo-folder-list-unreads-plugged): Use it.
3350         (elmo-folder-list-importants-plugged): Ditto.
3351         (elmo-folder-list-answereds-plugged): Ditto.
3352         (elmo-imap4-search-internal-primitive): Ditto.
3353         (elmo-imap4-folder-list-any-plugged,
3354         elmo-imap4-folder-list-digest-plugged): Abolish.
3355
3356         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3357         if numbers is nil.
3358
3359 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3360
3361         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3362
3363 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3364
3365         * elmo-util.el (elmo-get-hash-val): Simplify.
3366         (elmo-set-hash-val): Rewrite.
3367
3368 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3369
3370         * elmo.el (elmo-folder-list-messages): Append killed messages into
3371         result if `visible-only' is nil and `in-msgdb' is non-nil.
3372
3373         * elmo-util.el (elmo-uniq-list): Added optional argument
3374         `delete-function'.
3375
3376         * modb.el (elmo-msgdb-flag-count): New API.
3377
3378         * modb-standard.el (modb-standard): Added slot flag-count.
3379         (modb-standard-countup-flags): New function.
3380         (modb-standard-load-flag): Call it.
3381         (elmo-msgdb-append): Ditto.
3382         (elmo-msgdb-clear): Clear slot flag-count.
3383         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3384         (elmo-msgdb-unset-flag): Treat `all' flag and call
3385         modb-standard-countup-flags.
3386         (elmo-msgdb-flag-count): Define.
3387         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3388         (elmo-msgdb-delete-messages): Ditto.
3389
3390         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3391         (elmo-msgdb-flag-count): Define.
3392
3393         * elmo.el (elmo-folder-list-messages): Undo last change.
3394         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3395         (elmo-folder-kill-messages): Unset all flags to numbers.
3396
3397         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3398         elmo-folder-kill-messages.
3399
3400         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3401         (elmo-nntp-folder-delete-messages): Abolish.
3402
3403         * elmo-version.el (elmo-version): Up to 2.11.18.
3404
3405 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3406
3407         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3408         (elmo-folder-kill-messages-range): New function.
3409         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3410         instead of elmo-folder-kill-messages-before.
3411
3412 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3413
3414         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3415         elmo-imap4-current-msgdb to decide entity handler.
3416
3417 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3418
3419         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3420
3421         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3422         inline function.
3423         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3424         (elmo-msgdb-overview-entity-set-number,
3425         elmo-msgdb-overview-entity-get-references,
3426         elmo-msgdb-overview-entity-set-references,
3427         elmo-msgdb-overview-entity-get-from-no-decode,
3428         elmo-msgdb-overview-entity-get-from,
3429         elmo-msgdb-overview-entity-set-from,
3430         elmo-msgdb-overview-entity-get-subject,
3431         elmo-msgdb-overview-entity-get-subject-no-decode,
3432         elmo-msgdb-overview-entity-set-subject,
3433         elmo-msgdb-overview-entity-get-date,
3434         elmo-msgdb-overview-entity-set-date,
3435         elmo-msgdb-overview-entity-get-to,
3436         elmo-msgdb-overview-entity-get-cc,
3437         elmo-msgdb-overview-entity-get-size,
3438         elmo-msgdb-overview-entity-set-size,
3439         elmo-msgdb-overview-entity-get-extra,
3440         elmo-msgdb-overview-entity-set-extra,
3441         elmo-msgdb-overview-entity-get-extra-field,
3442         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3443         (elmo-msgdb-make-index): Use
3444         `elmo-msgdb-overview-entity-get-number-internal'.
3445         (elmo-msgdb-clear-index): Ditto.
3446         (elmo-msgdb-append-entity): Ditto;
3447         Use `elmo-msgdb-overview-entity-get-id-internal'.
3448
3449         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3450         elmo-msgdb-overview-entity-set-number,
3451         elmo-msgdb-overview-entity-get-references,
3452         elmo-msgdb-overview-entity-set-references,
3453         elmo-msgdb-overview-entity-get-from-no-decode,
3454         elmo-msgdb-overview-entity-get-from,
3455         elmo-msgdb-overview-entity-set-from,
3456         elmo-msgdb-overview-entity-get-subject,
3457         elmo-msgdb-overview-entity-get-subject-no-decode,
3458         elmo-msgdb-overview-entity-set-subject,
3459         elmo-msgdb-overview-entity-get-date,
3460         elmo-msgdb-overview-entity-set-date,
3461         elmo-msgdb-overview-entity-get-to,
3462         elmo-msgdb-overview-entity-get-cc,
3463         elmo-msgdb-overview-entity-get-size,
3464         elmo-msgdb-overview-entity-set-size,
3465         elmo-msgdb-overview-entity-get-extra,
3466         elmo-msgdb-overview-entity-set-extra,
3467         elmo-msgdb-overview-entity-get-extra-field,
3468         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3469         and rewrote for backward compatibility.
3470
3471 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3472
3473         * elmo.el (elmo-message-entity-number,
3474         elmo-message-entity-set-number,
3475         elmo-message-entity-field,
3476         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3477
3478         * elmo-msgdb.el (elmo-message-entity-number,
3479         elmo-message-entity-set-number,
3480         elmo-message-entity-field,
3481         elmo-message-entity-set-field): Moved from elmo.el.
3482
3483 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3484
3485         * elmo.el (toplevel): Changed definition orders.
3486
3487 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3488
3489         * modb.el (elmo-msgdb-search): New API .
3490         (elmo-msgdb-match-condition): Ditto.
3491
3492         * modb-standard.el (elmo-msgdb-search): Define.
3493
3494         * modb-legacy.el (elmo-msgdb-search): Ditto.
3495
3496         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3497         from elmo-msgdb-match-condition-internal.
3498
3499         * elmo.el (elmo-folder-search-fast): Abolish.
3500         (elmo-folder-search): Use elmo-msgdb-search and
3501         elmo-with-progress-display.
3502
3503         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3504         as msgdb API.
3505
3506         * elmo.el (elmo-folder): Remove slot message-modified and
3507         flag-modified.
3508         (elmo-folder-set-message-modified): Abolish.
3509         (elmo-generic-folder-commit): Follow the change above.
3510         (elmo-folder-synchronize): Ditto.
3511
3512         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3513
3514         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3515
3516         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3517
3518 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3519
3520         * modb-standard.el (modb-standard-make-message-entity,
3521         elmo-msgdb-make-message-entity,
3522         elmo-msgdb-create-message-entity-from-buffer,
3523         elmo-msgdb-message-entity-number,
3524         elmo-msgdb-message-entity-set-number,
3525         elmo-msgdb-message-entity-field,
3526         elmo-msgdb-message-entity-set-field,
3527         elmo-msgdb-copy-message-entity,
3528         elmo-msgdb-match-condition-internal): Remove.
3529
3530         * modb-entity.el: New file (again).
3531
3532         * modb.el (toplevel): Require modb-entity.
3533         (elmo-msgdb-message-entity-handler): New method.
3534
3535         * modb-standard.el (modb-standard-entity-id): Use
3536         elmo-message-entity-handler.
3537         (modb-standard-load-entity): Ditto.
3538         (elmo-msgdb-append-entity): Ditto.
3539         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3540
3541         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3542         elmo-msgdb-decoded-cache-hashtb,
3543         (modb-legacy-make-message-entity,
3544         elmo-msgdb-make-message-entity,
3545         elmo-msgdb-create-message-entity-from-buffer,
3546         elmo-msgdb-message-entity-number,
3547         elmo-msgdb-message-entity-set-number,
3548         elmo-msgdb-message-entity-field,
3549         elmo-msgdb-message-entity-set-field,
3550         elmo-msgdb-copy-message-entity,
3551         elmo-msgdb-match-condition-internal,
3552         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3553
3554         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3555         (elmo-message-entity-set-number): Ditto.
3556         (elmo-message-entity-field): Ditto.
3557         (elmo-message-entity-set-field): Ditto.
3558
3559         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3560
3561         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3562
3563         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3564
3565         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3566         (elmo-nntp-msgdb-create-message): Ditto.
3567
3568         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3569         (elmo-folder-msgdb-create): Add unread flag.
3570
3571         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3572
3573         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3574
3575         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3576
3577         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3578
3579         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3580         elmo-msgdb-messge-entity-handler.
3581         * elmo-version.el (elmo-version): Up to 2.11.17.
3582
3583 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3584
3585         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3586         change.
3587
3588 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3589
3590         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3591
3592         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3593         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3594         (elmo-msgdb-flag-table): Ditto.
3595         (elmo-msgdb-sort-by-date): Ditto.
3596
3597         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3598
3599         * modb-standard.el (toplevel): Require mime.
3600         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3601         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3602         elmo-msgdb-message-entity-number.
3603         (elmo-msgdb-append-entity): Ditto.
3604         (elmo-msgdb-create-message-entity-from-file): Remove.
3605         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3606         corresponds to the entity.
3607         (elmo-msgdb-message-entity-number): Do nothing currently.
3608         (elmo-msgdb-message-entity-field): Ditto.
3609         (elmo-msgdb-message-entity-set-field): Ditto.
3610         (elmo-msgdb-copy-message-entity): Ditto.
3611         (elmo-msgdb-match-condition-internal): Ditto.
3612
3613         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3614         elmo-util.el.
3615         (elmo-msgdb-create-message-entity-from-file): Remove.
3616
3617         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3618         modb-legacy.el.
3619         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3620
3621         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3622
3623 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3624
3625         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3626         (elmo-msgdb-message-entity-field): Ditto.
3627         (elmo-msgdb-message-entity-number): Ditto.
3628
3629 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3630
3631         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3632         Fixed how to set extra field into entity.
3633         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3634         symbol.
3635
3636         * modb-legacy.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 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3642
3643         * modb.el (elmo-message-entity-db): New function.
3644         (elmo-msgdb-make-message-entity): New API.
3645         (elmo-msgdb-message-entity-number): Ditto.
3646         (elmo-msgdb-message-entity-set-number): Ditto.
3647         (elmo-msgdb-message-entity-field): Ditto.
3648         (elmo-msgdb-message-entity-set-field): Ditto.
3649         (elmo-msgdb-copy-message-entity): Ditto.
3650         (elmo-msgdb-create-message-entity-from-file): Ditto.
3651         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3652         (elmo-msgdb-match-condition-internal): Ditto.
3653
3654         * modb-standard.el (modb-legacy): Require modb-legacy.
3655         (modb-standard-make-message-entity): New inline function.
3656         (elmo-msgdb-make-message-entity): Define.
3657         (elmo-msgdb-create-message-entity-from-file): Ditto.
3658         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3659         (elmo-msgdb-message-entity-field): Ditto.
3660         (elmo-msgdb-message-entity-set-field): Ditto.
3661         (elmo-msgdb-copy-message-entity): Ditto.
3662         (elmo-msgdb-match-condition-internal): Ditto.
3663
3664         * modb-legacy.el: Don't require modb-entity.
3665         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3666         (elmo-msgdb-match-condition-primitive): Ditto.
3667         (elmo-msgdb-get-decoded-cache): Ditto.
3668         (elmo-msgdb-overview-entity-get-id): Ditto.
3669         (elmo-msgdb-overview-entity-get-number): Ditto.
3670         (elmo-msgdb-overview-entity-set-number): Ditto.
3671         (elmo-msgdb-overview-entity-get-references): Ditto.
3672         (elmo-msgdb-overview-entity-set-references): Ditto.
3673         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3674         (elmo-msgdb-overview-entity-get-from): Ditto.
3675         (elmo-msgdb-overview-entity-set-from): Ditto.
3676         (elmo-msgdb-overview-entity-get-subject): Ditto.
3677         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3678         (elmo-msgdb-overview-entity-set-subject): Ditto.
3679         (elmo-msgdb-overview-entity-get-date): Ditto.
3680         (elmo-msgdb-overview-entity-set-date): Ditto.
3681         (elmo-msgdb-overview-entity-get-to): Ditto.
3682         (elmo-msgdb-overview-entity-get-cc): Ditto.
3683         (elmo-msgdb-overview-entity-get-size): Ditto.
3684         (elmo-msgdb-overview-entity-set-size): Ditto.
3685         (elmo-msgdb-overview-entity-get-extra): Ditto.
3686         (elmo-msgdb-overview-entity-set-extra): Ditto.
3687         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3688         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3689         (elmo-msgdb-number-load): Ditto.
3690         (elmo-msgdb-overview-load): Ditto.
3691         (elmo-msgdb-mark-load): Ditto.
3692         (elmo-msgdb-number-save): Ditto.
3693         (elmo-msgdb-mark-save): Ditto.
3694         (elmo-msgdb-overview-save): Ditto.
3695         (modb-legacy-make-message-entity): New inline function.
3696         (elmo-msgdb-insert-file-header): Ditto.
3697         (elmo-msgdb-make-message-entity): Define.
3698         (elmo-msgdb-create-message-entity-from-file): Ditto.
3699         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3700         (elmo-msgdb-message-entity-number): Ditto.
3701         (elmo-msgdb-message-entity-set-number): Ditto.
3702         (elmo-msgdb-message-entity-field): Ditto.
3703         (elmo-msgdb-message-entity-set-field): Ditto.
3704         (elmo-msgdb-copy-message-entity): Ditto.
3705         (elmo-msgdb-match-condition-internal): Ditto.
3706
3707         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3708         (elmo-message-copy-entity): Rewrite.
3709         (elmo-message-entity-number): Ditto.
3710         (elmo-message-entity-set-number): Ditto.
3711         (elmo-message-entity-field): Use elmo-message-entity-db.
3712         (elmo-message-entity-set-field): Ditto.
3713         (elmo-message-field): Rewrite.
3714
3715         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3716         elmo-msgdb.el
3717         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3718
3719         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3720         elmo-message-entity-field.
3721         (elmo-shimbun-folder-shimbun-header): Ditto.
3722         (elmo-shimbun-entity-to-header): Ditto.
3723         (elmo-folder-msgdb-create): Ditto.
3724         (elmo-shimbun-msgdb-create-entity): Ditto;
3725         Use elmo-msgdb-create-message-entity-from-buffer.
3726         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3727         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3728
3729         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3730         elmo-msgdb-create-message-entity-from-file and 
3731         elmo-message-entity-field.
3732
3733         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3734         elmo-message-entity-number.
3735         (elmo-pop3-msgdb-create-message): Use
3736         elmo-msgdb-create-message-entity-from-buffer,
3737         elmo-message-entity-set-field, elmo-message-entity-number and
3738         elmo-message-entity-set-number.
3739
3740         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3741         the API change in elmo-msgdb-make-message-entity.
3742         (elmo-nntp-msgdb-create-message): Use
3743         elmo-msgdb-create-message-entity-from-buffer.
3744
3745         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3746         elmo-message-entity-field and
3747         elmo-msgdb-create-message-entity-from-file.
3748
3749         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3750         (elmo-msgdb-get-field): Abolish.
3751         (elmo-msgdb-get-number): Rewrite.
3752         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3753         (elmo-msgdb-flag-table): Ditto.
3754         (elmo-msgdb-get-last-message-id,
3755         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3756         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3757         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3758         (elmo-msgdb-create-overview-from-buffer,
3759         elmo-msgdb-overview-get-parent-entity): Abolish.
3760
3761         * elmo-mime.el (elmo-mime-display-as-is): Use
3762         elmo-message-entity-field.
3763
3764         * elmo-map.el (elmo-folder-pack-numbers): Use
3765         elmo-message-entity-set-number.
3766
3767         * elmo-maildir.el (elmo-folder-msgdb-create): 
3768         elmo-msgdb-create-message-entity-from-file instead of
3769         elmo-msgdb-create-overview-entity-from-file.
3770
3771         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3772         msgdb.
3773         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3774         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3775
3776         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3777         elmo-messge-entity-field and elmo-message-entity-number.
3778         (elmo-imap4-fetch-callback-1): Call
3779         elmo-msgdb-create-message-entity-from-buffer instead of
3780         elmo-msgdb-create-overview-from-buffer. 
3781         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3782         (elmo-find-fetch-strategy): Likewise.
3783
3784         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3785         elmo-localdir-msgdb-create-entity with argument msgdb.
3786
3787         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3788         and elmo-message-entity-set-number.
3789
3790         * elmo-cache.el (elmo-folder-msgdb-create): Use
3791         elmo-message-entity-field.
3792         (elmo-folder-msgdb-create): Call
3793         elmo-msgdb-create-message-entity-from-file instead of
3794         elmo-msgdb-create-overview-entity-from-file.
3795
3796         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3797         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3798         instead of elmo-msgdb-create-overview-from-buffer.
3799         (elmo-archive-msgdb-create-entity): Ditto.
3800         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3801         elmo-message-entity-field.
3802         (elmo-archive-parse-mmdf): Ditto.
3803
3804         * modb-entity.el: Removed.
3805
3806         * elmo-version.el (elmo-version): Up to 2.11.16.
3807
3808 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3809
3810         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3811         `is-local'.
3812         (elmo-folder-flag-as-answered): Ditto.
3813
3814 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3815
3816         * modb-standard.el: New file.
3817
3818         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3819         elmo-msgdb-convert-type is `sync'.
3820
3821         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3822         (elmo-msgdb-convert-type): New user option.
3823
3824         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3825         (elmo-load-msgdb): Auto detect saved type.
3826
3827         * elmo-version.el (elmo-version): Up to 2.11.15.
3828
3829 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3830
3831         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3832
3833         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3834         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3835         with argument `delete-if-none' when dst-folder is 'null.
3836
3837         * elmo-flag.el (elmo-folder-append-messages): Defined.
3838         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3839
3840 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3841
3842         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3843
3844 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3845
3846         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3847         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3848         (elmo-folder-commit): Ditto.
3849
3850 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3851
3852         * elmo-flag.el: New file.
3853
3854         * elmo-mark.el: Removed.
3855
3856         * modb-legacy.el (modb-legacy-new-mark,
3857         modb-legacy-unread-uncached-mark,
3858         modb-legacy-unread-cached-mark,
3859         modb-legacy-read-uncached-mark,
3860         modb-legacy-answered-cached-mark,
3861         modb-legacy-answered-uncached-mark,
3862         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3863         All other related portions are changed.
3864
3865         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3866         (elmo-folder-list-messages-with-global-mark): Abolish.
3867         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3868         (elmo-folder-flag-as-important): Ditto.
3869         (elmo-folder-unflag-read): Ditto.
3870         (elmo-folder-flag-as-read): Ditto.
3871         (elmo-folder-unflag-answered): Ditto.
3872         (elmo-folder-flag-as-answered): Ditto.
3873         (elmo-message-encache): Return the cache path.
3874         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3875         (elmo-message-set-flag): Transitional implementation.
3876         (elmo-message-unset-flag): Ditto.
3877         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3878         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3879         (elmo-init): Call elmo-global-flag-initialize.
3880         (toplevel): Added autoload settings for elmo-flag.
3881
3882         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3883
3884         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3885         (elmo-file-cache-delete): Don't treat global-mark.
3886
3887         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3888
3889         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3890
3891         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3892         `elmo-global-flags-set'.
3893
3894         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3895         `flag'.
3896         (elmo-folder-unflag-read): Ditto.
3897         (elmo-folder-unflag-important): Ditto.
3898         (elmo-folder-flag-as-important): Ditto.
3899         (elmo-folder-unflag-answered): Ditto.
3900         (elmo-folder-flag-as-answered): Ditto.
3901
3902         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3903         `elmo-global-flags-set'.
3904         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3905
3906         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3907
3908         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3909         `flag'.
3910         (elmo-folder-flag-as-important): Ditto.
3911         (elmo-folder-unflag-important): Ditto.
3912         (elmo-folder-flag-as-important): Ditto.
3913         (elmo-folder-unflag-read): Ditto.
3914         (elmo-folder-flag-as-read): Ditto.
3915         (elmo-folder-unflag-answered): Ditto.
3916         (elmo-folder-flag-as-answered): Ditto.
3917
3918         * elmo-multi.el (elmo-folder-list-importants): Don't call
3919         elmo-folder-list-messages-with-global-mark.
3920         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3921         (elmo-folder-unflag-important): Ditto.
3922         (elmo-folder-flag-as-read): Ditto.
3923         (elmo-folder-unflag-read): Ditto.
3924         (elmo-folder-flag-as-answered): Ditto.
3925         (elmo-folder-unflag-answered): Ditto.
3926
3927         * elmo-msgdb.el (elmo-msgdb-new-mark,
3928         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3929         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3930         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3931         (Moved to modb-legacy.el).
3932         (elmo-flag-table-get): Treat important flag too.
3933
3934         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3935         `mark' to `flag'.
3936         (elmo-map-folder-flag-as-important): Ditto.
3937         (elmo-map-folder-unflag-read): Ditto.
3938         (elmo-map-folder-flag-as-read): Ditto.
3939         (elmo-map-folder-unflag-answered): Ditto.
3940         (elmo-map-folder-flag-as-answered): Ditto.
3941         (elmo-folder-unflag-important): Ditto.
3942         (elmo-folder-flag-as-important): Ditto.
3943         (elmo-folder-unflag-read): Ditto.
3944         (elmo-folder-flag-as-read): Ditto.
3945         (elmo-folder-unflag-answered): Ditto.
3946         (elmo-folder-flag-as-answered): Ditto.
3947
3948         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3949         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3950         `flag'.
3951         (elmo-map-folder-unflag-important): Ditto.
3952         (elmo-map-folder-flag-as-read): Ditto.
3953         (elmo-map-folder-unflag-read): Ditto.
3954         (elmo-map-folder-flag-as-answered): Ditto.
3955         (elmo-map-folder-unflag-answered): Ditto.
3956
3957         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3958         `elmo-global-flags-set'.
3959         (elmo-global-flags-set): Added autoload setting.
3960
3961         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3962         `flag'.
3963
3964         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3965         `elmo-msgdb-global-mark-set'.
3966         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3967         Call `elmo-global-flags-set'.
3968         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3969         `flag'.
3970         (elmo-folder-flag-as-important-plugged): Ditto.
3971         (elmo-folder-unflag-read-plugged): Ditto.
3972         (elmo-folder-flag-as-read-plugged): Ditto.
3973         (elmo-folder-unflag-answered-plugged): Ditto.
3974         (elmo-folder-flag-as-answered-plugged): Ditto.
3975         (elmo-global-flags-set): Added autoload setting.
3976
3977         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3978         `flag'.
3979         (elmo-folder-unflag-read): Ditto.
3980         (elmo-folder-flag-as-important): Ditto.
3981         (elmo-folder-unflag-important): Ditto.
3982         (elmo-folder-flag-as-answered): Ditto.
3983         (elmo-folder-unflag-answered): Ditto.
3984
3985         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3986         change of `mark'->`flag'.
3987         (elmo-dop-queue-method-name-alist): Ditto.
3988         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3989         (elmo-folder-unflag-read-dop): Ditto.
3990         (elmo-folder-flag-as-important-dop): Ditto.
3991         (elmo-folder-unflag-important-dop): Ditto.
3992         (elmo-folder-flag-as-answered-dop): Ditto.
3993         (elmo-folder-unflag-answered-dop): Ditto.
3994
3995         * elmo-cache.el (elmo-folder-msgdb-create): Call
3996         `elmo-global-flags-set'.
3997
3998         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3999         Call `elmo-global-flags-set'.
4000         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4001         elmo-archive-parse-mmdf with argument `folder'.
4002         (elmo-archive-parse-mmdf): Added argument `folder';
4003         Call `elmo-global-flags-set'.
4004
4005         * elmo-version.el (elmo-version): Up to 2.11.14.
4006
4007 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4008
4009         * modb.el (elmo-msgdb-length): Define.
4010
4011         * elmo.el (elmo-make-folder): Fixed.
4012         (elmo-generic-folder-append-messages): Follow the API change.
4013
4014         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4015         API change.
4016
4017 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4018
4019         * modb.el: New file.
4020
4021         * modb-entity.el: Ditto.
4022
4023         * modb-legacy.el: Ditto.
4024
4025         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4026         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4027         of `elmo-msgdb-overview-get-entity'.
4028         (elmo-msgdb-get-field): Ditto.
4029         (elmo-msgdb-merge): Moved to `elmo.el'.
4030         (elmo-msgdb-length): Removed; redefine as modb method.
4031         (elmo-msgdb-change-mark): Abolish.
4032         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4033         (elmo-msgdb-match-condition): Don't use mark.
4034         (elmo-msgdb-overview-get-entity): Abolish.
4035         Split modb part into `modb*.el'.
4036
4037         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4038
4039         * elmo-shimbun.el (shimbun-mua-search-id): Use
4040         `elmo-msgdb-message-entity' instead of
4041         `elmo-msgdb-overview-get-entity'.
4042         (elmo-shimbun-folder-shimbun-header): Ditto.
4043         (elmo-shimbun-get-headers): Ditto.
4044         (elmo-shimbun-update-overview): Ditto.
4045
4046         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4047
4048         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4049
4050         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4051         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4052
4053         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4054         `elmo-msgdb-mark-to-flags'.
4055
4056         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4057         `elmo-msgdb-set-path'.
4058
4059         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4060  
4061         * elmo-version.el (elmo-version): Up to 2.11.13.
4062
4063         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4064
4065         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4066         of mark.
4067
4068 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4069
4070         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4071         mismatch.
4072
4073 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4074
4075         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4076         instead of `elmo-msgdb-get-cached'.
4077         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4078
4079         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4080         (elmo-msgdb-set-cached): Ditto.
4081         (elmo-msgdb-set-flag): Rewrite.
4082         (elmo-msgdb-unset-flag): Ditto.
4083
4084         * elmo-msgdb.el: Rewrite with luna.
4085
4086         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4087         (elmo-folder-msgdb): Follow the change above.
4088         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4089         (elmo-folder-unmark-important): Follow the API change.
4090         (elmo-folder-mark-as-important): Ditto.
4091         (elmo-folder-unmark-read): Ditto.
4092         (elmo-folder-mark-as-read): Ditto.
4093         (elmo-folder-unmark-answered): Ditto.
4094         (elmo-folder-mark-as-answered): Ditto.
4095         (elmo-folder-clear): Likewise.
4096
4097         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4098         instead of `elmo-msgdb-load' (renamed).
4099
4100         * elmo-version.el (elmo-version): Up to 2.11.12.
4101
4102 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4103
4104         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4105         change.
4106         (elmo-message-mark): Abolish.
4107         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4108         instead of `elmo-msgdb-change-mark'.
4109
4110         * elmo-pipe.el (elmo-message-mark): Abolish.
4111
4112         * elmo-multi.el (elmo-message-mark): Ditto.
4113
4114         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4115         (elmo-msgdb-unread-uncached-mark): Ditto.
4116         (elmo-msgdb-unread-cached-mark): Ditto.
4117         (elmo-msgdb-read-uncached-mark): Ditto.
4118         (elmo-msgdb-answered-cached-mark): Ditto.
4119         (elmo-msgdb-answered-uncached-mark): Ditto.
4120         (elmo-msgdb-important-mark): Ditto.
4121         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4122         `use-cache'.
4123         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4124         `flags'.
4125         (elmo-flag-table-load): Changed flag to list of flag.
4126         (elmo-flag-table-set): If flags is nil, set read flag.
4127         (elmo-flag-table-get): Return derived flags from global mark,
4128         cache status and saved flags.
4129         (elmo-msgdb-flag-table): Follow the change above.
4130         (elmo-msgdb-out-of-date-messages): New function.
4131
4132         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4133
4134         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4135
4136         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4137
4138         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4139         (elmo-nntp-msgdb-create-message): Ditto.
4140
4141         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4142
4143         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4144         independent.
4145         (elmo-folder-msgdb-create): Follow the API change.
4146
4147         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4148         (elmo-folder-append-messages): Ditto.
4149
4150         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4151         (elmo-folder-append-buffer): Ditto.
4152
4153         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4154
4155         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4156
4157         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4158         (elmo-archive-parse-mmdf): Ditto.
4159
4160         * elmo-version.el (elmo-version): Up to 2.11.11.
4161
4162 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4163
4164         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4165         `elmo-msgdb-mark'.
4166
4167         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4168
4169         * elmo-pipe.el (elmo-message-flags): Defined.
4170
4171         * elmo-multi.el (elmo-message-flags): Ditto.
4172
4173 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4174
4175         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4176         `elmo-msgdb-delete-msgs'.
4177
4178         * elmo.el (elmo-folder-count-flags): Don't use
4179         `elmo-msgdb-get-mark-alist'.
4180         (elmo-folder-detach-messages): Follow the API change.
4181
4182         * elmo.el (elmo-folder-list-messages): Append killed messages into
4183         result if `visible-only' is nil.
4184
4185         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4186         canceled messages.
4187         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4188         (elmo-folder-update-number): Likewise.
4189
4190         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4191         (elmo-pop3-sort-msgdb-by-original-number): Use
4192         `elmo-msgdb-sort-entities'.
4193
4194         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4195         (elmo-msgdb-sort-by-date): Use it.
4196         (elmo-msgdb-overview-sort-by-date): Abolish.
4197
4198         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4199
4200         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4201         (elmo-msgdb-flags): New function.
4202         (elmo-msgdb-merge): Use elmo-msgdb-append.
4203
4204         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4205         change.
4206
4207         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4208
4209         * elmo-dop.el (elmo-folder-status-dop): Use
4210         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4211
4212 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4213
4214         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4215
4216         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4217
4218         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4219
4220         * elmo-util.el (elmo-with-progress-display): New macro.
4221
4222         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4223
4224 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4225
4226         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4227         `elmo-folder-list-message-entities' instead of
4228         `elmo-msgdb-get-overview'.
4229         (elmo-map-folder-list-message-locations): Ditto.
4230
4231         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4232         methods instead of treat directly).
4233         (elmo-msgdb-clear): Ditto.
4234         (elmo-msgdb-delete-msgs): Ditto.
4235         (elmo-msgdb-sort-by-date): Ditto.
4236
4237         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4238         local variables.
4239         (elmo-nntp-folder-msgdb-create): Follow the API change.
4240
4241         * elmo-version.el (elmo-version): Up to 2.11.10.
4242
4243 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4244
4245         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4246         (elmo-msgdb-flags-to-mark): Ditto.
4247         (elmo-msgdb-append-entity): Ditto.
4248
4249         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4250         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4251         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4252         (elmo-archive-parse-mmdf): Ditto.
4253
4254         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4255
4256         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4257
4258         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4259
4260         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4261
4262         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4263
4264         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4265
4266         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4267
4268         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4269
4270         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4271         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4272         to empty msgdb.
4273
4274         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4275         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4276         instead of directly construction.
4277         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4278         instead of construct msgdb.
4279
4280         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4281         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4282         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4283         instead of construct msgdb.
4284
4285 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4286
4287         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4288         when field is from or subject.
4289
4290 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4291
4292         * elmo-multi.el (elmo-message-entity-parent): Define.
4293         (elmo-folder-search): Rewrite.
4294
4295 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4296
4297         * elmo-multi.el (elmo-message-cached-p): Define.
4298
4299         * elmo.el (elmo-message-cached-p): New method.
4300         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4301         (elmo-message-flags): New method.
4302         (elmo-message-flagged-p): New function.
4303
4304         * elmo-version.el (elmo-version): Up to 2.11.9.
4305
4306 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4307
4308         * elmo-version.el (elmo-version): Up to 2.11.8.
4309
4310         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4311
4312         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4313
4314 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4315
4316         * elmo.el (elmo-folder-detach-messages): Undo last change.
4317
4318 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4319
4320         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4321
4322         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4323         only when src folder type is pop3.
4324
4325 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4326
4327         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4328         elmo-msgdb-overview-entity-get-number instead of
4329         elmo-message-entity-number.
4330
4331 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4332
4333         * elmo-version.el (elmo-version): Up to 2.11.7.
4334
4335 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4336
4337         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4338         function.
4339
4340         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4341         (elmo-msgdb-merge): New function.
4342         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4343         (elmo-msgdb-make-index): Rewrite.
4344
4345         * elmo-version.el (elmo-version): Up to 2.11.6.
4346
4347         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4348         use it as a the path for loading message entities.
4349
4350         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4351
4352 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4353
4354         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4355         message-modified slot of itself if it does not require target msgdb.
4356
4357         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4358         if folder length is zero.
4359         (elmo-mime-display-as-is): Ditto.
4360
4361         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4362
4363         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4364
4365 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4366
4367         * elmo.el (elmo-folder-set-message-modified): New method.
4368         (elmo-generic-folder-commit): Use it.
4369         (elmo-folder-synchronize): Ditto.
4370
4371         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4372         (elmo-folder-commit): Remove duplicate definition.
4373
4374 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4375
4376         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4377
4378 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4379
4380         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4381         (elmo-strict-folder-diff): Ditto.
4382         (elmo-folder-set-info-max-by-numdb): Simplify.
4383
4384         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4385         elmo-msgdb-list-messages.
4386
4387         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4388         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4389
4390 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4391
4392         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4393         visible-only is non-nil.
4394         (elmo-folder-confirm-appends): Changed message.
4395         (elmo-folder-synchronize): Added argument disable-killed.
4396
4397         * elmo-multi.el (elmo-folder-synchronize): Added argument
4398         disable-killed.
4399
4400         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4401
4402         * elmo-version.el (elmo-version): Up to 2.11.5.
4403
4404         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4405         elmo-list-filter.
4406
4407         * elmo-util.el (elmo-list-filter): Simplify.
4408
4409         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4410         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4411         (elmo-generic-folder-diff): Abolish argument.
4412         (elmo-msgdb-load): Don't use number-alist.
4413
4414         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4415
4416         * elmo-pipe.el (elmo-folder-diff): Ditto.
4417
4418         * elmo-nmz.el (elmo-folder-diff): Ditto.
4419
4420         * elmo-net.el (elmo-folder-diff): Ditto.
4421
4422         * elmo-maildir.el (elmo-folder-diff): Ditto.
4423
4424         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4425
4426         * elmo-multi.el (elmo-folder-diff): Ditto
4427         (elmo-multi-folder-diff): Rewrite.
4428
4429 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4430
4431         * elmo-pipe.el (elmo-folder-msgdb): Define.
4432
4433 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4434
4435         * elmo.el (elmo-message-set-cached): Define as a method.
4436
4437         * elmo-pipe.el (elmo-message-set-cached): Define.
4438         (elmo-find-fetch-strategy): Ditto.
4439
4440         * elmo-multi.el (elmo-message-set-cached): Define.
4441         (elmo-find-fetch-strategy): Rewrite.
4442
4443         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4444
4445         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4446
4447 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4448
4449         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4450         instead of number-alist.
4451
4452         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4453         mark nor message-id when msgdb of source folder is not loaded.
4454
4455         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4456
4457         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4458
4459 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4460
4461         * elmo.el (elmo-folder-length): Don't require msgdb.
4462
4463 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4464
4465         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4466         (elmo-message-field): Ditto.
4467
4468         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4469         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4470         slot.
4471         (elmo-map-folder-list-answereds): Define.
4472         (elmo-maildir-list-location): Treat 'R' info.
4473         (elmo-folder-msgdb-create): Treat flag-table.
4474         (elmo-folder-append-messages): Save flag-table.
4475
4476 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4477
4478         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4479         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4480
4481 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4482
4483         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4484
4485         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4486         'read when mark is null.
4487
4488 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4489
4490         * elmo-version.el (elmo-version): Up to 2.11.4.
4491
4492 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4493
4494         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4495         (elmo-folder-mark-as-answered): Ditto.
4496
4497 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4498
4499         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4500         (elmo-pop3-get-session): Make msgdb directory after session.
4501         (elmo-folder-exists-p): Check exactly at the first time even when the
4502         elmo-pop3-exists-exactly is nil.
4503
4504         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4505         (elmo-folder-list-messages): Define instead of
4506         elmo-folder-list-messages-internal.
4507         (elmo-folder-check): Check destination folder.
4508         (elmo-folder-synchronize): Drain the pipe.
4509
4510         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4511         when msgdb is not loaded.
4512
4513         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4514
4515         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4516         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4517         messages.
4518
4519         * elmo.el (elmo-folder-kill-messages-before): New function.
4520         (elmo-folder-kill-messages): Ditto.
4521         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4522
4523         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4524         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4525         killed not by synchronize (e.g. scoring).
4526
4527 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4528
4529         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4530         treated.
4531         (elmo-folder-search): Follow the change above.
4532
4533         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4534         into the candidates of search field.
4535
4536 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4537
4538         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4539         (elmo-msgdb-unset-flag): Ditto.
4540
4541         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4542
4543 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4544
4545         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4546         (elmo-folder-commit): Define.
4547         (elmo-folder-synchronize): Ditto.
4548         (elmo-folder-list-flagged): Ditto.
4549         (elmo-folder-commit): Ditto.
4550         (elmo-folder-length): Ditto.
4551         (elmo-folder-count-flags): Ditto.
4552         (elmo-message-mark): Ditto.
4553         (elmo-message-field): Ditto.
4554         (elmo-message-entity): Ditto.
4555         (elmo-message-folder): Ditto.
4556
4557 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4558
4559         * elmo.el (elmo-message-field): Define as a method.
4560
4561         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4562         (elmo-message-field): Define.
4563
4564         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4565         (elmo-folder-list-importants): Ditto.
4566         (elmo-folder-list-answereds): Ditto.
4567
4568         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4569         qualifier.
4570         (elmo-folder-mark-as-read): Ditto.
4571         (elmo-folder-unmark-read): Ditto.
4572         (elmo-folder-mark-as-answered): Ditto.
4573         (elmo-folder-unmark-answered): Ditto.
4574         (elmo-folder-list-flagged): Define.
4575         (elmo-folder-commit): Ditto.
4576         (elmo-folder-length): Ditto.
4577         (elmo-folder-count-flags): Ditto.
4578
4579 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4580
4581         * elmo.el (elmo-folder-detach-messages): New method.
4582         (elmo-folder-move-messages): Use it.
4583         (elmo-folder-synchronize): Ditto.
4584
4585         * elmo-multi.el (elmo-folder-detach-messages): Define.
4586
4587         * elmo.el (elmo-message-copy-entity): New function.
4588         (elmo-message-entity-set-number): Ditto.
4589         (elmo-message-mark): Define as method.
4590
4591         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4592         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4593         (elmo-message-entity): Fixed last change.
4594         (elmo-message-mark): Define.
4595         (elmo-folder-msgdb-create): Abolish.
4596         (elmo-multi-folder-append-msgdb): Ditto.
4597         (elmo-multi-folder-diff): Fixed.
4598         (elmo-multi-split-number-alist): Removed.
4599         (elmo-multi-split-mark-alist): Removed.
4600         (elmo-folder-list-messages): Define.
4601         (elmo-folder-list-messages-internal): Removed.
4602
4603         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4604         local file messages.
4605         (elmo-folder-msgdb-create): Fixed read mark.
4606
4607 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4608
4609         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4610         if mark is nil.
4611
4612 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4613
4614         * elmo.el (elmo-folder-list-message-entities): Define as inline
4615         function.
4616         (elmo-folder-messages): Abolish.
4617
4618         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4619         folder.
4620         (elmo-folder-synchronize): Define.
4621         (elmo-message-entity): Define.
4622
4623 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4624
4625         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4626         elmo-imap4-session-select-mailbox.
4627
4628         * elmo.el (elmo-folder-move-messages): Don't display any message.
4629
4630         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4631         parsing.
4632         (elmo-imap4-session-check): Don't wait CHECK response.
4633         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4634
4635 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4636
4637         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4638
4639 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4640
4641         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4642         API.
4643         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4644
4645
4646         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4647         (elmo-folder-list-message-entities): Added argument in-msgdb and
4648         numbers.
4649         (elmo-folder-synchronize): Define as a method.
4650
4651         * elmo-nntp.el (elmo-folder-initialize): Don't use
4652         elmo-nntp-default-user if zero-length username is specified
4653         explicitly.
4654
4655 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4656
4657         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4658         server name in case with username.
4659         (XXX: this is ad-hoc fix against username includes "@", it
4660         should be solved fundamentally)
4661
4662 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4663
4664         * elmo-nntp.el (elmo-nntp-debug): New function.
4665         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4666         (elmo-network-authenticate-session): Hide auth-info from the log.
4667
4668         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4669         user name if it is equal to elmo-nntp-default-user.
4670
4671 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4672
4673         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4674         instead of shimbun-server-internal;
4675         Use shimbun-current-group instead of shimbun-current-group-internal.
4676         (elmo-folder-plugged-p): Use shimbun-server instead of
4677         shimbun-server-internal.
4678         (elmo-folder-set-plugged): Ditto.
4679         (elmo-net-port-info): Ditto.
4680         (elmo-folder-check): Ditto.
4681         (elmo-folder-expand-msgdb-path): Ditto.
4682         (elmo-folder-list-subfolders): Ditto.
4683
4684 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4685
4686         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4687         Convert field-name to lower case.
4688         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4689
4690 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4691
4692         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4693         `message' and `error' take format string.
4694
4695 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4696
4697         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4698
4699 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4700
4701         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4702         recursive call (can't byte compile on emacs 20.7).
4703
4704 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4705
4706         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4707         (elmo-folder-list-message-entities): New API.
4708         (elmo-message-entity): Ditto.
4709         (elmo-message-entity-parent): Ditto.
4710         (elmo-folder-do-each-message-entity): Ditto.
4711         (elmo-message-entity-number): Ditto.
4712         (elmo-message-entity-field): Ditto.
4713         (elmo-message-entity-set-field): Ditto.
4714         (elmo-folder-count-flags): Ditto.
4715         (elmo-folder-length): Ditto.
4716
4717         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4718         not.
4719
4720         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4721         (elmo-msgdb-count-marks): Abolish.
4722         (elmo-msgdb-make-entity): Ditto.
4723         (elmo-msgdb-do-each-entity): Ditto.
4724         (elmo-msgdb-message-entity): New inline function.
4725         (elmo-msgdb-message-entity-field): Ditto.
4726         (elmo-msgdb-message-entity-set-field): Ditto.
4727         (elmo-msgdb-make-message-entity): New function.
4728
4729 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4730
4731         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4732         to flag. (All other related portions are changed.)
4733         (elmo-folder-msgdb-create): Likewise.
4734         (elmo-generic-folder-append-messages): Use flag-table instead of
4735         seen-list.
4736         (elmo-folder-move-messages): Removed redundant process.
4737         (elmo-folder-synchronize): Likewise.
4738
4739         * elmo-msgdb.el (elmo-flag-table-get): New function.
4740         (elmo-flag-table-save): Fixed.
4741         (elmo-msgdb-length): New inline function.
4742         (elmo-msgdb-flag-table): New function.
4743         (elmo-msgdb-mark): Add optional argument new.
4744         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4745         (elmo-msgdb-seen-list): Ditto.
4746         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4747
4748
4749 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4750
4751         * elmo.el (elmo-message-set-mark): Abolish.
4752         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4753         (All related portions are changed.)
4754
4755         * elmo-msgdb.el (toplevel): Added comment.
4756         (elmo-load-msgdb): Added 4th element `path'.
4757         (elmo-msgdb-append): Follow the change above.
4758         (elmo-msgdb-clear): Ditto.
4759         (elmo-msgdb-delete-msgs): Ditto.
4760         (elmo-msgdb-get-path): New inline function.
4761         (elmo-msgdb-set-path): Ditto.
4762         (elmo-flag-table-filename): New variable.
4763         (elmo-flag-table-load): New function.
4764         (elmo-flag-table-set): Ditto.
4765         (elmo-flag-table-save): Ditto.
4766         (elmo-msgdb-get-field-value): Abolish.
4767         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4768
4769 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4770
4771         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4772         the folder has been deleted successfully.
4773         * elmo-imap4.el (elmo-folder-delete): Ditto.
4774         * elmo-archive.el (elmo-folder-delete): Ditto.
4775         * elmo-localdir.el (elmo-folder-delete): Ditto.
4776         * elmo-maildir.el (elmo-folder-delete): Ditto.
4777
4778 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4779
4780         * elmo-util.el (elmo-string-member-ignore-case): New function.
4781         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4782         (elmo-imap4-fetch-callback-1-subr): Likewise.
4783
4784 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4785
4786         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4787         the case of the name attribute "\Noselect".
4788
4789 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4790
4791         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4792
4793         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4794         flist, is not always a member of onum-alist.
4795
4796 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4797
4798         * elmo-version.el (elmo-version): Up to 2.11.3.
4799
4800 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4801
4802         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4803         copied from localdir's one.
4804
4805         * elmo-pipe.el (elmo-folder-rename): New method, rename
4806         destination folder with leaving source folder as it is.
4807
4808 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4809
4810         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4811         replace-regexp.
4812
4813 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4814
4815         * elmo-version.el (elmo-version): Up to 2.11.2.
4816
4817 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4818
4819         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4820         shimbun-open in case of "@".
4821         (elmo-folder-open-internal): Cope with shimbun = nil case.
4822         (elmo-folder-plugged-p): Ditto.
4823         (elmo-folder-list-subfolders): Make list for "@/" group.
4824
4825 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4826
4827         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4828         mailbox (e.g. for %~/something).
4829
4830 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4831
4832         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4833         Replace nested conditional with guard clauses.
4834
4835 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4836
4837         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4838         error [wl:11327].
4839
4840         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4841         print-depth.
4842
4843 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4844
4845         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4846         Replace nested conditional with guard clauses.
4847
4848 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4849
4850         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4851         (elmo-passwd-alist-save): Ditto.
4852         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4853
4854 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4855
4856         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4857         dir-name only if it is absolute path.
4858         (TODO: distinguish +/something and +something)
4859
4860 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4861
4862         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4863         path for "+~/something".
4864
4865 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4866
4867         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4868         as non-directory, cause error before rename-file.
4869         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4870         apropriately, mimic localdir's one.
4871         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4872
4873 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4874
4875         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4876
4877 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4878
4879         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4880
4881         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4882         
4883         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4884         is included in the global-mark or not.
4885
4886 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4887
4888         * utf7.el (toplevel): Avoid error when the function
4889         find-coding-system does not exist.
4890
4891 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4892
4893         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4894         cache even if the folder is plugged.
4895         (elmo-nntp-search-primitive): Do nothing when body search is
4896         invoked (although it is not used by the change above).
4897         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4898
4899 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4900
4901         * elmo-version.el (elmo-version): Up to 2.11.1.
4902
4903 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4904
4905         * elmo-archive.el: Specify charset.
4906
4907 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4908
4909         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4910         process buffer lives or not.
4911
4912         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4913         while flushing queues (It causes infinite loop).
4914
4915 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4916
4917         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4918
4919 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4920
4921         * utf7.el (toplevel): Check the ucs features dynamically.
4922         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4923
4924         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4925         folder is creatabe or not if it already exists.
4926
4927 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4928
4929         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4930
4931         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4932
4933         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4934         (elmo-imap4-read-response): Take care of garbage response.
4935
4936 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4937
4938         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4939         just return nil instead of error.
4940
4941 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4942
4943         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4944         search-key is "body".
4945
4946 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4947
4948         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4949         of elmo-string-matched-assoc to use match-data.
4950         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4951
4952 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4953
4954         * elmo-split.el (elmo-split->): New function.
4955         (elmo-split-<): Ditto.
4956
4957 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4958
4959         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4960         workaround for invalid message-id.
4961
4962 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4963
4964         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4965         return normal pop3 session or pop3 biff session.
4966
4967 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4968
4969         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4970         info part to the cur files when the new files already have it.
4971         (Adviced by Jared Rhine <jared@wordzoo.com>)
4972
4973 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4974
4975         * elmo-split.el (elmo-split-default-action): New variable.
4976         (elmo-split-subr): Use it if all other conditions are passed.
4977         Extend `fname' and rename it as `action'. (implemented
4978         Teranishi-san's idea in [wl:10800])
4979
4980 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4981
4982         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4983         * elmo-util.el: Ditto.
4984
4985 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4986
4987         * elmo.el (elmo-message-accessible-p): Renamed from
4988         elmo-message-cached-p and rewritten.
4989
4990 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4991
4992         * elmo.el (elmo-folder-list-flagged): New generic function.
4993         (elmo-folder-list-importants): New implementation.
4994         (elmo-folder-list-answereds): Ditto.
4995         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4996         Added 'digest'.
4997         (elmo-message-cached-p): New function.
4998         (elmo-message-set-flag): Ditto (no content).
4999         (elmo-message-unset-flag): Ditto.
5000         (elmo-folder-list-messages-mark-match): Abolish.
5001
5002         * elmo-util.el (elmo-regexp-opt): New function.
5003
5004         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5005         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5006         Added 'digest'.
5007         (elmo-msgdb-list-flagged): New function.
5008
5009         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5010         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5011         Added 'digest'.
5012
5013         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5014
5015 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5016
5017         * elmo-version.el (elmo-version): Up to 2.11.0.
5018
5019 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5020
5021         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5022         `elmo-file-cache-exists-p'; use proper mark that depends on
5023         `use-cache'.
5024         (elmo-msgdb-unset-flag): Ditto.
5025         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5026
5027         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5028         with 4th argument `use-cache'.
5029
5030 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5031
5032         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5033         (elmo-folder-mark-as-important): Ditto.
5034         (elmo-folder-unmark-read): Ditto.
5035         (elmo-folder-mark-as-read): Ditto.
5036         (elmo-folder-unmark-answered): Ditto.
5037         (elmo-folder-mark-as-answered): Ditto.
5038
5039         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5040         message status.
5041         (elmo-msgdb-mark): Likewise.
5042         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5043         (elmo-msgdb-unset-flag): Likewise.
5044
5045         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5046
5047 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5048
5049         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5050         `last:' filter.
5051
5052 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5053
5054         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5055         set spool-length to 0.
5056
5057 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5058
5059         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5060         (elmo-dop-queue-flush): Fixed last change.
5061
5062 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5063
5064         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5065         if require-msgdb slot is nil.
5066         (elmo-folder-list-importants): Likewise.
5067
5068 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5069
5070         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5071         mark is changed.
5072
5073         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5074         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5075         is changed.
5076
5077 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5078
5079         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5080
5081 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5082
5083         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5084
5085         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5086
5087 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5088
5089         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5090         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5091
5092 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5093
5094         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5095         the problem reported by Sean Rima [wl-en:180].
5096
5097 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5098
5099         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5100
5101         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5102
5103         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5104
5105         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5106
5107         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5108
5109         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5110
5111         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5112
5113 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5114
5115         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5116         status number.
5117
5118 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5119
5120         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5121         (elmo-folder-mark-as-read): Follow the API change.
5122         (elmo-message-set-cached): New function.
5123
5124         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5125
5126         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5127
5128         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5129         (elmo-folder-mark-as-important): Ditto.
5130         (elmo-folder-unmark-read): Ditto.
5131         (elmo-folder-mark-as-read): Ditto.
5132         (elmo-folder-unmark-answered): Ditto.
5133         (elmo-folder-mark-as-answered): Ditto.
5134
5135         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5136         (elmo-folder-unmark-important): Ditto.
5137         (elmo-folder-mark-as-read): Ditto.
5138         (elmo-folder-unmark-read): Ditto.
5139         (elmo-folder-mark-as-answered): Ditto.
5140         (elmo-folder-unmark-answered): Ditto.
5141
5142         * elmo-mark.el (toplevel): Removed some mark method definitions.
5143
5144         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5145         (elmo-map-folder-mark-as-answered): Ditto.
5146         (elmo-folder-unmark-important): Add :before qualifier.
5147         (elmo-folder-mark-as-important): Ditto.
5148         (elmo-folder-unmark-read): Ditto.
5149         (elmo-folder-mark-as-read): Ditto.
5150         (elmo-folder-unmark-answered): Define.
5151         (elmo-folder-mark-as-answered): Ditto.
5152
5153         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5154         (elmo-map-folder-unmark-answered): Ditto.
5155
5156         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5157
5158         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5159         (elmo-folder-mark-as-important): Ditto.
5160         (elmo-folder-unmark-read): Ditto.
5161         (elmo-folder-mark-as-read): Ditto.
5162         (elmo-folder-unmark-answered): Ditto.
5163         (elmo-folder-mark-as-answered): Ditto.
5164
5165         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5166         `mark'; evaluate mark condition.
5167         (elmo-msgdb-match-condition-internal): New function.
5168         (elmo-msgdb-match-condition): Call it; changed argument.
5169
5170         * elmo.el (elmo-folder-search): Follow the API change on
5171         `elmo-msgdb-match-condition'.
5172
5173 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5174
5175         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5176         original mark is non-nil.
5177
5178 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5179
5180         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5181         (elmo-map-folder-list-answereds): New method.
5182         (elmo-folder-list-unreads): Add :around qualifier.
5183         (elmo-folder-list-importants): Ditto.
5184         (elmo-folder-list-answereds): Ditto.
5185
5186 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5187
5188         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5189
5190         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5191         method if msgdb is not required.
5192         (elmo-filter-folder-list-importants): Don't treat global-mark.
5193
5194         * elmo.el (elmo-folder-list-importants): Ditto.
5195
5196         * elmo-net.el (elmo-folder-list-importants): Ditto.
5197
5198         * elmo-map.el (elmo-folder-list-importants): Ditto.
5199
5200         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5201
5202         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5203         (elmo-imap4-folder-list-any-plugged): New function.
5204         (elmo-imap4-search-internal-primitive): Use it.
5205
5206         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5207         only when require-msgdb slot is non-nil.
5208         (elmo-folder-close): Clear target folder's msgdb.
5209
5210 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5211
5212         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5213         (elmo-pop3-msgdb-create-by-header): Ditto.
5214         (elmo-pop3-msgdb-create-message): Ditto.
5215
5216         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5217
5218         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5219
5220         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5221
5222         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5223         (elmo-folder-msgdb-create): Ditto.
5224         (elmo-nntp-folder-msgdb-create): Ditto.
5225         (elmo-nntp-msgdb-create-by-header): Ditto.
5226         (elmo-nntp-msgdb-create-message): Ditto.
5227         (elmo-folder-list-unreads): Define.
5228
5229         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5230         (elmo-folder-append-messages): Ditto.
5231         (elmo-folder-list-unreads): Define.
5232         (elmo-folder-list-importants): Ditto.
5233         (elmo-folder-list-answereds): Ditto.
5234
5235         * elmo-net.el (elmo-folder-list-unreads): Define.
5236         (elmo-folder-list-importants): Ditto.
5237         (elmo-folder-list-answereds): Ditto.
5238         (elmo-folder-list-answereds-plugged): Ditto.
5239         (elmo-folder-msgdb-create): Follow the API change.
5240         (elmo-folder-msgdb-create-unplugged): Ditto.
5241         (elmo-folder-unmark-answered): Define.
5242         (elmo-folder-mark-as-answered-unplugged): Ditto.
5243         (elmo-folder-unmark-answered-unplugged): Ditto.
5244
5245         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5246         (elmo-msgdb-unread-uncached-mark): Ditto.
5247         (elmo-msgdb-unread-cached-mark): Ditto.
5248         (elmo-msgdb-read-uncached-mark): Ditto.
5249         (elmo-msgdb-answered-cached-mark): Ditto.
5250         (elmo-msgdb-answered-uncached-mark): Ditto.
5251         (elmo-msgdb-important-mark): Ditto.
5252         (elmo-msgdb-set-mark): Rewrite.
5253         (elmo-msgdb-count-marks): Rewrite.
5254         (elmo-msgdb-mark-alist-set): Abolish.
5255         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5256         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5257
5258         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5259         (elmo-folder-close): Define.
5260         (elmo-folder-msgdb-create): Follow the API change.
5261         (elmo-folder-list-unreads): Rewrite.
5262         (elmo-folder-mark-as-important): Ditto.
5263         (elmo-folder-unmark-important): Ditto.
5264         (elmo-folder-mark-as-read): Ditto.
5265         (elmo-folder-unmark-read): Ditto.
5266         (elmo-folder-mark-as-answered): Define.
5267         (elmo-folder-unmark-answered): Ditto.
5268
5269         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5270         (elmo-folder-append-messages): Ditto.
5271
5272         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5273
5274         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5275         (elmo-folder-list-importants): Ditto.
5276
5277         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5278         (elmo-folder-append-messages): Ditto.
5279
5280         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5281         change.
5282         (elmo-folder-msgdb-create-plugged): Ditto.
5283         (elmo-folder-append-messages): Ditto.
5284         (elmo-folder-list-answereds-plugged): Define.
5285         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5286         (elmo-folder-unmark-answered-plugged): Define.
5287         (elmo-folder-mark-as-answered-plugged): Ditto.
5288         (elmo-folder-search-requires-msgdb-p): Ditto.
5289
5290         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5291         (elmo-folder-initialize): Set it.
5292         (elmo-folder-msgdb): Define.
5293         (elmo-folder-check): Call elmo-folder-synchronize.
5294         (elmo-folder-close): Define.
5295         (elmo-folder-commit): Ditto.
5296         (elmo-folder-msgdb-create): Rewrite.
5297         (elmo-folder-list-unreads): Ditto.
5298         (elmo-folder-list-importants): Ditto.
5299         (elmo-folder-mark-as-read): Ditto.
5300         (elmo-folder-unmark-read): Ditto.
5301         (elmo-folder-mark-as-important): Ditto.
5302         (elmo-folder-unmark-important): Ditto.
5303         (elmo-folder-mark-as-answered): Define.
5304         (elmo-folder-unmark-answered): Ditto.
5305
5306         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5307         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5308         (elmo-dop-queue-method-name-alist): Likewise.
5309         (elmo-folder-mark-as-answered-dop): New inline function.
5310         (elmo-folder-unmark-answered-dop): Ditto.
5311         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5312
5313         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5314         (elmo-folder-msgdb-create): Ditto.
5315         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5316         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5317         (elmo-archive-parse-mmdf): Ditto.
5318
5319         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5320         (elmo-folder-list-unreads-internal): Ditto.
5321
5322         * elmo.el (elmo-folder-msgdb): Define as generic function.
5323         (elmo-folder-list-messages): Added argument `in-msgdb'.
5324         (elmo-folder-list-unreads): Define as generic function.
5325         (elmo-folder-list-importants): Ditto.
5326         (elmo-folder-list-answereds): Ditto.
5327         (elmo-folder-list-messages-with-global-mark): New function.
5328         (elmo-folder-msgdb-create): Removed mark arguments.
5329         (elmo-folder-unmark-answered): New generic function.
5330         (elmo-folder-mark-as-answered): Ditto.
5331         (elmo-folder-append-messages): Removed argunment `unread-marks'
5332         (elmo-folder-list-unreads-internal): Abolish.
5333         (elmo-folder-list-importants-internal): Ditto.
5334         (elmo-folder-search-requires-msgdb-p): New generic function.
5335         (elmo-folder-search-requires-msgdb-p-internal): New function.
5336         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5337         elmo-msgdb-load.
5338         (elmo-folder-search-fast): Added key 'mark'.
5339         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5340         instead of unread-marks argument.
5341         (elmo-folder-move-messages): Removed argunment `unread-marks'
5342         (elmo-folder-unmark-important): Define.
5343         (elmo-folder-mark-as-important): Ditto.
5344         (elmo-folder-unmark-read): Ditto.
5345         (elmo-folder-mark-as-read): Ditto.
5346         (elmo-folder-unmark-answered): Ditto.
5347         (elmo-folder-mark-as-answered): Ditto.
5348         (elmo-folder-replace-marks): Abolish.
5349         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5350         duplicates.
5351         (elmo-folder-synchronize): Removed mark arguments;
5352         return crosspost only number.
5353
5354 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5355
5356         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5357         Remove redundunt connectivity check.
5358
5359 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5360
5361         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5362         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5363
5364 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5365
5366         * pldap.el (ldap-decode-string): Return string as-is if
5367         `ldap-coding-system' is nil.
5368         (ldap-encode-string): Ditto.
5369         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5370         (ldap-default-host): Fixed docstring.
5371
5372 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5373
5374         * elmo-util.el (elmo-warning): Define as a macro which uses
5375         `display-warning' if it is defined as a function.
5376
5377         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5378         (elmo-split-equal): Use it.
5379         (elmo-split-match): Ditto.
5380         (elmo-split-message-entity): New buffer-local variable.
5381         (elmo-split-subr): Set it.
5382
5383         * elmo-version.el (elmo-version): Up to 2.9.15.
5384
5385 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5386
5387         * elmo-imap4.el (elmo-network-initialize-session):
5388         Check capability after starttls.
5389
5390 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5391
5392         * elmo-util.el (elmo-list-delete): Added optional argument
5393         DELETE-FUNCTION.
5394
5395         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5396
5397         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5398
5399         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5400
5401         * elmo-imap4.el (elmo-folder-initialize): Don't use
5402         elmo-imap4-default-mailbox.
5403
5404 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5405
5406         * elmo-split.el (toplevel): Use `product-provide'.
5407         (elmo-split): Checkdoc.
5408
5409 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5410
5411         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5412         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5413         the function `elmo-imap4-debug-1'.
5414
5415 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5416
5417         * elmo-split.el (elmo-split): Moved to run hooks and to show
5418         message from elmo-split-subr.
5419         (elmo-split-subr): Follow the change above.
5420
5421         * elmo-split.el (elmo-split-subr): New function (renamed from
5422         elmo-split-subr).
5423         (elmo-split): Changed to call elmo-split-subr by element of
5424         elmo-split-folder.
5425         (elmo-split-folder): Changed customization type to choice.
5426
5427 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5428
5429         * elmo-split.el (elmo-split-and): Fixed condition.
5430
5431 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5432
5433         * elmo-split.el: New file.
5434         (elmo-split): Fixed logic.
5435         Display "Test:" instead of "Folder:" when reharsal.
5436
5437         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5438         explicitly.
5439
5440         * elmo-version.el (elmo-version): Up to 2.9.14.
5441
5442         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5443         wl-expand-newtext).
5444
5445 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5446
5447         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5448         message with no message-id field.
5449
5450 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5451
5452         * elmo-version.el (elmo-version): Up to 2.9.13.
5453
5454         * elmo-dop.el (elmo-folder-status-dop): Fix.
5455
5456 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5457
5458         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5459
5460         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5461         changing default value of default-mime-charset.
5462         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5463
5464         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5465
5466         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5467         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5468         instead of elmo-dop-queue-method-name-alist to check merging queue.
5469         (elmo-folder-delete-messages-dop): Delete from queue if negative
5470         message number.
5471         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5472         file is already removed.
5473
5474 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5475
5476         * elmo-vars.el: Bind colon keywords for old Emacsen.
5477
5478 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5479
5480         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5481         against non-exsisting charset.
5482
5483 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5484
5485         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5486         Use eword-decode-and-unfold-unstructured-field-body.
5487
5488         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5489         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5490         exists to decode raw subject string.
5491         (toplevel): Require 'mime.
5492
5493         * elmo-version.el (elmo-version): Up to 2.9.12.
5494
5495 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5496
5497         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5498         (elmo-msgdb-set-mark): Ditto.
5499
5500         * elmo-version.el (elmo-version): Up to 2.9.11.
5501
5502 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5503
5504         * elmo-util.el (elmo-delete-match-files): New function.
5505
5506         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5507         instead of elmo-delete-directory.
5508
5509         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5510         elmo-hash-minimun-size as 63.
5511
5512         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5513         elmo-diff-unread is nil.
5514
5515         * elmo-imap4.el (elmo-folder-open): Fix.
5516
5517         * elmo.el (elmo-message-mark): Rewrite.
5518         (elmo-message-field): Ditto.
5519         (elmo-message-set-mark): Ditto.
5520         (elmo-folder-replace-marks): New function.
5521         (elmo-generic-folder-append-msgdb): Removed third argument for
5522         elmo-msgdb-append.
5523         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5524         (elmo-msgdb-load): New implementation.
5525
5526         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5527
5528         * elmo-util.el (elmo-list-insert): New implementation.
5529
5530         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5531         argument for elmo-msgdb-append.
5532         
5533
5534         * elmo-msgdb.el (elmo-load-msgdb): New function.
5535         (elmo-make-msgdb): Ditto.
5536         (elmo-msgdb-get-index): New inline function.
5537         (elmo-msgdb-set-index): Ditto.
5538         (elmo-msgdb-get-entity-hashtb): Ditto.
5539         (elmo-msgdb-get-mark-hashtb): Ditto.
5540         (elmo-msgdb-get-mark): Ditto.
5541         (elmo-msgdb-set-mark): Ditto.
5542         (elmo-msgdb-count-marks): Ditto.
5543         (elmo-msgdb-get-number): Ditto.
5544         (elmo-msgdb-get-field): Ditto.
5545         (elmo-msgdb-seen-list): Ditto.
5546         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5547         (elmo-msgdb-delete-msgs): Follow the changes above.
5548         (elmo-msgdb-overview-get-entity): Ditto.
5549         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5550         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5551         and rewritten.
5552         (elmo-msgdb-make-index): Likewise.
5553         (elmo-msgdb-append): Removed third argument.
5554         (elmo-msgdb-clear): Clear index as nil.
5555         (elmo-folder-set-info-hashtb): Removed.
5556         (elmo-folder-set-info-max-by-numdb): Ditto.
5557         (elmo-folder-info-make-hashtb): Ditto.
5558
5559         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5560
5561         * elmo-map.el (elmo-folder-pack-number): Ditto.
5562
5563 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5564
5565         * elmo-version.el (elmo-version): Up to 2.9.10.
5566
5567         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5568
5569         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5570
5571 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5572
5573         * elmo-utils.el (elmo-make-directory): Add option.
5574         Default file mode is 700.
5575
5576 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5577
5578         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5579
5580 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5581
5582         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5583         mime-charset.
5584
5585         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5586         and "smaller".
5587
5588 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5589
5590         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5591         (elmo-shimbun-folder-entity-hash): New function.
5592         (elmo-shimbun-folder-shimbun-header): Ditto.
5593         (elmo-shimbun-entity-to-header): Ditto.
5594         (elmo-shimbun-msgdb-to-headers): Removed.
5595         (elmo-shimbun-folder-setup): Ditto.
5596         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5597         for hash key.
5598         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5599         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5600         Removed useless local bind.
5601         (elmo-folder-open-internal): Don't call
5602         `elmo-shimbun-folder-setup'.
5603         (elmo-folder-close-internal): Clear entity-hash slot.
5604         (elmo-folder-clear): Ditto.
5605         (elmo-shimbun-msgdb-create-entity): Use
5606         `elmo-shimbun-folder-shimbun-header'.
5607         (elmo-map-message-fetch): Ditto.
5608         (elmo-shimbun-update-overview): Use overview entity instead of
5609         shimbun header to lookup id by references.
5610         (elmo-map-folder-list-message-locations): Use not only headers but
5611         also overviews to list locations.
5612
5613 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5614
5615         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5616         msgdb path.
5617
5618         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5619
5620 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5621
5622         * elmo-util.el (elmo-read-search-condition-internal): Give default
5623         value for date.
5624
5625 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5626
5627         * elmo-util.el (elmo-condition-parse-search-value): Accept
5628         YYYY-MM-DD format to search.
5629         * elmo-date.el (elmo-date-get-datevec): Likewise.
5630
5631 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5632
5633         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5634         debugging code.
5635
5636 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5637
5638         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5639         from t.
5640
5641         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5642
5643         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5644         case from `elmo-folder-exists-p'.
5645         (elmo-folder-exists-p): Removed.
5646         (elmo-folder-creatable-p) Ditto.
5647
5648         * elmo-net.el (elmo-folder-create): Defined.
5649         (elmo-folder-create-unplugged): New function.
5650         (elmo-folder-exists-p): Changed default value to nil from t.
5651
5652         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5653         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5654
5655         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5656         `elmo-create-folder-dop' and append queue
5657         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5658         (elmo-folder-create-dop-delayed): New function.
5659
5660         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5661
5662         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5663
5664         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5665         (elmo-folder-writable-p) : Ditto.
5666
5667         * elmo-version.el (elmo-version): Up to 2.9.9.
5668
5669 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5670
5671         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5672         `elmo-message-use-cache-p' returns nil.
5673         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5674         (ignore cache file and refer the substance in local folders)
5675
5676 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5677
5678         * elmo-version.el (elmo-version): Up to 2.9.8.
5679
5680 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5681
5682         * elmo-version.el (elmo-version): Up to 2.9.7.
5683
5684         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5685
5686 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5687
5688         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5689
5690 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5691
5692         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5693         from --early.
5694         (elmo-map-folder-list-message-locations): Reverse location list.
5695
5696 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5697
5698         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5699
5700 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5701
5702         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5703         as a key.
5704         (elmo-nntp-folder-list-subfolders): Follow the change above.
5705
5706 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5707
5708         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5709         name if authentication type is specified.
5710
5711 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5712
5713         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5714         variable.
5715         (elmo-default-nntp-stream-type): Ditto.
5716         (elmo-default-pop3-stream-type): Ditto.
5717
5718 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5719
5720         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5721
5722 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5723
5724         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5725         elmo-vars.el.
5726         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5727
5728         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5729         (elmo-maildir-folder-path): Ditto.
5730         (elmo-maildir-list): Ditto (abolished).
5731
5732 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5733
5734         * elmo-version.el (elmo-version): Up to 2.9.6.
5735
5736 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5737
5738         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5739         (elmo-maildir-folder-path): Ditto.
5740         (elmo-msgdb-directory): Ditto.
5741         (elmo-passwd-life-time): Ditto.
5742         (elmo-msgdb-extra-fields): Ditto.
5743         (elmo-enable-disconnected-operation): Ditto.
5744
5745 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5746
5747         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5748         other choices.
5749         (elmo-pop3-default-authenticate-type): Ditto.
5750
5751 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5752
5753         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5754         choices for custom.
5755         (elmo-pop3-default-authenticate-type): Ditto.
5756
5757 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5758
5759         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5760         mailbox to new-folder.
5761
5762 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5763
5764         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5765         less than new, set new as unread.
5766
5767         * elmo-util.el (elmo-string): Don't put text-property if nil.
5768
5769 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5770
5771         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5772         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5773
5774 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5775
5776         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5777         is nil on `completing-read'.
5778
5779 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5780
5781         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5782         for namespace part.
5783         (elmo-imap4-parse-namespace-subr): Ditto.
5784         (elmo-folder-list-subfolders): Append a delimiter when the specified
5785         folder path is a root with namespace and does not end with delimiter.
5786
5787 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5788
5789         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5790         was used.
5791
5792 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5793
5794         * elmo-util.el (elmo-save-buffer): The first argument of message
5795         is a format control string.
5796
5797 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5798
5799         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5800         `elmo-folder-diff').
5801         (elmo-diff-unread): Likewise.
5802
5803 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5804
5805         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5806         is t on `completing-read'.
5807
5808 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5809
5810         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5811         method of target folder with self mark-alist if MARK-ALIST is nil.
5812
5813 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5814
5815         * elmo-version.el (elmo-version): Up to 2.9.5.
5816
5817 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5818
5819         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5820         (elmo-dop-merge-funcs): Remove.
5821
5822 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5823
5824         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5825         Return t if PATH is directory, too.
5826         Use `dolist' instead of while loop.
5827
5828 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5829
5830         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5831         is deleted.
5832
5833 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5834
5835         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5836         return value to t.
5837         (elmo-folder-list-messages-unplugged): Return t if
5838         elmo-enable-disconnected-operation is nil.
5839
5840         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5841         `elmo-folder-list-messages-internal'.
5842
5843 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5844
5845         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5846         Change to looking-at `[23][0-9]+'.
5847         (elmo-network-initialize-session): Use 'error-msg'
5848         * elmo-net.el (elmo-network-open-session): Set unplugged
5849         if elmo-network-initialize-session returns 'elmo-open-err.
5850
5851 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5852
5853         * elmo-version.el (elmo-version): Up to 2.9.4.
5854
5855 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5856
5857         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5858         `elmo-folder-list-messages-internal'.
5859
5860 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5861
5862         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5863         (elmo-message-match-condition): New method.
5864         (elmo-folder-search-fast): New inline function.
5865         (elmo-msgdb-search): Removed.
5866
5867         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5868         target folder if it is unplugged.
5869         (elmo-folder-list-messages-internal): Return t if target folder is
5870         unplugged and itself is persistent; In this case, use list be
5871         searched already.
5872
5873         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5874         (elmo-msgdb-search-internal-primitive): Ditto.
5875         (elmo-msgdb-match-condition): New function.
5876         (elmo-msgdb-match-condition-primitive): Ditto.
5877
5878         * elmo-util.el (elmo-filter-condition-p): New macro.
5879
5880         * elmo-cache.el (elmo-folder-search): Removed.
5881
5882         * elmo-localdir.el (elmo-folder-search): Ditto.
5883
5884         * elmo-maildir.el (elmo-folder-search): Ditto.
5885
5886         * elmo-mark.el (elmo-folder-search): Ditto.
5887
5888         * elmo-nmz.el (elmo-folder-search): Ditto.
5889
5890         * elmo-sendlog.el (elmo-folder-search): Ditto.
5891
5892         * elmo-shimbun.el (elmo-folder-search): Ditto.
5893
5894         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5895         if folder is unplugged.
5896
5897         * elmo-nntp.el (elmo-folder-search): Likewise.
5898         (elmo-nntp-search-internal): New function.
5899
5900         * elmo-version.el (elmo-version): Up to 2.9.3.
5901
5902 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5903
5904         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5905
5906 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5907
5908         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5909
5910 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5911
5912         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5913
5914 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5915
5916         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5917         (elmo-map-folder-list-message-locations): Do drive letter conversion
5918         on Windows environment.
5919         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5920         (elmo-map-message-fetch): Ditto.
5921
5922 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5923
5924         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5925         (elmo-network-initialize-session): Ditto.
5926
5927 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5928
5929         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5930
5931         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5932
5933         * elmo-util.el (elmo-progress-clear): Ditto.
5934
5935         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5936         `DD-Mon-YYYY' type date.
5937
5938 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5939
5940         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5941         `elmo-date-make-sortable-string' instead of
5942         `timezone-make-date-sortable'.
5943
5944         * elmo-date.el (elmo-date-make-sortable-string): Use
5945         `timezone-make-time-string'.
5946
5947 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5948
5949         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5950
5951         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5952         `since'; Fix timezone.
5953
5954         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5955
5956         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5957
5958 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5959
5960         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5961
5962 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5963
5964         * elmo.el (elmo-generic-folder-append-messages): Make
5965         fetch-strategy with `use-cache' as 'maybe. Check return value of
5966         `elmo-message-fetch'.
5967         (elmo-message-fetch): Return return value of
5968         `elmo-message-fetch-with-cache-process'.
5969         (elmo-message-fetch-with-cache-process): Return non-nil if
5970         fetching was succeed. Load cache when fetching was failed and
5971         fetch-strategy-use-cache is 'maybe.
5972
5973         * elmo-util.el (elmo-file-cache-load): New function.
5974
5975         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5976         defun.
5977
5978         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5979         non-nil if fetching was succeed.
5980
5981         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5982
5983         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5984
5985         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5986         (elmo-message-fetch-with-cache-process): Likwise.
5987
5988         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5989
5990         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5991
5992         * elmo-version.el (elmo-version): Up to 2.9.2.
5993
5994 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5995
5996         * elmo.el (elmo-folder-delete): Delete msgdb path.
5997
5998         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5999
6000         * elmo-maildir.el (elmo-folder-delete): Ditto.
6001
6002         * elmo-localdir.el (elmo-folder-delete): Ditto.
6003
6004         * elmo-imap4.el (elmo-folder-delete): Ditto.
6005
6006 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6007
6008         * elmo.el (luna-define-class): Added `biff' slot.
6009
6010         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6011         (elmo-pop3-debug-inhibit-logging): Abolished.
6012         (elmo-network-close-session): Eliminated needless let.
6013         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6014         (elmo-pop3-send-command): Added `no-log' argument.
6015         (elmo-pop3-process-filter): Use `with-current-buffer'.
6016         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6017         if login failure.
6018         (elmo-pop3-auth-apop): Likewise.
6019         (elmo-network-authenticate-session): Likewise.
6020
6021         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6022         if biff folder.
6023
6024         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6025         string to determine protocol.
6026         (elmo-network-session-name-prefix): Abolished.
6027         (elmo-network-session-cache-key): Follow the change above.
6028         (elmo-network-open-session): Ditto.
6029
6030         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6031         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6032
6033         * elmo-version.el (elmo-version): Up to 2.9.1.
6034
6035         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6036         unmatch condition checking.
6037
6038         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6039         condition.
6040
6041 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6042
6043         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6044
6045 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6046
6047         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6048         test for while loop to execute at least one SEARCH command.
6049
6050 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6051
6052         * elmo-version.el (elmo-version): Up to 2.9.0.
6053
6054 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6055
6056         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6057         (elmo-archive-folder-path): Define.
6058         (elmo-folder-initialize): Setup `dir-name' slot.
6059         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6060         Use `dir-name' as prefix of each subfolders.
6061         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6062
6063 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6064
6065         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6066         (elmo-pipe-folder-list-target-messages): New internal function.
6067         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6068         `killed-list'.
6069         (elmo-pipe-folder-copied-list-load): New function.
6070         (elmo-pipe-folder-copied-list-save): Ditto.
6071         (elmo-folder-open-internal): Follow the change above.
6072         (elmo-folder-status): Fixed for copy.
6073
6074 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6075
6076         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6077
6078 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6079
6080         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6081         elmo-copy-file instead of elmo-add-name-to-file.
6082
6083         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6084
6085         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6086         "file://..." index.
6087
6088         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6089         of accept-process-output as 1.
6090         (elmo-pop3-read-contents): Ditto.
6091         (elmo-pop3-read-body): Ditto.
6092
6093 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6094
6095         * elmo-version.el (product-version-as-string): Remove define.
6096
6097 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6098
6099         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6100         (elmo-imap4-copy-messages): Chop number set using
6101         `elmo-imap4-number-set-chop-length'.
6102         (elmo-imap4-set-flag): Ditto.
6103         (elmo-imap4-search-internal-primitive): Ditto.
6104
6105 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6106
6107         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6108         `elmo-folder-make-temp-dir'
6109
6110         * elmo-vars.el (elmo-cache-directory): New variable.
6111         (elmo-cache-dir): Abolished.
6112         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6113
6114         * elmo-version.el (elmo-version): Up to 2.7.7.
6115
6116 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6117
6118         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6119         defcustom; Set default value as t.
6120
6121 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6122
6123         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6124         (ldap-search-program-arguments): Changed default value.
6125         (ldap-search-basic): Accept exit status 4.
6126         (ldap/field-body): Parse options.
6127         (ldap/collect-field): Ditto.
6128         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6129
6130         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6131         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6132         (elmo-imap4-accept-ok): Ditto.
6133         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6134         'notify-bye, only BYE error is reported.
6135         (elmo-folder-exists-p-plugged): Set no-error argument of
6136         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6137
6138         * elmo.el (elmo-imap4-bye-error): Changed message.
6139
6140         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6141         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6142         queues (It causes infinite loop).
6143
6144 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6145
6146         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6147         (RECENT UNSEEN MESSAGES) extension.
6148
6149 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6150
6151         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6152         Check number of overview fields.
6153
6154 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6155
6156         * elmo.el (elmo-folder-confirm-appends): Changed message.
6157         (elmo-folder-confirm-appends): Ditto.
6158
6159         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6160         `with-temp-buffer'.
6161         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6162
6163 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6164
6165         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6166         of elmo-folder-update-threshold is nil, which can be set by
6167         wl-summary-update-confirm-threshold.
6168
6169 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6170
6171         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6172         (elmo-nmz-index-alias-alist): Ditto.
6173         (elmo-map-folder-list-message-locations): Follow the change above.
6174
6175 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6176
6177         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6178
6179         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6180
6181         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6182
6183         * elmo-util.el (elmo-read): Ditto.
6184         (elmo-display-error): Ditto.
6185
6186         * elmo-vars.el (elmo-date-match): Ditto.
6187
6188         * pldap.el (ldap-coding-system): Ditto.
6189
6190         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6191         `elmo-inhibit-number-mapping' as nil.
6192
6193 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6194
6195         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6196         space delimiter for list response.
6197
6198 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6199
6200         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6201
6202 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6203
6204         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6205         (elmo-map-message-fetch): Fix.
6206         * elmo-map.el (elmo-folder-status): Fix for killed.
6207
6208 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6209
6210         * elmo-sendlog.el: New file.
6211         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6212
6213 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6214
6215         * acap.el (acap-logging-out): New buffer local variable.
6216         (acap-close): Set it.
6217         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6218         an error.
6219
6220 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6221
6222         * acap.el (acap-response-bye-p): New function.
6223         (acap-response-bye-message): Ditto.
6224         (acap-wait-for-response): If bye response is received, cause an error.
6225         (acap-parse-response): Make bye response when 'Bye' is received.
6226
6227 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6228
6229         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6230
6231 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6232
6233         * elmo-util.el (elmo-copy-file): Added argument
6234         `ok-if-already-exists'.
6235         (elmo-copy-file): Fixed typo.
6236
6237 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6238
6239         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6240
6241 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6242
6243         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6244
6245 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6246
6247         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6248         to killed-list.
6249
6250 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6251
6252         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6253         (elmo-folder-initialize): Fix for `copy'.
6254         (elmo-pipe-drain): Ditto.
6255         (elmo-folder-open-internal): Ditto.
6256         (elmo-folder-newsgroups): Fix.
6257
6258 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6259
6260         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6261         for each message.
6262
6263         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6264         recent value is returned from imap folder.
6265
6266         * elmo.el (elmo-folder-newsgroups): New generic function.
6267
6268         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6269         (elmo-folder-initialize): Set it.
6270         (elmo-folder-expand-msgdb-path): Use it.
6271         (elmo-folder-newsgroups): Define.
6272
6273         * elmo-filter.el (elmo-folder-newsgroups): Define.
6274
6275         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6276
6277         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6278
6279         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6280
6281 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6282
6283         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6284         user option.
6285         (elmo-shimbun-header-extra-field): New inline function.
6286         (elmo-shimbun-header-set-extra-field): Ditto.
6287         (elmo-shimbun-folder-header-hash-setup): Ditto.
6288         (elmo-shimbun-update-overview): Ditto.
6289         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6290         (elmo-shimbun-folder-setup): Use
6291         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6292         (elmo-shimbun-get-headers): Ditto.
6293         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6294         Insert `X-Shimbun-Id:' header if extra field is set.
6295         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6296         field's value instead of `shimbun-header-id'.
6297
6298         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6299         inline function.
6300         (elmo-msgdb-overview-entity-set-date): Ditto.
6301         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6302
6303 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6304
6305         * mmimap.el (mmimap-entity-section): Changed body node number from
6306         "0" to "1".
6307
6308 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6309
6310         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6311         `elmo-folder-delete-messages'.
6312
6313         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6314         (elmo-folder-initialize): Changed to expand alias into index path.
6315
6316         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6317         `elmo-mime-insert-header-from-buffer' with 6th arg
6318         `sorted-fields'.
6319
6320 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6321
6322         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6323
6324         * elmo.el (elmo-diff-new): New inline function.
6325         (elmo-diff-unread): Ditto.
6326         (elmo-diff-all): Ditto.
6327
6328         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6329         value from responseb.
6330         (elmo-imap4-folder-diff-plugged): Ditto.
6331         (elmo-imap4-server-diff-async): Added recent argument.
6332         (elmo-server-diff-async): Ditto.
6333         (elmo-imap4-folder-diff-plugged): Ditto.
6334
6335         * elmo-version.el (elmo-version): Up to 2.7.6.
6336
6337 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6338
6339         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6340         in quoted-stirng.
6341
6342 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6345
6346         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6347
6348         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6349
6350         * elmo-multi.el (elmo-folder-initialize): Ditto.
6351
6352         * elmo-util.el (elmo-parse-token): New function.
6353         (elmo-parse-prefixed-element): Ditto.
6354
6355 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6356
6357         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6358         delete process.
6359         (elmo-imap4-accept-ok): Ditto.
6360
6361 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6362
6363         * mmimap.el (mime-imap-entity-header-string): Don't check first
6364         element of node-id is `0' (Follow last change).
6365
6366 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6367
6368         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6369         assigned irregular node-id to nested multipart section.
6370         (initialize-instance): Followed above change.
6371
6372 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6373
6374         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6375         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6376         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6377         `elmo-shimbun-get-headers');
6378         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6379         visible article on summary exists in headers).
6380         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6381
6382 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6383
6384         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6385         definition.
6386
6387 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6388
6389         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6390
6391 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6392
6393         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6394         header separator into loop condition.
6395
6396 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6397
6398         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6399         Return duplicate folder if it has subfolder.
6400
6401 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6402
6403         * elmo.el (elmo-make-folder): Add folder name error check.
6404
6405         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6406         (elmo-nntp-encode-group-string): New inline function.
6407         (elmo-nntp-decode-group-string): Ditto.
6408         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6409         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6410         Use `not' instead of `null';
6411         Use elmo-nntp-decode-group-string.
6412
6413         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6414
6415         * elmo-version.el (elmo-version): Up to 2.7.5.
6416
6417 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6418
6419         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6420         Hide progress gauge if `elmo-folder-move-messages' exits
6421         nonlocally.
6422
6423 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6424
6425         * elmo-imap4.el (elmo-folder-initialize): Use
6426         `elmo-imap4-encode-folder-string' for folder name.
6427
6428 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6429
6430         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6431         `done'.
6432
6433 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6434
6435         * elmo-util.el (elmo-progress-counter-alist): New internal
6436         variable.
6437         (elmo-progress-counter-value): New macro.
6438         (elmo-progress-counter-all-value): Ditto.
6439         (elmo-progress-counter-format): Ditto.
6440         (elmo-progress-counter-set-value): Ditto.
6441         (elmo-progress-set): New function.
6442         (elmo-progress-clear): Ditto.
6443         (elmo-progress-notify): Ditto.
6444
6445         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6446         counter.
6447
6448         * elmo.el (elmo-generic-folder-append-messages): Call
6449         `elmo-progress-notify'.
6450         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6451
6452         * elmo-archive.el (elmo-folder-append-messages): Call
6453         `elmo-progress-notify'.
6454
6455         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6456
6457         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6458
6459         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6460
6461 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6462
6463         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6464         'Create'.
6465         (elmo-message-encache-dop): Added argument `read'.
6466
6467         * elmo-shimbun.el (elmo-message-encache): Ditto.
6468
6469         * elmo-net.el (elmo-message-encache): Ditto.
6470
6471         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6472         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6473         elmo-imap4-seen-messages.
6474         (elmo-folder-msgdb-create-plugged): Initialize
6475         elmo-imap4-seen-messages;
6476         Set seen mark on elmo-imap4-seen-messages.
6477
6478         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6479
6480         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6481         elmo-folder-append-buffer.
6482         (elmo-folder-encache): Added optional argument `read'.
6483         (elmo-message-encache): Ditto.
6484
6485         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6486
6487         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6488
6489         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6490         if append buffer content succeds.
6491
6492 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6493
6494         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6495         elmo-display-progress.
6496
6497         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6498         Set 4th argument of mime-display-message.
6499         (elmo-mime-display-as-is): Ditto.
6500
6501 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6502
6503         * elmo-nmz.el (toplevel): Require 'mime-edit.
6504         (elmo-nmz-content-type-alist): Abolished.
6505         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6506         content is not a message.
6507         (elmo-map-message-fetch): Changed behavior exept for message content;
6508         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6509         content-type, Add From: and Subject: field.
6510
6511 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6512
6513         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6514         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6515         not a message.
6516
6517 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6518
6519         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6520         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6521
6522         * elmo-archive.el (elmo-folder-writable-p): Defined.
6523
6524         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6525
6526         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6527
6528         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6529
6530         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6531
6532         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6533
6534         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6535
6536         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6537
6538         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6539
6540 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6541
6542         * elmo-util.el (elmo-address-quote-specials): New function;
6543         Renamed from `wl-address-quote-specials'.
6544
6545 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6546
6547         * elmo-version.el (elmo-version): Up to 2.7.4.
6548
6549 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6550
6551         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6552
6553 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6554
6555         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6556         both compile-time and run-time to avoid byte-compile warning.
6557
6558 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6559
6560         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6561
6562 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6563
6564         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6565         option.
6566         (elmo-mime-display-as-is-internal): Use it.
6567
6568         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6569         if `read-passwd' is not defined.
6570
6571 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6572
6573         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6574         by original number.
6575         (elmo-folder-status): Call `elmo-folder-open-internal';
6576         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6577         (elmo-folder-close-internal): Set location-alist as nil.
6578         (elmo-folder-clear): Define.
6579         (elmo-folder-check): Don't set location-alist as nil.
6580
6581         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6582
6583 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6584
6585         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6586         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6587
6588         * mmimap.el (mime-imap-entity::requested): New slot.
6589         (mime-imap-location-fetch-entity-p): New generic function.
6590         (mime-decode-parameters): Define using `defun-maybe'.
6591         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6592         content-type structure.
6593         (mime-entity-body): Return empty body if
6594         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6595
6596         * elmo.el (elmo-message-displaying): New variable.
6597
6598         * elmo-mime.el (elmo-mime-message-display): Bind
6599         elmo-message-displaying as t.
6600
6601         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6602
6603 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6604
6605         * acap.el (acap-open): erase buffer before starting network process.
6606         (acap-store): Rewrite.
6607
6608 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6609
6610         * elmo-imap4.el (elmo-imap4-default-mailbox,
6611         elmo-imap4-default-server
6612         elmo-imap4-default-authenticate-type,
6613         elmo-imap4-default-user,
6614         elmo-imap4-default-port,
6615         elmo-imap4-default-stream-type,
6616         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6617
6618         * elmo-pop3.el (elmo-pop3-default-user,
6619         elmo-pop3-default-server,
6620         elmo-pop3-default-authenticate-type,
6621         elmo-pop3-default-port,
6622         elmo-pop3-default-stream-type,
6623         elmo-pop3-stream-type-alist): Ditto.
6624
6625         * elmo-nntp.el (elmo-nntp-default-server,
6626         elmo-nntp-default-user,
6627         elmo-nntp-default-port,
6628         elmo-nntp-default-stream-type,
6629         elmo-nntp-stream-type-alist): Ditto.
6630
6631         * elmo-vars.el: Follow changes above.
6632         (elmo-setting): New custom group; added 'elmo-setting group to
6633         above variables.
6634
6635         * elmo-version.el (elmo-version): Up to 2.7.3.
6636
6637         * acap.el (acap-parse-response): Don't delete process when BYE
6638         response (It causes hang-up on slow network environment).
6639         (toplevel): Added comment.
6640
6641 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6642
6643         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6644
6645         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6646         parsing NIL.
6647         (acap-parse-return-metadata): Ditto.
6648
6649         * slp.el: New file.
6650         (toplevel): Fixed typo.
6651
6652         * acap.el: New file.
6653         (acap-network-stream-open): Show "Connecting..." message.
6654         (acap-parse-response): Fixed problem for BYE untagged response.
6655         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6656         (toplevel): Added tiny comments.
6657
6658 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6659
6660         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6661         space delimiter for uidl response.
6662
6663 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6664
6665         * elmo-vars.el (elmo-use-semi): Eliminated.
6666
6667         * elmo-util.el (elmo-string-assoc-all): New function.
6668
6669 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6670
6671         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6672         property 'mime-preview-situation for `mime-preview-quit'.
6673
6674 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6675
6676         * elmo.el (elmo-message-fetch-with-cache-process): Call
6677         elmo-message-fetch-internal instead of causing an error when fetch
6678         strategy is 'entire but only 'section cache is available.
6679
6680 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6681
6682         * elmo-version.el (elmo-version): Up to 2.7.2.
6683
6684         * elmo.el (elmo-generic-folder-append-messages): Make
6685         fetch-strategy with `use-cache'.
6686
6687         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6688         (elmo-dop-queue-method-name): New macro.
6689
6690 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6691
6692         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6693         unbalanced parenthesis.
6694
6695 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6696
6697         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6698
6699 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6700
6701         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6702         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6703
6704 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6705
6706         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6707         local variables.
6708
6709 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6710
6711         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6712         (elmo-message-use-cache-p): Define.
6713         (elmo-folder-msgdb-create): Treat cache.
6714
6715 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6716
6717         * elmo-nntp.el (elmo-network-initialize-session): Call
6718         `elmo-nntp-send-mode-reader'.
6719         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6720
6721 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6722
6723         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6724         alist.
6725         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6726         assoc.
6727
6728         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6729         for `elmo-plugged-p'.
6730         (elmo-open-network-stream): Fixed stream-type argument.
6731
6732 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6733
6734         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6735         unknown archive type is specified.
6736
6737 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6738
6739         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6740
6741         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6742         while loading msgdb.
6743
6744         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6745         (elmo-folder-open-internal): Rewrite.
6746
6747 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6748
6749         * elmo-mime.el (elmo-mime-display-as-is-internal):
6750         Adjust buffer-multibyte status.
6751
6752 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6753
6754         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6755         of elmo-condition-find-key.
6756
6757         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6758         (elmo-condition-in-msgdb-p): Ditto.
6759         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6760         argument.
6761
6762 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6763
6764         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6765
6766 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6767
6768         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6769         label for elmo-display-progress.
6770
6771 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6772
6773         * elmo.el (elmo-folder-clear): New method.
6774         (elmo-folder-clear): Define.
6775         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6776
6777         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6778         (elmo-folder-clear): Define.
6779
6780         * elmo-map.el (elmo-folder-clear): Define.
6781
6782         * elmo-version.el (elmo-version): Up to 2.7.1.
6783
6784 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6785
6786         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6787         updates.
6788
6789 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6790
6791         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6792         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6793
6794 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6795
6796         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6797
6798         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6799         and re-written.
6800
6801         * elmo-imap4.el (elmo-folder-initialize): Use
6802         elmo-get-network-stream-type.
6803
6804         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6805
6806         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6807
6808 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6809
6810         * elmo.el (elmo-message-encache): Set unread argument for
6811         elmo-message-fetch.
6812
6813         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6814
6815         * elmo.el (elmo-net-port-info): New method.
6816
6817         * elmo-shimbun.el (elmo-net-port-info): Define.
6818         (elmo-message-encache): Ditto.
6819
6820         * elmo-net.el (elmo-net-port-info): Define as method.
6821
6822         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6823         unplugged status when elmo-enable-disconnected-operation is t.
6824
6825         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6826         of spool folder before checking new number.
6827
6828 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6829
6830         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6831         (elmo-network-setup-session): Ditto.
6832         (elmo-message-fetch-plugged): Ditto.
6833         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6834         (elmo-network-initialize-session): Ditto.
6835         (elmo-pop3-read-response): Abolish 3rd argument.
6836         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6837         (elmo-pop3-read-contents): Ditto.
6838         (elmo-pop3-read-body): Ditto.
6839         (elmo-folder-status): Call elmo-folder-close.
6840         (elmo-pop3-lock): Abolish.
6841         (elmo-pop3-unlock): Ditto.
6842         (elmo-pop3-locked-p): Ditto.
6843         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6844
6845 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6846
6847         * elmo-version.el (elmo-version): Up to 2.7.0.
6848
6849         * elmo-pop3.el (elmo-pop3-debug): New variable.
6850         (elmo-pop3-debug-inhibit-logging): Ditto.
6851         (elmo-pop3-debug): New function.
6852         (elmo-pop3-send-command): Call elmo-pop3-debug.
6853         (elmo-pop3-read-response): Added keep-lock optional argument;
6854         Don't unlock if keep-lock is non-nil.
6855         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6856         (elmo-network-authenticate-session): Bind
6857         elmo-pop3-debug-inhibit-logging as t.
6858         (elmo-network-setup-session): Call elmo-pop3-read-response with
6859         keep-lock argument.
6860         (elmo-pop3-read-msg): Ditto.
6861         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6862         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6863         (elmo-network-initialize-session): Call elmo-pop3-lock.
6864         (elmo-folder-close-internal): Don't clear location-alist slot.
6865         (elmo-folder-check): Clear location-alist slot.
6866
6867 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6868
6869         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6870         (elmo-pop3-send-command): Call elmo-pop3-lock.
6871         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6872         (elmo-pop3-read-contents): Ditto.
6873         (elmo-pop3-lock): New function.
6874         (elmo-pop3-unlock): Ditto.
6875         (elmo-pop3-locked-p): Ditto.
6876         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6877         returns t.
6878
6879 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6880
6881         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6882
6883         * elmo-util.el (elmo-file-field-primitive-condition-match):
6884         New inline function (Don't fetch file content if "first" or "last").
6885         (elmo-file-field-condition-match): Use
6886         elmo-file-field-primitive-condition-match.
6887
6888         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6889         "first".
6890
6891         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6892         (elmo-message-fetch-plugged): Fixed.
6893
6894         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6895
6896 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6897
6898         * elmo.el (elmo-folder-move-messages): Bind
6899         elmo-inhibit-display-retrieval-progress as t while moving messages.
6900
6901         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6902         New variable.
6903         (elmo-inhibit-display-retrieval-progress): Ditto.
6904
6905         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6906         for retrieval progress;
6907         Don't display progress when total buffer size is smaller than
6908         elmo-display-retrieval-progress-threshold.
6909         (elmo-message-fetch-plugged): Don't display progress when
6910         elmo-inhibit-display-retrieval-progress is non-nil.
6911
6912         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6913         for retrieval progress;
6914         Don't display progress when literal size is smaller than
6915         elmo-display-retrieval-progress-threshold.
6916         (elmo-imap4-message-fetch): Don't display progress when
6917         elmo-inhibit-display-retrieval-progress is non-nil.
6918
6919 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6920
6921         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6922         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6923         (elmo-imap4-message-fetch): Likewise.
6924
6925         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6926         (elmo-shimbun-index-range-alist): Ditto.
6927         (elmo-shimbun-use-entire-index): Abolish.
6928         (shimbun-mua-use-entire-index): Ditto.
6929         (elmo-shimbun-folder): Added new slot `range'.
6930         (elmo-folder-initialize): Setup slot `range'.
6931
6932 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6933
6934         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6935         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6936         (elmo-shimbun-get-headers): Use return value of
6937         `shimbun-article-expiration-days'.
6938         (elmo-folder-close-internal): Clean up last-check slot.
6939
6940         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6941         (elmo-pop3-total-size): New variable.
6942         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6943
6944         * elmo.el (elmo-folder-reserve-status-p): New method.
6945
6946         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6947         (elmo-shimbun-use-entire-index): New user option.
6948         (shimbun-elmo-mua): New class.
6949         (shimbun-mua-search-id): Define.
6950         (shimbun-mua-use-entire-index): Ditto.
6951         (elmo-shimbun-folder:last-check): New slot.
6952         (elmo-shimbun-headers-cache-header-list): Abolish.
6953         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6954         (elmo-shimbun-headers-cache-header-hash): Ditto.
6955         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6956         (elmo-shimbun-headers-cache-last-check): Ditto.
6957         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6958         (elmo-shimbun-headers-check-p): Rewrite.
6959         (elmo-shimbun-msgdb-to-headers): New function.
6960         (elmo-shimbun-get-headers): Rewrite.
6961         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6962         (elmo-folder-open-internal): Get headers only if
6963         `elmo-shimbun-headers-check-p' is non-nil.
6964         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6965         is non-nil.
6966         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6967         (elmo-quit): Removed.
6968
6969         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6970         function.
6971         (elmo-msgdb-overview-entity-set-extra): Ditto.
6972         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6973
6974         * elmo-map.el (elmo-folder-status): Don't call
6975         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6976         is non-nil.
6977
6978 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6979
6980         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6981         of `elmo-msgdb-search-internal-primitive' when condition's car is
6982         `and' or `or'.
6983
6984 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6985
6986         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6987
6988 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6989
6990         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6991         call `elmo-pipe-drain'.
6992
6993 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6994
6995         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6996         typo. (elmo-cache-folder -> elmo-mark-folder)
6997
6998 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6999
7000         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7001         `elmo-message-fetch'.
7002
7003 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7004
7005         * elmo-net.el (elmo-message-encache): Fixed typo.
7006         (elmo-message-fetch-unplugged): Changed call
7007         `elmo-message-fetch-internal' without argument `outbuf'.
7008
7009 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7010
7011         * elmo.el (elmo-message-encache): Define as generic function.
7012         (elmo-message-fetch-field): New generic function.
7013         (elmo-message-fetch-with-cache-process): Cause an error when
7014         fetch strategy is 'entire but only 'section cache is available.
7015         (toplevel): Fixed nmz folder definition.
7016
7017         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7018         (elmo-msgdb-resume-list-filename): Ditto.
7019         (elmo-queue-filename): Ditto.
7020         (elmo-enable-disconnected-operation): Changed default value to t.
7021
7022         * elmo-util.el (elmo-cache-path-section-p): New function.
7023         (elmo-file-cache-get): Use it.
7024         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7025         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7026         (elmo-dop-queue-save): Ditto.
7027
7028         * elmo-net.el (elmo-folder-status-unplugged): Call
7029         elmo-folder-status-dop.
7030         (elmo-folder-list-messages-unplugged): Implemented.
7031         (elmo-folder-delete-messages-unplugged): Define.
7032         (elmo-folder-msgdb-create): Define.
7033         (elmo-folder-msgdb-create-unplugged): Define.
7034         (elmo-folder-mark-as-read-unplugged): Ditto.
7035         (elmo-folder-unmark-read-unplugged): Ditto.
7036         (elmo-folder-mark-as-important-unplugged): Ditto.
7037         (elmo-folder-unmark-important-unplugged): Ditto.
7038         (elmo-message-encache): Ditto.
7039
7040         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7041         (elmo-dop-queue-save): Ditto.
7042
7043         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7044         `elmo-folder-msgdb-create'.
7045         (elmo-folder-append-buffer): Implemented unplugged operation.
7046         (elmo-folder-append-messages): Call parent method in unplugged status.
7047         (elmo-message-fetch-unplugged): Removed definition.
7048         (elmo-message-fetch-field): Implemented.
7049
7050         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7051         (elmo-dop-folder): Removed variable definition.
7052         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7053         (elmo-dop-queue-flush): Implemented.
7054         (elmo-dop-queue-merge): Removed definition (TODO).
7055         (elmo-dop-spool-folder): New function.
7056         (elmo-dop-spool-folder-append-buffer): Ditto.
7057         (elmo-dop-spool-folder-list-messages): Ditto.
7058         (elmo-dop-list-deleting-messages): Ditto.
7059         (elmo-folder-append-buffer-dop): Ditto.
7060         (elmo-folder-delete-messages-dop): Ditto.
7061         (elmo-message-encache-dop): New inline function.
7062         (elmo-create-folder-dop): Ditto.
7063         (elmo-folder-mark-as-read-dop): Ditto.
7064         (elmo-folder-unmark-read-dop): Ditto.
7065         (elmo-folder-mark-as-important-dop): Ditto.
7066         (elmo-folder-unmark-important-dop): Ditto.
7067         (elmo-folder-status-dop): Fixed.
7068         (elmo-folder-append-buffer-dop-delayed): New function.
7069         (elmo-folder-delete-messages-dop-delayed): Ditto.
7070         (elmo-dop-msgdb): Ditto.
7071
7072 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7073
7074         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7075
7076 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7077
7078         * elmo.el (elmo-folder-move-messages): Fixed problem when
7079         `dst-folder' is 'null.
7080
7081 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7082
7083         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7084         instead of current mark.
7085
7086         * elmo-multi.el (elmo-folder-list-importants-internal): No
7087         operation if importants is not list.
7088
7089         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7090         Return t if importants is not list.
7091
7092         * elmo-map.el (elmo-map-folder-list-importants): Define.
7093         (elmo-folder-list-importants-internal): Check return value of
7094         `elmo-map-folder-list-importants-internal'.
7095
7096         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7097
7098         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7099
7100         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7101
7102         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7103
7104 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7105
7106         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7107         (Patch is provided by <kita@coe.nttdata.co.jp>).
7108
7109 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7110
7111         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7112         mark folder.
7113
7114 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7115
7116         * elmo.el (elmo-message-fetch): Define.
7117         (elmo-message-fetch-with-cache-process): New generic method.
7118         (elmo-message-fetch-internal): New generic method.
7119         (elmo-folder-synchronize):
7120
7121         * elmo-archive.el (elmo-message-fetch-internal): Define.
7122         (elmo-message-fetch): Eliminated.
7123
7124         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7125         (elmo-message-fetch): Eliminated.
7126
7127         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7128         argument OUTBUF.
7129         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7130
7131         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7132         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7133
7134         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7135         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7136
7137         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7138
7139         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7140
7141         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7142
7143         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7144         (elmo-message-fetch-unplugged): New generic method.
7145         (elmo-message-fetch-internal): Remove cache process (Renamed from
7146         `elmo-message-fetch').
7147
7148         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7149         (elmo-message-fetch): Eliminated.
7150         (elmo-message-fetch-unplugged): Ditto.
7151
7152         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7153
7154 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7155
7156         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7157         of `to-be-deleted' from number-alist to number-list.
7158
7159 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7160
7161         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7162         (elmo-folder-mark-as-important): Ditto.
7163
7164 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7165
7166         * elmo.el (elmo-folder): Added process-duplicates slot.
7167
7168         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7169         (elmo-folder-unmark-read): Ditto.
7170         (elmo-folder-unmark-important): Ditto.
7171         (elmo-folder-mark-as-important): Ditto.
7172
7173         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7174         duplicated message processing.
7175
7176         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7177
7178 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7179
7180         * elmo-util.el (elmo-list-subdirectories-1): New function.
7181         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7182         (elmo-mapcar-list-of-list): New function.
7183
7184         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7185         `elmo-mapcar-list-of-list' instead of `mapcar'.
7186
7187         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7188
7189         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7190         `elmo-have-link-count'. Return the fully qualified folder name.
7191
7192 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7193
7194         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7195         (elmo-shimbun-headers-cache): New internal variable.
7196         (elmo-shimbun-headers-cache-header-list): New inline function.
7197         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7198         (elmo-shimbun-headers-cache-header-hash): Ditto.
7199         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7200         (elmo-shimbun-headers-cache-last-check): Ditto.
7201         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7202         (elmo-shimbun-lapse-seconds): Ditto.
7203         (elmo-shimbun-headers-cache-check-p): Ditto.
7204         (elmo-shimbun-get-headers): New function.
7205         (elmo-folder-open-internal): Call it.
7206         (elmo-quit): Define (Clear headers-cache).
7207
7208 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7209
7210         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7211
7212         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7213         (elmo-msgdb-flist-save): Ditto.
7214
7215         * elmo-shimbun.el (elmo-folder-list-subfolders):
7216         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7217         (elmo-folder-exists-p): Ditto.
7218
7219         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7220         argument for `shimbun-header-insert'.
7221
7222 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7225         at first time.
7226
7227         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7228         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7229
7230 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7231
7232         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7233         (elmo-folder-plugged-p): Define.
7234         (elmo-folder-set-plugged): Ditto.
7235         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7236         (elmo-folder-list-messages-internal): Return t if unplugged.
7237         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7238
7239         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7240         when elmo-folder-list-messages-internal method of children returns t.
7241
7242         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7243         pair is nil.
7244         (elmo-folder-open-internal): Don't update if unplugged status.
7245
7246 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7247
7248         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7249         new message.
7250
7251 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7252
7253         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7254
7255         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7256         saving.
7257
7258 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7259
7260         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7261
7262         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7263         (elmo-folder-open-internal): Set up headers slot.
7264         (elmo-folder-check): Call elmo-folder-close-internal and
7265         elmo-folder-open-internal.
7266         (elmo-folder-close-internal): Clean up headers slot.
7267
7268 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7269
7270         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7271         exactly folder list.
7272         (elmo-folder-append-messages): Fixed append archive with prefix.
7273
7274         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7275         make temp files with start-number.
7276
7277         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7278
7279 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7280
7281         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7282         argument `visible-only'.
7283         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7284         instead of `if'.
7285
7286         * elmo-pop3.el (elmo-folder-open-internal): Check
7287         `elmo-inhibit-number-mapping' is non-nil.
7288
7289         * elmo-pipe.el (elmo-folder-status): Fixed.
7290
7291 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7292
7293         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7294
7295         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7296         (elmo-folder-open-internal): Setup `header-hash' slot.
7297         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7298         information.
7299         (elmo-map-message-fetch): Ditto.
7300
7301 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7302
7303         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7304         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7305         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7306         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7307
7308         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7309
7310 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7311
7312         * sb-airs.el: Added footer.
7313
7314         * shimbun.el (shimbun-article): Define as luna-method.
7315
7316         * sb-tcup.el: New file.
7317
7318         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7319         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7320
7321 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7322
7323         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7324         (shimbun-get-headers): Ditto.
7325
7326         * elmo.el: Moved obsolete variable definitions from
7327         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7328
7329         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7330         groups.
7331
7332         * shimbun.el: New file.
7333
7334         * elmo-shimbun.el: New file.
7335
7336         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7337         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7338         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7339         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7340
7341 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7342
7343         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7344         hierarchy is t.
7345
7346 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7347
7348         * elmo.el (elmo-folder-msgdb): Define as macro.
7349         (elmo-folder-open): Added argument `load-msgdb'.
7350         (elmo-generic-folder-open): Ditto.
7351         (elmo-folder-encache): New function.
7352
7353         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7354
7355         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7356
7357         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7358         Eliminated argument FOLDER and added argument MSGDB.
7359         (elmo-dop-queue-load): Moved from elmo-dop.el.
7360         (elmo-dop-queue-save): Ditto.
7361
7362         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7363
7364         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7365
7366         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7367         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7368         (elmo-filter-folder-list-importants-internal): Ditto.
7369
7370         * elmo-map.el (elmo-folder-pack-number): Ditto.
7371
7372         * elmo-mime.el (elmo-mime-message-display): Ditto.
7373
7374         * elmo.el (elmo-generic-folder-commit): Ditto.
7375         (elmo-folder-list-unreads): Ditto.
7376         (elmo-folder-list-importants): Ditto.
7377         (elmo-generic-folder-commit): Ditto.
7378         (elmo-message-set-mark): Ditto.
7379         (elmo-generic-folder-append-msgdb): Ditto.
7380         (elmo-folder-synchronize): Ditto.
7381         (elmo-folder-messages): Ditto.
7382         (elmo-init): Call elmo-dop-queue-load.
7383         (elmo-folder-list-messages): Ditto.
7384
7385         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7386         (elmo-nntp-folder-process-crosspost): Ditto.
7387         (elmo-folder-list-unreads-internal): Ditto.
7388
7389         * elmo-dop.el: Removed old functions.
7390
7391 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7392
7393         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7394         `folder' to `msgdb'.
7395
7396 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7397
7398         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7399         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7400
7401         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7402         case-fold-search.
7403
7404 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7405
7406         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7407         defined.
7408
7409         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7410         (mmimap-parse-parameters-from-list): Define as alias for
7411         `mime-decode-parameter-plist' if it is defined as function.
7412         (mmimap-make-mime-entity): Added argument `number'.
7413         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7414         as 0.
7415         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7416
7417         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7418
7419         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7420
7421         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7422
7423 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7424
7425         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7426
7427         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7428         when elmo-imap4-default-authenticate-type is nil.
7429         (elmo-folder-list-subfolders): Ditto
7430         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7431         (elmo-imap4-fetch-callback-1-subr): Renamed from
7432         `elmo-imap4-fetch-callback-1' and define as inline function.
7433         (elmo-imap4-fetch-callback-1):
7434         Renamed from `elmo-imap4-fetch-callback'.
7435         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7436
7437         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7438         msgdb path (To keep compatibility with main trunk).
7439
7440         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7441
7442         * elmo-util.el (elmo-make-file-cache): Moved position of
7443         some macros.
7444
7445         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7446         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7447         instead of `elmo-pop3-inhibit-uidl'.
7448         (elmo-folder-exists-p): Ditto.
7449         (elmo-pop3-folder-list-messages): Ditto.
7450
7451         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7452         instead of `elmo-pop3-inhibit-uidl'.
7453         (elmo-folder-status): Ditto.
7454
7455         * elmo-dop.el (elmo-dop-folder): New variable.
7456         (elmo-dop-lock-message): Eliminated.
7457         (elmo-dop-unlock-message): Ditto.
7458         (elmo-dop-lock-list-load): Ditto.
7459         (elmo-dop-lock-list-save): Ditto.
7460         (elmo-dop-delete-folder): Ditto.
7461         (elmo-dop-rename-folder): Ditto.
7462
7463         * elmo.el: Removed incomplete commentary.
7464
7465 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7466
7467         * elmo.el (toplevel): Require 'elmo-version first;
7468         for little `recursive-load-depth' settings.
7469         Fix "ends here" comment.
7470
7471 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7472
7473         * elmo-util.el (toplevel): Require 'poem;
7474         Some functions are moved from elmo-cache.el.
7475
7476         * elmo-net.el (toplevel): Require 'elmo-cache.
7477
7478         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7479
7480         * elmo.el (toplevel): Ditto.
7481
7482         * elmo-cache.el: Rewrite with luna;
7483         Some functions are moved to elmo-util.el.
7484
7485         * elmo-internal.el (elmo-internal-folder-list): New variable.
7486         (elmo-internal-folder-initialize): Rewrite.
7487         (elmo-folder-list-subfolders): Ditto.
7488
7489         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7490         (elmo-cache-collect-sub-directories): Ditto.
7491
7492 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7493
7494         * elmo-version.el (elmo-version): Up to 2.5.8.
7495
7496         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7497
7498         * elmo-util.el (elmo-list-insert): New function.
7499
7500 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7501
7502         * elmo.el (elmo-init): New function.
7503         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7504
7505         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7506         (Renamed from `elmo-localdir-header-chop-length').
7507
7508         * elmo-pop3.el (elmo-pop3-use-cache,
7509         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7510
7511         * elmo-nntp.el (elmo-message-fetch): Define.
7512         (elmo-message-fetch-unplugged): Ditto.
7513         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7514         (elmo-nntp-use-cache): Ditto.
7515         (elmo-nntp-max-number-precedes-list-active): Ditto.
7516
7517         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7518
7519         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7520         `elmo-msgdb-insert-file-header'.
7521         Use `elmo-msgdb-file-header-chop-length'.
7522
7523         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7524         `elmo-vars.el'.
7525
7526         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7527         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7528         `elmo-msgdb-insert-file-header'.
7529
7530         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7531         Use new variable;
7532         Define obsolete variables with `elmo-define-obsolete-variable',
7533
7534         * elmo-util.el (elmo-warning-buffer-name): New constant.
7535         (elmo-warning): New function.
7536         (elmo-obsolete-variable-alist): New variable.
7537         (elmo-obsolete-variable-show-warnings): New variable.
7538         (elmo-define-obsolete-variable): New function.
7539         (elmo-resque-obsolete-variable): Ditto.
7540         (elmo-resque-obsolete-variables): Ditto.
7541
7542 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7543
7544         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7545         Eliminated.
7546
7547         * elmo-pop3.el, elmo-nntp.el: Use custom.
7548
7549 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7550
7551         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7552         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7553
7554 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7555
7556         * Luna-fy Kenichi OKADA's following changes.
7557         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7558         `nohide'.
7559         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7560
7561 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7562
7563         * elmo-util.el (elmo-display-progress): Prefer
7564         `progress-feedback-with-label' to `lprogress-display'.
7565
7566 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7567
7568         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7569
7570 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7571
7572         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7573         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7574         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7575         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7576         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7577         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7578         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7579         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7580         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7581         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7582         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7583         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7584         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7585
7586 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7587
7588         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7589         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7590
7591 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7592
7593         * elmo.el (elmo-folder-process-crosspost): New generic method.
7594         (elmo-folder-writable-p): Ditto.
7595         (elmo-folder-message-appendable-p): Eliminated.
7596         (elmo-generic-folder-append-msgdb): Rewrite.
7597         (elmo-newsgroups-hashtb): New internal variable.
7598         (elmo-crosspost-message-set): Eliminated.
7599         (elmo-crosspost-message-delete): Ditto.
7600         (elmo-setup-subscribed-newsgroups): New function.
7601         (elmo-crosspost-message-alist-modified): New internal variable.
7602         (elmo-crosspost-message-alist-load): New function (Renamed from
7603         `wl-crosspost-alist-load').
7604         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7605         `wl-crosspost-alist-save').
7606
7607         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7608
7609         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7610         `unreads'.
7611         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7612         elmo-newsgroups-hashtb).
7613         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7614         `elmo-nntp-folder-update-crosspost-message-alist'.
7615         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7616         `elmo-nntp-groups-hashtb'.
7617         (elmo-nntp-make-groups-hashtb): Eliminated.
7618         (elmo-nntp-parse-newsgroups): New function (Renamed from
7619         `wl-parse-newsgroups').
7620         (elmo-folder-creatable-p, elmo-folder-writable-p,
7621         elmo-folder-close-internal, elmo-folder-mark-as-read,
7622         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7623         Define.
7624         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7625
7626         * elmo-net.el (elmo-message-fetch): Check buffer size.
7627
7628         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7629
7630         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7631
7632         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7633         before `close' command.
7634
7635         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7636         `mark-alist' (All other related portions are changed).
7637
7638 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7639
7640         * elmo-util.el (elmo-create-hash-size): Eliminated.
7641         (elmo-make-hash) Make a hash with `one less than a power of two'
7642         length.
7643
7644         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7645         (elmo-hash-maximum-size): Changed value.
7646
7647 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7648
7649         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7650         (elmo-mime-message-display-as-is): Ditto.
7651
7652 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7653
7654         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7655         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7656
7657 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7658
7659         * elmo-mark.el: New file.
7660
7661         * elmo-internal.el: Rewrite (Almost empty).
7662
7663 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7664
7665         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7666         (mime-imap-entity-header-string): Ditto.
7667         (mmimap-entity-section): Rewrite.
7668
7669 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7670
7671         * elmo-nmz.el: New file.
7672
7673         * elmo-pipe.el: Rewrite with luna.
7674
7675 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7676
7677         * elmo-archive.el: Rewrite with luna.
7678
7679         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7680         (elmo-folder-list-importants-internal): Ditto.
7681
7682 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7683
7684         * elmo-archive.el (elmo-archive-version): Abolish.
7685         (toplevel) Removed `boso' comment.
7686
7687 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7688
7689         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7690         elmo-msgdb-add-msgs-to-seen-list-subr;
7691         Changed argument seen-marks to unread-marks.
7692
7693         * elmo-nntp.el: Rewrite with luna.
7694
7695 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7696
7697         * elmo-filter.el: Rewrite with luna.
7698
7699 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7700
7701         * elmo-pop3.el: Rewrite with luna.
7702
7703 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7704
7705         * elmo-multi.el: Rewrite with luna.
7706
7707         * elmo-vars.el (elmo-use-killed-list): Abolish.
7708         All other related portions are changed.
7709         (elmo-filename-replace-string-alist): Renamed from
7710         elmo-msgid-replace-string-alist.
7711
7712 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7713
7714         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7715
7716         * elmo-map.el: New file.
7717         * elmo-maildir.el: Rewrite with luna.
7718
7719 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7720
7721         * elmo.el: Changed meaning of `elmo-folder-commit'.
7722         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7723
7724 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * elmo.el (elmo-folder-append-buffer): New function.
7727         (Renamed from `elmo-append-msg')
7728
7729 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7730
7731         * elmo-mime.el: New file.
7732
7733 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7734
7735         * elmo-cache.el: Rewrite.
7736
7737 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7738
7739         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7740
7741 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7742
7743         * elmo-vars.el (elmo): New group.
7744         (elmo-strict-diff-folder-regexp): New variable.
7745
7746         * elmo-util.el (elmo-call-func): Abolish.
7747         (elmo-folder-get-type): Ditto.
7748         (elmo-*-get-spec): Ditto.
7749         (elmo-*-spec-*): Ditto.
7750         (elmo-imap4-identical-name-space-p): Ditto.
7751         (elmo-folder-identical-system-p): Ditto.
7752         (elmo-folder-direct-copy-alist): Ditto.
7753         (elmo-folder-direct-copy-p): Ditto.
7754
7755         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7756         (elmo-folder-initialize): Define.
7757         (elmo-folder-get-primitive-list): Ditto.
7758
7759         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7760         (elmo-folder-initialize): Define.
7761         Renamed `elmo-network-session-host-internal' to
7762         `elmo-network-session-server-internal'.
7763
7764         * elmo-multi.el (elmo-multi-folder): New luna class.
7765         (elmo-folder-initialize): Define.
7766         (elmo-folder-get-primitive-list): Ditto.
7767         (elmo-folder-contains-type): Ditto.
7768         (elmo-message-use-cache-p): Ditto.
7769
7770         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7771         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7772
7773         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7774         (elmo-folder-initialize): Define.
7775
7776         * elmo-filter.el (elmo-filter-folder): New luna class.
7777         (elmo-folder-initialize): Define.
7778         (elmo-folder-get-primitive-list): Ditto.
7779         (elmo-folder-contains-type): Ditto.
7780
7781 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7782
7783         * elmo-imap4.el: Rewrite with luna.
7784
7785         * mmimap.el: New file.
7786
7787         * mmelmo.el, mmelmo-imap4.el: Removed.
7788
7789         * elmo-net.el: Ditto.
7790
7791         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7792         (elmo-folder-initialize): Define.
7793
7794         * elmo-archive.el (elmo-archive-folder): New luna class.
7795         (elmo-folder-initialize): Define.
7796
7797         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7798         `elmo-folder-msgdb-path'.
7799         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7800         `elmo-make-folder'.
7801
7802 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7803
7804         * elmo.el: New file.
7805
7806         * elmo2.el: Renamed to elmo.el.
7807
7808 \f
7809 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7810
7811         * elmo-cache.el (elmo-cache-expire-by-size): Count
7812         a disk usage for a cache file entry in KB even when
7813         its kind is a directory.
7814
7815 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7816
7817         * elmo-version.el (elmo-version): Up to 2.5.7.
7818
7819 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7820
7821         * elmo-version.el (elmo-version): Up to 2.5.6.
7822
7823 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7824
7825         * elmo-version.el (elmo-version): Up to 2.5.5.
7826
7827 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7828
7829         * elmo-imap4.el (elmo-network-authenticate-session):
7830         Fixed a logic for response checking.
7831
7832 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7833
7834         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7835         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7836         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7837         `sasl-mechanisms'.
7838
7839         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7840         for `starttls-open-stream' and `starttls-negotiate'.
7841
7842         * elmo-nntp.el: Remove autoload settings for
7843         `starttls-open-stream' and `starttls-negotiate'.
7844
7845         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7846         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7847         `luna-define-class' with `eval-and-compile'.
7848
7849 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7850
7851         * elmo-util.el (elmo-read-search-condition-internal):
7852         Require an element of table for searching field.
7853
7854 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7855
7856         * elmo-version.el (elmo-version): Up to 2.5.4.
7857
7858 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7859
7860         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7861
7862 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7863
7864         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7865
7866 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7867
7868         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7869         before greeting.
7870
7871 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7872
7873         * elmo-imap4.el (elmo-imap4-delete-folder):
7874         Send "close" before "delete" (Use commented out line).
7875         (elmo-imap4-rename-folder): Ditto.
7876
7877         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7878         folder string itself.
7879         (elmo-dop-list-deleted): New function.
7880         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7881         killed.
7882
7883         * elmo-util.el (elmo-string-rassoc-all): New function.
7884
7885 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7886
7887         * elmo-version.el (elmo-version): Up to 2.5.3.
7888
7889         * elmo-net.el (elmo-network-get-session): Changed logic for
7890         checking process status.
7891
7892         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7893         process is nil;
7894         Changed logic for checking process status.
7895
7896 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7897
7898         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7899         before greeting.
7900         (elmo-network-setup-session): Set UIDL hash size according to
7901         the length of list response.
7902         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7903         according to the length of list response;
7904         Return the length of list response.
7905         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7906
7907 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7908
7909         * elmo-imap4.el (toplevel): Require 'ssl.
7910         Add autoload 'starttls.
7911         * elmo-pop3.el (toplevel): Ditto.
7912         * elmo-nntp.el (toplevel): Ditto.
7913
7914 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7915
7916         * elmo-imap4.el (toplevel): defun at compile time.
7917         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7918         sasl-next-step, sasl-step-data, sasl-step-set-data.
7919         * elmo-pop3.el (toplevel): Ditto.
7920
7921 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7922
7923         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7924
7925 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7926
7927         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7928         if error.
7929         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7930         and `elmo-pop-auth-apop'.
7931
7932 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7933
7934         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7935
7936 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7937
7938         * elmo-pop3.el (elmo-network-authenticate-session): Split
7939         encoded response value.
7940
7941 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7942
7943         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7944         `elmo-pop3-force-login'.
7945         Redefine `sasl-mechanisms'.
7946         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7947
7948 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7949
7950         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7951         Delete `elmo-imap4-authenticator-alist'.
7952         (elmo-imap4-auth-cram-md5): Delete.
7953         (elmo-imap4-auth-digest-md5): Delete.
7954
7955 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7956
7957         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7958         (elmo-pop3-auth-scram-md5): Ditto.
7959         (elmo-pop3-auth-cram-md5): Ditto.
7960
7961 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7962
7963         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7964         Delete `elmo-pop3-authenticator-alist'.
7965
7966 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7967
7968         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7969         new SASL API.
7970         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7971
7972 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7973
7974         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7975
7976 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7977
7978         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7979         Fixed problem when `elmo-pop3-use-uidl' is nil.
7980         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7981
7982 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7983
7984         * elmo-version.el (elmo-version): Up to 2.5.2.
7985
7986 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7987
7988         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7989         New function.
7990         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7991         (elmo-pop3-msgdb-create-as-numlist): Use it.
7992
7993         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7994         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7995
7996         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7997         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7998
7999 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8000
8001         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8002         when elmo-mark-as-read is called with second argument nil.
8003
8004 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8005
8006         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8007         Moved to elmo-util.el.
8008
8009         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8010         Moved from elmo-pipe.el
8011
8012         * elmo-archive.el (elmo-archive-call-process): Enclose with
8013         static-if.
8014
8015         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8016         "RFC822" (because RFC822.PEEK is obsolete).
8017         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8018
8019 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8020
8021         * elmo-archive.el (elmo-archive-call-process): Don't check for
8022         the exit status when Nemacs is running.
8023
8024 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8025
8026         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8027         'plain.
8028
8029         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8030         (elmo-pop3-get-spec): Set default of auth to 'user.
8031
8032         * elmo-imap4.el (elmo-imap4-session-check):
8033         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8034         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8035         (elmo-imap4-auth-login): New function; Revival.
8036         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8037         `elmo-imap4-auth-login'.
8038
8039 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8040
8041         * elmo2.el (toplevel): Move `product-provide' declare.
8042         * mmelmo.el (toplevel): Ditto.
8043
8044 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8045
8046         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8047
8048 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8049
8050         * elmo-util.el (elmo-folder-get-store-type): New function.
8051         (elmo-folder-direct-copy-p): Use it.
8052
8053 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8054
8055         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8056         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8057         and result of `elmo-imap4-use-flag-p'.
8058         (elmo-imap4-fetch-callback-1): Set mark according to
8059         the result of `elmo-imap4-use-flag-p'.
8060
8061 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8062
8063         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8064         (elmo-generic-list-folder-unread): Ditto.
8065         (elmo-folder-get-info): Ditto.
8066         (elmo-folder-set-info-max-by-numdb): Ditto.
8067         (elmo-folder-get-info-max): Ditto.
8068         (elmo-folder-get-info-length): Ditto.
8069         (elmo-folder-get-info-unread): Ditto.
8070         (elmo-folder-info-make-hashtb): Ditto.
8071
8072         * elmo2.el: Removed above functions.
8073
8074 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8075
8076         * elmo-imap4.el (toplevel): Require 'ssl.
8077         Add autoload 'starttls.
8078         * elmo-pop3.el (toplevel): Ditto.
8079         * elmo-nntp.el (toplevel): Ditto.
8080
8081 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8082
8083         * elmo-imap4.el (toplevel): defun at compile time.
8084         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8085         sasl-next-step, sasl-step-data, sasl-step-set-data.
8086         * elmo-pop3.el (toplevel): Ditto.
8087
8088 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8089
8090         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8091
8092 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8093
8094         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8095         if error.
8096         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8097         and `elmo-pop-auth-apop'.
8098
8099 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8100
8101         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8102
8103 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8104
8105         * elmo-pop3.el (elmo-network-authenticate-session): Split
8106         encoded response value.
8107
8108 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8109
8110         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8111         `elmo-pop3-force-login'.
8112         Redefine `sasl-mechanisms'.
8113         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8114
8115 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8116
8117         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8118         Delete `elmo-imap4-authenticator-alist'.
8119         (elmo-imap4-auth-cram-md5): Delete.
8120         (elmo-imap4-auth-digest-md5): Delete.
8121
8122 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8123
8124         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8125         (elmo-pop3-auth-scram-md5): Ditto.
8126         (elmo-pop3-auth-cram-md5): Ditto.
8127
8128 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8129
8130         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8131         Delete `elmo-pop3-authenticator-alist'.
8132
8133 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8134
8135         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8136         new SASL API.
8137         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8138
8139 \f
8140 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8141
8142         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8143
8144 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8145
8146         * elmo-nntp.el (elmo-nntp-get-folders-info):
8147         Fixed problem when '\' character is contained in user-id.
8148         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8149
8150 \f
8151 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8152
8153         * elmo-imap4.el (elmo-imap4-delete-folder):
8154         Send "close" before "delete" (Use commented out line).
8155         (elmo-imap4-rename-folder): Ditto.
8156
8157         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8158         folder string itself.
8159         (elmo-dop-list-deleted): New function.
8160         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8161         killed.
8162
8163         * elmo-util.el (elmo-string-rassoc-all): New function.
8164
8165         * elmo-version.el (elmo-version): Up to 2.5.1.
8166
8167 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8168
8169         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8170
8171         * elmo-internal.el (elmo-internal-search): Fix last change.
8172
8173 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8174
8175         * elmo-internal.el (elmo-internal-search): Rewrite.
8176         (Fixed problem which is pointed out by Akihiro MOTOKI
8177         <motoki@da.jp.nec.com>)
8178
8179         * elmo-version.el (elmo-version): Up to 2.5.0.
8180
8181 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8182
8183         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8184
8185 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8186
8187         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8188         non-nil, make hierarchy.
8189
8190 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8191
8192         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8193         `elmo-pop3-use-uidl' must be bound to nil.
8194         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8195
8196 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8197
8198         * elmo-util.el (elmo-copy-file): Don't cause an error after
8199         `add-name-to-file' failed.
8200
8201         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8202         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8203
8204 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8205
8206         * elmo-version.el (elmo-version): Up to 2.3.93.
8207
8208 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8209
8210         * elmo-util.el (elmo-flatten): New function.
8211
8212 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8213
8214         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8215         sync Author header.
8216         * elmo-cache.el (toplevel): Ditto.
8217         * elmo-database.el (toplevel): Ditto.
8218         * elmo-date.el (toplevel): Ditto.
8219         * elmo-dop.el (toplevel): Ditto.
8220         * elmo-filter.el (toplevel): Ditto.
8221         * elmo-imap4.el (toplevel): Ditto.
8222         * elmo-internal.el (toplevel): Ditto.
8223         * elmo-localdir.el (toplevel): Ditto.
8224         * elmo-localnews.el (toplevel): Ditto.
8225         * elmo-maildir.el (toplevel): Ditto.
8226         * elmo-msgdb.el (toplevel): Ditto.
8227         * elmo-multi.el (toplevel): Ditto.
8228         * elmo-net.el (toplevel): Ditto.
8229         * elmo-nntp.el (toplevel): Ditto.
8230         * elmo-pipe.el (toplevel): Ditto.
8231         * elmo-pop3.el (toplevel): Ditto.
8232         * elmo-util.el (toplevel): Ditto.
8233         * elmo-vars.el (toplevel): Ditto.
8234         * elmo2.el (toplevel): Ditto.
8235         * mmelmo-imap4.el (toplevel): Ditto.
8236         * mmelmo.el (toplevel): Ditto.
8237
8238         * elmo-version.el (elmo-version): Move to top.
8239
8240         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8241         * elmo-imap4.el (toplevel): Ditto.
8242         * elmo-localdir.el (toplevel): Ditto.
8243         * elmo-msgdb.el (toplevel): Ditto.
8244         * elmo-nntp.el (toplevel): Ditto.
8245         * elmo-pop3.el (toplevel): Ditto.
8246         * elmo-version.el (toplevel): Ditto.
8247
8248         * elmo-localnews.el (toplevel): Added Keyword header.
8249
8250 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8251
8252         * elmo-version.el (product-version-as-string): Defined using
8253         `defun-maybe'.
8254         (toplevel): Use it.
8255
8256         * elmo-localdir.el (toplevel): Updated copyright notice.
8257         * elmo-version.el (toplevel): Ditto.
8258         * elmo-msgdb.el (toplevel): Ditto.
8259         * elmo-imap4.el (toplevel): Ditto.
8260         * elmo-nntp.el (toplevel): Ditto.
8261         * elmo-pop3.el (toplevel): Ditto.
8262
8263 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8264
8265         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8266         messages.
8267
8268         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8269         parameter value (It sometimes contains raw kanji).
8270
8271 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8272
8273         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8274         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8275
8276 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8277
8278         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8279
8280 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8281
8282         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8283         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8284
8285 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8286
8287         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8288         value if selecting folder succceeded.
8289         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8290
8291 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8292
8293         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8294         representation.
8295
8296         * elmo-util.el (elmo-string-matched-member): New function.
8297
8298 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8299
8300         * elmo-util.el (elmo-unintern): New macro.
8301         (elmo-number-set-member): Fixed docstring.
8302
8303         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8304         tag token.
8305
8306 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8307
8308         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8309         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8310
8311 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8312
8313         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8314         `no-error'.
8315         Added docstring.
8316         Return non-nil if selecting folder succeeded.
8317         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8318
8319 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8320
8321         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8322         `file-name-completion' returns t.
8323         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8324         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8325         directory if it does not exist.
8326         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8327         for iteration.
8328
8329 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8330
8331         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8332         enclosure (It's harmful in unplugged status).
8333
8334         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8335
8336         * mmelmo-1.el: Removed.
8337
8338         * mmelmo-2.el: Ditto.
8339
8340         * mmelmo-imap4-1.el: Ditto.
8341
8342         * mmelmo-imap4-2.el: Ditto.
8343
8344         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8345
8346         * mmelmo.el: Merged mmelmo-2.el.
8347
8348         * elmo-version.el (elmo-version): Up to 2.3.92.
8349
8350 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8351
8352         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8353         elmo-update-number): Remove last period in "...done." message.
8354         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8355         Ditto.
8356         * elmo-cache.el (elmo-cache-expire-by-size,
8357         elmo-cache-get-sorted-cache-file-list,
8358         elmo-cache-msgdb-create-as-numlist): Ditto.
8359         * elmo-dop.el (elmo-dop-save-pending-messages,
8360         (elmo-dop-flush-pending-append-operations): Ditto.
8361         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8362         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8363         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8364         (elmo-localdir-pack-number): Ditto.
8365         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8366         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8367         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8368         mime-write-entity-content): Ditto.
8369         * pldap.el (ldap-search-basic): Ditto.
8370
8371 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8372
8373         * elmo-version.el (elmo-version): Up to 2.3.91.
8374
8375         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8376         Only when filter is 'last'.
8377
8378         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8379         (elmo-condition-parse-search-value): Use it.
8380         (elmo-read-search-condition-internal): Quote value only when
8381         it is not an atom.
8382
8383 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8384
8385         * elmo2.el (elmo-generic-folder-diff): Fix.
8386
8387 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8388
8389         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8390         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8391         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8392         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8393         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8394         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8395
8396 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8397
8398         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8399         extra-fields.
8400
8401 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8402
8403         * elmo-version.el (elmo-version): Up to 2.3.90.
8404
8405         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8406         (elmo-imap4-list-folder-important): Ditto.
8407
8408 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8409
8410         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8411
8412 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8413
8414         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8415
8416 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8417
8418         * elmo-nntp.el (elmo-network-initialize-session):
8419         Add starttls negotiation.
8420
8421 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8422
8423         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8424         response.
8425         (elmo-network-setup-session): Define.
8426         Call `elmo-nntp-send-mode-reader' when session opened.
8427
8428 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8429
8430         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8431
8432 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8433
8434         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8435         an invalid SPACE character ahead of `SEARCH' command.  Move
8436         a valid SPACE character following `SEARCH' from conditional
8437         `format' arguments to control-strings.
8438
8439 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8440
8441         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8442         was succeeded.
8443
8444         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8445
8446 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8447
8448         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8449         `w32-get-true-file-link-count' as t.
8450
8451         * elmo-imap4.el (elmo-imap4-read): Abolished.
8452         (Renamed to `elmo-read' and moved to elmo-util.el)
8453         All other related portions are changed.
8454
8455         * elmo-util.el (elmo-read): New function.
8456         (elmo-condition-parse-search-value): Use it.
8457
8458 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8459
8460         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8461
8462         * elmo-nntp.el (elmo-nntp-session): Define.
8463         (elmo-nntp-setting): Abolished.
8464         All other related portions are changed.
8465         (elmo-nntp-get-server-command): Changed argument.
8466         (elmo-nntp-set-server-command): Ditto.
8467         (elmo-nntp-xover-p): Ditto.
8468         (elmo-nntp-set-xover): Ditto.
8469         (elmo-nntp-listgroup-p): Ditto.
8470         (elmo-nntp-set-listgroup): Ditto.
8471         (elmo-nntp-list-active-p): Ditto.
8472         (elmo-nntp-set-list-active): Ditto.
8473         (elmo-nntp-xhdr-p): Ditto.
8474         (elmo-nntp-set-xhdr): Ditto.
8475         (elmo-nntp-flush-connection): Abolished.
8476         (elmo-nntp-get-connection): Abolished.
8477         (elmo-nntp-get-session): New function.
8478         (elmo-network-initialize-session): Defined.
8479         (elmo-network-authenticate-session): Ditto.
8480         (elmo-nntp-send-mode-reader): Changed argument.
8481         (elmo-nntp-send-command): Changed argument.
8482         All other related portions are changed.
8483         (elmo-nntp-read-response): Ditto.
8484         (elmo-nntp-read-raw-response): Ditto.
8485         (elmo-nntp-read-contents): Ditto.
8486         (elmo-nntp-read-body): Ditto.
8487         (elmo-nntp-goto-folder): Abolished.
8488         (elmo-nntp-select-group): New function.
8489         All other related portions are changed.
8490         (This function substitutes `elmo-nntp-goto-folder')
8491         (elmo-nntp-msgdb-create-by-header): Rewrite.
8492         (elmo-nntp-get-overview): Eliminated.
8493         (elmo-nntp-get-message): Ditto.
8494         (elmo-nntp-open-connection) Abolished.
8495         (elmo-nntp-read-msg): Rewrite.
8496         (elmo-nntp-post): Ditto.
8497         (elmo-nntp-send-data): Abolished.
8498         (elmo-nntp-send-buffer): New function.
8499         (elmo-nntp-send-data-line): Define as inline function.
8500         (elmo-nntp-get-folders-info-prepare): Use session as key.
8501         (elmo-nntp-groups-read-response): Changed argument.
8502         (elmo-nntp-retrieve-headers): Ditto.
8503         (elmo-nntp-msgdb-create-message): Ditto.
8504
8505         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8506         when searching by 'since' or 'before'.
8507
8508 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8509
8510         * elmo-version.el (toplevel): Use product-version-as-string for set
8511         verstion-string, if defined.
8512
8513 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8514
8515         * elmo-util.el: Doc fixes.
8516
8517 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8518
8519         * elmo-archive.el (toplevel): Use product-provide.
8520         * elmo-cache.el (toplevel): Ditto.
8521         * elmo-database.el (toplevel): Ditto.
8522         * elmo-date.el (toplevel): Ditto.
8523         * elmo-dop.el (toplevel): Ditto.
8524         * elmo-filter.el (toplevel): Ditto.
8525         * elmo-imap4.el (toplevel): Ditto.
8526         * elmo-internal.el (toplevel): Ditto.
8527         * elmo-localdir.el (toplevel): Ditto.
8528         * elmo-localnews.el (toplevel): Ditto.
8529         * elmo-maildir.el (toplevel): Ditto.
8530         * elmo-msgdb.el (toplevel): Ditto.
8531         * elmo-multi.el (toplevel): Ditto.
8532         * elmo-net.el (toplevel): Ditto.
8533         * elmo-nntp.el (toplevel): Ditto.
8534         * elmo-pipe.el (toplevel): Ditto.
8535         * elmo-pop3.el (toplevel): Ditto.
8536         * elmo-util.el (toplevel): Ditto.
8537         * elmo-vars.el (toplevel): Ditto.
8538         * elmo2.el (toplevel): Ditto.
8539         * mmelmo-1.el (toplevel): Ditto.
8540         * mmelmo-2.el (toplevel): Ditto.
8541         * mmelmo-imap4-1.el (toplevel): Ditto.
8542         * mmelmo-imap4-2.el (toplevel): Ditto.
8543         * mmelmo-imap4.el (toplevel): Ditto.
8544         * mmelmo.el (toplevel): Ditto.
8545
8546 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8547
8548         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8549         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8550
8551 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8552
8553         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8554         before splitting.
8555         (elmo-multi-split-number-alist): Ditto.
8556
8557 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8558
8559         * elmo-version.el: New file.  Use product.el.
8560         * elmo2.el: Add (require 'elmo-version).
8561         * elmo-vars.el (elmo-appname, elmo-version): Move to
8562         elmo-version.el
8563
8564 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8565
8566         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8567         `elmo-msgdb-expand-path'.
8568         (elmo-msgdb-load): Ditto.
8569         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8570         (elmo-generic-list-folder-unread): Rewrite.
8571         (elmo-generic-list-folder-important): Changed argument.
8572         (elmo-list-folder-unread): Ditto.
8573         (elmo-list-folder-important): Ditto.
8574         (elmo-folder-diff): Rewrite.
8575         (elmo-generic-folder-diff): New function.
8576         (elmo-multi-get-number-alist-list): Abolished
8577         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8578         (elmo-multi-folder-diff): Moved to elmo-multi.el
8579         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8580
8581         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8582         `elmo-msgdb-expand-path'.
8583         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8584         (elmo-pop3-read-msg): Ditto.
8585         (elmo-pop3-delete-msgs): Ditto.
8586         (elmo-pop3-folder-diff): New alias.
8587
8588         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8589         `elmo-msgdb-expand-path'.
8590         (elmo-pipe-list-folder-unread): Changed arguments.
8591         (elmo-pipe-list-folder-important): Ditto.
8592         (elmo-pipe-folder-diff): New alias.
8593
8594         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8595         `elmo-msgdb-expand-path'.
8596         (elmo-nntp-max-of-folder): Ditto.
8597         (elmo-nntp-msgdb-create): Ditto.
8598         (elmo-nntp-delete-msgs): Ditto.
8599         (elmo-nntp-folder-diff): New alias.
8600
8601         * elmo-multi.el (elmo-multi-folder-diff): New function.
8602         (elmo-multi-split-mark-alist): Ditto.
8603         (elmo-multi-split-number-alist): Ditto.
8604         (elmo-multi-mark-alist-list): Abolished (Renamed to
8605         elmo-multi-split-mark-alist).
8606         (elmo-multi-list-folder-unread): Rewrite.
8607         (elmo-multi-list-folder-important): Ditto.
8608         (elmo-multi-list-folder): Set `spec' as 1st argument for
8609         `elmo-msgdb-expand-path'.
8610         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8611         instead of `elmo-multi-get-number-alist-list'.
8612
8613         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8614         If 1st argument is not string, treat as spec.
8615         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8616         `elmo-msgdb-expand-path'.
8617         (elmo-msgdb-flist-load): Ditto.
8618         (elmo-msgdb-flist-save): Ditto.
8619         (elmo-msgdb-delete-path): Ditto.
8620         (elmo-msgdb-rename-path): Ditto.
8621
8622         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8623         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8624         (elmo-maildir-delete-mark-msgs): Ditto.
8625         (elmo-maildir-msgdb-create): Ditto.
8626         (elmo-maildir-read-msg): Ditto.
8627         (elmo-maildir-delete-msgs): Ditto.
8628         (elmo-maildir-list-folder-subr): Ditto.
8629         (elmo-maildir-search): Ditto.
8630         (elmo-maildir-get-msg-filename): Ditto.
8631         (elmo-maildir-pack-number): Ditto.
8632         (elmo-maildir-folder-diff): New alias.
8633
8634         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8635
8636         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8637         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8638         (elmo-localdir-folder-diff): New alias.
8639
8640         * elmo-internal.el (elmo-internal-list-folder-subr):
8641         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8642         (elmo-internal-list-folder-by-location): Ditto.
8643         (elmo-internal-msgdb-create): Ditto.
8644         (elmo-internal-delete-msgs): Ditto.
8645         (elmo-internal-read-msg): Ditto.
8646         (elmo-internal-folder-diff): New alias.
8647
8648         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8649         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8650         `elmo-msgdb-expand-path'.
8651         (elmo-imap4-list-folder-unread): Changed arguments.
8652         (elmo-imap4-list-folder-important): Ditto.
8653
8654         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8655         (elmo-filter-list-folder-important): Ditto.
8656         (elmo-filter-folder-diff): New function.
8657
8658         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8659
8660         * elmo-cache.el (elmo-cache-list-folder):
8661         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8662         (elmo-cache-copy-msgs): Ditto.
8663         (elmo-cache-folder-diff): New alias.
8664
8665         * elmo-archive.el (elmo-archive-list-folder-subr):
8666         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8667         (elmo-archive-get-archive-name): Ditto.
8668         (elmo-archive-create-file): Ditto.
8669         (elmo-archive-append-msg): Ditto.
8670         (elmo-archive-copy-msgs): Ditto.
8671         (elmo-archive-copy-msgs-froms): Ditto.
8672         (elmo-archive-get-msg-filename): Ditto.
8673         (elmo-archive-folder-diff): New alias.
8674
8675 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8676
8677         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8678         (elmo-pop3-stream-type-alist): New variable.
8679         (elmo-nntp-stream-type-alist): New variable.
8680
8681         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8682         (elmo-kill-buffer): Ditto.
8683         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8684         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8685         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8686         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8687         (elmo-imap4-get-spec): Take into account
8688         `elmo-imap4-stream-type-alist'.
8689
8690 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8691
8692         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8693         (elmo-nntp-list-folders-get-cache): Ditto.
8694
8695 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8696
8697         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8698         character before 'uid'.
8699
8700 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8701
8702         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8703
8704         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8705
8706         * elmo-util.el (elmo-number-set-member): New function.
8707         (elmo-number-set-append-list): Ditto.
8708         (elmo-number-set-append): Ditto.
8709
8710         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8711         Use `elmo-number-set-member'.
8712         (elmo-living-messages): Ditto.
8713         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8714         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8715
8716         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8717         (elmo-imap4-add-to-cont-list): Abolished.
8718         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8719         instead of elmo-imap4-add-to-cont-list.
8720
8721         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8722         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8723
8724         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8725
8726 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8727
8728         * elmo-util.el (elmo-condition-parse-search-value):
8729         Fixed date parsing.
8730
8731 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8732
8733         * elmo-util.el (elmo-condition-find-key-internal): New function.
8734         (elmo-condition-find-key): Ditto.
8735
8736         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8737         (elmo-msgdb-search-internal): Ditto.
8738         (elmo-msgdb-search): Ditto.
8739
8740 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8741
8742         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8743         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8744
8745         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8746         (elmo-nntp-search-primitive): Fixed problem when condition is
8747         'unmatch'.
8748
8749         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8750
8751         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8752         (elmo-nntp-xhdr-p): New macro.
8753         (elmo-nntp-set-xhdr): Ditto.
8754         (elmo-nntp-parse-xhdr-response): New function.
8755         (elmo-nntp-retrieve-field): Ditto.
8756         (elmo-nntp-search-primitive): Ditto.
8757         (elmo-nntp-search): Implemented.
8758
8759         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8760
8761         * elmo-archive.el (elmo-archive-search): Set all number list to
8762         `elmo-archive-field-condition-match'
8763
8764         * elmo-localdir.el (elmo-localdir-search): Likewise.
8765
8766         * elmo-maildir.el (elmo-maildir-search): Likewise.
8767
8768 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8769
8770         * elmo-msgdb.el (elmo-living-messages): New function.
8771         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8772         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8773         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8774         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8775         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8776         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8777         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8778         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8779         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8780         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8781         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8782
8783 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8784
8785         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8786
8787         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8788
8789         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8790
8791         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8792         arguments for `SEARCH' command.
8793         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8794         All other related portions are changed.
8795
8796         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8797
8798         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8799         (elmo-list-folder-unread): Rewrite.
8800         (elmo-list-folder-important): Ditto.
8801
8802         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8803         (elmo-condition-parse-error): New inline function.
8804         (elmo-read-search-condition): New function.
8805         (elmo-read-search-condition-internal): Ditto.
8806         (elmo-parse-search-condition): Rewrite.
8807         (elmo-condition-parse): New function.
8808         (elmo-condition-parse-or-expr): Ditto.
8809         (elmo-condition-parse-and-expr): Ditto.
8810         (elmo-condition-parse-primitive): Ditto.
8811         (elmo-condition-parse-search-value): Ditto.
8812         (elmo-buffer-field-primitive-condition-match): Ditto.
8813         (elmo-buffer-field-condition-match): Rewrite.
8814         (elmo-file-field-condition-match): Ditto.
8815
8816         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8817         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8818
8819         * elmo-internal.el (elmo-internal-search): Set `number' and
8820         `number-list' argument of `elmo-file-field-condition-match'.
8821
8822         * elmo-maildir.el (elmo-maildir-search): Ditto.
8823
8824         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8825         `msgdb' as argument instead of `mark-alist'.
8826         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8827         `overview'.
8828
8829         * elmo-multi.el: Likewise.
8830
8831         * elmo-pipe.el: Likewise.
8832
8833         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8834         (elmo-imap4-search-internal): Rewrite.
8835         (elmo-imap4-search): Ditto.
8836
8837         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8838         (elmo-filter-list-folder-unread): Ditto.
8839         (elmo-filter-list-folder-important): Ditto.
8840         (elmo-filter-search): Rewrite.
8841
8842         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8843         `number-list' argument of `elmo-file-field-condition-match'.
8844         (elmo-cache-search): Ditto.
8845
8846         * elmo-localdir.el: Likewise.
8847
8848         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8849         number-list and pass it to `elmo-buffer-field-condition-match'.
8850         (elmo-archive-field-condition-match): Pass `number-list' to
8851         `elmo-archive-field-condition-match'
8852
8853 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8854
8855         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8856         `listgroup'.
8857
8858         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8859         (elmo-folder-diff-async-callback-data): Ditto.
8860         (elmo-folder-diff-async): New function.
8861
8862         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8863         (elmo-network-session-cache-key): Use it as a prefix of the session
8864         name.
8865         (elmo-network-open-session): Ditto.
8866
8867         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8868         (elmo-imap4-status-callback-data): Ditto.
8869         (elmo-imap4-server-diff-async-callback): New variable.
8870         (elmo-imap4-server-diff-async-callback-data): Ditto.
8871         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8872         `elmo-imap4-status-callback-data'.
8873         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8874         `elmo-imap4-status-callback-data' as nil.
8875         (elmo-imap4-server-diff): Ditto.
8876         (elmo-imap4-server-diff-async-callback-1): New function.
8877         (elmo-imap4-server-diff-async): Ditto.
8878         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8879
8880 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8881
8882         * elmo-util.el (elmo-list-delete): Doc fix.
8883         (elmo-delete-lists): Abolish.
8884         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8885         instead of `elmo-delete-lists'.
8886
8887 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8888
8889         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8890         before `sort'.
8891
8892 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8893
8894         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8895         `elmo-imap4-literal-subr'.
8896         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8897         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8898
8899 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8900
8901         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8902         (elmo-archive-list-folder): Fix.
8903         (elmo-archive-max-of-folder): Fix.
8904
8905 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8906
8907         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8908          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8909         (elmo-localdir-append-msg): Ditto.
8910         (elmo-localdir-list-folder): Fix for `nonsort'.
8911         (elmo-localdir-list-folder-subr): Fix for `killed'.
8912         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8913         (elmo-maildir-list-folder-subr): Ditto.
8914         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8915         (elmo-archive-list-folder-subr): Ditto.
8916         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8917         (elmo-internal-list-folder-subr): Ditto.
8918
8919 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8920
8921         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8922
8923 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8924
8925         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8926
8927 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8928
8929         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8930         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8931
8932         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8933         before greeting.
8934         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8935         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8936
8937 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8938
8939         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8940
8941         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8942         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8943         before STORE command.
8944
8945 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8946
8947         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8948
8949         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8950         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8951         of `response'.
8952         (elmo-imap4-list-folders): Removed unused local variable.
8953         (elmo-network-initialize-session): Ditto.
8954         (elmo-imap4-delete-msg-by-id): Ditto.
8955         (elmo-imap4-parse-fetch): Ditto.
8956         (elmo-imap4-copy-msgs): Ditto.
8957         Use `dst-spec' instead of `dst-folder'.
8958         (elmo-network-authenticate-session): Check authenticate type `plain'.
8959
8960 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8961
8962         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8963         garbage checking.
8964         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8965         `elmo-imap4-response-value'.
8966         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8967
8968 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8969
8970         * elmo-imap4.el (elmo-imap4-send-command):
8971         Cause elmo-imap4-bye-error when current response is BYE.
8972         (elmo-imap4-arrival-filter): Changed greeting response value.
8973
8974         * elmo2.el (elmo-imap4-bye-error): Define.
8975
8976         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8977         (elmo-imap4-server-diff): Ditto.
8978         (elmo-imap4-response-bye-p): New macro.
8979         (elmo-imap4-response-error-text): Get text from BYE response.
8980         (elmo-imap4-read-response): Return if BYE response.
8981         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8982         (elmo-imap4-folder-exists-p): Ditto.
8983         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8984         (elmo-imap4-parse-bye): New function.
8985         (elmo-imap4-parse-response): Remove needless let.
8986         Call `elmo-imap4-parse-bye'.
8987
8988 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8989
8990         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8991         the mailbox does not exist.
8992         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8993
8994 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8995
8996         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8997
8998 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8999
9000         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9001
9002         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9003         (elmo-network-initialize-session-buffer): Defined.
9004
9005         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9006         Abolished.
9007         (mmelmo-imap4-get-mime-entity): Rewrite.
9008
9009         * elmo2.el (elmo-error): Capitalize error message.
9010
9011         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9012         (elmo-network-session-buffer): New macro.
9013         (elmo-network-open-session): Use it.
9014
9015         * elmo-imap4.el: Rewrite.
9016
9017 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9018
9019         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9020
9021 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9022
9023         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9024         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9025         (elmo-imap4-create-msgdb-from-overview-string): Use
9026         `elmo-msgdb-create-overview-from-buffer'.
9027
9028 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9029
9030         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9031         (elmo-imap4-default-hierarchy-delimiter): New variable.
9032         (elmo-imap4-list-folders): Use it.
9033
9034 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9035
9036         * elmo-net.el (elmo-network-open-session): Add user and
9037         stream-type for process-buffer name.
9038
9039         * elmo-pop3.el (elmo-network-initialize-session): Call
9040         buffer-disable-undo.
9041
9042         * elmo-imap4.el (elmo-network-initialize-session):
9043         Set current-buffer as an argument for `buffer-disable-undo'.
9044
9045         * elmo-pop3.el (elmo-network-close-session): Don't use
9046         `process-live-p'.
9047
9048         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9049         Set default as 'user.
9050
9051         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9052
9053         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9054         and `elmo-imap4-flush-connection'.
9055
9056         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9057         (elmo-pop3-get-spec): Assume auth as symbol.
9058         (elmo-open-network-stream): Moved to `elmo-net'.
9059
9060         * elmo-pop3.el (toplevel): Require 'elmo-net.
9061         Define `sasl-cram-md5' to silence byte compilier.
9062         (elmo-pop3-connection-cache) Abolished.
9063         (elmo-pop3-authenticator-alist) New variable.
9064         (elmo-pop3-session): Define.
9065         (elmo-pop3-connection-get-process): Abolished.
9066         (elmo-pop3-connection-get-buffer): Ditto.
9067         (elmo-pop3-close-connection): Ditto.
9068         (elmo-pop3-flush-connection): Ditto.
9069         (elmo-pop3-get-connection): Ditto.
9070         (elmo-pop3-get-session): New function.
9071         (Replacement for `elmo-pop3-get-connection').
9072         All other related modules are changed.
9073         (elmo-network-close-session): Define.
9074         (elmo-pop3-send-command): Abolished argument `buffer'.
9075         All other related modules are changed.
9076         (elmo-pop3-read-response): Likewise.
9077         (elmo-pop3-open-connection): Abolished.
9078         (elmo-pop3-auth-user): New function.
9079         (elmo-pop3-auth-apop): Ditto.
9080         (elmo-pop3-auth-cram-md5): Ditto.
9081         (elmo-pop3-auth-scram-md5): Ditto.
9082         (elmo-pop3-auth-digest-md5): Ditto.
9083         (elmo-network-initialize-session): Define.
9084         (elmo-network-authenticate-session): Ditto.
9085         (elmo-network-setup-session): Ditto.
9086
9087         * elmo-imap4.el (toplevel): Require 'elmo-net.
9088         (elmo-imap4-session): Define.
9089         (elmo-imap4-connection-cache): Abolished.
9090         (elmo-imap4-password-key): Ditto.
9091         (elmo-imap4-flush-connection): Ditto.
9092         (elmo-imap4-get-connection): Ditto.
9093         All other related modules are changed.
9094         (elmo-imap4-get-session): New function
9095         (Replacement for `elmo-imap4-get-connection').
9096         (elmo-imap4-read-response): Abolished argument `buffer'.
9097         All other related modules are changed.
9098         (elmo-imap4-send-command): Likewise.
9099         (elmo-imap4-select-folder): Abolished.
9100         All other related modules are changed.
9101         (elmo-imap4-select-mailbox): New function.
9102         (Replacement for `elmo-imap4-select-folder').
9103         (elmo-imap4-auth-login): Simplify.
9104         (Assume current buffer as process buffer)
9105         (elmo-imap4-auth-cram-md5): Ditto.
9106         (elmo-imap4-auth-digest-md5): Ditto.
9107         (elmo-imap4-login): Ditto.
9108         (elmo-imap4-open-connection): Abolished.
9109         (elmo-imap4-open-connection-1): Abolished.
9110         (elmo-network-initialize-sessoin): Define.
9111         (elmo-network-authenticate-session): Ditto.
9112         (elmo-network-setup-session): Ditto.
9113
9114         * elmo-net.el: New module.
9115
9116 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9117
9118         * elmo-util.el (elmo-define-error): New function.
9119
9120         * elmo2.el (elmo-error): Define.
9121         (elmo-open-error): Define.
9122         (elmo-authenticate-error): Define.
9123
9124         * elmo-imap4.el (elmo-imap4-error): Abolish.
9125         (elmo-imap4-error-type): Abolish.
9126         (elmo-imap4-error-process): Abolish.
9127         (elmo-imap4-error-message): Abolish
9128         (elmo-imap4-list-folders): Don't quote lambda.
9129         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9130         (elmo-imap4-parse-namespace): Ditto.
9131         (elmo-imap4-open-connection): Rewrite.
9132         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9133         (elmo-imap4-get-connection): Abolish local variable `result'.
9134
9135 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9136
9137         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9138         wrong-type-argument error when auth is nil.
9139
9140 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9141
9142         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9143         (elmo-default-nntp-stream-type): Ditto.
9144         (elmo-default-pop3-stream-type): Ditto.
9145         (elmo-network-stream-type-alist): Ditto.
9146         (elmo-default-imap4-ssl): Abolished.
9147         (elmo-default-nntp-ssl): Ditto.
9148         (elmo-default-pop3-ssl): Ditto.
9149
9150         * elmo-util.el: (toplevel): Removed needless requires.
9151         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9152         (elmo-open-network-stream): Open network stream according to
9153         the value of `elmo-network-stream-type-alist'.
9154         (elmo-get-network-stream-type): New function.
9155         (elmo-network-stream-type-spec-string): New macro.
9156         (elmo-network-stream-type-symbol): Ditto.
9157         (elmo-network-stream-type-function): Ditto.
9158
9159         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9160         network-stream-type. All other related portions are changed.
9161         (elmo-pop3-open-connection): Ditto.
9162
9163         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9164         network-stream-type. All other related portions are changed.
9165
9166         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9167         network-stream-type.All other related portions are changed.
9168         (elmo-imap4-error): New macro.
9169         (elmo-imap4-error-type): Ditto.
9170         (elmo-imap4-error-process): Ditto.
9171         (elmo-imap4-error-message): Ditto.
9172         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9173         (elmo-imap4-auth-cram-md5): Ditto.
9174         (elmo-imap4-auth-digest-md5): Ditto.
9175         (elmo-imap4-login): Ditto.
9176         (elmo-imap4-open-connection): Remove password entry if authentication
9177         was in vain.
9178         (elmo-imap4-user-at-host): Abolished.
9179         (elmo-imap4-password-key): New buffer local variable.
9180         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9181         using protocol, port, auth and stream-type.
9182
9183         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9184
9185 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9186
9187         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9188
9189         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9190
9191         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9192         (elmo-imap4-authenticator-alist): New variable.
9193         (elmo-imap4-open-connection-1): Rename from
9194         elmo-imap4-open-connection.
9195         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9196         only wraps elmo-imap4-open-connection-1.
9197         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9198         user-at-host.
9199         (elmo-imap4-auth-login): New function.
9200         (elmo-imap4-auth-cram-md5): New function.
9201         (elmo-imap4-auth-digest-md5): New function.
9202         (elmo-imap4-login): New function.
9203
9204 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9205
9206         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9207         function `error'.
9208
9209 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9210
9211         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9212
9213 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9214
9215         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9216
9217 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9218
9219         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9220         for server responses, quote `*' regardless of where it appears.
9221
9222 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9223
9224         * elmo-maildir.el (elmo-maildir-commit): New alias.
9225
9226 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9227
9228         * elmo-util.el (elmo-display-progress):
9229                 Use `progress-feedback-with-label'.
9230
9231 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9232
9233         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9234         (elmo-imap4-non-atom-char-regex): Ditto.
9235         (elmo-imap4-non-text-char-regex): Ditto.
9236         (elmo-imap4-literal-threshold): Ditto.
9237         (elmo-imap4-atom-p): New function.
9238         (elmo-imap4-quotable-p): Ditto.
9239         (elmo-imap4-nil): Ditto.
9240         (elmo-imap4-atom): Ditto.
9241         (elmo-imap4-quoted): Ditto.
9242         (elmo-imap4-literal-subr): Ditto.
9243         (elmo-imap4-literal): Ditto.
9244         (elmo-imap4-buffer-literal): Ditto.
9245         (elmo-imap4-string-subr): Ditto.
9246         (elmo-imap4-string): Ditto.
9247         (elmo-imap4-buffer-string): Ditto.
9248         (elmo-imap4-astring-subr): Ditto.
9249         (elmo-imap4-astring): Ditto.
9250         (elmo-imap4-buffer-astring): Ditto.
9251         (elmo-imap4-nstring): Ditto.
9252         (elmo-imap4-buffer-nstring): Ditto.
9253         (elmo-imap4-mailbox): New alias.
9254         (elmo-imap4-field-body): Ditto.
9255         (elmo-imap4-userid): Ditto.
9256         (elmo-imap4-password): Ditto.
9257         (elmo-imap4-format-quoted): New function.
9258         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9259         arguments and handle "atom", "quoted" and "literal" string here.
9260         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9261         `elmo-imap4-send-command'.
9262         (elmo-imap4-folder-exists-p): Likewise.
9263         (elmo-imap4-create-folder): Likewise.
9264         (elmo-imap4-delete-folder): Likewise.
9265         (elmo-imap4-rename-folder): Likewise.
9266         (elmo-imap4-max-of-folder): Likewise.
9267         (elmo-imap4-check-validity): Likewise.
9268         (elmo-imap4-sync-validity): Likewise.
9269         (elmo-imap4-server-diff): Likewise.
9270         (elmo-imap4-select-folder): Likewise.
9271         (elmo-imap4-copy-msgs): Likewise.
9272         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9273         (elmo-imap4-mark-set-on-msgs): Likewise.
9274         (elmo-imap4-read-part): Likewise.
9275         (elmo-imap4-read-msg): Likewise.
9276         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9277         `elmo-imap4-password' for `elmo-imap4-send-command'.
9278         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9279         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9280         `elmo-imap4-buffer-literal'.
9281         (elmo-imap4-append-msg): Likewise.
9282
9283         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9284         `delete' for removing dead connection from the connection cache.
9285         Move deletion of the process buffer after that.
9286         (elmo-imap4-list): Change `defsubst' to `defun'.
9287         (elmo-imap4-commit): Make error message verbose.
9288         (elmo-imap4-search): Ditto.
9289         (elmo-imap4-list): Ditto.
9290         (elmo-imap4-select-folder): Ditto.
9291         (elmo-imap4-copy-msgs): Ditto.
9292         (elmo-imap4-delete-msg-by-id): Ditto.
9293         (elmo-imap4-append-msg-by-id): Ditto.
9294         (elmo-imap4-append-msg): Ditto.
9295
9296 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9297
9298         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9299         when dired is used on XEmacs.
9300
9301 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9302
9303         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9304         instead of `append'.
9305         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9306         `elmo-plugged-p' directly.
9307         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9308         of `elmo-plugged-p' directly.
9309
9310         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9311         Eliminate unused variable.  Use `memq' for checking a process status.
9312         Use `cons' instead of `append' for updating the connection cache.
9313         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9314         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9315
9316 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9317
9318         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9319         `elmo-imap4-read-point' exactly.
9320
9321         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9322         the local variable `folder' to `mailbox'.
9323         Rename the argument `fld' to `folder'.
9324
9325 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9326
9327         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9328         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9329
9330 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9331
9332         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9333         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9334         (elmo-pop3-uidl-number-hash): Ditto.
9335         (elmo-pop3-size-hash): Ditto.
9336         (elmo-pop3-uidl-done): Ditto.
9337         (elmo-pop3-list-done): Ditto.
9338         (elmo-pop3-connection-get-process): New defmacro.
9339         (elmo-pop3-connection-get-buffer): Ditto.
9340         (elmo-pop3-close-connection): Delete buffer and process.
9341         (elmo-pop3-flush-connection): Don't delete buffer and process.
9342         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9343         Setup UIDL and size hash.
9344         (elmo-pop3-send-command-no-erase): Deleted
9345         (elmo-pop3-send-command): Added optional argument `no-erase'.
9346         (elmo-pop3-parse-uidl-response): New function.
9347         (elmo-pop3-parse-list-response): Set size hash.
9348         (elmo-pop3-list-location): New function.
9349         (elmo-pop3-list-by-uidl-subr): Ditto.
9350         (elmo-pop3-list-by-list): Ditto.
9351         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9352         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9353         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9354         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9355         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9356         Use uidl.
9357         (elmo-pop3-uidl-to-number): New function.
9358         (elmo-pop3-number-to-uidl): Ditto.
9359         (elmo-pop3-number-to-size): Ditto.
9360         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9361         Set number by use of uidl.
9362         (elmo-pop3-msgdb-create-message): Likewise.
9363         Set size, loc-alist in msgdb.
9364         (elmo-pop3-read-msg): Set number by use of uidl.
9365         Added optional argument `msgdb'.
9366         (elmo-pop3-delete-msg): Ditto.
9367         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9368         (elmo-pop3-commit): Close connection.
9369
9370         * elmo-pipe.el (elmo-pipe-max-of-folder):
9371         Bind `elmo-pop3-use-uidl' as nil.
9372         (elmo-pipe-drain): Ditto.
9373         Call `elmo-commit'.
9374
9375         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9376         (elmo-msgdb-overview-entity-set-size): New defsubst.
9377
9378 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9379
9380         * elmo-vars.el (elmo-use-killed-list): New variable
9381         (Renamed from `elmo-nntp-use-killed-list').
9382         (elmo-nntp-use-killed-list): Eliminated.
9383
9384         * elmo-msgdb.el (elmo-msgdb-expand-path):
9385         Changed expanding msgdb path for elmo-multi.
9386
9387         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9388         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9389         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9390         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9391         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9392         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9393         (toplevel): Deleted time-stamp line.
9394
9395         * elmo2.el (elmo-clear-killed ): Defined as function
9396         (Abolished defining as a backend function).
9397         All other related modules are changed.
9398
9399 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9400
9401         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9402
9403 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9404
9405         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9406
9407 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9408
9409         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9410
9411 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9412
9413         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9414         asynchronous folder check.
9415
9416         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9417
9418         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9419         `elmo-nntp-use-killed-list'.
9420         (elmo-nntp-list-folder): Use killed list.
9421         (elmo-nntp-max-of-folder): Ditto.
9422         (elmo-nntp-msgdb-create): Set killed list.
9423
9424         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9425
9426         * elmo2.el (elmo-clear-killed): New backend function.
9427         All other related modules are changed.
9428
9429 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9430
9431         * elmo-util.el (elmo-imap4-spec-folder): Use
9432         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9433         All callers changed.
9434
9435 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9436
9437         * mmelmo-2.el (initialize-instance):
9438         Use `mime-buffer-entity-buffer-internal' instead of
9439         `mime-entity-buffer'.
9440
9441         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9442         (mime-entity-body): Implemented.
9443         (mime-goto-header-start-point): Deleted.
9444         (mime-goto-body-end-point): Ditto.
9445         (mime-entity-point-min): Ditto.
9446         (mime-entity-point-max): Ditto.
9447         (mime-entity-children): Ditto.
9448         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9449         instead of `mime-entity-buffer'.
9450         (mime-entity-header-buffer): Ditto.
9451         (mime-entity-body-buffer): Ditto.
9452         (mime-write-entity-content): Ditto.
9453
9454         * pldap.el (ldap-static-if): New macro.
9455         (toplevel): Use it instead of `static-if'.
9456
9457 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9458
9459         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9460         included in `attrs' argument.
9461
9462 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9463
9464         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9465
9466         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9467         (ldap-ldif-safe-init-char-regexp): Ditto.
9468         (ldap-ldif-safe-string-regexp): Ditto.
9469         (ldap/ldif-safe-string-p): New macro.
9470         (ldap/ldif-insert-field): Ditto.
9471         (ldap-modify): Use it.
9472         (ldap-add): Ditto.
9473         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9474         (ldap-decode-attribute): Decode only when `attr' is consp.
9475         (ldap-delete): Bind `ret'.
9476         (toplevel): Require 'cl at compile time.
9477         Removed (require 'poe) and (require 'std11).
9478         (pldap-version): Eliminated.
9479         (ldap-search-basic): Removed auth and dn binding.
9480         (ldap-ldif-field-name-regexp): New constant.
9481         (ldap-ldif-field-head-regexp): Ditto.
9482         (ldap-ldif-next-field-head-regexp): Ditto.
9483         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9484         (ldap/field-end): New function.
9485         (ldap/field-body): Use it.
9486         (ldap/collect-field): Ditto.
9487         (ldap-search-basic): Use `ldap/field-body'.
9488
9489 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9490
9491         * pldap.el (ldap-default-attribute-encoder): New user option.
9492         (ldap/field-body): Decode base64 string.
9493         (ldap/collect-field): Ditto.
9494         (ldap-encode-attribute): New function.
9495         (ldap-add-entries): Use it.
9496         (ldap-modify-entries): Ditto.
9497         (ldap-search-entries): Enclosed decoding function with
9498         `with-temp-buffer' and set as unibyte.
9499         (ldap-search-basic): Set process buffer as unibyte.
9500
9501         * elmo-util.el (elmo-folder-identical-system-p):
9502         Eliminated name space checking.
9503
9504         * pldap.el: New module.
9505         toplevel: Changed condition to detect built-in ldap feature.
9506         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9507         (ldap-add): Added error handling.
9508         (ldap-modify): Ditto.
9509         (ldap-delete): Ditto.
9510
9511 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9512
9513         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9514         Initialize local variables with `let'.  Inline a temporary
9515         variable for the progress percentage.  Sort `setq' to reduce
9516         function call in the while-loop.
9517
9518         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9519         into the conditional branch.
9520
9521 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9522
9523         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9524         Move a conditional out of the while-loop.
9525
9526 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9527
9528         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9529         elmo-msgdb-overview-get-entity-by-number.
9530         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9531         throw.
9532
9533 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9534
9535         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9536         the local variable for a packed number self descriptively.
9537
9538 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9539
9540         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9541         * elmo-localdir.el (elmo-localdir-pack-number): Use
9542         `elmo-msgdb-overview-get-entity' instead of
9543         `elmo-msgdb-overview-get-entity-by-number'.
9544         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9545         (elmo-msgdb-search-overview-entity): Removed.
9546         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9547         by message-id or number.
9548         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9549         instead of `elmo-msgdb-overview-get-entity-by-number'.
9550
9551 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9552
9553         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9554         non-nil, use hash table for overview.
9555         (elmo-hash-maximum-size): New variable.
9556         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9557         (elmo-msgdb-make-overview-hashtb): New function.
9558         (elmo-msgdb-clear-overview-hashtb): New function.
9559         (elmo-clear-hash-val): New macro.
9560         All other related modules are changed.
9561
9562 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9563
9564         * elmo2.el (elmo-move-msgs): If there's other message with
9565         same message-id, don't use cache.
9566
9567 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9568
9569         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9570         number is already packed.
9571
9572 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9573
9574         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9575
9576 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9577
9578         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9579         All other related modules are changed.
9580
9581 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9582
9583         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9584         of refiling failure on Maildir.
9585
9586 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9587
9588         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9589         decoded mime-charset with cache.
9590         (elmo-msgdb-overview-entity-get-from): Ditto.
9591         (elmo-msgdb-overview-entity-get-subject): Ditto.
9592         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9593
9594 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9595
9596         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9597         (elmo-remove-passwd): Fill password with 0 before erase.
9598         * elmo-vars.el (elmo-passwd-life-time): New variable.
9599
9600 \f
9601 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9602
9603         * elmo-cache.el (elmo-buffer-cache-add):
9604         Set message cache buffer as unibyte.
9605
9606 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9607
9608         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9609         become nil.
9610
9611 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9612
9613         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9614         when display is finished.
9615         (elmo-nntp-msgdb-create): Ditto.
9616         (elmo-nntp-groups-read-response): Ditto.
9617         (elmo-nntp-retrieve-headers): Ditto.
9618         (elmo-nntp-msgdb-create-message): Ditto.
9619         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9620         (elmo-pop3-msgdb-create-message): Ditto.
9621
9622 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9623
9624         * elmo-maildir.el (elmo-maildir-msgdb-create):
9625         Use `elmo-msgdb-sort-by-date'.
9626
9627 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9628
9629         * elmo2.el (elmo-read-msg-no-cache):
9630         Eliminated arguments after `outbuf'.
9631         Don't use cache even if it exists.
9632         (elmo-read-msg): Don't pass arguments after `outbuf' to
9633         `elmo-read-msg-no-cache'.
9634
9635 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9636
9637         * elmo-archive.el (elmo-archive-list-folders):
9638         Use `file-name-directory' if base folder does not exist.
9639
9640 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9641
9642         * elmo-archive.el (elmo-archive-list-folders): Don't use
9643         `file-name-directory'.
9644
9645 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9646
9647         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9648         If `force' is non-nil, try flushing all operation queues.
9649
9650 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9651
9652         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9653         as-binary-process.
9654
9655 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9656
9657         * elmo-util.el (elmo-display-progress): Fixed.
9658
9659 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9660
9661         * elmo-util.el (elmo-display-progress): New function.
9662         All other related modules are changed.