* elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
4         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
5         (elmo-string-to-list, elmo-list-to-string): Ditto.
6
7 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8
9         * elmo-archive.el (elmo-archive-field-condition-match)
10         (elmo-archive-suffix-alist)
11         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
12         (elmo-archive-folder-message-make-temp-files)
13         (elmo-archive-append-files)
14         (elmo-archive-field-condition-match): Fix indent.
15
16         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
17         Avoid `args-out-of-range 0, 1' error.
18
19 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
20
21         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
22         (delete-backward-char X) that deletes region in Emacs 24.
23         See delete-active-region described in NEWS.
24         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
25         * elmo-util.el (elmo-get-file-string): Ditto.
26         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
27
28 2010-08-09  David Maus  <dmaus@ictsoc.de>
29
30         * elmo.el (elmo-folder-open-internal-p): New luna method.
31         (elmo-folder-move-messages): Open source folder only if necessary.
32         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
33         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
34         * elmo-map.el (elmo-folder-open-internal-p): Dto.
35         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
36
37 2010-08-01  David Maus  <dmaus@ictsoc.de>
38
39         * elmo.el (elmo-folder-move-messages): Open source folder before
40         moving messages.
41
42 2010-04-15  David Maus  <dmaus@ictsoc.de>
43
44         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
45         imap user name.
46
47 2010-04-14  David Maus  <dmaus@ictsoc.de>
48
49         * elmo-imap4.el (elmo-imap4-disabled-extension): New
50         variable. List of server extensions that are disabled on the
51         client side.
52         (elmo-imap4-session-capable-p): Honour list of disabled
53         extensions.
54
55 2010-03-17  David Maus  <dmaus@ictsoc.de>
56
57         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
58         (elmo-imap4-search-internal-primitive): Pass filter type to imap
59         search when performing search for flagged messages.
60
61 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
62
63         * modb-standard.el (modb-standard-save-entity): Use
64         `modb-standard-cleanup-stale-entities' to clean up stale entity
65         files in modb cache.
66         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
67         capabilities after login.
68
69 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
70
71         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
72         indent (only cosmetic fix).
73
74 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
75
76         * elmo-version.el (elmo-version): Up to 2.15.9.
77
78         * elmo-imap4.el (elmo-imap4-elist): New function
79         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
80         ESEARCH feature (RFC4731).
81         * elmo-imap4.el (toplevel): Require time-stamp
82         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
83         elmo-imap4-read-response elmo-imap4-read-untagged
84         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
85         logging format.
86         * elmo-imap4.el (elmo-folder-list-messages-plugged,
87         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
88         for full uid range on folder entering, retrieve updates only for
89         newly appeared messages.
90         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
91         elmo-imap4-read-response, elmo-imap4-read-untagged,
92         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
93         to format-time-string.
94         * elmo-vars.el (toplevel): New custom
95         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
96         flag for some buggy servers.
97         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
98
99 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
100
101         * acap.el (acap-parse-response): Fix comment-out style. Use three
102         semicolons, that should start at the left margin.
103         See. also (Info-goto-node "(elisp)Comment Tips").
104         * elmo.el (toplevel, elmo-message-match-condition)
105         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
106         Ditto.
107         * elmo-archive.el (elmo-archive-suffix-alist)
108         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
109         (elmo-archive-method-list)
110         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
111         Ditto.
112         * elmo-imap4.el (toplevel)
113         (elmo-imap4-send-command, elmo-imap4-check-validity)
114         (elmo-imap4-fetch-callback-1-subr)
115         (elmo-network-initialize-session, elmo-server-diff-async)
116         (elmo-imap4-folder-diff-plugged): Ditto
117         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
118         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
119         * elmo-net.el (elmo-network-close-session): Ditto.
120         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
121         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
122         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
123         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
124         (elmo-number-set-delete)
125         (elmo-cache-get-oldest-cache-file-entity): Ditto.
126
127 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
128
129         * elmo-version.el (elmo-version): Up to 2.15.8.
130
131         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
132         `with-current-buffer' instead of `save-excursion' (for suppress
133         compile warnings).
134
135         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
136         instead of `int-to-string'.
137         * elmo-archive.el (elmo-archive-message-fetch-internal)
138         (elmo-archive-folder-message-make-temp-files)
139         (elmo-archive-folder-append-buffer)
140         (elmo-folder-delete-messages-internal)
141         (elmo-archive-msgdb-create-entity)
142         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
143         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
144         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
145         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
146         * elmo-imap4.el (elmo-imap4-make-number-set-list)
147         (elmo-folder-list-subfolders): Ditto.
148         * elmo-localdir.el (elmo-message-file-name)
149         (elmo-folder-message-make-temp-files)
150         (elmo-localdir-msgdb-create-entity)
151         (elmo-folder-append-messages-*-localdir)
152         (elmo-folder-pack-numbers): Ditto.
153         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
154         * elmo-map.el (elmo-location-map-key): Ditto.
155         * elmo-nntp.el (elmo-nntp-folder-postfix)
156         (elmo-nntp-folder-list-subfolders)
157         (elmo-nntp-folder-msgdb-create): Ditto.
158
159         * elmo.el (elmo-crosspost-message-alist-save): Don't use
160         `function' for `lambda'.
161         * elmo-archive.el (elmo-archive-folder-list-subfolders)
162         (elmo-folder-append-messages-*-archive)
163         (elmo-folder-delete-messages-internal): Ditto.
164         * elmo-date.el (elmo-replace-in-string): Ditto.
165         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
166         (elmo-folder-list-flagged): Ditto.
167         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
168         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
169         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
170
171 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
172
173         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
174         `elmo-dop-spool-folder' was used before it was defined"; Use
175         `defun' instead.
176
177         * pldap.el (ldap/ldif-safe-string-p): macro to function.
178         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
179
180         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
181         `mapcar'; Suppress compile warning.
182         * elmo-imap4.el (elmo-network-initialize-session-buffer)
183         (elmo-imap4-search-internal-primitive): Ditto.
184         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
185         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
186
187         * elmo-imap4.el (elmo-imap4-parse-address-list)
188         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
189         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
190         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
191         `(string-to-char " ")' instead of `? ', `?\ '.
192
193 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
194
195         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
196         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
197         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
198         `function' for lambda.
199
200         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
201         `string-to-number' instead of `string-to-int'.
202
203         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
204         instead of `save-excursion' (for suppress compile warnings).
205         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
206         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
207         (elmo-nntp-post): Ditto.
208
209 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
210
211         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
212         Mule-UCS (to-utf-16).
213         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
214         Emacs 23.
215
216 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
217
218         * utf7.el (utf7-find-coding-system-without-bom): New Function.
219         (utf7-utf-16-coding-system): use no-BOM coding system.
220         (utf7-get-u16char-converter): remove workaround for BOM.
221
222 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
223
224         * elmo-util.el (elmo-union): New function, make a union of two lists.
225
226         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
227         mime-view when displaying malformed base64 attach.
228
229         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
230         (removed duplicated code)
231
232         * modb-standard.el (modb-standard-cleanup-stale-entities): New
233         function, Remove stale entities from elmo's cache.
234
235 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
236
237         * elmo-version.el (elmo-version): Up to 2.15.7.
238
239 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
240
241         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
242         default value to `--auto-update'.
243
244 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
245
246         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
247         Add `elmo-pop3-read-point' barrier.
248
249 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
250
251         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
252         goto the previous end-point insead of the head-point, and use
253         `search-forward' instead of `re-search-forward'.
254
255 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
256
257         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
258
259 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
260
261         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
262         case-insensitive fashion.
263
264 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
265
266         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
267
268 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
269
270         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
271         `eval-and-compile' for suppress compile warnings.
272
273         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
274         instead of `defun-maybe'
275
276         * elmo-util.el: Add (eval-when-compile (require 'static)).
277
278 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
279
280         * mmimap.el: Remove (require 'static).
281         * acap.el: Ditto.
282
283         * elmo-flag.el: Move ';;; Code:' comment.
284         * elmo-imap4.el: Ditto.
285         * elmo-net.el: Ditto.
286
287         * elmo-version.el (product-provide): Fix comment.
288
289 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
290
291         * slp.el: Add (eval-when-compile (require 'cl)).
292         * elmo-date.el: Ditto.
293         * elmo-pop3.el: Ditto.
294         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
295
296 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
297
298         * modb.el (elmo-msgdb-match-condition-primitive): Use
299         `string-to-number' instead of `string-to-int'.
300
301         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
302         (elmo-msgdb-message-match-condition)
303         (elmo-msgdb-create-message-entity-from-buffer): Use
304         `string-to-number' instead of `string-to-int'.
305
306         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
307         instead of `string-to-int'.
308
309         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
310         instead of `string-to-int'.
311
312         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
313         `string-to-number' instead of `string-to-int'.
314
315         * elmo-nntp.el (elmo-nntp-make-msglist)
316         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
317         (elmo-nntp-create-msgdb-from-overview-string)
318         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
319         (elmo-nntp-search-primitive): Use `string-to-number' instead of
320         `string-to-int'.
321
322         * elmo-net.el (elmo-net-folder-set-parameters): Use
323         `string-to-number' instead of `string-to-int'.
324
325         * elmo-localdir.el (elmo-localdir-list-subr): Use
326         `string-to-number' instead of `string-to-int'.
327
328         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
329         `string-to-number' instead of `string-to-int'.
330
331         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
332         instead of `string-to-int'.
333
334         * elmo-archive.el (elmo-archive-list-folder-subr): Use
335         `string-to-number' instead of `string-to-int'.
336
337 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
338
339         * elmo-util.el (elmo-get-passwd): Fix typo.
340
341         * elmo-nntp.el (elmo-nntp-get-server-command)
342         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
343         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
344         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
345         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
346
347         * elmo-imap4.el (elmo-imap4-debug)
348         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
349         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
350         (elmo-imap4-response-value, elmo-imap4-response-error-text)
351         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
352         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
353         (elmo-imap4-identical-system-p): New backquote style.
354
355 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
356
357         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
358         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
359         (elmo-dop-queue-arguments): Ditto.
360
361         * elmo-date.el (elmo-match-substring): New backquote style.
362         (elmo-match-string, elmo-match-buffer): Ditto.
363         (elmo-date-make-sortable-string): Ditto.
364
365         * elmo-archive.el (elmo-archive-get-method):New backquote style.
366         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
367
368         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
369         style.
370
371         * elmo-net.el (elmo-network-stream-type-spec-string): New
372         backquote style.
373         (elmo-network-stream-type-symbol): Ditto.
374         (elmo-network-stream-type-feature): Ditto.
375         (elmo-network-stream-type-function): Ditto.
376         (elmo-network-session-buffer): Ditto.
377
378         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
379         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
380         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
381         (elmo-bind-directory, elmo-set-work-buf): Ditto.
382
383         * elmo.el (elmo-folder-send): New backquote style.
384
385 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
386
387         * pldap.el (ldap-static-if): New backquote style.
388         (ldap/ldif-safe-string-p): Ditto.
389         (ldap/ldif-insert-field): Ditto.
390
391         * elmo-version.el (elmo-version): Up to 2.15.6.
392
393 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
394
395         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
396         messages with \Deleted flag.
397         (elmo-folder-delete-messages-plugged): Ask before sending expunge
398         command if there are messages with \Deleted flag.
399
400 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
401
402         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
403         http://seclists.org/bugtraq/2007/Apr/0018.html
404         (Suggested by Tatsuya Kinoshita)
405
406 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
407
408         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
409         with \Noselect attribute.
410
411 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
412
413         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
414         hierarchical folder structure with UW-imapd.
415
416 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
417
418         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
419         when the LOGINDISABLED capability is advertised.
420
421 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
422
423         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
424
425 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
426
427         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
428         `entity'.
429         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
430         if the message entity is exists.
431
432 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
433
434         * elmo-util.el (elmo-msgdb-insert-file-header): Call
435         `elmo-delete-cr-buffer'.
436
437         * elmo-localdir.el (elmo-message-fetch-internal): Use
438         `insert-file-contents-as-raw-text' instead of
439         `insert-file-contents-as-binary'.
440
441         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
442
443 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
444
445         * elmo-imap4.el (elmo-network-initialize-session): Check to
446         retrieve a whole greeting message.
447
448 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
449
450         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
451
452 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
453
454         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
455         (elmo-progress-notify): Use it instead of `plist-get'.
456
457 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
458
459         * elmo.el (elmo-generic-folder-append-messages): Remove unused
460         variable `table'.
461
462 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
463
464         * elmo-pipe.el (elmo-folder-set-plugged): Define.
465
466 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
467
468         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
469         (elmo-spam-list-spam-messages): Check it option.
470
471 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
472
473         * elmo-util.el (elmo-with-progress-display): Return the value
474         of the last form in `body'.
475
476 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
477
478         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
479         `elmo-progress-counter' as t when a query callback returns nil.
480         (elmo-progress-clear): New function.
481         (elmo-progress-done): Split into `elmo-progress-clear'.
482         (elmo-progress-notify): Update a total slot when it is nil.
483         (elmo-with-progress-display): Call `elmo-progress-clear' in
484         unwind-protect and move calling `elmo-progress-done' to outside.
485
486         * elmo-imap4.el (elmo-imap4-find-next-line): Call
487         `elmo-progress-notify' with :total parameter instead of
488         `elmo-progress-counter-set-total'.
489
490 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
491
492         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
493         Make it interactive.
494         (elmo-progress-start): Avoid updating `elmo-progress-counter'
495         when a query callback returns nil.  Return a progress counter
496         instead of t whenever a start callback was called.
497
498 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
499
500         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
501         (elmo-imap4-send-command): Use it.
502         (elmo-network-initialize-session): Ditto.
503         (elmo-network-setup-session): Ditto.
504         (elmo-folder-msgdb-create-plugged): Ditto.
505
506 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
507
508         * elmo-util.el (elmo-progress-done): Fix a miss refer to
509         `elmo-progress-counter'.
510
511 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
512
513         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
514         (elsp-bsfilter-list-spam-filter): New function.
515         (elsp-bsfilter-start-list-spam): Ditto.
516         (elsp-bsfilter-read-list-spam): Ditto.
517         (elmo-spam-list-spam-messages): Use async process to display
518         progress message by each message.
519
520 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
521
522         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
523         of flushing previously inserted message contents.
524
525         * elmo-imap4.el (elmo-folder-search): Fix return value.
526
527 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
528
529         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
530         of reporter is enable or not.
531
532 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
533
534         * elmo-util.el (elmo-list-bigger-diff): Abolish.
535         (elmo-display-progress): Ditto.
536         (elmo-progress-counter-alist): Ditto.
537         (elmo-progress-set): Ditto.
538         (elmo-progress-clear): Ditto.
539         (elmo-progress-counter-all-value): Rename to
540         `elmo-progress-counter-total'.
541         (elmo-progress-counter-format): Rename to
542         `elmo-progress-counter-action'.
543         (elmo-progress-counter): New internal variable.
544         (elmo-progress-callback-function): Ditto.
545         (elmo-progress-counter-label): New function.
546         (elmo-progress-counter-set-total): Ditto.
547         (elmo-progress-counter-set-action): Ditto.
548         (elmo-progress-call-callback): Ditto.
549         (elmo-progress-start): Ditto.
550         (elmo-progress-done): Ditto.
551         (elmo-progress-notify): Rewrite.
552         (elmo-with-progress-display): Remove first argument
553         `condition'. Add optional argument `var' in `spec'.
554
555         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
556         (elmo-display-retrieval-progress-threshold): Ditto.
557         (elmo-inhibit-display-retrieval-progress): Ditto.
558
559         * Replace all pair of `elmo-progress-set' and
560         `elmo-progress-clear' into `elmo-with-progress-display'.
561
562         * Replace to call `elmo-display-progress' into pair of
563         `elmo-progress-notify' and `elmo-with-progress-display'.
564
565         * elmo-version.el (elmo-version): Up to 2.15.5.
566
567 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
568
569         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
570         `cond'.
571
572 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
573
574         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
575         cleanup-forms [wl:14027].
576
577 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
578
579         * elmo-flag.el (elmo-global-flag-set-internal): Use
580         `elmo-copy-file' by priority when the message is a file.
581
582 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
583
584         * elmo.el: Fix typo: disptch -> dispatch.
585
586 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
587
588         * elmo.el (elmo-file-tag): New class.
589         (elmo-append-messages-disptch-table): New constant.
590         (elmo-folder-type-p): New function.
591         (elmo-folder-append-messages): Redefine as function.
592
593         * elmo-null.el (elmo-folder-append-messages): Renamed from
594         `elmo-folder-append-messages'.
595
596         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
597         (elmo-folder-append-messages-*-maildir): Renamed from
598         `elmo-folder-append-messages'.
599
600         * elmo-localdir.el (elmo-localdir-folder): Inherit
601         `elmo-file-tag'.
602         (elmo-folder-append-messages-*-localdir): Renamed from
603         `elmo-folder-append-messages'.
604
605         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
606         from `elmo-folder-append-messages'.
607
608         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
609         `elmo-folder-append-messages'.
610
611         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
612         function.
613         (elmo-folder-append-messages-*-filter): Ditto.
614
615         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
616
617         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
618         (elmo-folder-append-messages-*-pipe): Renamed from
619         `elmo-folder-append-messages'.
620
621         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
622
623         * elmo-file.el (elmo-file-folder): Ditto.
624
625         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
626
627         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
628         from `elmo-folder-append-messages'
629
630 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
631
632         * elmo-map.el (elmo-location-map-setup): Change an argument
633         `locations' to optional.
634         (elmo-location-map-clear): Abolish.
635         (elmo-folder-clear): Follow the API change.
636
637         * elmo-pop3.el (elmo-folder-clear): Ditto.
638
639         * elmo-pop3.el (toplevel): Require elmo-map.
640         (elmo-pop3-folder): Inherit elmo-location-map and abolish
641         location-alist slot (All other related portions are changed).
642         (elmo-pop3-folder-use-uidl): New function.
643         (elmo-folder-msgdb-create): Don't sort message entities.
644         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
645         (elmo-pop3-number-to-size): Convert return value to number.
646         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
647         working buffer.
648
649         * elmo-map.el: Use `location-map' as a variable name for instance
650         instead of `mapper'.
651         (elmo-location-map-setup): Return location alist.
652         (elmo-location-map-update): Ditto.
653
654 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
655
656         * elmo-map.el (elmo-location-map): New class; split location and
657         number mapping from elmo-map-folder (All other related portions
658         are changed).
659
660         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
661         change.
662
663         * elmo-version.el (elmo-version): Up to 2.15.4.
664
665 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
666
667         * elmo-vars.el (elmo-use-hardlink): New user option.
668
669         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
670         `elmo-use-hardlink'.
671
672         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
673         killed-list.
674         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
675         instead of `*-internal'. Use `elmo-with-progress-display'.
676
677 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
678
679         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
680         `elmo-spam-process-messages-as-mbox'.
681
682         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
683
684 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
685
686         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
687         argument BUFFER of `call-process'.
688
689 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
690
691         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
692         args.
693         (elsp-bsfilter-list-spam-files): Ditto.
694
695 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
696
697         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
698         (elmo-spam-bsfilter-max-messages-per-process): New use option.
699         (elmo-spam-bsfilter-debug): Fix a group.
700         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
701         `--homedir'.
702         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
703         (elsp-bsfilter-list-spam-files): New function.
704         (elmo-spam-list-spam-messages): Define.
705         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
706         (elmo-spam-bsfilter-register-messages): New function.
707         (elmo-spam-register-spam-messages): Define.
708         (elmo-spam-register-good-messages): Ditto.
709
710         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
711
712         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
713         `nconc' and `consp'.
714
715 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
716
717         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
718         hash table to test whether a location is exists.
719
720 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
721
722         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
723         even if some error occurred.
724
725         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
726         meaningless unwind-protect.
727
728         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
729         start-number correctly.
730         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
731         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
732
733 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
734
735         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
736         (elmo-folder-initialize): Use it.
737         (elmo-global-flag-replace-referrer): New function.
738
739         * elmo.el (toplevel): Added autoload setting for
740         `elmo-global-flag-replace-referrer'.
741         (elmo-folder-rename): Rewrite the last change use
742         `elmo-global-flag-replace-referrer'.
743
744         * elmo-pipe.el (elmo-folder-rename): Call
745         `elmo-global-flag-replace-referrer'.
746
747 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
748
749         * elmo.el (elmo-folder-rename): Set meta data for global flags
750         follow the rename.
751
752 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
753
754         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
755         as 'not-loaded.
756         (elmo-folder-close): Ditto.
757         (elmo-filter-folder-number-list-loaded-p): New function.
758         (elmo-filter-folder-number-list): Check whether loaded or not.
759         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
760         of `elmo-filter-folder-number-list-internal'.
761         (elmo-folder-delete-messages): Ditto.
762         (elmo-folder-length): Check whether number-list is loaded or not.
763
764 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
765
766         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
767         field `real field' into each element of list.
768         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
769         (elmo-msgdb-message-entity-field): Ditto.
770         (modb-entity-ml-info-real-fields): New function.
771
772         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
773
774         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
775         `elmo-msgdb-extra-fields'.
776
777 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
778
779         * elmo-util.el (elmo-passwd-alist-load): Move point to min
780         position before read.
781
782 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
783
784         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
785         (elmo-global-flags-initialize): Ditto.
786
787 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
788
789         * elmo-archive.el (toplevel): Don't require emu, std11
790         and elmo-localdir.
791
792         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
793         definition.
794
795 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
796
797         * elmo.el (elmo-folder-confirm-appends): Display folder name.
798
799 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
800
801         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
802         literals.
803
804 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
805
806         * elmo-maildir.el (elmo-maildir-list-location): Reduce
807         `elmo-get-last-modification-time' call.
808
809 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
810
811         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
812         expression.
813         (elmo-maildir-set-mark): Ditto.
814         (elmo-maildir-delete-mark): Ditto.
815
816 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
817
818         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
819         optional argument `separators'.
820
821 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
822
823         * elmo.el (cache-changed): Abolish.
824         (status-changed): New signal.
825         (elmo-message-killed-p): New generic function and define for
826         elmo-folder.
827         (elmo-folder-recover-messages): Ditto.
828         (elmo-message-set-cached): Emit signal `status-changed' instead of
829         `cache-changed'.
830         (elmo-message-status): New macro.
831         (elmo-message-status-folder): Ditto.
832         (elmo-message-status-number): Ditto.
833         (elmo-message-status-set-flags): Ditto.
834         (elmo-message-status-set-killed): Ditto.
835         (elmo-message-status-flags): New function.
836         (elmo-message-status-cached-p): Ditto.
837         (elmo-message-status-killed-p): Ditto.
838
839         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
840         `status-changed' instead of `cache-changed'.
841         (elmo-folder-recover-messages): Define.
842         (elmo-message-killed-p): Ditto.
843
844         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
845         `status-changed' instead of `cache-changed'.
846
847         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
848         (elmo-message-killed-p): Define.
849         (elmo-folder-recover-messages): Ditto.
850
851         * elmo-version.el (elmo-version): Up to 2.15.3.
852
853 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
854
855         * elmo-signal.el (elmo-signal-bindings): Use cons to append
856         element into list.
857         (elmo-define-signal-handler): Add docstring.
858         (elmo-define-signal-filter): Ditto.
859
860         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
861
862 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
863
864         * elmo-util.el (elmo-flatten): Don't use recursive call.
865
866         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
867         assignment.
868         (elmo-folder-message-make-temp-files): Use `number-to-string'
869         instead of `int-to-string'.
870
871 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
872
873         * elmo-search.el (elmo-folder-delete-messages): Define.
874
875 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
876
877         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
878         customization type.
879         (elmo-mailing-list-count-spec-list): Ditto.
880
881         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
882         for `list-id'.
883
884 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
885
886         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
887         handling.
888
889 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
890
891         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
892         (elmo-mailing-list-count-spec-list): Ditto.
893
894         * elmo-util.el (elmo-map-until-success): New function.
895         (elmo-string-match-substring): Ditto.
896         (elmo-find-list-match-value): Ditto.
897
898         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
899         Removed.
900         (modb-entity-extract-ml-info-from-subject): Ditto.
901         (modb-entity-extract-ml-info-from-return-path): Ditto.
902         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
903         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
904         (modb-entity-extract-ml-info-from-mailman): Ditto.
905         (modb-entity-extract-mailing-list-info-functions): Ditto.
906         (modb-entity-extract-mailing-list-info): Rewrite with
907         `elmo-find-list-match-value'.
908
909 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
910
911         * elmo-net.el (elmo-network-session-retry-count): New user option.
912         (elmo-network-session-buffer-name): New internal function.
913         (elmo-network-session-buffer-create): Ditto.
914         (elmo-network-open-session): Retry open network session
915         `elmo-network-session-retry-count' times.
916
917 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
918
919         * elmo-util.el (elmo-list-filter): Rewritten.
920
921 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
922
923         * elmo-util.el (elmo-string-member): Allow symbol element in list.
924
925 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
926
927         * elmo-search.el (elmo-make-search-engine): Use prefix
928         `elmo-search-' for require symbol instead of `else-'.
929         (elmo-search-engine-extprog): New class.
930         (elmo-search-engine-do-search): Remove nil from argument
931         list. Added argument pattern to evaluate element as function.
932         (elmo-search-engine-local-file): Derived from
933         `elmo-search-engine-extprog'.
934         (elmo-search-engine-create-message-entity): Check existance of file.
935         (elmo-search-engine-fetch-message): Ditto.
936         (elmo-search-namazu-index): Follow the API change.
937         (elmo-search-grep-target): Ditto.
938
939 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
940
941         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
942         characters of working buffer.
943
944         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
945         Does not bind `default-mime-charset'.
946         (elmo-msgdb-create-message-entity-from-buffer): Removed
947         unnecessary local bind.
948
949         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
950         function.
951         (modb-entity-extract-mailing-list-info-functions): Added it.
952
953 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
954
955         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
956         when number and message-id are non-nil.
957
958         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
959
960         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
961         conditional steatment.
962         (elmo-pop3-auth-apop): Likewise.
963         (elmo-network-authenticate-session): Likewise.
964
965 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
966
967         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
968         symbol `fill-column'.
969         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
970         decode field value.
971
972         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
973         (elmo-decoded-field-body): Ditto.
974
975 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
978         `tokens' to `params'.
979
980 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
981
982         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
983         working buffer.
984
985 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
986
987         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
988         decide index.
989
990 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
991
992         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
993         Set default value as nil.
994         (toplevel): Register search engines by
995         `elmo-search-register-engine' if there are not defined.
996
997         * elmo.el (autoload): Added autoload setting for
998         `elmo-search-register-engine'.
999
1000 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1001
1002         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1003         folder instead of nmz folder.
1004         (elmo-nmz-default-index-path): Added obsolete variable setting.
1005         (elmo-nmz-index-alias-alist): Ditto.
1006         (elmo-nmz-use-drive-letter): Ditto.
1007
1008         * elmo-search.el (elmo-search-register-engine): New function.
1009
1010         * elmo-nmz.el: Removed.
1011
1012         * elmo-version.el (elmo-version): Up to 2.15.2.
1013
1014 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1015
1016         * elmo-search.el: New file.
1017
1018 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1019
1020         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1021         condition `larger' and `smaller'.
1022
1023 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1024
1025         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1026         `"' (double quote) into "_Q_".
1027
1028 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * elmo-net.el (elmo-net-quote-chars): Abolish.
1031         (elmo-net-format-quoted): Ditto.
1032
1033 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1034
1035         * elmo.el (elmo-get-folder-function): New variable.
1036         (elmo-get-folder): New function.
1037         (elmo-folder-rename): Call `elmo-make-folder' with specified
1038         mime-charset.
1039
1040         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1041         `elmo-make-folder'.
1042         (elmo-split-subr): Ditto.
1043
1044         * elmo-multi.el (elmo-folder-initialize): Ditto.
1045
1046         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1047
1048         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1049         (elmo-flag-get-folder): Ditto.
1050
1051         * elmo-filter.el (elmo-folder-initialize): Ditto.
1052
1053         * elmo-access.el (elmo-folder-initialize): Ditto.
1054         (elmo-access-folder-update-children): Ditto.
1055
1056         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1057         (elmo-dop-queue-flush): Ditto.
1058         (elmo-folder-append-buffer-dop-delayed): Ditto.
1059         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1060         mime-charset.
1061
1062         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1063         instead of `elmo-make-folder'.
1064         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1065         destination folder instead of send `elmo-folder-rename-internal'.
1066
1067         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1068         slot of subfolder instead of create it.
1069
1070 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1071
1072         * elmo-util.el (elmo-collect-separators): New function.
1073         (elmo-collect-separators-internal): Ditto.
1074         (elmo-collect-trail-separators): Ditto.
1075         (elmo-parse-separated-tokens): Ditto.
1076         (elmo-parse-separated-tokens-internal): Ditto.
1077         (elmo-quote-syntactical-element): Ditto.
1078
1079         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1080         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1081
1082         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1083         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1084         (elmo-nntp-folder-list-subfolders): Quote a user name.
1085
1086         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1087         (elmo-net-parse-network): Abolish.
1088         (elmo-net-folder-set-parameters): New function.
1089         (elmo-folder-initialize): Follow the above change.
1090
1091         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1092         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1093         (elmo-folder-list-subfolders): Use
1094         `elmo-quote-syntactical-element' instead of
1095         `elmo-net-format-quoted' to quote mailbox and user name.
1096
1097 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1098
1099         * elmo-util.el (elmo-token-valid-p): New function.
1100         (elmo-parse-token): Add optional argument `requirement'.
1101         (elmo-parse-prefixed-element): Likewise.
1102
1103         * elmo-net.el (elmo-net-quote-chars): Renamed from
1104         `elmo-net-quote-chars-regexp'.
1105         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1106
1107         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1108         by info document. Check token `uidl' is started an alphabet.
1109
1110         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1111         by info document. Check token `user' is started an alphabet.
1112
1113         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1114         (elmo-folder-list-subfolders): Quote user.
1115
1116 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1117
1118         * elmo-util.el (elmo-quoted-specials-list): New constant.
1119         (elmo-quoted-token): New function.
1120
1121         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1122         (elmo-net-format-quoted): New function.
1123         (elmo-net-parse-network): Ditto.
1124         (elmo-folder-initialize): Use it.
1125
1126         * elmo-nntp.el (elmo-folder-initialize): Use
1127         `elmo-net-parse-network' to parse network specification instead of
1128         `elmo-folder-initialize#elmo-net'.
1129
1130         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1131
1132         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1133         (elmo-folder-list-subfolders): Quote folder name by
1134         `elmo-net-format-quoted'.
1135
1136 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1137
1138         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1139         (elmo-folder-search): Use it.
1140
1141 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1142
1143         * modb-standard.el (modb-standard-loaded-message-id): Use
1144         `elmo-msgdb-message-entity-field'.
1145
1146 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1149         without filename.
1150
1151 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1152
1153         * elmo-util.el (elmo-set-auto-coding): New function.
1154         (elmo-object-load): Use it.
1155
1156 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1157
1158         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1159         (elmo-time<): Define as alias of `elmo-time-less-p'.
1160         (elmo-time-to-datevec): New function.
1161
1162         * elmo-date.el (elmo-time-to-days): New function.
1163
1164 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1165
1166         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1167         is not cons cell.
1168
1169 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1170
1171         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1172         parenthesis.
1173
1174         * elmo-util.el (elmo-map-recursive): New function.
1175
1176         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1177         (modb-entity-encode-string-recursive): Ditto.
1178
1179 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1180
1181         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1182         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1183         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1184         compare sequence number when last modified time is nil.
1185
1186 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1187
1188         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1189
1190         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1191
1192 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1193
1194         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1195         modification time of the file.
1196
1197 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1198
1199         * elmo-util.el (elmo-condition-optimize): Discriminated against
1200         preserved fields, extra fields and the other weight.
1201
1202 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1203
1204         * modb-entity.el (initialize-instance): Define.
1205         (modb-entity-handler-mime-charset): New internal function.
1206         (modb-standard-entity-set-field): Use it.
1207         (elmo-msgdb-message-entity-field): Ditto.
1208         (elmo-msgdb-message-entity-field): Ditto.
1209
1210         * modb.el (elmo-msgdb-match-condition): Rewrite with
1211         `elmo-condition-match'.
1212         (elmo-msgdb-match-condition-primitive): New function.
1213
1214         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1215         arguments `flags' and `numbers'.
1216         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1217         `elmo-msgdb-message-match-condition').
1218         (modb-buffer-entity-handler): New class.
1219
1220         * elmo.el (elmo-folder-search): Optimize condition to use
1221         `elmo-condition-optimize'.
1222         (elmo-message-buffer-match-condition): New function.
1223         (elmo-message-match-condition): Use
1224         `elmo-message-buffer-match-condition' instead of
1225         `elmo-buffer-field-condition-match'.
1226
1227         * elmo-util.el (elmo-condition-match): New function.
1228         (elmo-condition-optimize): Ditto.
1229         (elmo-buffer-field-primitive-condition-match): Abolish.
1230         (elmo-buffer-field-condition-match): Ditto.
1231
1232         * elmo-archive.el (elmo-archive-field-condition-match): Use
1233         `elmo-message-buffer-match-condition' instead of
1234         `elmo-buffer-field-condition-match'.
1235
1236 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1237
1238         * elmo-flag.el (elmo-global-flags-initialize): Check the
1239         existence of the flag directory.
1240
1241 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1242
1243         * elmo-access.el (elmo-folder-initialize): Call
1244         `elmo-multi-connect-signals'.
1245
1246         * elmo-pipe.el (elmo-folder-close): Define.
1247
1248         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1249         children folders.
1250
1251         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1252         with target folder.
1253
1254         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1255         `number'.
1256
1257         * elmo-multi.el (elmo-message-entity): Don't use return value of
1258         `elmo-message-entity-set-number'.
1259
1260 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1261
1262         * modb.el (modb-generic): Added slot `mime-charset'.
1263
1264         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1265         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1266         and `modb-entity-handler-dump-parameters'.
1267         (modb-standard-default-entity-handler): Abolish.
1268         (elmo-msgdb-message-entity-handler): Save created handler by
1269         instance slot.
1270
1271         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1272         (modb-entity-handler-list-parameters): New method.
1273         (modb-entity-handler-equal-p): New function.
1274         (modb-entity-handler-dump-parameters): Ditto.
1275         (modb-entity-parse-address-string): Encode return value.
1276         (modb-entity-make-address-string): Decode argument value.
1277         (modb-entity-decode-string-recursive): New function.
1278         (modb-entity-encode-string-recursive): Ditto.
1279         (modb-standard-entity-normalizer): Set to encode field value.
1280         (modb-standard-entity-specializer): Follow the above change.
1281         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1282         mime-charset of handler.
1283         (elmo-msgdb-message-entity-field): Ditto.
1284         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1285         structure.
1286         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1287
1288         * elmo.el (elmo-folder): Added slot `mime-charset'.
1289         (elmo-make-folder): Added argument `mime-charset'.
1290         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1291         `mime-charest'.
1292
1293         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1294         (elmo-make-msgdb): Likewise.
1295
1296         * elmo-internal.el (elmo-internal-folder-initialize): Call
1297         `luna-make-entity' with :mime-charset parameter.
1298
1299 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1300
1301         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1302         encoded words in `from' and `subject' field.
1303
1304 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1305
1306         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1307         (elmo-msgdb-match-condition): Get handler from entity instead of
1308         msgdb.
1309
1310         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1311         (modb-standard-load-entity): Treat new file format.
1312         (modb-standard-save-entity-1): Save as new file format.
1313         (modb-standard-save-entity): Split messages into section here.
1314         (elmo-msgdb-message-field): Follow the API change.
1315         (modb-standard-default-entity-handler): New internal variable.
1316         (elmo-msgdb-message-entity-handler): Define.
1317
1318         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1319         to `elmo-vars.el'.
1320         (modb-entity-field-extractor-alist): New user option.
1321         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1322         added argument `type'.
1323         (elmo-msgdb-copy-message-entity): Add optional argument
1324         `make-handler'.
1325         (modb-set-field-converter): New function.
1326         (modb-convert-field-value): Ditto.
1327         (modb-entity-string-decoder): Ditto.
1328         (modb-entity-string-encoder): Ditto.
1329         (modb-entity-parse-date-string): Ditto.
1330         (modb-entity-make-date-string): Ditto.
1331         (modb-entity-mime-decoder): Ditto.
1332         (modb-entity-mime-encoder): Ditto.
1333         (modb-entity-address-list-decoder): Ditto.
1334         (modb-entity-address-list-encoder): Ditto.
1335         (modb-entity-parse-address-string): Ditto.
1336         (modb-entity-make-address-string): Ditto.
1337         (modb-entity-create-field-indices): Ditto.
1338         (modb-legacy-entity-field-slots): New constant.
1339         (modb-legacy-entity-field-indices): Ditto.
1340         (modb-legacy-entity-normalizer): New variable.
1341         (modb-legacy-entity-specializer): Ditto.
1342         (modb-legacy-entity-field-index): New macro.
1343         (modb-legacy-entity-set-field): New function.
1344         (modb-legacy-make-message-entity): Rewrite.
1345         (elmo-msgdb-create-message-entity-from-buffer): Use
1346         `elmo-msgdb-get-references-from-buffer'. Use
1347         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1348         Use `modb-legacy-entity-set-field' instead of
1349         `elmo-msgdb-message-entity-set-field'.
1350         (elmo-msgdb-message-entity-field): Rewrite.
1351         (elmo-msgdb-message-entity-set-field): Ditto.
1352         (elmo-msgdb-copy-message-entity): Make new entity by
1353         `make-handler' if it specified.
1354         (elmo-msgdb-message-match-condition): Define a method of
1355         `modb-entity-handler' and follow the API change.
1356         (modb-standard-entity-handler): New class.
1357         (modb-entity-extract-ml-info-from-x-sequence): New function.
1358         (modb-entity-extract-ml-info-from-subject): Ditto.
1359         (modb-entity-extract-ml-info-from-return-path): Ditto.
1360         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1361         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1362         (modb-entity-extract-mailing-list-info): Ditto.
1363         (modb-entity-extract-mailing-list-info-functions): New variable.
1364
1365         * elmo.el (elmo-message-field): Add optional argument `type'.
1366
1367         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1368         from `modb-entity.el'.
1369
1370         * elmo-util.el (elmo-object-load): Decode by coding-system from
1371         `set-auto-coding-function'.
1372         (elmo-object-save): Use `detect-mime-charset-region' and add
1373         coding cookie if encode.
1374         (elmo-msgdb-get-references-from-buffer): New function.
1375         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1376
1377         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1378
1379         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1380         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1381         instead of `shimbun-make-header' and follow the API change.
1382         (elmo-shimbun-update-overview): Follow the API change.
1383         (elmo-map-folder-list-message-locations): Ditto.
1384
1385         * elmo-pipe.el (elmo-message-field): Ditto.
1386
1387         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1388         Ditto.
1389
1390         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1391
1392         * elmo-multi.el (elmo-message-field): Ditto.
1393
1394         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1395         (elmo-msgdb-sort-by-date): Ditto.
1396         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1397         `elmo-message-entity-field'.
1398         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1399         change.
1400         (elmo-msgdb-overview-entity-get-from): Ditto.
1401         (elmo-msgdb-overview-entity-get-subject): Ditto.
1402         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1403         (elmo-msgdb-overview-entity-get-date): Ditto.
1404         (elmo-msgdb-overview-entity-get-to): Ditto.
1405         (elmo-msgdb-overview-entity-get-cc): Ditto.
1406
1407         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1408         (elmo-mime-collect-message/partial-pieces): Ditto.
1409
1410         * elmo-filter.el (elmo-message-field): Ditto.
1411
1412         * elmo-date.el (elmo-datevec-to-time): New function.
1413         (elmo-time-parse-date-string): Ditto.
1414         (elmo-time-make-date-string): Ditto.
1415         (elmo-time<): Ditto.
1416
1417         * elmo-version.el (elmo-version): Up to 2.15.1.
1418
1419 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1420
1421         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1422         member of elmo-local-flags.
1423
1424 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1425
1426         * elmo-version.el (elmo-version): Up to 2.15.0.
1427
1428 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1429
1430         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1431         `ignore-msgdb' is non-nil.
1432
1433 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1434
1435         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1436         (elmo-condition-in-msgdb-p): Ditto.
1437         (elmo-file-field-primitive-condition-match): Ditto.
1438         (elmo-file-field-condition-match): Ditto.
1439
1440         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1441
1442 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1443
1444         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1445         subdirectories here.
1446         (elmo-global-flags-initialize): New function.
1447
1448         * elmo.el (toplevel): Added autoload setting for
1449         `elmo-global-flags-initialize'.
1450
1451 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1452
1453         * elmo.el (message-number-changed): Define new signal.
1454         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1455         message-number-changed signal.
1456         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1457         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1458         Respect `elmo-pack-number-check-strict'.
1459
1460 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1461
1462         * elmo-signal.el (elmo-connect-signal): Document.
1463         (elmo-emit-signal): Ditto.
1464         (elmo-emit-signal): It should pass source argument to filter and
1465         handler, not slot-source.
1466
1467 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1468
1469         * modb.el (elmo-msgdb-update-entity): New API and define generic
1470         implement.
1471
1472         * modb-standard.el (elmo-msgdb-update-entity): Define.
1473
1474         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1475         API and define generic implement.
1476
1477         * elmo.el (update-overview): New singnal.
1478
1479         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1480         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1481         (elmo-message-entity-parent): Define.
1482
1483         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1484         `update-overview'.
1485
1486         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1487
1488         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1489
1490 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1491
1492         * elmo.el (elmo-folder-synchronize): Sort the return value of
1493         `elmo-list-diff'.
1494
1495         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1496         list.
1497
1498 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1499
1500         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1501         `default-enable-multibyte-characters'.
1502         (elmo-object-load): Use `with-temp-buffer' instead of
1503         `elmo-set-work-buf'.
1504         (elmo-object-save): Ditto.
1505         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1506         `elmo-set-work-buf'.
1507         (elmo-decoded-field-body): Ditto.
1508
1509         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1510
1511         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1512         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1513
1514         * elmo-version.el (elmo-version): Up to 2.13.3.
1515
1516 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1517
1518         * elmo-util.el (elmo-list-diff): Fix the last change.
1519         Reverse order of result lists.
1520
1521 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1522
1523         * modb-standard.el (elmo-msgdb-set-flag): Use
1524         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1525         (elmo-msgdb-unset-flag): Ditto.
1526
1527         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1528         `elmo-list-diff'.
1529
1530         * elmo-util.el (elmo-list-diff): Rewrite.
1531         (elmo-list-diff-nonsortable): New function.
1532
1533 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1534
1535         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1536         `elmo-multibypte-buffer-name'.  All referers are updated.
1537
1538 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1539
1540         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1541         (elmo-mime-entity-fragment-p): New function.
1542         (mime-elmo-buffer-entity): Added slot `reassembled'.
1543         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1544         (elmo-message-mime-entity-internal): New function (renamed from
1545         `elmo-message-mime-entity').
1546         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1547         (elmo-mime-make-reassembled-mime-entity): New function.
1548         (elmo-message-reassembled-mime-entity): Ditto.
1549         (elmo-mime-collect-message/partial-pieces): Ditto.
1550
1551 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1552
1553         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1554
1555         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1556         (elmo-with-enable-multibyte): New macro.
1557
1558         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1559
1560 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1563         argument `number'.
1564         (elmo-filter-connect-signals): Follow the above change.
1565
1566 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1567
1568         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1569
1570         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1571         that only the first flag is used.
1572
1573 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1574
1575         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1576         if available.
1577
1578 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1579
1580         * elmo-signal.el: New file.
1581
1582         * elmo.el (toplevel): Require elmo-signal.
1583         (flag-changing, flag-changed, cache-changed): New signal.
1584         (elmo-folder): Remove slog `handlers'.
1585         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1586         `elmo-folder-notify-event'.
1587         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1588         (elmo-folder-unset-flag): Ditto.
1589         (elmo-event-handler): Abolish.
1590         (elmo-event-handler-flag-changed): Ditto.
1591         (elmo-event-handler-cache-changed): Ditto.
1592         (elmo-folder-add-handler): Ditto.
1593         (elmo-folder-remove-handler): Ditto.
1594         (elmo-folder-notify-event): Ditto.
1595
1596         * elmo-pipe.el (toplevel): Require elmo-signal.
1597         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1598         (elmo-pipe-connect-signals): New function.
1599         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1600         (elmo-folder-set-flag): Ditto.
1601         (elmo-folder-unset-flag): Ditto.
1602         (elmo-message-set-cached): Ditto.
1603
1604         * elmo-multi.el (toplevel): Require elmo-signal.
1605         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1606         (elmo-multi-connect-signals): New function.
1607         (elmo-multi-map-numbers): Ditto.
1608         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1609         (elmo-message-fetch): Ditto.
1610         (elmo-folder-set-flag): Ditto.
1611         (elmo-folder-unset-flag): Ditto.
1612
1613         * elmo-filter.el (toplevel): Require elmo-signal.
1614         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1615         (elmo-filter-connect-signals): New function.
1616         (elmo-filter-add-flag-count): Ditto.
1617         (elmo-message-fetch): Does not call
1618         `elmo-filter-folder-countup-message-flags' and
1619         `elmo-folder-notify-event'.
1620         (elmo-message-set-cached): Ditto.
1621         (elmo-folder-set-flag): Ditto.
1622         (elmo-folder-unset-flag): Ditto.
1623
1624         * elmo-version.el (elmo-version): Up to 2.13.2.
1625
1626 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1627
1628         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1629         `flags'.
1630
1631 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1632
1633         * elmo-filter.el (elmo-message-set-cached): Call
1634         `elmo-folder-notify-event' with event `cache-changed'.
1635
1636         * elmo-multi.el (elmo-message-set-cached): Ditto.
1637
1638         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1639
1640 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1641
1642         * elmo.el (elmo-folder-encache): Abolish.
1643
1644 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1645
1646         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1647         (elmo-folder-next-message-number-dop): Return appropriate negative
1648         integer.
1649
1650 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1651
1652         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1653         clearing pending operations.
1654         (elmo-folder-next-message-number-dop): Return appropriate negative
1655         integer.
1656
1657 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1658
1659         * elmo.el (toplevel): Added autoload setting for `md5'.
1660         (elmo-msgdb-path-encode-threshold): New user option.
1661         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1662         longer than `elmo-msgdb-path-encode-threshold'.
1663
1664         * elmo-flag.el (elmo-global-mark-migrate): Use
1665         `elmo-folder-expand-msgdb-path' instead of
1666         `elmo-folder-msgdb-path'.
1667
1668 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1669
1670         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1671         element of the difference is nil.
1672
1673 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1674
1675         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1676         to the check logic of file systems which are weak in colon character.
1677
1678 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1679
1680         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1681
1682 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1683
1684         * elmo-maildir.el (elmo-maildir-move-file): New function.
1685         (elmo-folder-append-buffer): Use it.
1686         (elmo-folder-append-messages): Ditto.
1687         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1688
1689         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1690         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1691
1692         * elmo-maildir.el (elmo-maildir-separator): New user option.
1693         (elmo-maildir-adjust-separator): New macro.
1694         (elmo-maildir-list-location): Use it.
1695         (elmo-maildir-update-current): Ditto.
1696         (elmo-maildir-set-mark): Ditto.
1697         (elmo-maildir-delete-mark): Ditto.
1698         (These changes are based on Hiroya Murata's patch [wl: 13437])
1699
1700 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1703
1704 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1705
1706         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1707         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1708         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1709
1710 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1711
1712         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1713         Use `with-temp-buffer'.
1714
1715 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1716
1717         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1718
1719         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1720         `wl-read-search-condition').
1721         (elmo-read-search-condition-internal): Likewise.
1722
1723         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1724         (elmo-flag-valid-p): New function.
1725         (elmo-folder-initialize): Check flag name is valid.
1726
1727 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1728
1729         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1730         delimiter to obtain root mailbox itself.
1731
1732 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1733
1734         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1735         type mismatch.
1736
1737 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1738
1739         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1740         as t.
1741
1742 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1743
1744         * elmo-shimbun.el (toplevel): Require cl at compile.
1745
1746         * elmo-nntp.el (toplevel): Ditto.
1747
1748         * elmo-nmz.el (toplevel): Ditto.
1749
1750         * elmo-multi.el (toplevel): Ditto.
1751
1752         * elmo-file.el (toplevel): Ditto.
1753
1754         * elmo-dop.el (toplevel): Ditto.
1755
1756         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1757
1758 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1759
1760         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1761         as nil.
1762
1763         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1764         size of elmo-message-fetch-internal is 0 byte.
1765
1766 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1767
1768         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1769
1770 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1771
1772         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1773         always plugged.
1774
1775 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1776
1777         * elmo-maildir.el (elmo-map-message-fetch): Call
1778         `elmo-map-folder-set-flag'.
1779
1780         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1781         (elmo-message-fetch): Merge from
1782         `elmo-message-fetch-with-cache-process'.
1783
1784         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1785         (elmo-message-fetch): Define.
1786
1787         * elmo-nntp.el (elmo-message-fetch): Renamed from
1788         `elmo-message-fetch-with-cache-process'.
1789
1790         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1791         (elmo-message-fetch): Define.
1792
1793         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1794         search-key.
1795
1796         * elmo-shimbun.el (shimbun-mua-search-id): Use
1797         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1798         (elmo-shimbun-folder-shimbun-header): Ditto.
1799         (elmo-shimbun-get-headers): Ditto.
1800         (elmo-shimbun-update-overview): Ditto.
1801
1802         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1803
1804         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1805         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1806
1807 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1808
1809         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1810         message is cached.
1811         (elmo-message-fetch-string): Fixed argument.
1812
1813 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1814
1815         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1816         exchange order of arguments `section' and `unread'.
1817         (elmo-message-encache): Follow the API change.
1818         (elmo-message-match-condition): Ditto.
1819         (elmo-generic-folder-append-messages): Ditto.
1820         (elmo-message-fetch-string): New function.
1821
1822         * elmo-split.el (elmo-split-subr): Ditto.
1823
1824         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1825
1826         * elmo-pipe.el (elmo-message-fetch): Ditto.
1827
1828         * elmo-multi.el (elmo-message-fetch): Ditto.
1829
1830         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1831
1832         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1833
1834         * elmo-filter.el (elmo-message-fetch): Ditto.
1835
1836         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1837
1838         * elmo-imap4.el (mime-imap-location-section-body): Use
1839         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1840         follow the API change.
1841
1842 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1843
1844         * elmo-access.el: New file.
1845
1846         * elmo-null.el: Ditto.
1847
1848         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1849
1850 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1851
1852         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1853         (elmo-network-session): New attribute `last-accessed'.
1854         (elmo-network-get-session): Discard network cache if elapsed time
1855         since last-accessed is larger than elmo-network-session-idle-timeout.
1856
1857 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1858
1859         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1860         and added `number', `require-entireness'.
1861         (elmo-find-fetch-strategy): Rewrite.
1862         (elmo-message-fetch): Unset `unread' flag when argument unread is
1863         non-nil.
1864
1865         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1866
1867         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1868         (elmo-message-fetch): Notify event `flag-changed'.
1869
1870         * elmo-pipe.el: Likewise.
1871
1872         * elmo-mime.el (elmo-mime-entity): New class.
1873         (elmo-mime-entity-display-p): New generic function.
1874         (elmo-mime-entity-display): Ditto.
1875         (elmo-mime-entity-display-as-is): Ditto.
1876         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1877         elmo-mime-entity.
1878         (elmo-make-mime-message-location): Removed.
1879         (elmo-mime-message-display): Ditto.
1880         (elmo-mime-display-as-is): Ditto.
1881         (elmo-message-mime-entity): New function.
1882
1883         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1884
1885         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1886         change.
1887         (elmo-message-fetch): Re-count flagged message number and notify
1888         event `flag-changed'.
1889
1890         * elmo-version.el (elmo-version): Up to 2.13.1.
1891
1892 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1893
1894         * elmo-filter.el (elmo-message-field): Define.
1895         (elmo-message-set-field): Ditto.
1896
1897 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * elmo.el (elmo-message-set-cached): Call
1900         `elmo-folder-notify-event' with cache-changed.
1901         (elmo-event-handler-cache-changed): New generic function.
1902
1903 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1904
1905         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1906         instead of elmo-add-name-to-file.
1907         (elmo-folder-append-messages): Ditto.
1908
1909 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1910
1911         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1912
1913 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1914
1915         * elmo-version.el (elmo-version): Up to 2.13.0.
1916
1917         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1918         `auto'.
1919
1920         * modb-standard.el (modb-standard-economize-entity-size): Changed
1921         default value to `t'.
1922
1923         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1924         `standard'.
1925
1926         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1927         after parsing greeting string.
1928
1929 2004-11-23  Daishi Kato <daishi@axlight.com>
1930
1931         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1932         New user option.
1933         (elmo-spam-spamoracle-call): Use it.
1934
1935 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1936
1937         * elmo.el (elmo-message-accessible-p): Message in dop spool
1938         is accessible.
1939
1940 2004-11-23  Daishi Kato <daishi@axlight.com>
1941
1942         * elsp-spamoracle.el: New file.
1943
1944 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1945
1946         * elmo.el (elmo-message-flags-for-append): New function.
1947         (elmo-generic-folder-append-messages): Use it.
1948
1949         * elmo-split.el (elmo-split-subr): Ditto.
1950
1951         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1952         `flags' and use elmo-folder-append-buffer instead of
1953         write-region-as-binary.
1954         (elmo-dop-filter-pending-messages): New function.
1955         (elmo-folder-append-buffer-dop): Call
1956         elmo-dop-spool-folder-append-buffer with `flag'.
1957         (elmo-folder-set-flag-dop): Filter messages by
1958         elmo-dop-filter-pending-messages.
1959         (elmo-folder-unset-flag-dop): Ditto.
1960         (elmo-folder-append-buffer-dop-delayed): Use
1961         elmo-message-flags-for-append to get flags of the message and
1962         simplify.
1963
1964 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1965
1966         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1967
1968 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1969
1970         * elmo.el (elmo-folder): Added handlers slot.
1971         (elmo-event-handler): New class.
1972         (elmo-event-handler-flag-changed): New API.
1973         (elmo-folder-add-handler): New function.
1974         (elmo-folder-remove-handler): Ditto.
1975         (elmo-folder-notify-event): Ditto.
1976         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1977         `flag-changed'.
1978         (elmo-folder-unset-flag): Ditto.
1979
1980         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1981         (elmo-folder-unset-flag): Ditto.
1982
1983         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1984         (elmo-folder-unset-flag): Ditto.
1985
1986         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1987         (elmo-folder-unset-flag): Ditto.
1988
1989         * elmo-version.el (elmo-version): Up to 2.11.33.
1990
1991 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1992
1993         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1994
1995 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1996
1997         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1998
1999         * elmo-flag.el (elmo-folder-unset-flag): Define.
2000         (elmo-global-flag-detach): Do process when the flag is not target
2001         flag.
2002
2003 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2004
2005         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2006         variable.
2007         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2008
2009 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2010
2011         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2012         function.
2013         (elmo-folder-delete-messages): Detach messages before delete
2014         messages from target folder.
2015         (elmo-folder-detach-messages): Set updated number-list to slot.
2016
2017 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2018
2019         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2020
2021 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2022
2023         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2024
2025 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2026
2027         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2028         internal use only).
2029         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2030         not modified.
2031         (elmo-folder-delete-messages): Define.
2032         (elmo-folder-move-messages): Don't call
2033         `elmo-folder-detach-messages'.
2034         (elmo-folder-synchronize): Rewrite.
2035         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2036
2037         * elmo-util.el (elmo-last): New function.
2038         (elmo-set-list): Ditto.
2039         (elmo-number-set-delete-list): Ditto.
2040         (elmo-number-set-delete): Ditto.
2041
2042         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2043
2044         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2045         `elmo-folder-delete-messages' and don't delete location map.
2046         (elmo-folder-detach-messages): Define.
2047
2048         * elmo-imap4.el (elmo-folder-delete): Use
2049         `elmo-folder-delete-messages-internal' instead of
2050         `elmo-folder-delete-messages'.
2051
2052         * elmo-filter.el (elmo-folder-delete-messages): Call
2053         `elmo-folder-detach-messages'.
2054         (elmo-folder-detach-messages): Don't call
2055         `elmo-folder-detach-messages' for target folder.
2056
2057         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2058         message deletion is succeeded.
2059
2060         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2061
2062         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2063         from `elmo-folder-delete-messages'.
2064
2065         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2066
2067         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2068
2069         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2070
2071         * elmo-version.el (elmo-version): Up to 2.11.32.
2072
2073 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2074
2075         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2076         (elmo-global-flag-list): Added obsolete variable setting.
2077
2078         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2079
2080         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2081         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2082         `elmo-mime-display-header-analysis' is nil.
2083
2084         * elmo-flag.el (elmo-global-flags): Renamed from
2085         `elmo-global-flag-list' (All other related portions are changed).
2086         (elmo-local-flags): New variable.
2087         (elmo-local-flag-p): New function.
2088         (elmo-global-flag-set-internal): Cause an error when flag is not
2089         global.
2090
2091 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2092
2093         * elmo-util.el (elmo-concat-path): Treat empty path.
2094
2095 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2096
2097         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2098         field-or-fields).
2099         (elmo-split-address-match): Ditto.
2100         (elmo-split-equal): Ditto.
2101         (elmo-split-match): Ditto.
2102
2103 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2104
2105         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2106         (elmo-generic-folder-append-messages): If src message exists but
2107         has no flag, pass (read) for the FLAG argument of
2108         `elmo-folder-append-buffer'. Otherwise, pass nil.
2109
2110         * elmo-split.el (elmo-split-subr): Likewise.
2111
2112         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2113
2114         * elmo-multi.el (elmo-message-flags): Ditto.
2115
2116         * elmo-filter.el (elmo-message-flags): Ditto.
2117
2118         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2119         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2120         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2121         
2122 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2123
2124         * elmo-split.el (elmo-split-rule): Update comment.
2125         (elmo-split-address-equal): Allow 2nd argument to be a list.
2126         (elmo-split-address-match): Ditto.
2127         (elmo-split-equal): Ditto.
2128         (elmo-split-match): Ditto.
2129
2130 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2131
2132         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2133         (elmo-folder-append-msgdb): Don't treat `read'.
2134         (elmo-message-flags): Don't return `read'.
2135
2136         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2137         (elmo-folder-unset-read-delayed): Ditto.
2138
2139         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2140
2141 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2142
2143         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2144         deletion.
2145
2146 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2147
2148         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2149         header.
2150
2151 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2152
2153         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2154         here.
2155         (elmo-msgdb-save): Bind inhibit-quit.
2156         (modb-standard-message-entity): Ditto.
2157
2158 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2159
2160         * elmo-database.el: No need to require elmo-msgdb.
2161
2162 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2163
2164         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2165         instead of `elmo-list-subdirectories'.
2166
2167 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2168
2169         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2170         group entry.
2171         (elmo-folder-exists-p): "[" is empty.
2172         (elmo-folder-list-subfolders): Define.
2173         (elmo-folder-have-subfolder-p): Ditto.
2174
2175 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2176
2177         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2178
2179 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2180
2181         * elmo-filter.el (elmo-folder-local-p): Define.
2182
2183 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2184
2185         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2186         when entity is garbaged.
2187         (modb-standard-save-entity-1): Don't modify the original entity.
2188
2189 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2190
2191         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2192
2193 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2194
2195         * elmo.el (elmo-strict-folder-diff): Use
2196         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2197
2198 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2199
2200         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2201         (elmo-msgdb-message-number): Ditto.
2202         (elmo-msgdb-message-field): Ditto.
2203
2204         * modb-standard.el (modb-standard-economize-entity-size): New user
2205         option.
2206         (modb-standard-loaded-message-id): New inline function.
2207         (modb-standard-load-entity): Use it.
2208         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2209         throw message-id string away.
2210         (elmo-msgdb-flag-available-p): Define.
2211         (elmo-msgdb-message-number): Ditto.
2212         (elmo-msgdb-message-field): Ditto.
2213
2214         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2215         (suppoted -> supported).
2216         (modb-legacy-supported-flag-p): Ditto.
2217         (elmo-msgdb-set-flag): Ditto.
2218         (elmo-msgdb-unset-flag): Ditto.
2219         (elmo-msgdb-flag-available-p): Define.
2220
2221         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2222         is `t', treat it as legacy entity.
2223         
2224         * elmo.el (elmo-message-flag-available-p): New generic function.
2225         (elmo-message-number): Ditto.
2226         (elmo-message-field): Use `elmo-msgdb-message-field'.
2227
2228         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2229
2230         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2231         (elmo-message-number): Ditto.
2232
2233         * elmo-multi.el (elmo-message-number): Define.
2234         (elmo-message-flag-available-p): Ditto.
2235
2236         * elmo-filter.el (elmo-message-flag-available-p): Define.
2237         (elmo-message-number): Ditto.
2238
2239         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2240         (elmo-folder-initialize): Load `max-number'.
2241         (elmo-folder-commit): Save it.
2242         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2243         (elmo-global-flag-set-internal): Set up max-number slot.
2244
2245 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2246
2247         * elmo-version.el (elmo-version): Up to 2.11.31.
2248
2249 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2250
2251         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2252         unibyte string of the current buffer for the argument of `md5'
2253         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2254
2255 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2256
2257         * modb-legacy.el (modb-legacy-flag-list): New constant.
2258         (modb-legacy-suppoted-flag-p): New internal function.
2259         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2260         (elmo-msgdb-unset-flag): Ditto.
2261
2262 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2263
2264         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2265
2266         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2267         from msgdb.
2268
2269 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2270
2271         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2272         (follow the API change).
2273
2274         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2275
2276 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2277
2278         * modb-standard.el (modb-standard-digest-flags): Abolish.
2279         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2280
2281         * elmo-vars.el (elmo-digest-flags): New variable.
2282         (elmo-preserved-flags): Moved from elmo-flag.el.
2283
2284         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2285         (elmo-imap4-flag-to-imap-criteria): Ditto.
2286         (elmo-imap4-folder-list-flagged): Use it.
2287
2288         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2289
2290         * elmo.el (elmo-folder-count-flags): Changed return value.
2291
2292         * elmo-flag.el (elmo-preserved-flags): New variable.
2293         (elmo-get-global-flags): Use it.
2294
2295         * modb-standard.el (modb-standard-digest-flags): New variable.
2296         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2297         Changed behavior of `any'.
2298
2299         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2300         which are defined the Internet draft
2301         (draft-melnikov-imap-keywords-03.txt).
2302         (elmo-imap4-flags-to-imap): New function.
2303         (elmo-folder-append-buffer): Use it.
2304
2305         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2306         in the docstring.
2307
2308         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2309         avoid the bug of Emacs 21.3.
2310
2311 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2312
2313         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2314         function find-coding-system does not exist.
2315
2316 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2317
2318         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2319         parsing.
2320
2321 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2322
2323         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2324         response codes.
2325
2326 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2327
2328         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2329         (elmo-network-close-session): Follow the changes in
2330         `elmo-pop3-read-response'.
2331         (elmo-pop3-auth-user): Ditto.
2332         (elmo-pop3-auth-apop): Ditto.
2333         (elmo-network-initialize-session): Ditto.
2334         (elmo-network-authenticate-session): Ditto.
2335         (elmo-network-setup-session): Ditto.
2336         (elmo-folder-status): Ditto.
2337         (elmo-message-fetch-plugged): Ditto.
2338         (elmo-pop3-delete-msg): Ditto.
2339
2340 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2341
2342         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2343         on failure.
2344
2345 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2346
2347         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2348         style.
2349         (elmo-bind-directory): Ditto.
2350
2351 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2352
2353         * elmo.el (elmo-folder-append-messages): Note on return value.
2354         * elmo-archive.el (elmo-folder-append-messages): Don't return
2355         message numbers which could not be appended.
2356
2357 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2358
2359         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2360
2361 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2362
2363         * elmo-version.el (elmo-version): Up to 2.11.30.
2364
2365 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2366
2367         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2368         `mask'.
2369
2370         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2371
2372         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2373         (elmo-multi-split-numbers): Add elmo-folder object into each
2374         element of return value at first.
2375         (elmo-folder-delete-messages): Follow the above change.
2376         (elmo-folder-detach-messages): Ditto.
2377
2378         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2379         number which is synchronized in target folder.
2380
2381 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2382
2383         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2384         Change default value to symbol `all'.
2385         (elmo-map-message-fetch): Change condition to update overview
2386         follow the above.
2387
2388 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2389
2390         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2391         behavior to update overview.
2392         (elmo-shimbun-update-overview-folder-list): Note it.
2393
2394 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2395
2396         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2397         recursive call.
2398
2399 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2400
2401         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2402         buffer-disable-undo, it is unnecessary.
2403         (elmo-spam-register-good-messages): Ditto.
2404
2405         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2406         Ditto.
2407
2408         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2409
2410 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2411
2412         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2413         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2414         elmo-set-buffer-multibyte.
2415         (elmo-object-load): Ditto.
2416         (elmo-save-buffer): Ditto.
2417         (elmo-delete-char): Ditto.
2418         (elmo-file-field-primitive-condition-match): Ditto.
2419         (elmo-mime-string): Ditto.
2420
2421         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2422         (elmo-archive-field-condition-match): Ditto.
2423
2424         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2425
2426         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2427
2428         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2429         (elmo-nntp-msgdb-create-message): Ditto.
2430
2431         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2432
2433         * elmo.el (elmo-message-match-condition): Ditto.
2434         (elmo-message-match-condition): Ditto.
2435
2436         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2437         Ditto.
2438
2439         * elmo-version.el (elmo-version): Up to 2.11.29.
2440
2441         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2442         (elsp-header): New backend.
2443
2444         * elmo-util.el (elmo-decoded-field-body): New function.
2445
2446 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2447
2448         * elmo-version.el (elmo-version): Up to 2.11.28.
2449
2450 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2451
2452         * elmo-filter.el: Rewrite.
2453
2454         * elmo-version.el (elmo-version): Up to 2.11.27.
2455
2456 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2457
2458         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2459         msgdb path for the localdir folder with absolute path.
2460
2461         * utf7.el: Synch up with latest gnus/utf7.el;
2462         Modified for latest Emacs.
2463
2464 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2465
2466         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2467         shimbun backend couldn't open.
2468
2469 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2470
2471         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2472         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2473         when a destination folder is a filter folder.
2474
2475 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2476
2477         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2478         (elmo-generic-folder-append-messages): Call elmo-message-flags
2479         with argument `msgid'.
2480
2481         * elmo-split.el (elmo-split-subr): Ditto.
2482
2483         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2484
2485         * elmo-multi.el (elmo-message-flags): Ditto.
2486
2487 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2488
2489         * elmo.el (elmo-folder): Add new slot `flag-table'.
2490         (elmo-folder-flag-table): New API.
2491         (elmo-folder-close-flag-table): Ditto.
2492         (elmo-folder-preserve-flags): New function.
2493         (elmo-generic-folder-append-messages): Use
2494         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2495         Flag of a non-registered message, it sets to nil.
2496         Does not set flag to flag-table.
2497
2498         * elmo-maildir.el (elmo-folder-append-buffer): Use
2499         `elmo-folder-preserve-flags'.
2500         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2501         `elmo-folder-close-flag-table'.
2502
2503         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2504         (elmo-archive-folder-append-buffer): Use
2505         `elmo-folder-preserve-flags'.
2506
2507         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2508
2509         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2510
2511         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2512         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2513         `elmo-folder-close-flag-table'.
2514
2515         * elmo-version.el (elmo-version): Up to 2.11.26.
2516
2517 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2518
2519         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2520
2521         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2522         md5's 4th and 5th argument (non-existent in flim one).
2523
2524 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2525
2526         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2527         message, It sets to nil.
2528
2529 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2530
2531         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2532         list is non-nil.
2533
2534 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2535
2536         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2537
2538         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2539
2540         * elmo-util.el (elmo-uniq-sorted-list): New function.
2541         (elmo-make-number-list): Ditto.
2542         (elmo-number-set-to-number-list): Use elmo-make-number-list
2543         and don't use nreverse.
2544
2545 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2546
2547         * elmo-version.el (elmo-version): Up to 2.11.25.
2548
2549 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2550
2551         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2552         field not exists in message, Use md5 message digest of header.
2553
2554 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2555
2556         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2557         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2558         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2559         * elmo-split.el (elmo-split-subr): Check return value of
2560         elmo-folder-append-buffer.
2561
2562         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2563         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2564
2565         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2566         message-id.
2567
2568 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2569
2570         * elmo-split.el (elmo-split-subr): Append message with flag.
2571
2572         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2573         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2574         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2575
2576 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2577
2578         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2579         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2580         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2581
2582 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2583
2584         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2585         with a function call of `process-buffer'.  All callers are updated.
2586         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2587         Remove redundant `set-buffer' in a while loop.
2588
2589 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2590
2591         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2592         calls.
2593
2594 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2595
2596         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2597         elsp-spamfilter-register-buffer-internal with current buffer.
2598         (elmo-spam-register-spam-buffer): Ditto.
2599         (elmo-spam-register-good-buffer): Ditto.
2600
2601 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2602
2603         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2604         if it is not contained in the response(A workaround for courier-imap).
2605
2606 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2607
2608         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2609         parenthesis.
2610
2611 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2612
2613         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2614         range.
2615
2616 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2617
2618         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2619         of nconc.
2620
2621         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2622         argument handler.
2623         (elmo-msgdb-message-match-condition): Follow the change above.
2624
2625 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2626
2627         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2628         folder name.
2629
2630 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2631
2632         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2633
2634 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2635
2636         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2637
2638 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2639
2640         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2641         not found.
2642
2643 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2644
2645         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2646         value.
2647         (elmo-file-command-argument): Undo last change for cygwin.
2648         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2649         Don't return nil.
2650         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2651
2652 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2653
2654         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2655         value returned from elmo-file-find is nil.
2656
2657 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2658
2659         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2660         to elmo-vars.el.
2661
2662         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2663         instead of insert-file-contents-as-binary.
2664         (elmo-message-set-field): New generic function.
2665
2666         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2667         behavior change on `split-string'.
2668
2669         * elmo-file.el (elmo-file-find): New function.
2670         (elmo-file-command): New user option.
2671         (elmo-file-command-argument): Ditto.
2672         (elmo-file-fetch-max-size): Ditto.
2673         (elmo-file-detect-format): New function.
2674         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2675         Use elmo-file-detect-format.
2676         (elmo-map-folder-list-message-locations): Don't treat directories.
2677
2678 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2679
2680         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2681         (elmo-passwd-alist-clear): Shred password before clear.
2682         (elmo-remove-passwd): Remove all mached pair.
2683
2684 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2685
2686         * elmo.el (elmo-folder-synchronize): Fix description of the return
2687         value.
2688
2689 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2690
2691         * elmo.el (elmo-message-fetch-bodystructure): New method.
2692         (elmo-message-fetch-bodystructure): Define default.
2693
2694         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2695         elmo-message-fetch-bodystructure.
2696         (elmo-message-fetch-bodystructure): Define.
2697
2698         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2699
2700 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2701
2702         * elmo-filter.el (elmo-message-folder): Define.
2703
2704 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2705
2706         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2707         elmo-delete-cr-buffer.
2708
2709         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2710
2711         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2712
2713         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2714
2715         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2716         type seems to be a text.
2717
2718 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2719
2720         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2721         (elmo-spam-register-good-buffer): Ditto.
2722         (elmo-spam-spamassassin-register-messages): Ditto.
2723
2724         * elmo-util.el (elmo-string-member-ignore-case): Define with
2725         static-cond.
2726
2727 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2728
2729         * elmo.el (elmo-folder-type): Undo last change.
2730
2731         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2732
2733         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2734         warnings.
2735
2736         * elmo-file.el: New file.
2737         
2738         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2739
2740         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2741         variable.
2742         (elmo-spam-spamassassin-register-messages): New inline function.
2743         (elmo-spam-register-spam-messages): Define.
2744         (elmo-spam-register-good-messages): Ditto.
2745
2746         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2747         Fixed typo.
2748
2749         * elmo.el (toplevel): Added autoload setting for
2750         `elmo-get-global-flags'.
2751         (elmo-message-has-global-flag-p): New function.
2752         (elmo-message-set-global-flags): Ditto.
2753         (elmo-folder-type): Improvement for name: format.
2754
2755         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2756         availability of keyword flags.
2757         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2758         (elmo-folder-list-flagged-plugged): Renamed from
2759         elmo-folder-list-flagged-unplugged.
2760         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2761         accept any flag as keyword flag.
2762         (elmo-folder-set-flag-plugged): Accept keyword flags.
2763         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2764
2765         * elmo-flag.el (elmo-get-global-flags): New function.
2766
2767         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2768         folders.
2769
2770         * elmo-version.el (elmo-version): Up to 2.11.24.
2771
2772 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2773
2774         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2775         elmo-multiple-field-body instead of std11-field-body to check all
2776         headers.
2777
2778 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2779
2780         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2781         or "size".
2782
2783 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2784
2785         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2786         unintern is unbound.
2787
2788 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2789
2790         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2791         Protect from infinite loop.
2792
2793 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2794
2795         * elsp-bogofilter.el
2796         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2797         (elmo-spam-bogofilter-register-messages): New internal function.
2798         (elmo-spam-register-spam-messages): Define.
2799         (elmo-spam-register-good-messages): Ditto.
2800
2801 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2802
2803         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2804         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2805         (elmo-spam-bogofilter-call): Fixed the last change.
2806         (elmo-spam-bogofilter-arguments): Ditto.
2807
2808         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2809         Follow the options change of latest bogofilter.
2810
2811         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2812         (elmo-spam-bogofilter-good-switch): Ditto.
2813         (elmo-spam-bogofilter-arguments-alist): New user option.
2814         (elmo-spam-bogofilter-debug): Ditto.
2815         (elmo-spam-bogofilter-call): Renamed from
2816         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2817         is non-nil, insert output in buffer for debug.
2818         (elmo-spam-bogofilter-arguments): New macro.
2819         (elmo-spam-buffer-spam-p): Use it.
2820         (elsp-bogofilter-register-buffer): Ditto.
2821
2822 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2823
2824         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2825         regexp.
2826
2827 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2828
2829         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2830         value as "ruby".
2831         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2832         (elmo-spam-bsfilter-program): Set default value as full path for
2833         `bsfilter'.
2834         (elmo-spam-bsfilter-debug): New user option.
2835         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2836         non-nil, insert output in buffer for debug. Fix treating of
2837         argument.
2838
2839 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2840
2841         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2842         `elmo-maildir-flag-specs' element instead of one.
2843         (elmo-map-folder-unset-flag): Ditto.
2844         (Reported by Ken Makimura <macky@astem.or.jp>)
2845
2846         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2847         (elmo-folder-unset-flag-plugged): Ditto.
2848
2849 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2850
2851         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2852         to `reads' slot only if `in-msgdb' is nil.
2853
2854 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2855
2856         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2857         and complement argument list.
2858
2859 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2860
2861         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2862         instead of elmo-folder-list-flagged.
2863
2864 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2865
2866         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2867
2868         * elsp-bsfilter.el: New file.
2869
2870         * elmo-pipe.el (elmo-folder-list-unreads,
2871         elmo-folder-list-answereds,
2872         elmo-folder-list-importants,
2873         elmo-folder-flag-as-important,
2874         elmo-folder-unflag-important,
2875         elmo-folder-flag-as-read,
2876         elmo-folder-unflag-read,
2877         elmo-folder-flag-as-answered,
2878         elmo-folder-unflag-answered): Remove.
2879         (elmo-folder-set-flag): Define.
2880         (elmo-folder-unset-flag): Ditto.
2881
2882         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2883         (elmo-folder-set-flag): Define.
2884         (elmo-folder-unset-flag): Ditto.
2885         (elmo-folder-list-unreads): Remove.
2886         (elmo-folder-list-flagged): Define.
2887
2888         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2889         (elmo-folder-list-unreads,
2890         elmo-folder-list-importants,
2891         elmo-folder-list-answereds,
2892         elmo-folder-list-unreads-plugged,
2893         elmo-folder-list-importants-plugged,
2894         elmo-folder-list-answereds-plugged): Remove.
2895         (elmo-folder-list-flagged-plugged): New method.
2896         (elmo-folder-unflag-important,
2897         elmo-folder-flag-as-important,
2898         elmo-folder-unflag-read,
2899         elmo-folder-flag-as-read,
2900         elmo-folder-unflag-answered,
2901         elmo-folder-flag-as-answered,
2902         elmo-folder-flag-as-read-unplugged,
2903         elmo-folder-unflag-read-unplugged,
2904         elmo-folder-flag-as-important-unplugged,
2905         elmo-folder-unflag-important-unplugged,
2906         elmo-folder-flag-as-answered-unplugged,
2907         elmo-folder-unflag-answered-unplugged): Remove.
2908         (elmo-folder-set-flag): Define.
2909         (elmo-folder-unset-flag): Ditto.
2910         (elmo-folder-set-flag-unplugged): Ditto.
2911         (elmo-folder-unset-flag-unplugged): Ditto.
2912
2913         * elmo-multi.el (elmo-folder-list-unreads,
2914         elmo-folder-list-answereds,
2915         elmo-folder-list-importants,
2916         elmo-folder-flag-as-important,
2917         elmo-folder-unflag-important,
2918         elmo-folder-flag-as-read,
2919         elmo-folder-unflag-read,
2920         elmo-folder-flag-as-answered,
2921         elmo-folder-unflag-answered): Remove.
2922         (elmo-folder-set-flag): Define.
2923         (elmo-folder-unset-flag): Ditto.
2924
2925         * elmo-map.el (elmo-map-folder-unflag-important,
2926         elmo-map-folder-flag-as-important,
2927         elmo-map-folder-unflag-read,
2928         elmo-map-folder-flag-as-read,
2929         elmo-map-folder-unflag-answered,
2930         elmo-map-folder-flag-as-answered): Remove.
2931         (elmo-map-folder-set-flag): New method.
2932         (elmo-map-folder-unset-flag): Ditto.
2933         (elmo-map-folder-list-unreads,
2934         elmo-map-folder-list-importants,
2935         elmo-map-folder-list-answereds): Remove.
2936         (elmo-folder-list-flagged-internal): Define.
2937         (elmo-map-folder-list-flagged): New method.
2938
2939         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2940         (elmo-map-folder-list-unreads,
2941         elmo-map-folder-list-importants,
2942         elmo-map-folder-list-flagged): Remove.
2943         (elmo-map-folder-list-flagged): Define.
2944         (elmo-map-folder-flag-as-important,
2945         elmo-map-folder-unflag-important,
2946         elmo-map-folder-flag-as-read,
2947         elmo-map-folder-unflag-read,
2948         elmo-map-folder-flag-as-answered,
2949         elmo-map-folder-unflag-answered): Remove.
2950         (elmo-maildir-set-mark-messages): New internal function.
2951         (elmo-map-folder-set-flag): Define.
2952         (elmo-map-folder-unset-flag): Ditto.
2953
2954         * elmo.el (toplevel): Added autoload setting for
2955         `elmo-folder-list-global-flag-messages'.
2956         (elmo-folder-list-unreads,
2957         elmo-folder-list-importants,
2958         elmo-folder-list-answereds): Remove.
2959         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2960         Return a list whitch merged with messages have global flag.
2961         (elmo-folder-list-flagged-internal): New method.
2962         (elmo-folder-unflag-important,
2963         elmo-folder-flag-as-important,
2964         elmo-folder-unflag-read,
2965         elmo-folder-flag-as-read,
2966         elmo-folder-unflag-answered,
2967         elmo-folder-flag-as-answered): Remove.
2968         (elmo-folder-set-flag): New method.
2969         (elmo-folder-unset-flag): Ditto.
2970         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2971         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2972
2973         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2974         (elmo-folder-list-unreads-plugged,
2975         elmo-folder-list-importants-plugged,
2976         elmo-folder-list-answereds-plugged,
2977         elmo-folder-list-flagged-unplugged,
2978         elmo-folder-unflag-important-plugged,
2979         elmo-folder-flag-as-important-plugged,
2980         elmo-folder-unflag-read-plugged,
2981         elmo-folder-flag-as-read-plugged,
2982         elmo-folder-unflag-answered-plugged,
2983         elmo-folder-flag-as-answered-plugged): Remove.
2984         (elmo-folder-set-flag-plugged,
2985         elmo-folder-unset-flag-plugged): Define.
2986
2987         * elmo-flag.el (elmo-folder-initialize): Register to
2988         `elmo-global-flag-list' if flag is not global.
2989         (elmo-folder-append-messages): Set flag to source messages.
2990
2991         * elmo-filter.el (elmo-filter-folder-list-unreads,
2992         elmo-folder-list-unreads,
2993         elmo-filter-folder-list-importants,
2994         elmo-folder-list-importants,
2995         elmo-folder-flag-as-read,
2996         elmo-folder-unflag-read,
2997         elmo-folder-flag-as-important,
2998         elmo-folder-unflag-important,
2999         elmo-folder-flag-as-answered,
3000         elmo-folder-unflag-answered): Remove.
3001         (elmo-folder-set-flag): Define.
3002         (elmo-folder-unset-flag): Ditto.
3003
3004         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3005         elmo-folder-unflag-read-dop,
3006         elmo-folder-flag-as-important-dop,
3007         elmo-folder-unflag-important-dop,
3008         elmo-folder-flag-as-answered-dop,
3009         elmo-folder-unflag-answered-dop): Remove.
3010         (elmo-folder-set-flag-dop,
3011         elmo-folder-unset-flag-dop,
3012         elmo-folder-set-important-delayed,
3013         elmo-folder-unset-important-delayed,
3014         elmo-folder-set-read-delayed,
3015         elmo-folder-unset-read-delayed,
3016         elmo-folder-set-answered-delayed,
3017         elmo-folder-unset-answered-delayed): New function.
3018         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3019         (elmo-dop-queue-method-name-alist): Ditto.
3020
3021         * elmo-version.el (elmo-version): Up to 2.11.23.
3022
3023 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3024
3025         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3026
3027         * elsp-sa.el: New file.
3028
3029 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3030
3031         * modb-standard.el (modb-standard-message-entity): New function.
3032         (elmo-msgdb-message-entity): Use it.
3033
3034 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3035
3036         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3037         behavior when one-level is nil.
3038
3039         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3040
3041         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3042
3043 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3044
3045         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3046         get max number.
3047         (elmo-generic-folder-diff): Ditto.
3048
3049         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3050         (elmo-folder-update-number): Ditto.
3051
3052         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3053         (elmo-folder-next-message-number-dop): Ditto.
3054
3055 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3056
3057         * elmo-filter.el (elmo-folder-msgdb-create): Use
3058         `elmo-message-entity' and `elmo-message-flags' instead of
3059         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3060
3061 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3062
3063         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3064         `if-exists'.
3065
3066 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3067
3068         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3069
3070         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3071
3072         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3073
3074 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3075
3076         * elmo-version.el (elmo-version): Up to 2.11.22.
3077
3078 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3079
3080         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3081
3082 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3083
3084         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3085         if the message dose not exist.
3086
3087 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3088
3089         * elmo-version.el (elmo-version): Up to 2.11.21.
3090
3091 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3092
3093         * modb-standard.el (toplevel): Don't require mime.
3094
3095 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3096
3097         * elsp-bogofilter.el (toplevel): Don't require path-util.
3098         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3099         (elmo-spam-bogofilter-header): Abolish.
3100         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3101         (elmo-spam-bogofilter-args): New user option.
3102         (elsp-bogofilter-call-bogofilter): New internal function.
3103         (elmo-spam-buffer-spam-p): Use it.
3104         (elsp-bogofilter-register-buffer): Renamed from
3105         `elmo-spam-bogofilter-register-buffer';
3106         Use `elsp-bogofilter-call-bogofilter'.
3107         (elmo-spam-register-spam-buffer): Follow the change above.
3108         (elmo-spam-register-good-buffer): Ditto.
3109
3110 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3111
3112         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3113         message-id is nil do nothing.
3114
3115 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3116
3117         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3118         Revival.
3119         (elmo-imap4-session): Removed use-flag slot.
3120         (elmo-imap4-session-select-mailbox): Undo last change.
3121         (elmo-folder-use-flag-p): Use
3122         elmo-imap4-disuse-server-flag-mailbox-regexp.
3123
3124 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3125
3126         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3127         (elmo-imap4-session-select-mailbox): Set it up.
3128         (elmo-folder-use-flag-p): Return value of use-flag slot.
3129
3130 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3131
3132         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3133         message-id is nil.
3134         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3135
3136         * modb-entity.el (elmo-message-entity-handler): Likewise.
3137
3138 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3139
3140         * elmo.el (toplevel): Remove setting of autoloding for
3141         elmo-global-flag-initialize.
3142         (elmo-init): Don't call elmo-global-flag-initialize.
3143         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3144
3145         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3146         (elmo-global-mark-migrate): Don't call it.
3147         (elmo-global-mark-upgrade): Ditto.
3148
3149 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3150
3151         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3152         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3153
3154         * elmo-vars.el (elmo-init-hook): New user option.
3155
3156         * elmo.el (elmo-init): Run the elmo-init-hook.
3157
3158         * elmo-flag.el (elmo-global-mark-migrate): New function.
3159
3160 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3161
3162         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3163         Undo last change (move to elmo-msgdb-unset-flag).
3164         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3165         flag is unset.
3166
3167 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3168
3169         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3170         read flag is set.
3171         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3172         (elmo-msgdb-unset-flag): Ditto.
3173
3174 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3175
3176         * elmo-split.el (elmo-split): Return split message count.
3177
3178 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3179
3180         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3181         is nil.
3182
3183 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3184
3185         * elmo.el (elmo-folder-unflag-important): Call
3186         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3187         a symbol `always'.
3188
3189         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3190         before unset flag.
3191         (elmo-global-flag-detach): Delete the message from flag folder, if
3192         `delete-if-none' is a symbol `always'.
3193
3194 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3195
3196         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3197         `elmo-spam-spamfilter-decode-buffer'.
3198         (elsp-spamfilter-register-buffer-internal): New internal function.
3199         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3200         (elmo-spam-register-spam-buffer): Ditto.
3201         (elmo-spam-register-good-buffer): Ditto.
3202
3203         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3204         change.
3205         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3206         (elmo-spam-register-spam-buffer): Follow the API change.
3207         (elmo-spam-register-good-buffer): Ditto.
3208
3209         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3210         (elmo-split-spam-p): Added argument plist; Call
3211         `elmo-spam-buffer-spam-p' with new argument register.
3212
3213         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3214         `register'.
3215         (elmo-spam-message-spam-p): Ditto.
3216         (elmo-spam-register-spam-buffer): Added optional argument
3217         `restore'.
3218         (elmo-spam-register-good-buffer): Ditto.
3219         (elmo-spam-register-spam-messages): Ditto.
3220         (elmo-spam-register-good-messages): Ditto.
3221
3222 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3223
3224         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3225         register into good corpus.
3226         (elmo-spam-register-good-buffer): Fixed to register into bad
3227         corpus.
3228
3229 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3230
3231         * elmo-version.el (elmo-version): Up to 2.11.20.
3232
3233         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3234         change.
3235
3236         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3237         flag without depending on \Recent flag.
3238
3239 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3240
3241         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3242         (elmo-spam-modified-p): Defined.
3243         (elmo-spam-save-status): Set `modified' slot to nil.
3244         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3245         (elmo-spam-register-good-buffer): Ditto.
3246
3247         * elmo-spam.el (elmo-spam-modified-p): New API.
3248
3249 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3250
3251         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3252         duplicate definition.
3253
3254         * elmo-util.el (elmo-unfold-field-body): New function.
3255         (elmo-msgdb-get-message-id-from-buffer): Use it.
3256
3257         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3258         Fixed the last change; Use elmo-unfold-field-body.
3259
3260 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3261
3262         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3263         Unfold date value.
3264
3265 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3266
3267         * elmo-spam.el (elmo-spam-save-status): New API.
3268
3269         * elsp-spamfilter.el: New file.
3270
3271 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3272
3273         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3274
3275 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3276
3277         * elmo-split.el (elmo-split-spam-p): New function.
3278
3279         * elmo-spam.el: New file.
3280
3281         * elsp-bogofilter.el: Ditto.
3282
3283 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3284
3285         * elmo.el (elmo-folder-next-message-number): New API.
3286         (elmo-folder-next-message-number): Define.
3287         (elmo-message-field): Don't check folder length.
3288
3289         * elmo-net.el (elmo-folder-next-message-number): Define.
3290         (elmo-folder-next-message-number-unplugged): Define.
3291
3292         * elmo-map.el (elmo-folder-next-message-number): Define.
3293         (elmo-folder-delete-messages): Clear hash value.
3294
3295         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3296
3297         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3298         (elmo-folder-delete-messages-dop-delayed): Always return t.
3299
3300         * elmo-version.el (elmo-version): Up to 2.11.19.
3301
3302 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3303
3304         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3305         change.
3306
3307         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3308         identical cons cell into the mark-alist and the hash table.
3309
3310 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3311
3312         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3313         elmo-folder-list-messages with argument `visible-only' as t.
3314
3315         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3316         (elmo-folder-msgdb-create): Check the target folder.
3317
3318 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3319
3320         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3321         `permanentflag' instead of `flags'.
3322         (elmo-folder-open): Ditto.
3323         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3324         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3325         (elmo-folder-use-flag-p): Always return t.
3326         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3327         `permanentflags' does not exist.
3328         (elmo-folder-open): Ditto.
3329
3330 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3331
3332         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3333         is nil.
3334         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3335
3336         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3337         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3338         response.
3339         (elmo-folder-open): Ditto.
3340         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3341         slot of the session includes the flag.
3342         (elmo-imap4-session-flag-available-p): New function.
3343         (elmo-imap4-folder-list-flagged): Ditto.
3344         (elmo-folder-list-unreads-plugged): Use it.
3345         (elmo-folder-list-importants-plugged): Ditto.
3346         (elmo-folder-list-answereds-plugged): Ditto.
3347         (elmo-imap4-search-internal-primitive): Ditto.
3348         (elmo-imap4-folder-list-any-plugged,
3349         elmo-imap4-folder-list-digest-plugged): Abolish.
3350
3351         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3352         if numbers is nil.
3353
3354 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3355
3356         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3357
3358 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3359
3360         * elmo-util.el (elmo-get-hash-val): Simplify.
3361         (elmo-set-hash-val): Rewrite.
3362
3363 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3364
3365         * elmo.el (elmo-folder-list-messages): Append killed messages into
3366         result if `visible-only' is nil and `in-msgdb' is non-nil.
3367
3368         * elmo-util.el (elmo-uniq-list): Added optional argument
3369         `delete-function'.
3370
3371         * modb.el (elmo-msgdb-flag-count): New API.
3372
3373         * modb-standard.el (modb-standard): Added slot flag-count.
3374         (modb-standard-countup-flags): New function.
3375         (modb-standard-load-flag): Call it.
3376         (elmo-msgdb-append): Ditto.
3377         (elmo-msgdb-clear): Clear slot flag-count.
3378         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3379         (elmo-msgdb-unset-flag): Treat `all' flag and call
3380         modb-standard-countup-flags.
3381         (elmo-msgdb-flag-count): Define.
3382         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3383         (elmo-msgdb-delete-messages): Ditto.
3384
3385         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3386         (elmo-msgdb-flag-count): Define.
3387
3388         * elmo.el (elmo-folder-list-messages): Undo last change.
3389         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3390         (elmo-folder-kill-messages): Unset all flags to numbers.
3391
3392         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3393         elmo-folder-kill-messages.
3394
3395         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3396         (elmo-nntp-folder-delete-messages): Abolish.
3397
3398         * elmo-version.el (elmo-version): Up to 2.11.18.
3399
3400 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3401
3402         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3403         (elmo-folder-kill-messages-range): New function.
3404         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3405         instead of elmo-folder-kill-messages-before.
3406
3407 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3408
3409         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3410         elmo-imap4-current-msgdb to decide entity handler.
3411
3412 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3413
3414         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3415
3416         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3417         inline function.
3418         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3419         (elmo-msgdb-overview-entity-set-number,
3420         elmo-msgdb-overview-entity-get-references,
3421         elmo-msgdb-overview-entity-set-references,
3422         elmo-msgdb-overview-entity-get-from-no-decode,
3423         elmo-msgdb-overview-entity-get-from,
3424         elmo-msgdb-overview-entity-set-from,
3425         elmo-msgdb-overview-entity-get-subject,
3426         elmo-msgdb-overview-entity-get-subject-no-decode,
3427         elmo-msgdb-overview-entity-set-subject,
3428         elmo-msgdb-overview-entity-get-date,
3429         elmo-msgdb-overview-entity-set-date,
3430         elmo-msgdb-overview-entity-get-to,
3431         elmo-msgdb-overview-entity-get-cc,
3432         elmo-msgdb-overview-entity-get-size,
3433         elmo-msgdb-overview-entity-set-size,
3434         elmo-msgdb-overview-entity-get-extra,
3435         elmo-msgdb-overview-entity-set-extra,
3436         elmo-msgdb-overview-entity-get-extra-field,
3437         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3438         (elmo-msgdb-make-index): Use
3439         `elmo-msgdb-overview-entity-get-number-internal'.
3440         (elmo-msgdb-clear-index): Ditto.
3441         (elmo-msgdb-append-entity): Ditto;
3442         Use `elmo-msgdb-overview-entity-get-id-internal'.
3443
3444         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3445         elmo-msgdb-overview-entity-set-number,
3446         elmo-msgdb-overview-entity-get-references,
3447         elmo-msgdb-overview-entity-set-references,
3448         elmo-msgdb-overview-entity-get-from-no-decode,
3449         elmo-msgdb-overview-entity-get-from,
3450         elmo-msgdb-overview-entity-set-from,
3451         elmo-msgdb-overview-entity-get-subject,
3452         elmo-msgdb-overview-entity-get-subject-no-decode,
3453         elmo-msgdb-overview-entity-set-subject,
3454         elmo-msgdb-overview-entity-get-date,
3455         elmo-msgdb-overview-entity-set-date,
3456         elmo-msgdb-overview-entity-get-to,
3457         elmo-msgdb-overview-entity-get-cc,
3458         elmo-msgdb-overview-entity-get-size,
3459         elmo-msgdb-overview-entity-set-size,
3460         elmo-msgdb-overview-entity-get-extra,
3461         elmo-msgdb-overview-entity-set-extra,
3462         elmo-msgdb-overview-entity-get-extra-field,
3463         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3464         and rewrote for backward compatibility.
3465
3466 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3467
3468         * elmo.el (elmo-message-entity-number,
3469         elmo-message-entity-set-number,
3470         elmo-message-entity-field,
3471         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3472
3473         * elmo-msgdb.el (elmo-message-entity-number,
3474         elmo-message-entity-set-number,
3475         elmo-message-entity-field,
3476         elmo-message-entity-set-field): Moved from elmo.el.
3477
3478 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3479
3480         * elmo.el (toplevel): Changed definition orders.
3481
3482 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3483
3484         * modb.el (elmo-msgdb-search): New API .
3485         (elmo-msgdb-match-condition): Ditto.
3486
3487         * modb-standard.el (elmo-msgdb-search): Define.
3488
3489         * modb-legacy.el (elmo-msgdb-search): Ditto.
3490
3491         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3492         from elmo-msgdb-match-condition-internal.
3493
3494         * elmo.el (elmo-folder-search-fast): Abolish.
3495         (elmo-folder-search): Use elmo-msgdb-search and
3496         elmo-with-progress-display.
3497
3498         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3499         as msgdb API.
3500
3501         * elmo.el (elmo-folder): Remove slot message-modified and
3502         flag-modified.
3503         (elmo-folder-set-message-modified): Abolish.
3504         (elmo-generic-folder-commit): Follow the change above.
3505         (elmo-folder-synchronize): Ditto.
3506
3507         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3508
3509         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3510
3511         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3512
3513 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3514
3515         * modb-standard.el (modb-standard-make-message-entity,
3516         elmo-msgdb-make-message-entity,
3517         elmo-msgdb-create-message-entity-from-buffer,
3518         elmo-msgdb-message-entity-number,
3519         elmo-msgdb-message-entity-set-number,
3520         elmo-msgdb-message-entity-field,
3521         elmo-msgdb-message-entity-set-field,
3522         elmo-msgdb-copy-message-entity,
3523         elmo-msgdb-match-condition-internal): Remove.
3524
3525         * modb-entity.el: New file (again).
3526
3527         * modb.el (toplevel): Require modb-entity.
3528         (elmo-msgdb-message-entity-handler): New method.
3529
3530         * modb-standard.el (modb-standard-entity-id): Use
3531         elmo-message-entity-handler.
3532         (modb-standard-load-entity): Ditto.
3533         (elmo-msgdb-append-entity): Ditto.
3534         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3535
3536         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3537         elmo-msgdb-decoded-cache-hashtb,
3538         (modb-legacy-make-message-entity,
3539         elmo-msgdb-make-message-entity,
3540         elmo-msgdb-create-message-entity-from-buffer,
3541         elmo-msgdb-message-entity-number,
3542         elmo-msgdb-message-entity-set-number,
3543         elmo-msgdb-message-entity-field,
3544         elmo-msgdb-message-entity-set-field,
3545         elmo-msgdb-copy-message-entity,
3546         elmo-msgdb-match-condition-internal,
3547         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3548
3549         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3550         (elmo-message-entity-set-number): Ditto.
3551         (elmo-message-entity-field): Ditto.
3552         (elmo-message-entity-set-field): Ditto.
3553
3554         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3555
3556         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3557
3558         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3559
3560         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3561         (elmo-nntp-msgdb-create-message): Ditto.
3562
3563         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3564         (elmo-folder-msgdb-create): Add unread flag.
3565
3566         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3567
3568         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3569
3570         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3571
3572         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3573
3574         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3575         elmo-msgdb-messge-entity-handler.
3576         * elmo-version.el (elmo-version): Up to 2.11.17.
3577
3578 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3579
3580         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3581         change.
3582
3583 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3584
3585         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3586
3587         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3588         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3589         (elmo-msgdb-flag-table): Ditto.
3590         (elmo-msgdb-sort-by-date): Ditto.
3591
3592         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3593
3594         * modb-standard.el (toplevel): Require mime.
3595         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3596         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3597         elmo-msgdb-message-entity-number.
3598         (elmo-msgdb-append-entity): Ditto.
3599         (elmo-msgdb-create-message-entity-from-file): Remove.
3600         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3601         corresponds to the entity.
3602         (elmo-msgdb-message-entity-number): Do nothing currently.
3603         (elmo-msgdb-message-entity-field): Ditto.
3604         (elmo-msgdb-message-entity-set-field): Ditto.
3605         (elmo-msgdb-copy-message-entity): Ditto.
3606         (elmo-msgdb-match-condition-internal): Ditto.
3607
3608         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3609         elmo-util.el.
3610         (elmo-msgdb-create-message-entity-from-file): Remove.
3611
3612         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3613         modb-legacy.el.
3614         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3615
3616         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3617
3618 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3619
3620         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3621         (elmo-msgdb-message-entity-field): Ditto.
3622         (elmo-msgdb-message-entity-number): Ditto.
3623
3624 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3625
3626         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3627         Fixed how to set extra field into entity.
3628         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3629         symbol.
3630
3631         * modb-legacy.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 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3637
3638         * modb.el (elmo-message-entity-db): New function.
3639         (elmo-msgdb-make-message-entity): New API.
3640         (elmo-msgdb-message-entity-number): Ditto.
3641         (elmo-msgdb-message-entity-set-number): Ditto.
3642         (elmo-msgdb-message-entity-field): Ditto.
3643         (elmo-msgdb-message-entity-set-field): Ditto.
3644         (elmo-msgdb-copy-message-entity): Ditto.
3645         (elmo-msgdb-create-message-entity-from-file): Ditto.
3646         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3647         (elmo-msgdb-match-condition-internal): Ditto.
3648
3649         * modb-standard.el (modb-legacy): Require modb-legacy.
3650         (modb-standard-make-message-entity): New inline function.
3651         (elmo-msgdb-make-message-entity): Define.
3652         (elmo-msgdb-create-message-entity-from-file): Ditto.
3653         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3654         (elmo-msgdb-message-entity-field): Ditto.
3655         (elmo-msgdb-message-entity-set-field): Ditto.
3656         (elmo-msgdb-copy-message-entity): Ditto.
3657         (elmo-msgdb-match-condition-internal): Ditto.
3658
3659         * modb-legacy.el: Don't require modb-entity.
3660         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3661         (elmo-msgdb-match-condition-primitive): Ditto.
3662         (elmo-msgdb-get-decoded-cache): Ditto.
3663         (elmo-msgdb-overview-entity-get-id): Ditto.
3664         (elmo-msgdb-overview-entity-get-number): Ditto.
3665         (elmo-msgdb-overview-entity-set-number): Ditto.
3666         (elmo-msgdb-overview-entity-get-references): Ditto.
3667         (elmo-msgdb-overview-entity-set-references): Ditto.
3668         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3669         (elmo-msgdb-overview-entity-get-from): Ditto.
3670         (elmo-msgdb-overview-entity-set-from): Ditto.
3671         (elmo-msgdb-overview-entity-get-subject): Ditto.
3672         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3673         (elmo-msgdb-overview-entity-set-subject): Ditto.
3674         (elmo-msgdb-overview-entity-get-date): Ditto.
3675         (elmo-msgdb-overview-entity-set-date): Ditto.
3676         (elmo-msgdb-overview-entity-get-to): Ditto.
3677         (elmo-msgdb-overview-entity-get-cc): Ditto.
3678         (elmo-msgdb-overview-entity-get-size): Ditto.
3679         (elmo-msgdb-overview-entity-set-size): Ditto.
3680         (elmo-msgdb-overview-entity-get-extra): Ditto.
3681         (elmo-msgdb-overview-entity-set-extra): Ditto.
3682         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3683         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3684         (elmo-msgdb-number-load): Ditto.
3685         (elmo-msgdb-overview-load): Ditto.
3686         (elmo-msgdb-mark-load): Ditto.
3687         (elmo-msgdb-number-save): Ditto.
3688         (elmo-msgdb-mark-save): Ditto.
3689         (elmo-msgdb-overview-save): Ditto.
3690         (modb-legacy-make-message-entity): New inline function.
3691         (elmo-msgdb-insert-file-header): Ditto.
3692         (elmo-msgdb-make-message-entity): Define.
3693         (elmo-msgdb-create-message-entity-from-file): Ditto.
3694         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3695         (elmo-msgdb-message-entity-number): Ditto.
3696         (elmo-msgdb-message-entity-set-number): Ditto.
3697         (elmo-msgdb-message-entity-field): Ditto.
3698         (elmo-msgdb-message-entity-set-field): Ditto.
3699         (elmo-msgdb-copy-message-entity): Ditto.
3700         (elmo-msgdb-match-condition-internal): Ditto.
3701
3702         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3703         (elmo-message-copy-entity): Rewrite.
3704         (elmo-message-entity-number): Ditto.
3705         (elmo-message-entity-set-number): Ditto.
3706         (elmo-message-entity-field): Use elmo-message-entity-db.
3707         (elmo-message-entity-set-field): Ditto.
3708         (elmo-message-field): Rewrite.
3709
3710         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3711         elmo-msgdb.el
3712         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3713
3714         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3715         elmo-message-entity-field.
3716         (elmo-shimbun-folder-shimbun-header): Ditto.
3717         (elmo-shimbun-entity-to-header): Ditto.
3718         (elmo-folder-msgdb-create): Ditto.
3719         (elmo-shimbun-msgdb-create-entity): Ditto;
3720         Use elmo-msgdb-create-message-entity-from-buffer.
3721         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3722         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3723
3724         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3725         elmo-msgdb-create-message-entity-from-file and 
3726         elmo-message-entity-field.
3727
3728         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3729         elmo-message-entity-number.
3730         (elmo-pop3-msgdb-create-message): Use
3731         elmo-msgdb-create-message-entity-from-buffer,
3732         elmo-message-entity-set-field, elmo-message-entity-number and
3733         elmo-message-entity-set-number.
3734
3735         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3736         the API change in elmo-msgdb-make-message-entity.
3737         (elmo-nntp-msgdb-create-message): Use
3738         elmo-msgdb-create-message-entity-from-buffer.
3739
3740         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3741         elmo-message-entity-field and
3742         elmo-msgdb-create-message-entity-from-file.
3743
3744         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3745         (elmo-msgdb-get-field): Abolish.
3746         (elmo-msgdb-get-number): Rewrite.
3747         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3748         (elmo-msgdb-flag-table): Ditto.
3749         (elmo-msgdb-get-last-message-id,
3750         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3751         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3752         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3753         (elmo-msgdb-create-overview-from-buffer,
3754         elmo-msgdb-overview-get-parent-entity): Abolish.
3755
3756         * elmo-mime.el (elmo-mime-display-as-is): Use
3757         elmo-message-entity-field.
3758
3759         * elmo-map.el (elmo-folder-pack-numbers): Use
3760         elmo-message-entity-set-number.
3761
3762         * elmo-maildir.el (elmo-folder-msgdb-create): 
3763         elmo-msgdb-create-message-entity-from-file instead of
3764         elmo-msgdb-create-overview-entity-from-file.
3765
3766         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3767         msgdb.
3768         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3769         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3770
3771         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3772         elmo-messge-entity-field and elmo-message-entity-number.
3773         (elmo-imap4-fetch-callback-1): Call
3774         elmo-msgdb-create-message-entity-from-buffer instead of
3775         elmo-msgdb-create-overview-from-buffer. 
3776         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3777         (elmo-find-fetch-strategy): Likewise.
3778
3779         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3780         elmo-localdir-msgdb-create-entity with argument msgdb.
3781
3782         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3783         and elmo-message-entity-set-number.
3784
3785         * elmo-cache.el (elmo-folder-msgdb-create): Use
3786         elmo-message-entity-field.
3787         (elmo-folder-msgdb-create): Call
3788         elmo-msgdb-create-message-entity-from-file instead of
3789         elmo-msgdb-create-overview-entity-from-file.
3790
3791         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3792         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3793         instead of elmo-msgdb-create-overview-from-buffer.
3794         (elmo-archive-msgdb-create-entity): Ditto.
3795         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3796         elmo-message-entity-field.
3797         (elmo-archive-parse-mmdf): Ditto.
3798
3799         * modb-entity.el: Removed.
3800
3801         * elmo-version.el (elmo-version): Up to 2.11.16.
3802
3803 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3804
3805         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3806         `is-local'.
3807         (elmo-folder-flag-as-answered): Ditto.
3808
3809 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3810
3811         * modb-standard.el: New file.
3812
3813         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3814         elmo-msgdb-convert-type is `sync'.
3815
3816         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3817         (elmo-msgdb-convert-type): New user option.
3818
3819         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3820         (elmo-load-msgdb): Auto detect saved type.
3821
3822         * elmo-version.el (elmo-version): Up to 2.11.15.
3823
3824 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3825
3826         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3827
3828         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3829         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3830         with argument `delete-if-none' when dst-folder is 'null.
3831
3832         * elmo-flag.el (elmo-folder-append-messages): Defined.
3833         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3834
3835 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3836
3837         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3838
3839 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3840
3841         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3842         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3843         (elmo-folder-commit): Ditto.
3844
3845 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3846
3847         * elmo-flag.el: New file.
3848
3849         * elmo-mark.el: Removed.
3850
3851         * modb-legacy.el (modb-legacy-new-mark,
3852         modb-legacy-unread-uncached-mark,
3853         modb-legacy-unread-cached-mark,
3854         modb-legacy-read-uncached-mark,
3855         modb-legacy-answered-cached-mark,
3856         modb-legacy-answered-uncached-mark,
3857         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3858         All other related portions are changed.
3859
3860         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3861         (elmo-folder-list-messages-with-global-mark): Abolish.
3862         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3863         (elmo-folder-flag-as-important): Ditto.
3864         (elmo-folder-unflag-read): Ditto.
3865         (elmo-folder-flag-as-read): Ditto.
3866         (elmo-folder-unflag-answered): Ditto.
3867         (elmo-folder-flag-as-answered): Ditto.
3868         (elmo-message-encache): Return the cache path.
3869         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3870         (elmo-message-set-flag): Transitional implementation.
3871         (elmo-message-unset-flag): Ditto.
3872         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3873         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3874         (elmo-init): Call elmo-global-flag-initialize.
3875         (toplevel): Added autoload settings for elmo-flag.
3876
3877         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3878
3879         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3880         (elmo-file-cache-delete): Don't treat global-mark.
3881
3882         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3883
3884         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3885
3886         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3887         `elmo-global-flags-set'.
3888
3889         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3890         `flag'.
3891         (elmo-folder-unflag-read): Ditto.
3892         (elmo-folder-unflag-important): Ditto.
3893         (elmo-folder-flag-as-important): Ditto.
3894         (elmo-folder-unflag-answered): Ditto.
3895         (elmo-folder-flag-as-answered): Ditto.
3896
3897         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3898         `elmo-global-flags-set'.
3899         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3900
3901         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3902
3903         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3904         `flag'.
3905         (elmo-folder-flag-as-important): Ditto.
3906         (elmo-folder-unflag-important): Ditto.
3907         (elmo-folder-flag-as-important): Ditto.
3908         (elmo-folder-unflag-read): Ditto.
3909         (elmo-folder-flag-as-read): Ditto.
3910         (elmo-folder-unflag-answered): Ditto.
3911         (elmo-folder-flag-as-answered): Ditto.
3912
3913         * elmo-multi.el (elmo-folder-list-importants): Don't call
3914         elmo-folder-list-messages-with-global-mark.
3915         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3916         (elmo-folder-unflag-important): Ditto.
3917         (elmo-folder-flag-as-read): Ditto.
3918         (elmo-folder-unflag-read): Ditto.
3919         (elmo-folder-flag-as-answered): Ditto.
3920         (elmo-folder-unflag-answered): Ditto.
3921
3922         * elmo-msgdb.el (elmo-msgdb-new-mark,
3923         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3924         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3925         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3926         (Moved to modb-legacy.el).
3927         (elmo-flag-table-get): Treat important flag too.
3928
3929         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3930         `mark' to `flag'.
3931         (elmo-map-folder-flag-as-important): Ditto.
3932         (elmo-map-folder-unflag-read): Ditto.
3933         (elmo-map-folder-flag-as-read): Ditto.
3934         (elmo-map-folder-unflag-answered): Ditto.
3935         (elmo-map-folder-flag-as-answered): Ditto.
3936         (elmo-folder-unflag-important): Ditto.
3937         (elmo-folder-flag-as-important): Ditto.
3938         (elmo-folder-unflag-read): Ditto.
3939         (elmo-folder-flag-as-read): Ditto.
3940         (elmo-folder-unflag-answered): Ditto.
3941         (elmo-folder-flag-as-answered): Ditto.
3942
3943         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3944         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3945         `flag'.
3946         (elmo-map-folder-unflag-important): Ditto.
3947         (elmo-map-folder-flag-as-read): Ditto.
3948         (elmo-map-folder-unflag-read): Ditto.
3949         (elmo-map-folder-flag-as-answered): Ditto.
3950         (elmo-map-folder-unflag-answered): Ditto.
3951
3952         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3953         `elmo-global-flags-set'.
3954         (elmo-global-flags-set): Added autoload setting.
3955
3956         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3957         `flag'.
3958
3959         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3960         `elmo-msgdb-global-mark-set'.
3961         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3962         Call `elmo-global-flags-set'.
3963         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3964         `flag'.
3965         (elmo-folder-flag-as-important-plugged): Ditto.
3966         (elmo-folder-unflag-read-plugged): Ditto.
3967         (elmo-folder-flag-as-read-plugged): Ditto.
3968         (elmo-folder-unflag-answered-plugged): Ditto.
3969         (elmo-folder-flag-as-answered-plugged): Ditto.
3970         (elmo-global-flags-set): Added autoload setting.
3971
3972         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3973         `flag'.
3974         (elmo-folder-unflag-read): Ditto.
3975         (elmo-folder-flag-as-important): Ditto.
3976         (elmo-folder-unflag-important): Ditto.
3977         (elmo-folder-flag-as-answered): Ditto.
3978         (elmo-folder-unflag-answered): Ditto.
3979
3980         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3981         change of `mark'->`flag'.
3982         (elmo-dop-queue-method-name-alist): Ditto.
3983         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3984         (elmo-folder-unflag-read-dop): Ditto.
3985         (elmo-folder-flag-as-important-dop): Ditto.
3986         (elmo-folder-unflag-important-dop): Ditto.
3987         (elmo-folder-flag-as-answered-dop): Ditto.
3988         (elmo-folder-unflag-answered-dop): Ditto.
3989
3990         * elmo-cache.el (elmo-folder-msgdb-create): Call
3991         `elmo-global-flags-set'.
3992
3993         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3994         Call `elmo-global-flags-set'.
3995         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3996         elmo-archive-parse-mmdf with argument `folder'.
3997         (elmo-archive-parse-mmdf): Added argument `folder';
3998         Call `elmo-global-flags-set'.
3999
4000         * elmo-version.el (elmo-version): Up to 2.11.14.
4001
4002 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4003
4004         * modb.el (elmo-msgdb-length): Define.
4005
4006         * elmo.el (elmo-make-folder): Fixed.
4007         (elmo-generic-folder-append-messages): Follow the API change.
4008
4009         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4010         API change.
4011
4012 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4013
4014         * modb.el: New file.
4015
4016         * modb-entity.el: Ditto.
4017
4018         * modb-legacy.el: Ditto.
4019
4020         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4021         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4022         of `elmo-msgdb-overview-get-entity'.
4023         (elmo-msgdb-get-field): Ditto.
4024         (elmo-msgdb-merge): Moved to `elmo.el'.
4025         (elmo-msgdb-length): Removed; redefine as modb method.
4026         (elmo-msgdb-change-mark): Abolish.
4027         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4028         (elmo-msgdb-match-condition): Don't use mark.
4029         (elmo-msgdb-overview-get-entity): Abolish.
4030         Split modb part into `modb*.el'.
4031
4032         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4033
4034         * elmo-shimbun.el (shimbun-mua-search-id): Use
4035         `elmo-msgdb-message-entity' instead of
4036         `elmo-msgdb-overview-get-entity'.
4037         (elmo-shimbun-folder-shimbun-header): Ditto.
4038         (elmo-shimbun-get-headers): Ditto.
4039         (elmo-shimbun-update-overview): Ditto.
4040
4041         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4042
4043         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4044
4045         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4046         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4047
4048         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4049         `elmo-msgdb-mark-to-flags'.
4050
4051         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4052         `elmo-msgdb-set-path'.
4053
4054         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4055  
4056         * elmo-version.el (elmo-version): Up to 2.11.13.
4057
4058         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4059
4060         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4061         of mark.
4062
4063 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4064
4065         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4066         mismatch.
4067
4068 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4069
4070         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4071         instead of `elmo-msgdb-get-cached'.
4072         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4073
4074         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4075         (elmo-msgdb-set-cached): Ditto.
4076         (elmo-msgdb-set-flag): Rewrite.
4077         (elmo-msgdb-unset-flag): Ditto.
4078
4079         * elmo-msgdb.el: Rewrite with luna.
4080
4081         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4082         (elmo-folder-msgdb): Follow the change above.
4083         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4084         (elmo-folder-unmark-important): Follow the API change.
4085         (elmo-folder-mark-as-important): Ditto.
4086         (elmo-folder-unmark-read): Ditto.
4087         (elmo-folder-mark-as-read): Ditto.
4088         (elmo-folder-unmark-answered): Ditto.
4089         (elmo-folder-mark-as-answered): Ditto.
4090         (elmo-folder-clear): Likewise.
4091
4092         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4093         instead of `elmo-msgdb-load' (renamed).
4094
4095         * elmo-version.el (elmo-version): Up to 2.11.12.
4096
4097 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4098
4099         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4100         change.
4101         (elmo-message-mark): Abolish.
4102         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4103         instead of `elmo-msgdb-change-mark'.
4104
4105         * elmo-pipe.el (elmo-message-mark): Abolish.
4106
4107         * elmo-multi.el (elmo-message-mark): Ditto.
4108
4109         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4110         (elmo-msgdb-unread-uncached-mark): Ditto.
4111         (elmo-msgdb-unread-cached-mark): Ditto.
4112         (elmo-msgdb-read-uncached-mark): Ditto.
4113         (elmo-msgdb-answered-cached-mark): Ditto.
4114         (elmo-msgdb-answered-uncached-mark): Ditto.
4115         (elmo-msgdb-important-mark): Ditto.
4116         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4117         `use-cache'.
4118         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4119         `flags'.
4120         (elmo-flag-table-load): Changed flag to list of flag.
4121         (elmo-flag-table-set): If flags is nil, set read flag.
4122         (elmo-flag-table-get): Return derived flags from global mark,
4123         cache status and saved flags.
4124         (elmo-msgdb-flag-table): Follow the change above.
4125         (elmo-msgdb-out-of-date-messages): New function.
4126
4127         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4128
4129         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4130
4131         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4132
4133         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4134         (elmo-nntp-msgdb-create-message): Ditto.
4135
4136         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4137
4138         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4139         independent.
4140         (elmo-folder-msgdb-create): Follow the API change.
4141
4142         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4143         (elmo-folder-append-messages): Ditto.
4144
4145         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4146         (elmo-folder-append-buffer): Ditto.
4147
4148         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4149
4150         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4151
4152         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4153         (elmo-archive-parse-mmdf): Ditto.
4154
4155         * elmo-version.el (elmo-version): Up to 2.11.11.
4156
4157 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4158
4159         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4160         `elmo-msgdb-mark'.
4161
4162         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4163
4164         * elmo-pipe.el (elmo-message-flags): Defined.
4165
4166         * elmo-multi.el (elmo-message-flags): Ditto.
4167
4168 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4169
4170         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4171         `elmo-msgdb-delete-msgs'.
4172
4173         * elmo.el (elmo-folder-count-flags): Don't use
4174         `elmo-msgdb-get-mark-alist'.
4175         (elmo-folder-detach-messages): Follow the API change.
4176
4177         * elmo.el (elmo-folder-list-messages): Append killed messages into
4178         result if `visible-only' is nil.
4179
4180         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4181         canceled messages.
4182         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4183         (elmo-folder-update-number): Likewise.
4184
4185         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4186         (elmo-pop3-sort-msgdb-by-original-number): Use
4187         `elmo-msgdb-sort-entities'.
4188
4189         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4190         (elmo-msgdb-sort-by-date): Use it.
4191         (elmo-msgdb-overview-sort-by-date): Abolish.
4192
4193         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4194
4195         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4196         (elmo-msgdb-flags): New function.
4197         (elmo-msgdb-merge): Use elmo-msgdb-append.
4198
4199         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4200         change.
4201
4202         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4203
4204         * elmo-dop.el (elmo-folder-status-dop): Use
4205         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4206
4207 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4208
4209         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4210
4211         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4212
4213         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4214
4215         * elmo-util.el (elmo-with-progress-display): New macro.
4216
4217         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4218
4219 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4220
4221         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4222         `elmo-folder-list-message-entities' instead of
4223         `elmo-msgdb-get-overview'.
4224         (elmo-map-folder-list-message-locations): Ditto.
4225
4226         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4227         methods instead of treat directly).
4228         (elmo-msgdb-clear): Ditto.
4229         (elmo-msgdb-delete-msgs): Ditto.
4230         (elmo-msgdb-sort-by-date): Ditto.
4231
4232         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4233         local variables.
4234         (elmo-nntp-folder-msgdb-create): Follow the API change.
4235
4236         * elmo-version.el (elmo-version): Up to 2.11.10.
4237
4238 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4239
4240         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4241         (elmo-msgdb-flags-to-mark): Ditto.
4242         (elmo-msgdb-append-entity): Ditto.
4243
4244         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4245         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4246         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4247         (elmo-archive-parse-mmdf): Ditto.
4248
4249         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4250
4251         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4252
4253         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4254
4255         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4256
4257         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4258
4259         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4260
4261         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4262
4263         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4264
4265         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4266         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4267         to empty msgdb.
4268
4269         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4270         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4271         instead of directly construction.
4272         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4273         instead of construct msgdb.
4274
4275         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4276         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4277         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4278         instead of construct msgdb.
4279
4280 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4281
4282         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4283         when field is from or subject.
4284
4285 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4286
4287         * elmo-multi.el (elmo-message-entity-parent): Define.
4288         (elmo-folder-search): Rewrite.
4289
4290 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4291
4292         * elmo-multi.el (elmo-message-cached-p): Define.
4293
4294         * elmo.el (elmo-message-cached-p): New method.
4295         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4296         (elmo-message-flags): New method.
4297         (elmo-message-flagged-p): New function.
4298
4299         * elmo-version.el (elmo-version): Up to 2.11.9.
4300
4301 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4302
4303         * elmo-version.el (elmo-version): Up to 2.11.8.
4304
4305         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4306
4307         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4308
4309 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4310
4311         * elmo.el (elmo-folder-detach-messages): Undo last change.
4312
4313 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4314
4315         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4316
4317         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4318         only when src folder type is pop3.
4319
4320 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4321
4322         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4323         elmo-msgdb-overview-entity-get-number instead of
4324         elmo-message-entity-number.
4325
4326 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4327
4328         * elmo-version.el (elmo-version): Up to 2.11.7.
4329
4330 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4331
4332         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4333         function.
4334
4335         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4336         (elmo-msgdb-merge): New function.
4337         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4338         (elmo-msgdb-make-index): Rewrite.
4339
4340         * elmo-version.el (elmo-version): Up to 2.11.6.
4341
4342         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4343         use it as a the path for loading message entities.
4344
4345         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4346
4347 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4348
4349         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4350         message-modified slot of itself if it does not require target msgdb.
4351
4352         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4353         if folder length is zero.
4354         (elmo-mime-display-as-is): Ditto.
4355
4356         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4357
4358         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4359
4360 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4361
4362         * elmo.el (elmo-folder-set-message-modified): New method.
4363         (elmo-generic-folder-commit): Use it.
4364         (elmo-folder-synchronize): Ditto.
4365
4366         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4367         (elmo-folder-commit): Remove duplicate definition.
4368
4369 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4370
4371         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4372
4373 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4374
4375         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4376         (elmo-strict-folder-diff): Ditto.
4377         (elmo-folder-set-info-max-by-numdb): Simplify.
4378
4379         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4380         elmo-msgdb-list-messages.
4381
4382         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4383         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4384
4385 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4386
4387         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4388         visible-only is non-nil.
4389         (elmo-folder-confirm-appends): Changed message.
4390         (elmo-folder-synchronize): Added argument disable-killed.
4391
4392         * elmo-multi.el (elmo-folder-synchronize): Added argument
4393         disable-killed.
4394
4395         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4396
4397         * elmo-version.el (elmo-version): Up to 2.11.5.
4398
4399         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4400         elmo-list-filter.
4401
4402         * elmo-util.el (elmo-list-filter): Simplify.
4403
4404         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4405         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4406         (elmo-generic-folder-diff): Abolish argument.
4407         (elmo-msgdb-load): Don't use number-alist.
4408
4409         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4410
4411         * elmo-pipe.el (elmo-folder-diff): Ditto.
4412
4413         * elmo-nmz.el (elmo-folder-diff): Ditto.
4414
4415         * elmo-net.el (elmo-folder-diff): Ditto.
4416
4417         * elmo-maildir.el (elmo-folder-diff): Ditto.
4418
4419         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4420
4421         * elmo-multi.el (elmo-folder-diff): Ditto
4422         (elmo-multi-folder-diff): Rewrite.
4423
4424 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4425
4426         * elmo-pipe.el (elmo-folder-msgdb): Define.
4427
4428 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4429
4430         * elmo.el (elmo-message-set-cached): Define as a method.
4431
4432         * elmo-pipe.el (elmo-message-set-cached): Define.
4433         (elmo-find-fetch-strategy): Ditto.
4434
4435         * elmo-multi.el (elmo-message-set-cached): Define.
4436         (elmo-find-fetch-strategy): Rewrite.
4437
4438         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4439
4440         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4441
4442 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4443
4444         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4445         instead of number-alist.
4446
4447         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4448         mark nor message-id when msgdb of source folder is not loaded.
4449
4450         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4451
4452         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4453
4454 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4455
4456         * elmo.el (elmo-folder-length): Don't require msgdb.
4457
4458 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4459
4460         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4461         (elmo-message-field): Ditto.
4462
4463         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4464         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4465         slot.
4466         (elmo-map-folder-list-answereds): Define.
4467         (elmo-maildir-list-location): Treat 'R' info.
4468         (elmo-folder-msgdb-create): Treat flag-table.
4469         (elmo-folder-append-messages): Save flag-table.
4470
4471 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4472
4473         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4474         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4475
4476 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4477
4478         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4479
4480         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4481         'read when mark is null.
4482
4483 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4484
4485         * elmo-version.el (elmo-version): Up to 2.11.4.
4486
4487 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4488
4489         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4490         (elmo-folder-mark-as-answered): Ditto.
4491
4492 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4493
4494         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4495         (elmo-pop3-get-session): Make msgdb directory after session.
4496         (elmo-folder-exists-p): Check exactly at the first time even when the
4497         elmo-pop3-exists-exactly is nil.
4498
4499         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4500         (elmo-folder-list-messages): Define instead of
4501         elmo-folder-list-messages-internal.
4502         (elmo-folder-check): Check destination folder.
4503         (elmo-folder-synchronize): Drain the pipe.
4504
4505         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4506         when msgdb is not loaded.
4507
4508         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4509
4510         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4511         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4512         messages.
4513
4514         * elmo.el (elmo-folder-kill-messages-before): New function.
4515         (elmo-folder-kill-messages): Ditto.
4516         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4517
4518         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4519         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4520         killed not by synchronize (e.g. scoring).
4521
4522 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4523
4524         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4525         treated.
4526         (elmo-folder-search): Follow the change above.
4527
4528         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4529         into the candidates of search field.
4530
4531 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4532
4533         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4534         (elmo-msgdb-unset-flag): Ditto.
4535
4536         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4537
4538 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4539
4540         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4541         (elmo-folder-commit): Define.
4542         (elmo-folder-synchronize): Ditto.
4543         (elmo-folder-list-flagged): Ditto.
4544         (elmo-folder-commit): Ditto.
4545         (elmo-folder-length): Ditto.
4546         (elmo-folder-count-flags): Ditto.
4547         (elmo-message-mark): Ditto.
4548         (elmo-message-field): Ditto.
4549         (elmo-message-entity): Ditto.
4550         (elmo-message-folder): Ditto.
4551
4552 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4553
4554         * elmo.el (elmo-message-field): Define as a method.
4555
4556         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4557         (elmo-message-field): Define.
4558
4559         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4560         (elmo-folder-list-importants): Ditto.
4561         (elmo-folder-list-answereds): Ditto.
4562
4563         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4564         qualifier.
4565         (elmo-folder-mark-as-read): Ditto.
4566         (elmo-folder-unmark-read): Ditto.
4567         (elmo-folder-mark-as-answered): Ditto.
4568         (elmo-folder-unmark-answered): Ditto.
4569         (elmo-folder-list-flagged): Define.
4570         (elmo-folder-commit): Ditto.
4571         (elmo-folder-length): Ditto.
4572         (elmo-folder-count-flags): Ditto.
4573
4574 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4575
4576         * elmo.el (elmo-folder-detach-messages): New method.
4577         (elmo-folder-move-messages): Use it.
4578         (elmo-folder-synchronize): Ditto.
4579
4580         * elmo-multi.el (elmo-folder-detach-messages): Define.
4581
4582         * elmo.el (elmo-message-copy-entity): New function.
4583         (elmo-message-entity-set-number): Ditto.
4584         (elmo-message-mark): Define as method.
4585
4586         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4587         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4588         (elmo-message-entity): Fixed last change.
4589         (elmo-message-mark): Define.
4590         (elmo-folder-msgdb-create): Abolish.
4591         (elmo-multi-folder-append-msgdb): Ditto.
4592         (elmo-multi-folder-diff): Fixed.
4593         (elmo-multi-split-number-alist): Removed.
4594         (elmo-multi-split-mark-alist): Removed.
4595         (elmo-folder-list-messages): Define.
4596         (elmo-folder-list-messages-internal): Removed.
4597
4598         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4599         local file messages.
4600         (elmo-folder-msgdb-create): Fixed read mark.
4601
4602 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4603
4604         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4605         if mark is nil.
4606
4607 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4608
4609         * elmo.el (elmo-folder-list-message-entities): Define as inline
4610         function.
4611         (elmo-folder-messages): Abolish.
4612
4613         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4614         folder.
4615         (elmo-folder-synchronize): Define.
4616         (elmo-message-entity): Define.
4617
4618 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4619
4620         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4621         elmo-imap4-session-select-mailbox.
4622
4623         * elmo.el (elmo-folder-move-messages): Don't display any message.
4624
4625         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4626         parsing.
4627         (elmo-imap4-session-check): Don't wait CHECK response.
4628         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4629
4630 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4631
4632         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4633
4634 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4635
4636         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4637         API.
4638         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4639
4640
4641         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4642         (elmo-folder-list-message-entities): Added argument in-msgdb and
4643         numbers.
4644         (elmo-folder-synchronize): Define as a method.
4645
4646         * elmo-nntp.el (elmo-folder-initialize): Don't use
4647         elmo-nntp-default-user if zero-length username is specified
4648         explicitly.
4649
4650 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4651
4652         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4653         server name in case with username.
4654         (XXX: this is ad-hoc fix against username includes "@", it
4655         should be solved fundamentally)
4656
4657 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4658
4659         * elmo-nntp.el (elmo-nntp-debug): New function.
4660         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4661         (elmo-network-authenticate-session): Hide auth-info from the log.
4662
4663         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4664         user name if it is equal to elmo-nntp-default-user.
4665
4666 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4667
4668         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4669         instead of shimbun-server-internal;
4670         Use shimbun-current-group instead of shimbun-current-group-internal.
4671         (elmo-folder-plugged-p): Use shimbun-server instead of
4672         shimbun-server-internal.
4673         (elmo-folder-set-plugged): Ditto.
4674         (elmo-net-port-info): Ditto.
4675         (elmo-folder-check): Ditto.
4676         (elmo-folder-expand-msgdb-path): Ditto.
4677         (elmo-folder-list-subfolders): Ditto.
4678
4679 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4680
4681         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4682         Convert field-name to lower case.
4683         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4684
4685 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4686
4687         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4688         `message' and `error' take format string.
4689
4690 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4691
4692         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4693
4694 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4695
4696         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4697         recursive call (can't byte compile on emacs 20.7).
4698
4699 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4700
4701         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4702         (elmo-folder-list-message-entities): New API.
4703         (elmo-message-entity): Ditto.
4704         (elmo-message-entity-parent): Ditto.
4705         (elmo-folder-do-each-message-entity): Ditto.
4706         (elmo-message-entity-number): Ditto.
4707         (elmo-message-entity-field): Ditto.
4708         (elmo-message-entity-set-field): Ditto.
4709         (elmo-folder-count-flags): Ditto.
4710         (elmo-folder-length): Ditto.
4711
4712         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4713         not.
4714
4715         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4716         (elmo-msgdb-count-marks): Abolish.
4717         (elmo-msgdb-make-entity): Ditto.
4718         (elmo-msgdb-do-each-entity): Ditto.
4719         (elmo-msgdb-message-entity): New inline function.
4720         (elmo-msgdb-message-entity-field): Ditto.
4721         (elmo-msgdb-message-entity-set-field): Ditto.
4722         (elmo-msgdb-make-message-entity): New function.
4723
4724 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4725
4726         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4727         to flag. (All other related portions are changed.)
4728         (elmo-folder-msgdb-create): Likewise.
4729         (elmo-generic-folder-append-messages): Use flag-table instead of
4730         seen-list.
4731         (elmo-folder-move-messages): Removed redundant process.
4732         (elmo-folder-synchronize): Likewise.
4733
4734         * elmo-msgdb.el (elmo-flag-table-get): New function.
4735         (elmo-flag-table-save): Fixed.
4736         (elmo-msgdb-length): New inline function.
4737         (elmo-msgdb-flag-table): New function.
4738         (elmo-msgdb-mark): Add optional argument new.
4739         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4740         (elmo-msgdb-seen-list): Ditto.
4741         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4742
4743
4744 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4745
4746         * elmo.el (elmo-message-set-mark): Abolish.
4747         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4748         (All related portions are changed.)
4749
4750         * elmo-msgdb.el (toplevel): Added comment.
4751         (elmo-load-msgdb): Added 4th element `path'.
4752         (elmo-msgdb-append): Follow the change above.
4753         (elmo-msgdb-clear): Ditto.
4754         (elmo-msgdb-delete-msgs): Ditto.
4755         (elmo-msgdb-get-path): New inline function.
4756         (elmo-msgdb-set-path): Ditto.
4757         (elmo-flag-table-filename): New variable.
4758         (elmo-flag-table-load): New function.
4759         (elmo-flag-table-set): Ditto.
4760         (elmo-flag-table-save): Ditto.
4761         (elmo-msgdb-get-field-value): Abolish.
4762         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4763
4764 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4765
4766         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4767         the folder has been deleted successfully.
4768         * elmo-imap4.el (elmo-folder-delete): Ditto.
4769         * elmo-archive.el (elmo-folder-delete): Ditto.
4770         * elmo-localdir.el (elmo-folder-delete): Ditto.
4771         * elmo-maildir.el (elmo-folder-delete): Ditto.
4772
4773 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4774
4775         * elmo-util.el (elmo-string-member-ignore-case): New function.
4776         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4777         (elmo-imap4-fetch-callback-1-subr): Likewise.
4778
4779 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4780
4781         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4782         the case of the name attribute "\Noselect".
4783
4784 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4785
4786         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4787
4788         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4789         flist, is not always a member of onum-alist.
4790
4791 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4792
4793         * elmo-version.el (elmo-version): Up to 2.11.3.
4794
4795 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4796
4797         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4798         copied from localdir's one.
4799
4800         * elmo-pipe.el (elmo-folder-rename): New method, rename
4801         destination folder with leaving source folder as it is.
4802
4803 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4804
4805         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4806         replace-regexp.
4807
4808 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4809
4810         * elmo-version.el (elmo-version): Up to 2.11.2.
4811
4812 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4813
4814         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4815         shimbun-open in case of "@".
4816         (elmo-folder-open-internal): Cope with shimbun = nil case.
4817         (elmo-folder-plugged-p): Ditto.
4818         (elmo-folder-list-subfolders): Make list for "@/" group.
4819
4820 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4821
4822         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4823         mailbox (e.g. for %~/something).
4824
4825 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4826
4827         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4828         Replace nested conditional with guard clauses.
4829
4830 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4831
4832         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4833         error [wl:11327].
4834
4835         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4836         print-depth.
4837
4838 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4839
4840         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4841         Replace nested conditional with guard clauses.
4842
4843 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4844
4845         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4846         (elmo-passwd-alist-save): Ditto.
4847         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4848
4849 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4850
4851         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4852         dir-name only if it is absolute path.
4853         (TODO: distinguish +/something and +something)
4854
4855 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4856
4857         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4858         path for "+~/something".
4859
4860 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4861
4862         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4863         as non-directory, cause error before rename-file.
4864         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4865         apropriately, mimic localdir's one.
4866         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4867
4868 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4869
4870         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4871
4872 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4873
4874         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4875
4876         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4877         
4878         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4879         is included in the global-mark or not.
4880
4881 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4882
4883         * utf7.el (toplevel): Avoid error when the function
4884         find-coding-system does not exist.
4885
4886 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4887
4888         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4889         cache even if the folder is plugged.
4890         (elmo-nntp-search-primitive): Do nothing when body search is
4891         invoked (although it is not used by the change above).
4892         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4893
4894 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4895
4896         * elmo-version.el (elmo-version): Up to 2.11.1.
4897
4898 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4899
4900         * elmo-archive.el: Specify charset.
4901
4902 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4903
4904         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4905         process buffer lives or not.
4906
4907         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4908         while flushing queues (It causes infinite loop).
4909
4910 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4911
4912         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4913
4914 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4915
4916         * utf7.el (toplevel): Check the ucs features dynamically.
4917         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4918
4919         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4920         folder is creatabe or not if it already exists.
4921
4922 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4923
4924         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4925
4926         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4927
4928         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4929         (elmo-imap4-read-response): Take care of garbage response.
4930
4931 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4932
4933         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4934         just return nil instead of error.
4935
4936 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4937
4938         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4939         search-key is "body".
4940
4941 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4942
4943         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4944         of elmo-string-matched-assoc to use match-data.
4945         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4946
4947 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4948
4949         * elmo-split.el (elmo-split->): New function.
4950         (elmo-split-<): Ditto.
4951
4952 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4953
4954         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4955         workaround for invalid message-id.
4956
4957 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4958
4959         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4960         return normal pop3 session or pop3 biff session.
4961
4962 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4963
4964         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4965         info part to the cur files when the new files already have it.
4966         (Adviced by Jared Rhine <jared@wordzoo.com>)
4967
4968 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4969
4970         * elmo-split.el (elmo-split-default-action): New variable.
4971         (elmo-split-subr): Use it if all other conditions are passed.
4972         Extend `fname' and rename it as `action'. (implemented
4973         Teranishi-san's idea in [wl:10800])
4974
4975 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4976
4977         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4978         * elmo-util.el: Ditto.
4979
4980 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4981
4982         * elmo.el (elmo-message-accessible-p): Renamed from
4983         elmo-message-cached-p and rewritten.
4984
4985 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4986
4987         * elmo.el (elmo-folder-list-flagged): New generic function.
4988         (elmo-folder-list-importants): New implementation.
4989         (elmo-folder-list-answereds): Ditto.
4990         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4991         Added 'digest'.
4992         (elmo-message-cached-p): New function.
4993         (elmo-message-set-flag): Ditto (no content).
4994         (elmo-message-unset-flag): Ditto.
4995         (elmo-folder-list-messages-mark-match): Abolish.
4996
4997         * elmo-util.el (elmo-regexp-opt): New function.
4998
4999         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5000         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5001         Added 'digest'.
5002         (elmo-msgdb-list-flagged): New function.
5003
5004         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5005         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5006         Added 'digest'.
5007
5008         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5009
5010 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5011
5012         * elmo-version.el (elmo-version): Up to 2.11.0.
5013
5014 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5015
5016         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5017         `elmo-file-cache-exists-p'; use proper mark that depends on
5018         `use-cache'.
5019         (elmo-msgdb-unset-flag): Ditto.
5020         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5021
5022         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5023         with 4th argument `use-cache'.
5024
5025 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5026
5027         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5028         (elmo-folder-mark-as-important): Ditto.
5029         (elmo-folder-unmark-read): Ditto.
5030         (elmo-folder-mark-as-read): Ditto.
5031         (elmo-folder-unmark-answered): Ditto.
5032         (elmo-folder-mark-as-answered): Ditto.
5033
5034         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5035         message status.
5036         (elmo-msgdb-mark): Likewise.
5037         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5038         (elmo-msgdb-unset-flag): Likewise.
5039
5040         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5041
5042 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5043
5044         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5045         `last:' filter.
5046
5047 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5048
5049         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5050         set spool-length to 0.
5051
5052 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5053
5054         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5055         (elmo-dop-queue-flush): Fixed last change.
5056
5057 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5058
5059         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5060         if require-msgdb slot is nil.
5061         (elmo-folder-list-importants): Likewise.
5062
5063 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5064
5065         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5066         mark is changed.
5067
5068         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5069         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5070         is changed.
5071
5072 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5073
5074         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5075
5076 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5077
5078         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5079
5080         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5081
5082 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5083
5084         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5085         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5086
5087 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5088
5089         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5090         the problem reported by Sean Rima [wl-en:180].
5091
5092 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5093
5094         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5095
5096         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5097
5098         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5099
5100         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5101
5102         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5103
5104         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5105
5106         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5107
5108 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5109
5110         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5111         status number.
5112
5113 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5114
5115         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5116         (elmo-folder-mark-as-read): Follow the API change.
5117         (elmo-message-set-cached): New function.
5118
5119         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5120
5121         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5122
5123         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5124         (elmo-folder-mark-as-important): Ditto.
5125         (elmo-folder-unmark-read): Ditto.
5126         (elmo-folder-mark-as-read): Ditto.
5127         (elmo-folder-unmark-answered): Ditto.
5128         (elmo-folder-mark-as-answered): Ditto.
5129
5130         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5131         (elmo-folder-unmark-important): Ditto.
5132         (elmo-folder-mark-as-read): Ditto.
5133         (elmo-folder-unmark-read): Ditto.
5134         (elmo-folder-mark-as-answered): Ditto.
5135         (elmo-folder-unmark-answered): Ditto.
5136
5137         * elmo-mark.el (toplevel): Removed some mark method definitions.
5138
5139         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5140         (elmo-map-folder-mark-as-answered): Ditto.
5141         (elmo-folder-unmark-important): Add :before qualifier.
5142         (elmo-folder-mark-as-important): Ditto.
5143         (elmo-folder-unmark-read): Ditto.
5144         (elmo-folder-mark-as-read): Ditto.
5145         (elmo-folder-unmark-answered): Define.
5146         (elmo-folder-mark-as-answered): Ditto.
5147
5148         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5149         (elmo-map-folder-unmark-answered): Ditto.
5150
5151         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5152
5153         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5154         (elmo-folder-mark-as-important): Ditto.
5155         (elmo-folder-unmark-read): Ditto.
5156         (elmo-folder-mark-as-read): Ditto.
5157         (elmo-folder-unmark-answered): Ditto.
5158         (elmo-folder-mark-as-answered): Ditto.
5159
5160         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5161         `mark'; evaluate mark condition.
5162         (elmo-msgdb-match-condition-internal): New function.
5163         (elmo-msgdb-match-condition): Call it; changed argument.
5164
5165         * elmo.el (elmo-folder-search): Follow the API change on
5166         `elmo-msgdb-match-condition'.
5167
5168 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5169
5170         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5171         original mark is non-nil.
5172
5173 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5174
5175         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5176         (elmo-map-folder-list-answereds): New method.
5177         (elmo-folder-list-unreads): Add :around qualifier.
5178         (elmo-folder-list-importants): Ditto.
5179         (elmo-folder-list-answereds): Ditto.
5180
5181 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5182
5183         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5184
5185         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5186         method if msgdb is not required.
5187         (elmo-filter-folder-list-importants): Don't treat global-mark.
5188
5189         * elmo.el (elmo-folder-list-importants): Ditto.
5190
5191         * elmo-net.el (elmo-folder-list-importants): Ditto.
5192
5193         * elmo-map.el (elmo-folder-list-importants): Ditto.
5194
5195         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5196
5197         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5198         (elmo-imap4-folder-list-any-plugged): New function.
5199         (elmo-imap4-search-internal-primitive): Use it.
5200
5201         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5202         only when require-msgdb slot is non-nil.
5203         (elmo-folder-close): Clear target folder's msgdb.
5204
5205 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5206
5207         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5208         (elmo-pop3-msgdb-create-by-header): Ditto.
5209         (elmo-pop3-msgdb-create-message): Ditto.
5210
5211         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5212
5213         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5214
5215         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5216
5217         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5218         (elmo-folder-msgdb-create): Ditto.
5219         (elmo-nntp-folder-msgdb-create): Ditto.
5220         (elmo-nntp-msgdb-create-by-header): Ditto.
5221         (elmo-nntp-msgdb-create-message): Ditto.
5222         (elmo-folder-list-unreads): Define.
5223
5224         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5225         (elmo-folder-append-messages): Ditto.
5226         (elmo-folder-list-unreads): Define.
5227         (elmo-folder-list-importants): Ditto.
5228         (elmo-folder-list-answereds): Ditto.
5229
5230         * elmo-net.el (elmo-folder-list-unreads): Define.
5231         (elmo-folder-list-importants): Ditto.
5232         (elmo-folder-list-answereds): Ditto.
5233         (elmo-folder-list-answereds-plugged): Ditto.
5234         (elmo-folder-msgdb-create): Follow the API change.
5235         (elmo-folder-msgdb-create-unplugged): Ditto.
5236         (elmo-folder-unmark-answered): Define.
5237         (elmo-folder-mark-as-answered-unplugged): Ditto.
5238         (elmo-folder-unmark-answered-unplugged): Ditto.
5239
5240         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5241         (elmo-msgdb-unread-uncached-mark): Ditto.
5242         (elmo-msgdb-unread-cached-mark): Ditto.
5243         (elmo-msgdb-read-uncached-mark): Ditto.
5244         (elmo-msgdb-answered-cached-mark): Ditto.
5245         (elmo-msgdb-answered-uncached-mark): Ditto.
5246         (elmo-msgdb-important-mark): Ditto.
5247         (elmo-msgdb-set-mark): Rewrite.
5248         (elmo-msgdb-count-marks): Rewrite.
5249         (elmo-msgdb-mark-alist-set): Abolish.
5250         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5251         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5252
5253         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5254         (elmo-folder-close): Define.
5255         (elmo-folder-msgdb-create): Follow the API change.
5256         (elmo-folder-list-unreads): Rewrite.
5257         (elmo-folder-mark-as-important): Ditto.
5258         (elmo-folder-unmark-important): Ditto.
5259         (elmo-folder-mark-as-read): Ditto.
5260         (elmo-folder-unmark-read): Ditto.
5261         (elmo-folder-mark-as-answered): Define.
5262         (elmo-folder-unmark-answered): Ditto.
5263
5264         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5265         (elmo-folder-append-messages): Ditto.
5266
5267         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5268
5269         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5270         (elmo-folder-list-importants): Ditto.
5271
5272         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5273         (elmo-folder-append-messages): Ditto.
5274
5275         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5276         change.
5277         (elmo-folder-msgdb-create-plugged): Ditto.
5278         (elmo-folder-append-messages): Ditto.
5279         (elmo-folder-list-answereds-plugged): Define.
5280         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5281         (elmo-folder-unmark-answered-plugged): Define.
5282         (elmo-folder-mark-as-answered-plugged): Ditto.
5283         (elmo-folder-search-requires-msgdb-p): Ditto.
5284
5285         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5286         (elmo-folder-initialize): Set it.
5287         (elmo-folder-msgdb): Define.
5288         (elmo-folder-check): Call elmo-folder-synchronize.
5289         (elmo-folder-close): Define.
5290         (elmo-folder-commit): Ditto.
5291         (elmo-folder-msgdb-create): Rewrite.
5292         (elmo-folder-list-unreads): Ditto.
5293         (elmo-folder-list-importants): Ditto.
5294         (elmo-folder-mark-as-read): Ditto.
5295         (elmo-folder-unmark-read): Ditto.
5296         (elmo-folder-mark-as-important): Ditto.
5297         (elmo-folder-unmark-important): Ditto.
5298         (elmo-folder-mark-as-answered): Define.
5299         (elmo-folder-unmark-answered): Ditto.
5300
5301         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5302         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5303         (elmo-dop-queue-method-name-alist): Likewise.
5304         (elmo-folder-mark-as-answered-dop): New inline function.
5305         (elmo-folder-unmark-answered-dop): Ditto.
5306         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5307
5308         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5309         (elmo-folder-msgdb-create): Ditto.
5310         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5311         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5312         (elmo-archive-parse-mmdf): Ditto.
5313
5314         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5315         (elmo-folder-list-unreads-internal): Ditto.
5316
5317         * elmo.el (elmo-folder-msgdb): Define as generic function.
5318         (elmo-folder-list-messages): Added argument `in-msgdb'.
5319         (elmo-folder-list-unreads): Define as generic function.
5320         (elmo-folder-list-importants): Ditto.
5321         (elmo-folder-list-answereds): Ditto.
5322         (elmo-folder-list-messages-with-global-mark): New function.
5323         (elmo-folder-msgdb-create): Removed mark arguments.
5324         (elmo-folder-unmark-answered): New generic function.
5325         (elmo-folder-mark-as-answered): Ditto.
5326         (elmo-folder-append-messages): Removed argunment `unread-marks'
5327         (elmo-folder-list-unreads-internal): Abolish.
5328         (elmo-folder-list-importants-internal): Ditto.
5329         (elmo-folder-search-requires-msgdb-p): New generic function.
5330         (elmo-folder-search-requires-msgdb-p-internal): New function.
5331         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5332         elmo-msgdb-load.
5333         (elmo-folder-search-fast): Added key 'mark'.
5334         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5335         instead of unread-marks argument.
5336         (elmo-folder-move-messages): Removed argunment `unread-marks'
5337         (elmo-folder-unmark-important): Define.
5338         (elmo-folder-mark-as-important): Ditto.
5339         (elmo-folder-unmark-read): Ditto.
5340         (elmo-folder-mark-as-read): Ditto.
5341         (elmo-folder-unmark-answered): Ditto.
5342         (elmo-folder-mark-as-answered): Ditto.
5343         (elmo-folder-replace-marks): Abolish.
5344         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5345         duplicates.
5346         (elmo-folder-synchronize): Removed mark arguments;
5347         return crosspost only number.
5348
5349 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5350
5351         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5352         Remove redundunt connectivity check.
5353
5354 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5355
5356         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5357         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5358
5359 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5360
5361         * pldap.el (ldap-decode-string): Return string as-is if
5362         `ldap-coding-system' is nil.
5363         (ldap-encode-string): Ditto.
5364         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5365         (ldap-default-host): Fixed docstring.
5366
5367 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5368
5369         * elmo-util.el (elmo-warning): Define as a macro which uses
5370         `display-warning' if it is defined as a function.
5371
5372         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5373         (elmo-split-equal): Use it.
5374         (elmo-split-match): Ditto.
5375         (elmo-split-message-entity): New buffer-local variable.
5376         (elmo-split-subr): Set it.
5377
5378         * elmo-version.el (elmo-version): Up to 2.9.15.
5379
5380 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5381
5382         * elmo-imap4.el (elmo-network-initialize-session):
5383         Check capability after starttls.
5384
5385 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5386
5387         * elmo-util.el (elmo-list-delete): Added optional argument
5388         DELETE-FUNCTION.
5389
5390         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5391
5392         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5393
5394         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5395
5396         * elmo-imap4.el (elmo-folder-initialize): Don't use
5397         elmo-imap4-default-mailbox.
5398
5399 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5400
5401         * elmo-split.el (toplevel): Use `product-provide'.
5402         (elmo-split): Checkdoc.
5403
5404 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5405
5406         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5407         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5408         the function `elmo-imap4-debug-1'.
5409
5410 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5411
5412         * elmo-split.el (elmo-split): Moved to run hooks and to show
5413         message from elmo-split-subr.
5414         (elmo-split-subr): Follow the change above.
5415
5416         * elmo-split.el (elmo-split-subr): New function (renamed from
5417         elmo-split-subr).
5418         (elmo-split): Changed to call elmo-split-subr by element of
5419         elmo-split-folder.
5420         (elmo-split-folder): Changed customization type to choice.
5421
5422 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5423
5424         * elmo-split.el (elmo-split-and): Fixed condition.
5425
5426 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5427
5428         * elmo-split.el: New file.
5429         (elmo-split): Fixed logic.
5430         Display "Test:" instead of "Folder:" when reharsal.
5431
5432         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5433         explicitly.
5434
5435         * elmo-version.el (elmo-version): Up to 2.9.14.
5436
5437         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5438         wl-expand-newtext).
5439
5440 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5441
5442         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5443         message with no message-id field.
5444
5445 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5446
5447         * elmo-version.el (elmo-version): Up to 2.9.13.
5448
5449         * elmo-dop.el (elmo-folder-status-dop): Fix.
5450
5451 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5452
5453         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5454
5455         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5456         changing default value of default-mime-charset.
5457         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5458
5459         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5460
5461         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5462         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5463         instead of elmo-dop-queue-method-name-alist to check merging queue.
5464         (elmo-folder-delete-messages-dop): Delete from queue if negative
5465         message number.
5466         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5467         file is already removed.
5468
5469 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5470
5471         * elmo-vars.el: Bind colon keywords for old Emacsen.
5472
5473 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5474
5475         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5476         against non-exsisting charset.
5477
5478 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5479
5480         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5481         Use eword-decode-and-unfold-unstructured-field-body.
5482
5483         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5484         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5485         exists to decode raw subject string.
5486         (toplevel): Require 'mime.
5487
5488         * elmo-version.el (elmo-version): Up to 2.9.12.
5489
5490 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5491
5492         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5493         (elmo-msgdb-set-mark): Ditto.
5494
5495         * elmo-version.el (elmo-version): Up to 2.9.11.
5496
5497 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5498
5499         * elmo-util.el (elmo-delete-match-files): New function.
5500
5501         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5502         instead of elmo-delete-directory.
5503
5504         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5505         elmo-hash-minimun-size as 63.
5506
5507         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5508         elmo-diff-unread is nil.
5509
5510         * elmo-imap4.el (elmo-folder-open): Fix.
5511
5512         * elmo.el (elmo-message-mark): Rewrite.
5513         (elmo-message-field): Ditto.
5514         (elmo-message-set-mark): Ditto.
5515         (elmo-folder-replace-marks): New function.
5516         (elmo-generic-folder-append-msgdb): Removed third argument for
5517         elmo-msgdb-append.
5518         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5519         (elmo-msgdb-load): New implementation.
5520
5521         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5522
5523         * elmo-util.el (elmo-list-insert): New implementation.
5524
5525         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5526         argument for elmo-msgdb-append.
5527         
5528
5529         * elmo-msgdb.el (elmo-load-msgdb): New function.
5530         (elmo-make-msgdb): Ditto.
5531         (elmo-msgdb-get-index): New inline function.
5532         (elmo-msgdb-set-index): Ditto.
5533         (elmo-msgdb-get-entity-hashtb): Ditto.
5534         (elmo-msgdb-get-mark-hashtb): Ditto.
5535         (elmo-msgdb-get-mark): Ditto.
5536         (elmo-msgdb-set-mark): Ditto.
5537         (elmo-msgdb-count-marks): Ditto.
5538         (elmo-msgdb-get-number): Ditto.
5539         (elmo-msgdb-get-field): Ditto.
5540         (elmo-msgdb-seen-list): Ditto.
5541         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5542         (elmo-msgdb-delete-msgs): Follow the changes above.
5543         (elmo-msgdb-overview-get-entity): Ditto.
5544         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5545         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5546         and rewritten.
5547         (elmo-msgdb-make-index): Likewise.
5548         (elmo-msgdb-append): Removed third argument.
5549         (elmo-msgdb-clear): Clear index as nil.
5550         (elmo-folder-set-info-hashtb): Removed.
5551         (elmo-folder-set-info-max-by-numdb): Ditto.
5552         (elmo-folder-info-make-hashtb): Ditto.
5553
5554         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5555
5556         * elmo-map.el (elmo-folder-pack-number): Ditto.
5557
5558 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5559
5560         * elmo-version.el (elmo-version): Up to 2.9.10.
5561
5562         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5563
5564         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5565
5566 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5567
5568         * elmo-utils.el (elmo-make-directory): Add option.
5569         Default file mode is 700.
5570
5571 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5572
5573         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5574
5575 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5576
5577         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5578         mime-charset.
5579
5580         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5581         and "smaller".
5582
5583 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5584
5585         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5586         (elmo-shimbun-folder-entity-hash): New function.
5587         (elmo-shimbun-folder-shimbun-header): Ditto.
5588         (elmo-shimbun-entity-to-header): Ditto.
5589         (elmo-shimbun-msgdb-to-headers): Removed.
5590         (elmo-shimbun-folder-setup): Ditto.
5591         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5592         for hash key.
5593         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5594         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5595         Removed useless local bind.
5596         (elmo-folder-open-internal): Don't call
5597         `elmo-shimbun-folder-setup'.
5598         (elmo-folder-close-internal): Clear entity-hash slot.
5599         (elmo-folder-clear): Ditto.
5600         (elmo-shimbun-msgdb-create-entity): Use
5601         `elmo-shimbun-folder-shimbun-header'.
5602         (elmo-map-message-fetch): Ditto.
5603         (elmo-shimbun-update-overview): Use overview entity instead of
5604         shimbun header to lookup id by references.
5605         (elmo-map-folder-list-message-locations): Use not only headers but
5606         also overviews to list locations.
5607
5608 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5609
5610         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5611         msgdb path.
5612
5613         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5614
5615 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5616
5617         * elmo-util.el (elmo-read-search-condition-internal): Give default
5618         value for date.
5619
5620 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5621
5622         * elmo-util.el (elmo-condition-parse-search-value): Accept
5623         YYYY-MM-DD format to search.
5624         * elmo-date.el (elmo-date-get-datevec): Likewise.
5625
5626 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5627
5628         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5629         debugging code.
5630
5631 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5632
5633         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5634         from t.
5635
5636         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5637
5638         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5639         case from `elmo-folder-exists-p'.
5640         (elmo-folder-exists-p): Removed.
5641         (elmo-folder-creatable-p) Ditto.
5642
5643         * elmo-net.el (elmo-folder-create): Defined.
5644         (elmo-folder-create-unplugged): New function.
5645         (elmo-folder-exists-p): Changed default value to nil from t.
5646
5647         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5648         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5649
5650         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5651         `elmo-create-folder-dop' and append queue
5652         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5653         (elmo-folder-create-dop-delayed): New function.
5654
5655         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5656
5657         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5658
5659         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5660         (elmo-folder-writable-p) : Ditto.
5661
5662         * elmo-version.el (elmo-version): Up to 2.9.9.
5663
5664 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5665
5666         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5667         `elmo-message-use-cache-p' returns nil.
5668         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5669         (ignore cache file and refer the substance in local folders)
5670
5671 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5672
5673         * elmo-version.el (elmo-version): Up to 2.9.8.
5674
5675 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5676
5677         * elmo-version.el (elmo-version): Up to 2.9.7.
5678
5679         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5680
5681 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5682
5683         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5684
5685 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5686
5687         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5688         from --early.
5689         (elmo-map-folder-list-message-locations): Reverse location list.
5690
5691 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5692
5693         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5694
5695 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5696
5697         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5698         as a key.
5699         (elmo-nntp-folder-list-subfolders): Follow the change above.
5700
5701 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5702
5703         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5704         name if authentication type is specified.
5705
5706 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5707
5708         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5709         variable.
5710         (elmo-default-nntp-stream-type): Ditto.
5711         (elmo-default-pop3-stream-type): Ditto.
5712
5713 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5714
5715         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5716
5717 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5718
5719         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5720         elmo-vars.el.
5721         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5722
5723         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5724         (elmo-maildir-folder-path): Ditto.
5725         (elmo-maildir-list): Ditto (abolished).
5726
5727 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5728
5729         * elmo-version.el (elmo-version): Up to 2.9.6.
5730
5731 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5732
5733         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5734         (elmo-maildir-folder-path): Ditto.
5735         (elmo-msgdb-directory): Ditto.
5736         (elmo-passwd-life-time): Ditto.
5737         (elmo-msgdb-extra-fields): Ditto.
5738         (elmo-enable-disconnected-operation): Ditto.
5739
5740 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5741
5742         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5743         other choices.
5744         (elmo-pop3-default-authenticate-type): Ditto.
5745
5746 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5747
5748         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5749         choices for custom.
5750         (elmo-pop3-default-authenticate-type): Ditto.
5751
5752 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5753
5754         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5755         mailbox to new-folder.
5756
5757 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5758
5759         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5760         less than new, set new as unread.
5761
5762         * elmo-util.el (elmo-string): Don't put text-property if nil.
5763
5764 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5765
5766         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5767         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5768
5769 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5770
5771         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5772         is nil on `completing-read'.
5773
5774 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5775
5776         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5777         for namespace part.
5778         (elmo-imap4-parse-namespace-subr): Ditto.
5779         (elmo-folder-list-subfolders): Append a delimiter when the specified
5780         folder path is a root with namespace and does not end with delimiter.
5781
5782 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5783
5784         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5785         was used.
5786
5787 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5788
5789         * elmo-util.el (elmo-save-buffer): The first argument of message
5790         is a format control string.
5791
5792 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5793
5794         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5795         `elmo-folder-diff').
5796         (elmo-diff-unread): Likewise.
5797
5798 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5799
5800         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5801         is t on `completing-read'.
5802
5803 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5804
5805         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5806         method of target folder with self mark-alist if MARK-ALIST is nil.
5807
5808 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5809
5810         * elmo-version.el (elmo-version): Up to 2.9.5.
5811
5812 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5813
5814         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5815         (elmo-dop-merge-funcs): Remove.
5816
5817 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5818
5819         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5820         Return t if PATH is directory, too.
5821         Use `dolist' instead of while loop.
5822
5823 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5824
5825         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5826         is deleted.
5827
5828 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5829
5830         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5831         return value to t.
5832         (elmo-folder-list-messages-unplugged): Return t if
5833         elmo-enable-disconnected-operation is nil.
5834
5835         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5836         `elmo-folder-list-messages-internal'.
5837
5838 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5839
5840         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5841         Change to looking-at `[23][0-9]+'.
5842         (elmo-network-initialize-session): Use 'error-msg'
5843         * elmo-net.el (elmo-network-open-session): Set unplugged
5844         if elmo-network-initialize-session returns 'elmo-open-err.
5845
5846 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5847
5848         * elmo-version.el (elmo-version): Up to 2.9.4.
5849
5850 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5851
5852         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5853         `elmo-folder-list-messages-internal'.
5854
5855 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5856
5857         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5858         (elmo-message-match-condition): New method.
5859         (elmo-folder-search-fast): New inline function.
5860         (elmo-msgdb-search): Removed.
5861
5862         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5863         target folder if it is unplugged.
5864         (elmo-folder-list-messages-internal): Return t if target folder is
5865         unplugged and itself is persistent; In this case, use list be
5866         searched already.
5867
5868         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5869         (elmo-msgdb-search-internal-primitive): Ditto.
5870         (elmo-msgdb-match-condition): New function.
5871         (elmo-msgdb-match-condition-primitive): Ditto.
5872
5873         * elmo-util.el (elmo-filter-condition-p): New macro.
5874
5875         * elmo-cache.el (elmo-folder-search): Removed.
5876
5877         * elmo-localdir.el (elmo-folder-search): Ditto.
5878
5879         * elmo-maildir.el (elmo-folder-search): Ditto.
5880
5881         * elmo-mark.el (elmo-folder-search): Ditto.
5882
5883         * elmo-nmz.el (elmo-folder-search): Ditto.
5884
5885         * elmo-sendlog.el (elmo-folder-search): Ditto.
5886
5887         * elmo-shimbun.el (elmo-folder-search): Ditto.
5888
5889         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5890         if folder is unplugged.
5891
5892         * elmo-nntp.el (elmo-folder-search): Likewise.
5893         (elmo-nntp-search-internal): New function.
5894
5895         * elmo-version.el (elmo-version): Up to 2.9.3.
5896
5897 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5898
5899         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5900
5901 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5902
5903         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5904
5905 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5906
5907         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5908
5909 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5910
5911         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5912         (elmo-map-folder-list-message-locations): Do drive letter conversion
5913         on Windows environment.
5914         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5915         (elmo-map-message-fetch): Ditto.
5916
5917 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5918
5919         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5920         (elmo-network-initialize-session): Ditto.
5921
5922 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5923
5924         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5925
5926         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5927
5928         * elmo-util.el (elmo-progress-clear): Ditto.
5929
5930         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5931         `DD-Mon-YYYY' type date.
5932
5933 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5934
5935         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5936         `elmo-date-make-sortable-string' instead of
5937         `timezone-make-date-sortable'.
5938
5939         * elmo-date.el (elmo-date-make-sortable-string): Use
5940         `timezone-make-time-string'.
5941
5942 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5943
5944         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5945
5946         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5947         `since'; Fix timezone.
5948
5949         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5950
5951         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5952
5953 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5954
5955         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5956
5957 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5958
5959         * elmo.el (elmo-generic-folder-append-messages): Make
5960         fetch-strategy with `use-cache' as 'maybe. Check return value of
5961         `elmo-message-fetch'.
5962         (elmo-message-fetch): Return return value of
5963         `elmo-message-fetch-with-cache-process'.
5964         (elmo-message-fetch-with-cache-process): Return non-nil if
5965         fetching was succeed. Load cache when fetching was failed and
5966         fetch-strategy-use-cache is 'maybe.
5967
5968         * elmo-util.el (elmo-file-cache-load): New function.
5969
5970         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5971         defun.
5972
5973         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5974         non-nil if fetching was succeed.
5975
5976         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5977
5978         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5979
5980         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5981         (elmo-message-fetch-with-cache-process): Likwise.
5982
5983         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5984
5985         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5986
5987         * elmo-version.el (elmo-version): Up to 2.9.2.
5988
5989 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5990
5991         * elmo.el (elmo-folder-delete): Delete msgdb path.
5992
5993         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5994
5995         * elmo-maildir.el (elmo-folder-delete): Ditto.
5996
5997         * elmo-localdir.el (elmo-folder-delete): Ditto.
5998
5999         * elmo-imap4.el (elmo-folder-delete): Ditto.
6000
6001 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6002
6003         * elmo.el (luna-define-class): Added `biff' slot.
6004
6005         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6006         (elmo-pop3-debug-inhibit-logging): Abolished.
6007         (elmo-network-close-session): Eliminated needless let.
6008         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6009         (elmo-pop3-send-command): Added `no-log' argument.
6010         (elmo-pop3-process-filter): Use `with-current-buffer'.
6011         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6012         if login failure.
6013         (elmo-pop3-auth-apop): Likewise.
6014         (elmo-network-authenticate-session): Likewise.
6015
6016         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6017         if biff folder.
6018
6019         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6020         string to determine protocol.
6021         (elmo-network-session-name-prefix): Abolished.
6022         (elmo-network-session-cache-key): Follow the change above.
6023         (elmo-network-open-session): Ditto.
6024
6025         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6026         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6027
6028         * elmo-version.el (elmo-version): Up to 2.9.1.
6029
6030         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6031         unmatch condition checking.
6032
6033         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6034         condition.
6035
6036 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6037
6038         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6039
6040 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6041
6042         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6043         test for while loop to execute at least one SEARCH command.
6044
6045 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6046
6047         * elmo-version.el (elmo-version): Up to 2.9.0.
6048
6049 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6050
6051         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6052         (elmo-archive-folder-path): Define.
6053         (elmo-folder-initialize): Setup `dir-name' slot.
6054         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6055         Use `dir-name' as prefix of each subfolders.
6056         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6057
6058 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6059
6060         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6061         (elmo-pipe-folder-list-target-messages): New internal function.
6062         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6063         `killed-list'.
6064         (elmo-pipe-folder-copied-list-load): New function.
6065         (elmo-pipe-folder-copied-list-save): Ditto.
6066         (elmo-folder-open-internal): Follow the change above.
6067         (elmo-folder-status): Fixed for copy.
6068
6069 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6070
6071         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6072
6073 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6074
6075         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6076         elmo-copy-file instead of elmo-add-name-to-file.
6077
6078         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6079
6080         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6081         "file://..." index.
6082
6083         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6084         of accept-process-output as 1.
6085         (elmo-pop3-read-contents): Ditto.
6086         (elmo-pop3-read-body): Ditto.
6087
6088 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6089
6090         * elmo-version.el (product-version-as-string): Remove define.
6091
6092 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6093
6094         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6095         (elmo-imap4-copy-messages): Chop number set using
6096         `elmo-imap4-number-set-chop-length'.
6097         (elmo-imap4-set-flag): Ditto.
6098         (elmo-imap4-search-internal-primitive): Ditto.
6099
6100 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6101
6102         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6103         `elmo-folder-make-temp-dir'
6104
6105         * elmo-vars.el (elmo-cache-directory): New variable.
6106         (elmo-cache-dir): Abolished.
6107         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6108
6109         * elmo-version.el (elmo-version): Up to 2.7.7.
6110
6111 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6112
6113         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6114         defcustom; Set default value as t.
6115
6116 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6117
6118         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6119         (ldap-search-program-arguments): Changed default value.
6120         (ldap-search-basic): Accept exit status 4.
6121         (ldap/field-body): Parse options.
6122         (ldap/collect-field): Ditto.
6123         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6124
6125         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6126         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6127         (elmo-imap4-accept-ok): Ditto.
6128         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6129         'notify-bye, only BYE error is reported.
6130         (elmo-folder-exists-p-plugged): Set no-error argument of
6131         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6132
6133         * elmo.el (elmo-imap4-bye-error): Changed message.
6134
6135         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6136         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6137         queues (It causes infinite loop).
6138
6139 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6140
6141         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6142         (RECENT UNSEEN MESSAGES) extension.
6143
6144 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6145
6146         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6147         Check number of overview fields.
6148
6149 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6150
6151         * elmo.el (elmo-folder-confirm-appends): Changed message.
6152         (elmo-folder-confirm-appends): Ditto.
6153
6154         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6155         `with-temp-buffer'.
6156         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6157
6158 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6159
6160         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6161         of elmo-folder-update-threshold is nil, which can be set by
6162         wl-summary-update-confirm-threshold.
6163
6164 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6165
6166         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6167         (elmo-nmz-index-alias-alist): Ditto.
6168         (elmo-map-folder-list-message-locations): Follow the change above.
6169
6170 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6171
6172         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6173
6174         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6175
6176         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6177
6178         * elmo-util.el (elmo-read): Ditto.
6179         (elmo-display-error): Ditto.
6180
6181         * elmo-vars.el (elmo-date-match): Ditto.
6182
6183         * pldap.el (ldap-coding-system): Ditto.
6184
6185         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6186         `elmo-inhibit-number-mapping' as nil.
6187
6188 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6189
6190         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6191         space delimiter for list response.
6192
6193 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6194
6195         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6196
6197 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6198
6199         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6200         (elmo-map-message-fetch): Fix.
6201         * elmo-map.el (elmo-folder-status): Fix for killed.
6202
6203 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6204
6205         * elmo-sendlog.el: New file.
6206         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6207
6208 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6209
6210         * acap.el (acap-logging-out): New buffer local variable.
6211         (acap-close): Set it.
6212         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6213         an error.
6214
6215 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6216
6217         * acap.el (acap-response-bye-p): New function.
6218         (acap-response-bye-message): Ditto.
6219         (acap-wait-for-response): If bye response is received, cause an error.
6220         (acap-parse-response): Make bye response when 'Bye' is received.
6221
6222 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6223
6224         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6225
6226 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6227
6228         * elmo-util.el (elmo-copy-file): Added argument
6229         `ok-if-already-exists'.
6230         (elmo-copy-file): Fixed typo.
6231
6232 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6233
6234         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6235
6236 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6237
6238         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6239
6240 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6241
6242         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6243         to killed-list.
6244
6245 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6246
6247         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6248         (elmo-folder-initialize): Fix for `copy'.
6249         (elmo-pipe-drain): Ditto.
6250         (elmo-folder-open-internal): Ditto.
6251         (elmo-folder-newsgroups): Fix.
6252
6253 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6254
6255         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6256         for each message.
6257
6258         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6259         recent value is returned from imap folder.
6260
6261         * elmo.el (elmo-folder-newsgroups): New generic function.
6262
6263         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6264         (elmo-folder-initialize): Set it.
6265         (elmo-folder-expand-msgdb-path): Use it.
6266         (elmo-folder-newsgroups): Define.
6267
6268         * elmo-filter.el (elmo-folder-newsgroups): Define.
6269
6270         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6271
6272         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6273
6274         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6275
6276 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6277
6278         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6279         user option.
6280         (elmo-shimbun-header-extra-field): New inline function.
6281         (elmo-shimbun-header-set-extra-field): Ditto.
6282         (elmo-shimbun-folder-header-hash-setup): Ditto.
6283         (elmo-shimbun-update-overview): Ditto.
6284         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6285         (elmo-shimbun-folder-setup): Use
6286         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6287         (elmo-shimbun-get-headers): Ditto.
6288         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6289         Insert `X-Shimbun-Id:' header if extra field is set.
6290         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6291         field's value instead of `shimbun-header-id'.
6292
6293         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6294         inline function.
6295         (elmo-msgdb-overview-entity-set-date): Ditto.
6296         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6297
6298 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6299
6300         * mmimap.el (mmimap-entity-section): Changed body node number from
6301         "0" to "1".
6302
6303 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6304
6305         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6306         `elmo-folder-delete-messages'.
6307
6308         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6309         (elmo-folder-initialize): Changed to expand alias into index path.
6310
6311         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6312         `elmo-mime-insert-header-from-buffer' with 6th arg
6313         `sorted-fields'.
6314
6315 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6316
6317         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6318
6319         * elmo.el (elmo-diff-new): New inline function.
6320         (elmo-diff-unread): Ditto.
6321         (elmo-diff-all): Ditto.
6322
6323         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6324         value from responseb.
6325         (elmo-imap4-folder-diff-plugged): Ditto.
6326         (elmo-imap4-server-diff-async): Added recent argument.
6327         (elmo-server-diff-async): Ditto.
6328         (elmo-imap4-folder-diff-plugged): Ditto.
6329
6330         * elmo-version.el (elmo-version): Up to 2.7.6.
6331
6332 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6333
6334         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6335         in quoted-stirng.
6336
6337 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6340
6341         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6342
6343         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6344
6345         * elmo-multi.el (elmo-folder-initialize): Ditto.
6346
6347         * elmo-util.el (elmo-parse-token): New function.
6348         (elmo-parse-prefixed-element): Ditto.
6349
6350 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6351
6352         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6353         delete process.
6354         (elmo-imap4-accept-ok): Ditto.
6355
6356 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6357
6358         * mmimap.el (mime-imap-entity-header-string): Don't check first
6359         element of node-id is `0' (Follow last change).
6360
6361 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6362
6363         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6364         assigned irregular node-id to nested multipart section.
6365         (initialize-instance): Followed above change.
6366
6367 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6368
6369         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6370         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6371         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6372         `elmo-shimbun-get-headers');
6373         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6374         visible article on summary exists in headers).
6375         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6376
6377 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6378
6379         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6380         definition.
6381
6382 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6383
6384         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6385
6386 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6387
6388         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6389         header separator into loop condition.
6390
6391 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6392
6393         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6394         Return duplicate folder if it has subfolder.
6395
6396 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6397
6398         * elmo.el (elmo-make-folder): Add folder name error check.
6399
6400         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6401         (elmo-nntp-encode-group-string): New inline function.
6402         (elmo-nntp-decode-group-string): Ditto.
6403         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6404         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6405         Use `not' instead of `null';
6406         Use elmo-nntp-decode-group-string.
6407
6408         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6409
6410         * elmo-version.el (elmo-version): Up to 2.7.5.
6411
6412 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6413
6414         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6415         Hide progress gauge if `elmo-folder-move-messages' exits
6416         nonlocally.
6417
6418 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6419
6420         * elmo-imap4.el (elmo-folder-initialize): Use
6421         `elmo-imap4-encode-folder-string' for folder name.
6422
6423 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6424
6425         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6426         `done'.
6427
6428 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6429
6430         * elmo-util.el (elmo-progress-counter-alist): New internal
6431         variable.
6432         (elmo-progress-counter-value): New macro.
6433         (elmo-progress-counter-all-value): Ditto.
6434         (elmo-progress-counter-format): Ditto.
6435         (elmo-progress-counter-set-value): Ditto.
6436         (elmo-progress-set): New function.
6437         (elmo-progress-clear): Ditto.
6438         (elmo-progress-notify): Ditto.
6439
6440         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6441         counter.
6442
6443         * elmo.el (elmo-generic-folder-append-messages): Call
6444         `elmo-progress-notify'.
6445         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6446
6447         * elmo-archive.el (elmo-folder-append-messages): Call
6448         `elmo-progress-notify'.
6449
6450         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6451
6452         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6453
6454         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6455
6456 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6457
6458         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6459         'Create'.
6460         (elmo-message-encache-dop): Added argument `read'.
6461
6462         * elmo-shimbun.el (elmo-message-encache): Ditto.
6463
6464         * elmo-net.el (elmo-message-encache): Ditto.
6465
6466         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6467         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6468         elmo-imap4-seen-messages.
6469         (elmo-folder-msgdb-create-plugged): Initialize
6470         elmo-imap4-seen-messages;
6471         Set seen mark on elmo-imap4-seen-messages.
6472
6473         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6474
6475         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6476         elmo-folder-append-buffer.
6477         (elmo-folder-encache): Added optional argument `read'.
6478         (elmo-message-encache): Ditto.
6479
6480         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6481
6482         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6483
6484         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6485         if append buffer content succeds.
6486
6487 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6488
6489         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6490         elmo-display-progress.
6491
6492         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6493         Set 4th argument of mime-display-message.
6494         (elmo-mime-display-as-is): Ditto.
6495
6496 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6497
6498         * elmo-nmz.el (toplevel): Require 'mime-edit.
6499         (elmo-nmz-content-type-alist): Abolished.
6500         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6501         content is not a message.
6502         (elmo-map-message-fetch): Changed behavior exept for message content;
6503         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6504         content-type, Add From: and Subject: field.
6505
6506 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6507
6508         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6509         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6510         not a message.
6511
6512 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6513
6514         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6515         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6516
6517         * elmo-archive.el (elmo-folder-writable-p): Defined.
6518
6519         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6520
6521         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6522
6523         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6524
6525         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6526
6527         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6528
6529         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6530
6531         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6532
6533         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6534
6535 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6536
6537         * elmo-util.el (elmo-address-quote-specials): New function;
6538         Renamed from `wl-address-quote-specials'.
6539
6540 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6541
6542         * elmo-version.el (elmo-version): Up to 2.7.4.
6543
6544 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6545
6546         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6547
6548 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6549
6550         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6551         both compile-time and run-time to avoid byte-compile warning.
6552
6553 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6554
6555         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6556
6557 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6558
6559         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6560         option.
6561         (elmo-mime-display-as-is-internal): Use it.
6562
6563         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6564         if `read-passwd' is not defined.
6565
6566 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6567
6568         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6569         by original number.
6570         (elmo-folder-status): Call `elmo-folder-open-internal';
6571         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6572         (elmo-folder-close-internal): Set location-alist as nil.
6573         (elmo-folder-clear): Define.
6574         (elmo-folder-check): Don't set location-alist as nil.
6575
6576         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6577
6578 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6579
6580         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6581         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6582
6583         * mmimap.el (mime-imap-entity::requested): New slot.
6584         (mime-imap-location-fetch-entity-p): New generic function.
6585         (mime-decode-parameters): Define using `defun-maybe'.
6586         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6587         content-type structure.
6588         (mime-entity-body): Return empty body if
6589         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6590
6591         * elmo.el (elmo-message-displaying): New variable.
6592
6593         * elmo-mime.el (elmo-mime-message-display): Bind
6594         elmo-message-displaying as t.
6595
6596         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6597
6598 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6599
6600         * acap.el (acap-open): erase buffer before starting network process.
6601         (acap-store): Rewrite.
6602
6603 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6604
6605         * elmo-imap4.el (elmo-imap4-default-mailbox,
6606         elmo-imap4-default-server
6607         elmo-imap4-default-authenticate-type,
6608         elmo-imap4-default-user,
6609         elmo-imap4-default-port,
6610         elmo-imap4-default-stream-type,
6611         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6612
6613         * elmo-pop3.el (elmo-pop3-default-user,
6614         elmo-pop3-default-server,
6615         elmo-pop3-default-authenticate-type,
6616         elmo-pop3-default-port,
6617         elmo-pop3-default-stream-type,
6618         elmo-pop3-stream-type-alist): Ditto.
6619
6620         * elmo-nntp.el (elmo-nntp-default-server,
6621         elmo-nntp-default-user,
6622         elmo-nntp-default-port,
6623         elmo-nntp-default-stream-type,
6624         elmo-nntp-stream-type-alist): Ditto.
6625
6626         * elmo-vars.el: Follow changes above.
6627         (elmo-setting): New custom group; added 'elmo-setting group to
6628         above variables.
6629
6630         * elmo-version.el (elmo-version): Up to 2.7.3.
6631
6632         * acap.el (acap-parse-response): Don't delete process when BYE
6633         response (It causes hang-up on slow network environment).
6634         (toplevel): Added comment.
6635
6636 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6637
6638         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6639
6640         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6641         parsing NIL.
6642         (acap-parse-return-metadata): Ditto.
6643
6644         * slp.el: New file.
6645         (toplevel): Fixed typo.
6646
6647         * acap.el: New file.
6648         (acap-network-stream-open): Show "Connecting..." message.
6649         (acap-parse-response): Fixed problem for BYE untagged response.
6650         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6651         (toplevel): Added tiny comments.
6652
6653 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6654
6655         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6656         space delimiter for uidl response.
6657
6658 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6659
6660         * elmo-vars.el (elmo-use-semi): Eliminated.
6661
6662         * elmo-util.el (elmo-string-assoc-all): New function.
6663
6664 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6665
6666         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6667         property 'mime-preview-situation for `mime-preview-quit'.
6668
6669 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6670
6671         * elmo.el (elmo-message-fetch-with-cache-process): Call
6672         elmo-message-fetch-internal instead of causing an error when fetch
6673         strategy is 'entire but only 'section cache is available.
6674
6675 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * elmo-version.el (elmo-version): Up to 2.7.2.
6678
6679         * elmo.el (elmo-generic-folder-append-messages): Make
6680         fetch-strategy with `use-cache'.
6681
6682         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6683         (elmo-dop-queue-method-name): New macro.
6684
6685 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6686
6687         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6688         unbalanced parenthesis.
6689
6690 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6691
6692         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6693
6694 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6695
6696         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6697         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6698
6699 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6700
6701         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6702         local variables.
6703
6704 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6705
6706         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6707         (elmo-message-use-cache-p): Define.
6708         (elmo-folder-msgdb-create): Treat cache.
6709
6710 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6711
6712         * elmo-nntp.el (elmo-network-initialize-session): Call
6713         `elmo-nntp-send-mode-reader'.
6714         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6715
6716 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6717
6718         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6719         alist.
6720         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6721         assoc.
6722
6723         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6724         for `elmo-plugged-p'.
6725         (elmo-open-network-stream): Fixed stream-type argument.
6726
6727 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6728
6729         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6730         unknown archive type is specified.
6731
6732 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6733
6734         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6735
6736         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6737         while loading msgdb.
6738
6739         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6740         (elmo-folder-open-internal): Rewrite.
6741
6742 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6743
6744         * elmo-mime.el (elmo-mime-display-as-is-internal):
6745         Adjust buffer-multibyte status.
6746
6747 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6748
6749         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6750         of elmo-condition-find-key.
6751
6752         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6753         (elmo-condition-in-msgdb-p): Ditto.
6754         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6755         argument.
6756
6757 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6758
6759         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6760
6761 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6762
6763         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6764         label for elmo-display-progress.
6765
6766 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6767
6768         * elmo.el (elmo-folder-clear): New method.
6769         (elmo-folder-clear): Define.
6770         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6771
6772         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6773         (elmo-folder-clear): Define.
6774
6775         * elmo-map.el (elmo-folder-clear): Define.
6776
6777         * elmo-version.el (elmo-version): Up to 2.7.1.
6778
6779 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6780
6781         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6782         updates.
6783
6784 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6785
6786         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6787         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6788
6789 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6790
6791         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6792
6793         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6794         and re-written.
6795
6796         * elmo-imap4.el (elmo-folder-initialize): Use
6797         elmo-get-network-stream-type.
6798
6799         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6800
6801         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6802
6803 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6804
6805         * elmo.el (elmo-message-encache): Set unread argument for
6806         elmo-message-fetch.
6807
6808         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6809
6810         * elmo.el (elmo-net-port-info): New method.
6811
6812         * elmo-shimbun.el (elmo-net-port-info): Define.
6813         (elmo-message-encache): Ditto.
6814
6815         * elmo-net.el (elmo-net-port-info): Define as method.
6816
6817         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6818         unplugged status when elmo-enable-disconnected-operation is t.
6819
6820         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6821         of spool folder before checking new number.
6822
6823 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6824
6825         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6826         (elmo-network-setup-session): Ditto.
6827         (elmo-message-fetch-plugged): Ditto.
6828         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6829         (elmo-network-initialize-session): Ditto.
6830         (elmo-pop3-read-response): Abolish 3rd argument.
6831         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6832         (elmo-pop3-read-contents): Ditto.
6833         (elmo-pop3-read-body): Ditto.
6834         (elmo-folder-status): Call elmo-folder-close.
6835         (elmo-pop3-lock): Abolish.
6836         (elmo-pop3-unlock): Ditto.
6837         (elmo-pop3-locked-p): Ditto.
6838         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6839
6840 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * elmo-version.el (elmo-version): Up to 2.7.0.
6843
6844         * elmo-pop3.el (elmo-pop3-debug): New variable.
6845         (elmo-pop3-debug-inhibit-logging): Ditto.
6846         (elmo-pop3-debug): New function.
6847         (elmo-pop3-send-command): Call elmo-pop3-debug.
6848         (elmo-pop3-read-response): Added keep-lock optional argument;
6849         Don't unlock if keep-lock is non-nil.
6850         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6851         (elmo-network-authenticate-session): Bind
6852         elmo-pop3-debug-inhibit-logging as t.
6853         (elmo-network-setup-session): Call elmo-pop3-read-response with
6854         keep-lock argument.
6855         (elmo-pop3-read-msg): Ditto.
6856         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6857         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6858         (elmo-network-initialize-session): Call elmo-pop3-lock.
6859         (elmo-folder-close-internal): Don't clear location-alist slot.
6860         (elmo-folder-check): Clear location-alist slot.
6861
6862 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6863
6864         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6865         (elmo-pop3-send-command): Call elmo-pop3-lock.
6866         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6867         (elmo-pop3-read-contents): Ditto.
6868         (elmo-pop3-lock): New function.
6869         (elmo-pop3-unlock): Ditto.
6870         (elmo-pop3-locked-p): Ditto.
6871         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6872         returns t.
6873
6874 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6875
6876         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6877
6878         * elmo-util.el (elmo-file-field-primitive-condition-match):
6879         New inline function (Don't fetch file content if "first" or "last").
6880         (elmo-file-field-condition-match): Use
6881         elmo-file-field-primitive-condition-match.
6882
6883         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6884         "first".
6885
6886         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6887         (elmo-message-fetch-plugged): Fixed.
6888
6889         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6890
6891 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6892
6893         * elmo.el (elmo-folder-move-messages): Bind
6894         elmo-inhibit-display-retrieval-progress as t while moving messages.
6895
6896         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6897         New variable.
6898         (elmo-inhibit-display-retrieval-progress): Ditto.
6899
6900         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6901         for retrieval progress;
6902         Don't display progress when total buffer size is smaller than
6903         elmo-display-retrieval-progress-threshold.
6904         (elmo-message-fetch-plugged): Don't display progress when
6905         elmo-inhibit-display-retrieval-progress is non-nil.
6906
6907         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6908         for retrieval progress;
6909         Don't display progress when literal size is smaller than
6910         elmo-display-retrieval-progress-threshold.
6911         (elmo-imap4-message-fetch): Don't display progress when
6912         elmo-inhibit-display-retrieval-progress is non-nil.
6913
6914 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6917         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6918         (elmo-imap4-message-fetch): Likewise.
6919
6920         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6921         (elmo-shimbun-index-range-alist): Ditto.
6922         (elmo-shimbun-use-entire-index): Abolish.
6923         (shimbun-mua-use-entire-index): Ditto.
6924         (elmo-shimbun-folder): Added new slot `range'.
6925         (elmo-folder-initialize): Setup slot `range'.
6926
6927 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6928
6929         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6930         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6931         (elmo-shimbun-get-headers): Use return value of
6932         `shimbun-article-expiration-days'.
6933         (elmo-folder-close-internal): Clean up last-check slot.
6934
6935         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6936         (elmo-pop3-total-size): New variable.
6937         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6938
6939         * elmo.el (elmo-folder-reserve-status-p): New method.
6940
6941         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6942         (elmo-shimbun-use-entire-index): New user option.
6943         (shimbun-elmo-mua): New class.
6944         (shimbun-mua-search-id): Define.
6945         (shimbun-mua-use-entire-index): Ditto.
6946         (elmo-shimbun-folder:last-check): New slot.
6947         (elmo-shimbun-headers-cache-header-list): Abolish.
6948         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6949         (elmo-shimbun-headers-cache-header-hash): Ditto.
6950         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6951         (elmo-shimbun-headers-cache-last-check): Ditto.
6952         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6953         (elmo-shimbun-headers-check-p): Rewrite.
6954         (elmo-shimbun-msgdb-to-headers): New function.
6955         (elmo-shimbun-get-headers): Rewrite.
6956         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6957         (elmo-folder-open-internal): Get headers only if
6958         `elmo-shimbun-headers-check-p' is non-nil.
6959         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6960         is non-nil.
6961         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6962         (elmo-quit): Removed.
6963
6964         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6965         function.
6966         (elmo-msgdb-overview-entity-set-extra): Ditto.
6967         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6968
6969         * elmo-map.el (elmo-folder-status): Don't call
6970         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6971         is non-nil.
6972
6973 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6974
6975         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6976         of `elmo-msgdb-search-internal-primitive' when condition's car is
6977         `and' or `or'.
6978
6979 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6980
6981         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6982
6983 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6984
6985         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6986         call `elmo-pipe-drain'.
6987
6988 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6989
6990         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6991         typo. (elmo-cache-folder -> elmo-mark-folder)
6992
6993 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6994
6995         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6996         `elmo-message-fetch'.
6997
6998 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6999
7000         * elmo-net.el (elmo-message-encache): Fixed typo.
7001         (elmo-message-fetch-unplugged): Changed call
7002         `elmo-message-fetch-internal' without argument `outbuf'.
7003
7004 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7005
7006         * elmo.el (elmo-message-encache): Define as generic function.
7007         (elmo-message-fetch-field): New generic function.
7008         (elmo-message-fetch-with-cache-process): Cause an error when
7009         fetch strategy is 'entire but only 'section cache is available.
7010         (toplevel): Fixed nmz folder definition.
7011
7012         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7013         (elmo-msgdb-resume-list-filename): Ditto.
7014         (elmo-queue-filename): Ditto.
7015         (elmo-enable-disconnected-operation): Changed default value to t.
7016
7017         * elmo-util.el (elmo-cache-path-section-p): New function.
7018         (elmo-file-cache-get): Use it.
7019         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7020         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7021         (elmo-dop-queue-save): Ditto.
7022
7023         * elmo-net.el (elmo-folder-status-unplugged): Call
7024         elmo-folder-status-dop.
7025         (elmo-folder-list-messages-unplugged): Implemented.
7026         (elmo-folder-delete-messages-unplugged): Define.
7027         (elmo-folder-msgdb-create): Define.
7028         (elmo-folder-msgdb-create-unplugged): Define.
7029         (elmo-folder-mark-as-read-unplugged): Ditto.
7030         (elmo-folder-unmark-read-unplugged): Ditto.
7031         (elmo-folder-mark-as-important-unplugged): Ditto.
7032         (elmo-folder-unmark-important-unplugged): Ditto.
7033         (elmo-message-encache): Ditto.
7034
7035         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7036         (elmo-dop-queue-save): Ditto.
7037
7038         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7039         `elmo-folder-msgdb-create'.
7040         (elmo-folder-append-buffer): Implemented unplugged operation.
7041         (elmo-folder-append-messages): Call parent method in unplugged status.
7042         (elmo-message-fetch-unplugged): Removed definition.
7043         (elmo-message-fetch-field): Implemented.
7044
7045         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7046         (elmo-dop-folder): Removed variable definition.
7047         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7048         (elmo-dop-queue-flush): Implemented.
7049         (elmo-dop-queue-merge): Removed definition (TODO).
7050         (elmo-dop-spool-folder): New function.
7051         (elmo-dop-spool-folder-append-buffer): Ditto.
7052         (elmo-dop-spool-folder-list-messages): Ditto.
7053         (elmo-dop-list-deleting-messages): Ditto.
7054         (elmo-folder-append-buffer-dop): Ditto.
7055         (elmo-folder-delete-messages-dop): Ditto.
7056         (elmo-message-encache-dop): New inline function.
7057         (elmo-create-folder-dop): Ditto.
7058         (elmo-folder-mark-as-read-dop): Ditto.
7059         (elmo-folder-unmark-read-dop): Ditto.
7060         (elmo-folder-mark-as-important-dop): Ditto.
7061         (elmo-folder-unmark-important-dop): Ditto.
7062         (elmo-folder-status-dop): Fixed.
7063         (elmo-folder-append-buffer-dop-delayed): New function.
7064         (elmo-folder-delete-messages-dop-delayed): Ditto.
7065         (elmo-dop-msgdb): Ditto.
7066
7067 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7068
7069         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7070
7071 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7072
7073         * elmo.el (elmo-folder-move-messages): Fixed problem when
7074         `dst-folder' is 'null.
7075
7076 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7077
7078         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7079         instead of current mark.
7080
7081         * elmo-multi.el (elmo-folder-list-importants-internal): No
7082         operation if importants is not list.
7083
7084         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7085         Return t if importants is not list.
7086
7087         * elmo-map.el (elmo-map-folder-list-importants): Define.
7088         (elmo-folder-list-importants-internal): Check return value of
7089         `elmo-map-folder-list-importants-internal'.
7090
7091         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7092
7093         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7094
7095         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7096
7097         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7098
7099 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7100
7101         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7102         (Patch is provided by <kita@coe.nttdata.co.jp>).
7103
7104 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7105
7106         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7107         mark folder.
7108
7109 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7110
7111         * elmo.el (elmo-message-fetch): Define.
7112         (elmo-message-fetch-with-cache-process): New generic method.
7113         (elmo-message-fetch-internal): New generic method.
7114         (elmo-folder-synchronize):
7115
7116         * elmo-archive.el (elmo-message-fetch-internal): Define.
7117         (elmo-message-fetch): Eliminated.
7118
7119         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7120         (elmo-message-fetch): Eliminated.
7121
7122         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7123         argument OUTBUF.
7124         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7125
7126         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7127         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7128
7129         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7130         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7131
7132         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7133
7134         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7135
7136         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7137
7138         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7139         (elmo-message-fetch-unplugged): New generic method.
7140         (elmo-message-fetch-internal): Remove cache process (Renamed from
7141         `elmo-message-fetch').
7142
7143         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7144         (elmo-message-fetch): Eliminated.
7145         (elmo-message-fetch-unplugged): Ditto.
7146
7147         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7148
7149 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7150
7151         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7152         of `to-be-deleted' from number-alist to number-list.
7153
7154 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7155
7156         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7157         (elmo-folder-mark-as-important): Ditto.
7158
7159 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7160
7161         * elmo.el (elmo-folder): Added process-duplicates slot.
7162
7163         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7164         (elmo-folder-unmark-read): Ditto.
7165         (elmo-folder-unmark-important): Ditto.
7166         (elmo-folder-mark-as-important): Ditto.
7167
7168         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7169         duplicated message processing.
7170
7171         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7172
7173 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7174
7175         * elmo-util.el (elmo-list-subdirectories-1): New function.
7176         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7177         (elmo-mapcar-list-of-list): New function.
7178
7179         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7180         `elmo-mapcar-list-of-list' instead of `mapcar'.
7181
7182         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7183
7184         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7185         `elmo-have-link-count'. Return the fully qualified folder name.
7186
7187 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7188
7189         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7190         (elmo-shimbun-headers-cache): New internal variable.
7191         (elmo-shimbun-headers-cache-header-list): New inline function.
7192         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7193         (elmo-shimbun-headers-cache-header-hash): Ditto.
7194         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7195         (elmo-shimbun-headers-cache-last-check): Ditto.
7196         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7197         (elmo-shimbun-lapse-seconds): Ditto.
7198         (elmo-shimbun-headers-cache-check-p): Ditto.
7199         (elmo-shimbun-get-headers): New function.
7200         (elmo-folder-open-internal): Call it.
7201         (elmo-quit): Define (Clear headers-cache).
7202
7203 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7204
7205         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7206
7207         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7208         (elmo-msgdb-flist-save): Ditto.
7209
7210         * elmo-shimbun.el (elmo-folder-list-subfolders):
7211         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7212         (elmo-folder-exists-p): Ditto.
7213
7214         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7215         argument for `shimbun-header-insert'.
7216
7217 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7218
7219         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7220         at first time.
7221
7222         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7223         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7224
7225 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7228         (elmo-folder-plugged-p): Define.
7229         (elmo-folder-set-plugged): Ditto.
7230         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7231         (elmo-folder-list-messages-internal): Return t if unplugged.
7232         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7233
7234         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7235         when elmo-folder-list-messages-internal method of children returns t.
7236
7237         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7238         pair is nil.
7239         (elmo-folder-open-internal): Don't update if unplugged status.
7240
7241 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7242
7243         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7244         new message.
7245
7246 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7247
7248         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7249
7250         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7251         saving.
7252
7253 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7256
7257         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7258         (elmo-folder-open-internal): Set up headers slot.
7259         (elmo-folder-check): Call elmo-folder-close-internal and
7260         elmo-folder-open-internal.
7261         (elmo-folder-close-internal): Clean up headers slot.
7262
7263 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7264
7265         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7266         exactly folder list.
7267         (elmo-folder-append-messages): Fixed append archive with prefix.
7268
7269         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7270         make temp files with start-number.
7271
7272         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7273
7274 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7275
7276         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7277         argument `visible-only'.
7278         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7279         instead of `if'.
7280
7281         * elmo-pop3.el (elmo-folder-open-internal): Check
7282         `elmo-inhibit-number-mapping' is non-nil.
7283
7284         * elmo-pipe.el (elmo-folder-status): Fixed.
7285
7286 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7287
7288         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7289
7290         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7291         (elmo-folder-open-internal): Setup `header-hash' slot.
7292         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7293         information.
7294         (elmo-map-message-fetch): Ditto.
7295
7296 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7297
7298         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7299         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7300         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7301         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7302
7303         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7304
7305 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7306
7307         * sb-airs.el: Added footer.
7308
7309         * shimbun.el (shimbun-article): Define as luna-method.
7310
7311         * sb-tcup.el: New file.
7312
7313         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7314         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7315
7316 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7317
7318         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7319         (shimbun-get-headers): Ditto.
7320
7321         * elmo.el: Moved obsolete variable definitions from
7322         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7323
7324         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7325         groups.
7326
7327         * shimbun.el: New file.
7328
7329         * elmo-shimbun.el: New file.
7330
7331         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7332         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7333         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7334         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7335
7336 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7337
7338         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7339         hierarchy is t.
7340
7341 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7342
7343         * elmo.el (elmo-folder-msgdb): Define as macro.
7344         (elmo-folder-open): Added argument `load-msgdb'.
7345         (elmo-generic-folder-open): Ditto.
7346         (elmo-folder-encache): New function.
7347
7348         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7349
7350         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7351
7352         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7353         Eliminated argument FOLDER and added argument MSGDB.
7354         (elmo-dop-queue-load): Moved from elmo-dop.el.
7355         (elmo-dop-queue-save): Ditto.
7356
7357         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7358
7359         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7360
7361         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7362         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7363         (elmo-filter-folder-list-importants-internal): Ditto.
7364
7365         * elmo-map.el (elmo-folder-pack-number): Ditto.
7366
7367         * elmo-mime.el (elmo-mime-message-display): Ditto.
7368
7369         * elmo.el (elmo-generic-folder-commit): Ditto.
7370         (elmo-folder-list-unreads): Ditto.
7371         (elmo-folder-list-importants): Ditto.
7372         (elmo-generic-folder-commit): Ditto.
7373         (elmo-message-set-mark): Ditto.
7374         (elmo-generic-folder-append-msgdb): Ditto.
7375         (elmo-folder-synchronize): Ditto.
7376         (elmo-folder-messages): Ditto.
7377         (elmo-init): Call elmo-dop-queue-load.
7378         (elmo-folder-list-messages): Ditto.
7379
7380         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7381         (elmo-nntp-folder-process-crosspost): Ditto.
7382         (elmo-folder-list-unreads-internal): Ditto.
7383
7384         * elmo-dop.el: Removed old functions.
7385
7386 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7387
7388         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7389         `folder' to `msgdb'.
7390
7391 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7392
7393         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7394         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7395
7396         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7397         case-fold-search.
7398
7399 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7400
7401         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7402         defined.
7403
7404         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7405         (mmimap-parse-parameters-from-list): Define as alias for
7406         `mime-decode-parameter-plist' if it is defined as function.
7407         (mmimap-make-mime-entity): Added argument `number'.
7408         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7409         as 0.
7410         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7411
7412         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7413
7414         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7415
7416         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7417
7418 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7419
7420         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7421
7422         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7423         when elmo-imap4-default-authenticate-type is nil.
7424         (elmo-folder-list-subfolders): Ditto
7425         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7426         (elmo-imap4-fetch-callback-1-subr): Renamed from
7427         `elmo-imap4-fetch-callback-1' and define as inline function.
7428         (elmo-imap4-fetch-callback-1):
7429         Renamed from `elmo-imap4-fetch-callback'.
7430         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7431
7432         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7433         msgdb path (To keep compatibility with main trunk).
7434
7435         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7436
7437         * elmo-util.el (elmo-make-file-cache): Moved position of
7438         some macros.
7439
7440         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7441         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7442         instead of `elmo-pop3-inhibit-uidl'.
7443         (elmo-folder-exists-p): Ditto.
7444         (elmo-pop3-folder-list-messages): Ditto.
7445
7446         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7447         instead of `elmo-pop3-inhibit-uidl'.
7448         (elmo-folder-status): Ditto.
7449
7450         * elmo-dop.el (elmo-dop-folder): New variable.
7451         (elmo-dop-lock-message): Eliminated.
7452         (elmo-dop-unlock-message): Ditto.
7453         (elmo-dop-lock-list-load): Ditto.
7454         (elmo-dop-lock-list-save): Ditto.
7455         (elmo-dop-delete-folder): Ditto.
7456         (elmo-dop-rename-folder): Ditto.
7457
7458         * elmo.el: Removed incomplete commentary.
7459
7460 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7461
7462         * elmo.el (toplevel): Require 'elmo-version first;
7463         for little `recursive-load-depth' settings.
7464         Fix "ends here" comment.
7465
7466 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7467
7468         * elmo-util.el (toplevel): Require 'poem;
7469         Some functions are moved from elmo-cache.el.
7470
7471         * elmo-net.el (toplevel): Require 'elmo-cache.
7472
7473         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7474
7475         * elmo.el (toplevel): Ditto.
7476
7477         * elmo-cache.el: Rewrite with luna;
7478         Some functions are moved to elmo-util.el.
7479
7480         * elmo-internal.el (elmo-internal-folder-list): New variable.
7481         (elmo-internal-folder-initialize): Rewrite.
7482         (elmo-folder-list-subfolders): Ditto.
7483
7484         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7485         (elmo-cache-collect-sub-directories): Ditto.
7486
7487 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7488
7489         * elmo-version.el (elmo-version): Up to 2.5.8.
7490
7491         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7492
7493         * elmo-util.el (elmo-list-insert): New function.
7494
7495 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7496
7497         * elmo.el (elmo-init): New function.
7498         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7499
7500         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7501         (Renamed from `elmo-localdir-header-chop-length').
7502
7503         * elmo-pop3.el (elmo-pop3-use-cache,
7504         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7505
7506         * elmo-nntp.el (elmo-message-fetch): Define.
7507         (elmo-message-fetch-unplugged): Ditto.
7508         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7509         (elmo-nntp-use-cache): Ditto.
7510         (elmo-nntp-max-number-precedes-list-active): Ditto.
7511
7512         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7513
7514         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7515         `elmo-msgdb-insert-file-header'.
7516         Use `elmo-msgdb-file-header-chop-length'.
7517
7518         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7519         `elmo-vars.el'.
7520
7521         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7522         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7523         `elmo-msgdb-insert-file-header'.
7524
7525         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7526         Use new variable;
7527         Define obsolete variables with `elmo-define-obsolete-variable',
7528
7529         * elmo-util.el (elmo-warning-buffer-name): New constant.
7530         (elmo-warning): New function.
7531         (elmo-obsolete-variable-alist): New variable.
7532         (elmo-obsolete-variable-show-warnings): New variable.
7533         (elmo-define-obsolete-variable): New function.
7534         (elmo-resque-obsolete-variable): Ditto.
7535         (elmo-resque-obsolete-variables): Ditto.
7536
7537 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7538
7539         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7540         Eliminated.
7541
7542         * elmo-pop3.el, elmo-nntp.el: Use custom.
7543
7544 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7545
7546         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7547         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7548
7549 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7550
7551         * Luna-fy Kenichi OKADA's following changes.
7552         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7553         `nohide'.
7554         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7555
7556 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7557
7558         * elmo-util.el (elmo-display-progress): Prefer
7559         `progress-feedback-with-label' to `lprogress-display'.
7560
7561 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7562
7563         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7564
7565 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7566
7567         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7568         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7569         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7570         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7571         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7572         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7573         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7574         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7575         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7576         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7577         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7578         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7579         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7580
7581 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7582
7583         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7584         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7585
7586 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7587
7588         * elmo.el (elmo-folder-process-crosspost): New generic method.
7589         (elmo-folder-writable-p): Ditto.
7590         (elmo-folder-message-appendable-p): Eliminated.
7591         (elmo-generic-folder-append-msgdb): Rewrite.
7592         (elmo-newsgroups-hashtb): New internal variable.
7593         (elmo-crosspost-message-set): Eliminated.
7594         (elmo-crosspost-message-delete): Ditto.
7595         (elmo-setup-subscribed-newsgroups): New function.
7596         (elmo-crosspost-message-alist-modified): New internal variable.
7597         (elmo-crosspost-message-alist-load): New function (Renamed from
7598         `wl-crosspost-alist-load').
7599         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7600         `wl-crosspost-alist-save').
7601
7602         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7603
7604         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7605         `unreads'.
7606         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7607         elmo-newsgroups-hashtb).
7608         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7609         `elmo-nntp-folder-update-crosspost-message-alist'.
7610         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7611         `elmo-nntp-groups-hashtb'.
7612         (elmo-nntp-make-groups-hashtb): Eliminated.
7613         (elmo-nntp-parse-newsgroups): New function (Renamed from
7614         `wl-parse-newsgroups').
7615         (elmo-folder-creatable-p, elmo-folder-writable-p,
7616         elmo-folder-close-internal, elmo-folder-mark-as-read,
7617         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7618         Define.
7619         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7620
7621         * elmo-net.el (elmo-message-fetch): Check buffer size.
7622
7623         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7624
7625         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7626
7627         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7628         before `close' command.
7629
7630         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7631         `mark-alist' (All other related portions are changed).
7632
7633 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7634
7635         * elmo-util.el (elmo-create-hash-size): Eliminated.
7636         (elmo-make-hash) Make a hash with `one less than a power of two'
7637         length.
7638
7639         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7640         (elmo-hash-maximum-size): Changed value.
7641
7642 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7643
7644         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7645         (elmo-mime-message-display-as-is): Ditto.
7646
7647 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7648
7649         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7650         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7651
7652 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7653
7654         * elmo-mark.el: New file.
7655
7656         * elmo-internal.el: Rewrite (Almost empty).
7657
7658 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7659
7660         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7661         (mime-imap-entity-header-string): Ditto.
7662         (mmimap-entity-section): Rewrite.
7663
7664 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7665
7666         * elmo-nmz.el: New file.
7667
7668         * elmo-pipe.el: Rewrite with luna.
7669
7670 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7671
7672         * elmo-archive.el: Rewrite with luna.
7673
7674         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7675         (elmo-folder-list-importants-internal): Ditto.
7676
7677 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7678
7679         * elmo-archive.el (elmo-archive-version): Abolish.
7680         (toplevel) Removed `boso' comment.
7681
7682 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7683
7684         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7685         elmo-msgdb-add-msgs-to-seen-list-subr;
7686         Changed argument seen-marks to unread-marks.
7687
7688         * elmo-nntp.el: Rewrite with luna.
7689
7690 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7691
7692         * elmo-filter.el: Rewrite with luna.
7693
7694 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7695
7696         * elmo-pop3.el: Rewrite with luna.
7697
7698 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7699
7700         * elmo-multi.el: Rewrite with luna.
7701
7702         * elmo-vars.el (elmo-use-killed-list): Abolish.
7703         All other related portions are changed.
7704         (elmo-filename-replace-string-alist): Renamed from
7705         elmo-msgid-replace-string-alist.
7706
7707 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7708
7709         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7710
7711         * elmo-map.el: New file.
7712         * elmo-maildir.el: Rewrite with luna.
7713
7714 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7715
7716         * elmo.el: Changed meaning of `elmo-folder-commit'.
7717         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7718
7719 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7720
7721         * elmo.el (elmo-folder-append-buffer): New function.
7722         (Renamed from `elmo-append-msg')
7723
7724 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * elmo-mime.el: New file.
7727
7728 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7729
7730         * elmo-cache.el: Rewrite.
7731
7732 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7733
7734         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7735
7736 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7737
7738         * elmo-vars.el (elmo): New group.
7739         (elmo-strict-diff-folder-regexp): New variable.
7740
7741         * elmo-util.el (elmo-call-func): Abolish.
7742         (elmo-folder-get-type): Ditto.
7743         (elmo-*-get-spec): Ditto.
7744         (elmo-*-spec-*): Ditto.
7745         (elmo-imap4-identical-name-space-p): Ditto.
7746         (elmo-folder-identical-system-p): Ditto.
7747         (elmo-folder-direct-copy-alist): Ditto.
7748         (elmo-folder-direct-copy-p): Ditto.
7749
7750         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7751         (elmo-folder-initialize): Define.
7752         (elmo-folder-get-primitive-list): Ditto.
7753
7754         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7755         (elmo-folder-initialize): Define.
7756         Renamed `elmo-network-session-host-internal' to
7757         `elmo-network-session-server-internal'.
7758
7759         * elmo-multi.el (elmo-multi-folder): New luna class.
7760         (elmo-folder-initialize): Define.
7761         (elmo-folder-get-primitive-list): Ditto.
7762         (elmo-folder-contains-type): Ditto.
7763         (elmo-message-use-cache-p): Ditto.
7764
7765         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7766         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7767
7768         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7769         (elmo-folder-initialize): Define.
7770
7771         * elmo-filter.el (elmo-filter-folder): New luna class.
7772         (elmo-folder-initialize): Define.
7773         (elmo-folder-get-primitive-list): Ditto.
7774         (elmo-folder-contains-type): Ditto.
7775
7776 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7777
7778         * elmo-imap4.el: Rewrite with luna.
7779
7780         * mmimap.el: New file.
7781
7782         * mmelmo.el, mmelmo-imap4.el: Removed.
7783
7784         * elmo-net.el: Ditto.
7785
7786         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7787         (elmo-folder-initialize): Define.
7788
7789         * elmo-archive.el (elmo-archive-folder): New luna class.
7790         (elmo-folder-initialize): Define.
7791
7792         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7793         `elmo-folder-msgdb-path'.
7794         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7795         `elmo-make-folder'.
7796
7797 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7798
7799         * elmo.el: New file.
7800
7801         * elmo2.el: Renamed to elmo.el.
7802
7803 \f
7804 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7805
7806         * elmo-cache.el (elmo-cache-expire-by-size): Count
7807         a disk usage for a cache file entry in KB even when
7808         its kind is a directory.
7809
7810 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7811
7812         * elmo-version.el (elmo-version): Up to 2.5.7.
7813
7814 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7815
7816         * elmo-version.el (elmo-version): Up to 2.5.6.
7817
7818 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7819
7820         * elmo-version.el (elmo-version): Up to 2.5.5.
7821
7822 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7823
7824         * elmo-imap4.el (elmo-network-authenticate-session):
7825         Fixed a logic for response checking.
7826
7827 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7828
7829         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7830         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7831         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7832         `sasl-mechanisms'.
7833
7834         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7835         for `starttls-open-stream' and `starttls-negotiate'.
7836
7837         * elmo-nntp.el: Remove autoload settings for
7838         `starttls-open-stream' and `starttls-negotiate'.
7839
7840         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7841         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7842         `luna-define-class' with `eval-and-compile'.
7843
7844 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7845
7846         * elmo-util.el (elmo-read-search-condition-internal):
7847         Require an element of table for searching field.
7848
7849 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7850
7851         * elmo-version.el (elmo-version): Up to 2.5.4.
7852
7853 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7854
7855         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7856
7857 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7858
7859         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7860
7861 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7862
7863         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7864         before greeting.
7865
7866 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7867
7868         * elmo-imap4.el (elmo-imap4-delete-folder):
7869         Send "close" before "delete" (Use commented out line).
7870         (elmo-imap4-rename-folder): Ditto.
7871
7872         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7873         folder string itself.
7874         (elmo-dop-list-deleted): New function.
7875         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7876         killed.
7877
7878         * elmo-util.el (elmo-string-rassoc-all): New function.
7879
7880 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7881
7882         * elmo-version.el (elmo-version): Up to 2.5.3.
7883
7884         * elmo-net.el (elmo-network-get-session): Changed logic for
7885         checking process status.
7886
7887         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7888         process is nil;
7889         Changed logic for checking process status.
7890
7891 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7892
7893         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7894         before greeting.
7895         (elmo-network-setup-session): Set UIDL hash size according to
7896         the length of list response.
7897         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7898         according to the length of list response;
7899         Return the length of list response.
7900         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7901
7902 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7903
7904         * elmo-imap4.el (toplevel): Require 'ssl.
7905         Add autoload 'starttls.
7906         * elmo-pop3.el (toplevel): Ditto.
7907         * elmo-nntp.el (toplevel): Ditto.
7908
7909 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7910
7911         * elmo-imap4.el (toplevel): defun at compile time.
7912         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7913         sasl-next-step, sasl-step-data, sasl-step-set-data.
7914         * elmo-pop3.el (toplevel): Ditto.
7915
7916 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7917
7918         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7919
7920 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7921
7922         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7923         if error.
7924         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7925         and `elmo-pop-auth-apop'.
7926
7927 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7928
7929         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7930
7931 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7932
7933         * elmo-pop3.el (elmo-network-authenticate-session): Split
7934         encoded response value.
7935
7936 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7937
7938         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7939         `elmo-pop3-force-login'.
7940         Redefine `sasl-mechanisms'.
7941         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7942
7943 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7944
7945         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7946         Delete `elmo-imap4-authenticator-alist'.
7947         (elmo-imap4-auth-cram-md5): Delete.
7948         (elmo-imap4-auth-digest-md5): Delete.
7949
7950 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7951
7952         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7953         (elmo-pop3-auth-scram-md5): Ditto.
7954         (elmo-pop3-auth-cram-md5): Ditto.
7955
7956 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7957
7958         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7959         Delete `elmo-pop3-authenticator-alist'.
7960
7961 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7962
7963         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7964         new SASL API.
7965         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7966
7967 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7968
7969         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7970
7971 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7972
7973         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7974         Fixed problem when `elmo-pop3-use-uidl' is nil.
7975         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7976
7977 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7978
7979         * elmo-version.el (elmo-version): Up to 2.5.2.
7980
7981 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7982
7983         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7984         New function.
7985         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7986         (elmo-pop3-msgdb-create-as-numlist): Use it.
7987
7988         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7989         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7990
7991         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7992         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7993
7994 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7995
7996         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7997         when elmo-mark-as-read is called with second argument nil.
7998
7999 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8000
8001         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8002         Moved to elmo-util.el.
8003
8004         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8005         Moved from elmo-pipe.el
8006
8007         * elmo-archive.el (elmo-archive-call-process): Enclose with
8008         static-if.
8009
8010         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8011         "RFC822" (because RFC822.PEEK is obsolete).
8012         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8013
8014 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8015
8016         * elmo-archive.el (elmo-archive-call-process): Don't check for
8017         the exit status when Nemacs is running.
8018
8019 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8020
8021         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8022         'plain.
8023
8024         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8025         (elmo-pop3-get-spec): Set default of auth to 'user.
8026
8027         * elmo-imap4.el (elmo-imap4-session-check):
8028         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8029         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8030         (elmo-imap4-auth-login): New function; Revival.
8031         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8032         `elmo-imap4-auth-login'.
8033
8034 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8035
8036         * elmo2.el (toplevel): Move `product-provide' declare.
8037         * mmelmo.el (toplevel): Ditto.
8038
8039 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8040
8041         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8042
8043 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8044
8045         * elmo-util.el (elmo-folder-get-store-type): New function.
8046         (elmo-folder-direct-copy-p): Use it.
8047
8048 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8049
8050         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8051         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8052         and result of `elmo-imap4-use-flag-p'.
8053         (elmo-imap4-fetch-callback-1): Set mark according to
8054         the result of `elmo-imap4-use-flag-p'.
8055
8056 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8057
8058         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8059         (elmo-generic-list-folder-unread): Ditto.
8060         (elmo-folder-get-info): Ditto.
8061         (elmo-folder-set-info-max-by-numdb): Ditto.
8062         (elmo-folder-get-info-max): Ditto.
8063         (elmo-folder-get-info-length): Ditto.
8064         (elmo-folder-get-info-unread): Ditto.
8065         (elmo-folder-info-make-hashtb): Ditto.
8066
8067         * elmo2.el: Removed above functions.
8068
8069 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8070
8071         * elmo-imap4.el (toplevel): Require 'ssl.
8072         Add autoload 'starttls.
8073         * elmo-pop3.el (toplevel): Ditto.
8074         * elmo-nntp.el (toplevel): Ditto.
8075
8076 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8077
8078         * elmo-imap4.el (toplevel): defun at compile time.
8079         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8080         sasl-next-step, sasl-step-data, sasl-step-set-data.
8081         * elmo-pop3.el (toplevel): Ditto.
8082
8083 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8084
8085         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8086
8087 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8088
8089         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8090         if error.
8091         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8092         and `elmo-pop-auth-apop'.
8093
8094 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8095
8096         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8097
8098 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8099
8100         * elmo-pop3.el (elmo-network-authenticate-session): Split
8101         encoded response value.
8102
8103 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8104
8105         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8106         `elmo-pop3-force-login'.
8107         Redefine `sasl-mechanisms'.
8108         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8109
8110 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8111
8112         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8113         Delete `elmo-imap4-authenticator-alist'.
8114         (elmo-imap4-auth-cram-md5): Delete.
8115         (elmo-imap4-auth-digest-md5): Delete.
8116
8117 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8118
8119         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8120         (elmo-pop3-auth-scram-md5): Ditto.
8121         (elmo-pop3-auth-cram-md5): Ditto.
8122
8123 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8124
8125         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8126         Delete `elmo-pop3-authenticator-alist'.
8127
8128 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8129
8130         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8131         new SASL API.
8132         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8133
8134 \f
8135 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8136
8137         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8138
8139 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8140
8141         * elmo-nntp.el (elmo-nntp-get-folders-info):
8142         Fixed problem when '\' character is contained in user-id.
8143         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8144
8145 \f
8146 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8147
8148         * elmo-imap4.el (elmo-imap4-delete-folder):
8149         Send "close" before "delete" (Use commented out line).
8150         (elmo-imap4-rename-folder): Ditto.
8151
8152         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8153         folder string itself.
8154         (elmo-dop-list-deleted): New function.
8155         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8156         killed.
8157
8158         * elmo-util.el (elmo-string-rassoc-all): New function.
8159
8160         * elmo-version.el (elmo-version): Up to 2.5.1.
8161
8162 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8163
8164         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8165
8166         * elmo-internal.el (elmo-internal-search): Fix last change.
8167
8168 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8169
8170         * elmo-internal.el (elmo-internal-search): Rewrite.
8171         (Fixed problem which is pointed out by Akihiro MOTOKI
8172         <motoki@da.jp.nec.com>)
8173
8174         * elmo-version.el (elmo-version): Up to 2.5.0.
8175
8176 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8177
8178         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8179
8180 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8181
8182         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8183         non-nil, make hierarchy.
8184
8185 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8186
8187         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8188         `elmo-pop3-use-uidl' must be bound to nil.
8189         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8190
8191 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8192
8193         * elmo-util.el (elmo-copy-file): Don't cause an error after
8194         `add-name-to-file' failed.
8195
8196         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8197         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8198
8199 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8200
8201         * elmo-version.el (elmo-version): Up to 2.3.93.
8202
8203 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8204
8205         * elmo-util.el (elmo-flatten): New function.
8206
8207 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8208
8209         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8210         sync Author header.
8211         * elmo-cache.el (toplevel): Ditto.
8212         * elmo-database.el (toplevel): Ditto.
8213         * elmo-date.el (toplevel): Ditto.
8214         * elmo-dop.el (toplevel): Ditto.
8215         * elmo-filter.el (toplevel): Ditto.
8216         * elmo-imap4.el (toplevel): Ditto.
8217         * elmo-internal.el (toplevel): Ditto.
8218         * elmo-localdir.el (toplevel): Ditto.
8219         * elmo-localnews.el (toplevel): Ditto.
8220         * elmo-maildir.el (toplevel): Ditto.
8221         * elmo-msgdb.el (toplevel): Ditto.
8222         * elmo-multi.el (toplevel): Ditto.
8223         * elmo-net.el (toplevel): Ditto.
8224         * elmo-nntp.el (toplevel): Ditto.
8225         * elmo-pipe.el (toplevel): Ditto.
8226         * elmo-pop3.el (toplevel): Ditto.
8227         * elmo-util.el (toplevel): Ditto.
8228         * elmo-vars.el (toplevel): Ditto.
8229         * elmo2.el (toplevel): Ditto.
8230         * mmelmo-imap4.el (toplevel): Ditto.
8231         * mmelmo.el (toplevel): Ditto.
8232
8233         * elmo-version.el (elmo-version): Move to top.
8234
8235         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8236         * elmo-imap4.el (toplevel): Ditto.
8237         * elmo-localdir.el (toplevel): Ditto.
8238         * elmo-msgdb.el (toplevel): Ditto.
8239         * elmo-nntp.el (toplevel): Ditto.
8240         * elmo-pop3.el (toplevel): Ditto.
8241         * elmo-version.el (toplevel): Ditto.
8242
8243         * elmo-localnews.el (toplevel): Added Keyword header.
8244
8245 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8246
8247         * elmo-version.el (product-version-as-string): Defined using
8248         `defun-maybe'.
8249         (toplevel): Use it.
8250
8251         * elmo-localdir.el (toplevel): Updated copyright notice.
8252         * elmo-version.el (toplevel): Ditto.
8253         * elmo-msgdb.el (toplevel): Ditto.
8254         * elmo-imap4.el (toplevel): Ditto.
8255         * elmo-nntp.el (toplevel): Ditto.
8256         * elmo-pop3.el (toplevel): Ditto.
8257
8258 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8259
8260         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8261         messages.
8262
8263         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8264         parameter value (It sometimes contains raw kanji).
8265
8266 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8267
8268         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8269         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8270
8271 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8272
8273         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8274
8275 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8276
8277         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8278         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8279
8280 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8281
8282         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8283         value if selecting folder succceeded.
8284         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8285
8286 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8287
8288         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8289         representation.
8290
8291         * elmo-util.el (elmo-string-matched-member): New function.
8292
8293 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8294
8295         * elmo-util.el (elmo-unintern): New macro.
8296         (elmo-number-set-member): Fixed docstring.
8297
8298         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8299         tag token.
8300
8301 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8302
8303         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8304         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8305
8306 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8307
8308         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8309         `no-error'.
8310         Added docstring.
8311         Return non-nil if selecting folder succeeded.
8312         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8313
8314 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8315
8316         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8317         `file-name-completion' returns t.
8318         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8319         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8320         directory if it does not exist.
8321         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8322         for iteration.
8323
8324 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8325
8326         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8327         enclosure (It's harmful in unplugged status).
8328
8329         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8330
8331         * mmelmo-1.el: Removed.
8332
8333         * mmelmo-2.el: Ditto.
8334
8335         * mmelmo-imap4-1.el: Ditto.
8336
8337         * mmelmo-imap4-2.el: Ditto.
8338
8339         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8340
8341         * mmelmo.el: Merged mmelmo-2.el.
8342
8343         * elmo-version.el (elmo-version): Up to 2.3.92.
8344
8345 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8346
8347         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8348         elmo-update-number): Remove last period in "...done." message.
8349         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8350         Ditto.
8351         * elmo-cache.el (elmo-cache-expire-by-size,
8352         elmo-cache-get-sorted-cache-file-list,
8353         elmo-cache-msgdb-create-as-numlist): Ditto.
8354         * elmo-dop.el (elmo-dop-save-pending-messages,
8355         (elmo-dop-flush-pending-append-operations): Ditto.
8356         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8357         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8358         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8359         (elmo-localdir-pack-number): Ditto.
8360         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8361         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8362         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8363         mime-write-entity-content): Ditto.
8364         * pldap.el (ldap-search-basic): Ditto.
8365
8366 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8367
8368         * elmo-version.el (elmo-version): Up to 2.3.91.
8369
8370         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8371         Only when filter is 'last'.
8372
8373         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8374         (elmo-condition-parse-search-value): Use it.
8375         (elmo-read-search-condition-internal): Quote value only when
8376         it is not an atom.
8377
8378 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8379
8380         * elmo2.el (elmo-generic-folder-diff): Fix.
8381
8382 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8383
8384         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8385         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8386         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8387         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8388         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8389         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8390
8391 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8392
8393         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8394         extra-fields.
8395
8396 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8397
8398         * elmo-version.el (elmo-version): Up to 2.3.90.
8399
8400         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8401         (elmo-imap4-list-folder-important): Ditto.
8402
8403 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8404
8405         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8406
8407 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8408
8409         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8410
8411 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8412
8413         * elmo-nntp.el (elmo-network-initialize-session):
8414         Add starttls negotiation.
8415
8416 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8417
8418         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8419         response.
8420         (elmo-network-setup-session): Define.
8421         Call `elmo-nntp-send-mode-reader' when session opened.
8422
8423 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8424
8425         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8426
8427 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8428
8429         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8430         an invalid SPACE character ahead of `SEARCH' command.  Move
8431         a valid SPACE character following `SEARCH' from conditional
8432         `format' arguments to control-strings.
8433
8434 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8435
8436         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8437         was succeeded.
8438
8439         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8440
8441 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8442
8443         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8444         `w32-get-true-file-link-count' as t.
8445
8446         * elmo-imap4.el (elmo-imap4-read): Abolished.
8447         (Renamed to `elmo-read' and moved to elmo-util.el)
8448         All other related portions are changed.
8449
8450         * elmo-util.el (elmo-read): New function.
8451         (elmo-condition-parse-search-value): Use it.
8452
8453 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8454
8455         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8456
8457         * elmo-nntp.el (elmo-nntp-session): Define.
8458         (elmo-nntp-setting): Abolished.
8459         All other related portions are changed.
8460         (elmo-nntp-get-server-command): Changed argument.
8461         (elmo-nntp-set-server-command): Ditto.
8462         (elmo-nntp-xover-p): Ditto.
8463         (elmo-nntp-set-xover): Ditto.
8464         (elmo-nntp-listgroup-p): Ditto.
8465         (elmo-nntp-set-listgroup): Ditto.
8466         (elmo-nntp-list-active-p): Ditto.
8467         (elmo-nntp-set-list-active): Ditto.
8468         (elmo-nntp-xhdr-p): Ditto.
8469         (elmo-nntp-set-xhdr): Ditto.
8470         (elmo-nntp-flush-connection): Abolished.
8471         (elmo-nntp-get-connection): Abolished.
8472         (elmo-nntp-get-session): New function.
8473         (elmo-network-initialize-session): Defined.
8474         (elmo-network-authenticate-session): Ditto.
8475         (elmo-nntp-send-mode-reader): Changed argument.
8476         (elmo-nntp-send-command): Changed argument.
8477         All other related portions are changed.
8478         (elmo-nntp-read-response): Ditto.
8479         (elmo-nntp-read-raw-response): Ditto.
8480         (elmo-nntp-read-contents): Ditto.
8481         (elmo-nntp-read-body): Ditto.
8482         (elmo-nntp-goto-folder): Abolished.
8483         (elmo-nntp-select-group): New function.
8484         All other related portions are changed.
8485         (This function substitutes `elmo-nntp-goto-folder')
8486         (elmo-nntp-msgdb-create-by-header): Rewrite.
8487         (elmo-nntp-get-overview): Eliminated.
8488         (elmo-nntp-get-message): Ditto.
8489         (elmo-nntp-open-connection) Abolished.
8490         (elmo-nntp-read-msg): Rewrite.
8491         (elmo-nntp-post): Ditto.
8492         (elmo-nntp-send-data): Abolished.
8493         (elmo-nntp-send-buffer): New function.
8494         (elmo-nntp-send-data-line): Define as inline function.
8495         (elmo-nntp-get-folders-info-prepare): Use session as key.
8496         (elmo-nntp-groups-read-response): Changed argument.
8497         (elmo-nntp-retrieve-headers): Ditto.
8498         (elmo-nntp-msgdb-create-message): Ditto.
8499
8500         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8501         when searching by 'since' or 'before'.
8502
8503 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8504
8505         * elmo-version.el (toplevel): Use product-version-as-string for set
8506         verstion-string, if defined.
8507
8508 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8509
8510         * elmo-util.el: Doc fixes.
8511
8512 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8513
8514         * elmo-archive.el (toplevel): Use product-provide.
8515         * elmo-cache.el (toplevel): Ditto.
8516         * elmo-database.el (toplevel): Ditto.
8517         * elmo-date.el (toplevel): Ditto.
8518         * elmo-dop.el (toplevel): Ditto.
8519         * elmo-filter.el (toplevel): Ditto.
8520         * elmo-imap4.el (toplevel): Ditto.
8521         * elmo-internal.el (toplevel): Ditto.
8522         * elmo-localdir.el (toplevel): Ditto.
8523         * elmo-localnews.el (toplevel): Ditto.
8524         * elmo-maildir.el (toplevel): Ditto.
8525         * elmo-msgdb.el (toplevel): Ditto.
8526         * elmo-multi.el (toplevel): Ditto.
8527         * elmo-net.el (toplevel): Ditto.
8528         * elmo-nntp.el (toplevel): Ditto.
8529         * elmo-pipe.el (toplevel): Ditto.
8530         * elmo-pop3.el (toplevel): Ditto.
8531         * elmo-util.el (toplevel): Ditto.
8532         * elmo-vars.el (toplevel): Ditto.
8533         * elmo2.el (toplevel): Ditto.
8534         * mmelmo-1.el (toplevel): Ditto.
8535         * mmelmo-2.el (toplevel): Ditto.
8536         * mmelmo-imap4-1.el (toplevel): Ditto.
8537         * mmelmo-imap4-2.el (toplevel): Ditto.
8538         * mmelmo-imap4.el (toplevel): Ditto.
8539         * mmelmo.el (toplevel): Ditto.
8540
8541 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8542
8543         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8544         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8545
8546 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8547
8548         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8549         before splitting.
8550         (elmo-multi-split-number-alist): Ditto.
8551
8552 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8553
8554         * elmo-version.el: New file.  Use product.el.
8555         * elmo2.el: Add (require 'elmo-version).
8556         * elmo-vars.el (elmo-appname, elmo-version): Move to
8557         elmo-version.el
8558
8559 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8560
8561         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8562         `elmo-msgdb-expand-path'.
8563         (elmo-msgdb-load): Ditto.
8564         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8565         (elmo-generic-list-folder-unread): Rewrite.
8566         (elmo-generic-list-folder-important): Changed argument.
8567         (elmo-list-folder-unread): Ditto.
8568         (elmo-list-folder-important): Ditto.
8569         (elmo-folder-diff): Rewrite.
8570         (elmo-generic-folder-diff): New function.
8571         (elmo-multi-get-number-alist-list): Abolished
8572         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8573         (elmo-multi-folder-diff): Moved to elmo-multi.el
8574         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8575
8576         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8577         `elmo-msgdb-expand-path'.
8578         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8579         (elmo-pop3-read-msg): Ditto.
8580         (elmo-pop3-delete-msgs): Ditto.
8581         (elmo-pop3-folder-diff): New alias.
8582
8583         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8584         `elmo-msgdb-expand-path'.
8585         (elmo-pipe-list-folder-unread): Changed arguments.
8586         (elmo-pipe-list-folder-important): Ditto.
8587         (elmo-pipe-folder-diff): New alias.
8588
8589         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8590         `elmo-msgdb-expand-path'.
8591         (elmo-nntp-max-of-folder): Ditto.
8592         (elmo-nntp-msgdb-create): Ditto.
8593         (elmo-nntp-delete-msgs): Ditto.
8594         (elmo-nntp-folder-diff): New alias.
8595
8596         * elmo-multi.el (elmo-multi-folder-diff): New function.
8597         (elmo-multi-split-mark-alist): Ditto.
8598         (elmo-multi-split-number-alist): Ditto.
8599         (elmo-multi-mark-alist-list): Abolished (Renamed to
8600         elmo-multi-split-mark-alist).
8601         (elmo-multi-list-folder-unread): Rewrite.
8602         (elmo-multi-list-folder-important): Ditto.
8603         (elmo-multi-list-folder): Set `spec' as 1st argument for
8604         `elmo-msgdb-expand-path'.
8605         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8606         instead of `elmo-multi-get-number-alist-list'.
8607
8608         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8609         If 1st argument is not string, treat as spec.
8610         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8611         `elmo-msgdb-expand-path'.
8612         (elmo-msgdb-flist-load): Ditto.
8613         (elmo-msgdb-flist-save): Ditto.
8614         (elmo-msgdb-delete-path): Ditto.
8615         (elmo-msgdb-rename-path): Ditto.
8616
8617         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8618         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8619         (elmo-maildir-delete-mark-msgs): Ditto.
8620         (elmo-maildir-msgdb-create): Ditto.
8621         (elmo-maildir-read-msg): Ditto.
8622         (elmo-maildir-delete-msgs): Ditto.
8623         (elmo-maildir-list-folder-subr): Ditto.
8624         (elmo-maildir-search): Ditto.
8625         (elmo-maildir-get-msg-filename): Ditto.
8626         (elmo-maildir-pack-number): Ditto.
8627         (elmo-maildir-folder-diff): New alias.
8628
8629         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8630
8631         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8632         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8633         (elmo-localdir-folder-diff): New alias.
8634
8635         * elmo-internal.el (elmo-internal-list-folder-subr):
8636         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8637         (elmo-internal-list-folder-by-location): Ditto.
8638         (elmo-internal-msgdb-create): Ditto.
8639         (elmo-internal-delete-msgs): Ditto.
8640         (elmo-internal-read-msg): Ditto.
8641         (elmo-internal-folder-diff): New alias.
8642
8643         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8644         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8645         `elmo-msgdb-expand-path'.
8646         (elmo-imap4-list-folder-unread): Changed arguments.
8647         (elmo-imap4-list-folder-important): Ditto.
8648
8649         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8650         (elmo-filter-list-folder-important): Ditto.
8651         (elmo-filter-folder-diff): New function.
8652
8653         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8654
8655         * elmo-cache.el (elmo-cache-list-folder):
8656         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8657         (elmo-cache-copy-msgs): Ditto.
8658         (elmo-cache-folder-diff): New alias.
8659
8660         * elmo-archive.el (elmo-archive-list-folder-subr):
8661         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8662         (elmo-archive-get-archive-name): Ditto.
8663         (elmo-archive-create-file): Ditto.
8664         (elmo-archive-append-msg): Ditto.
8665         (elmo-archive-copy-msgs): Ditto.
8666         (elmo-archive-copy-msgs-froms): Ditto.
8667         (elmo-archive-get-msg-filename): Ditto.
8668         (elmo-archive-folder-diff): New alias.
8669
8670 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8671
8672         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8673         (elmo-pop3-stream-type-alist): New variable.
8674         (elmo-nntp-stream-type-alist): New variable.
8675
8676         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8677         (elmo-kill-buffer): Ditto.
8678         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8679         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8680         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8681         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8682         (elmo-imap4-get-spec): Take into account
8683         `elmo-imap4-stream-type-alist'.
8684
8685 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8686
8687         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8688         (elmo-nntp-list-folders-get-cache): Ditto.
8689
8690 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8691
8692         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8693         character before 'uid'.
8694
8695 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8696
8697         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8698
8699         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8700
8701         * elmo-util.el (elmo-number-set-member): New function.
8702         (elmo-number-set-append-list): Ditto.
8703         (elmo-number-set-append): Ditto.
8704
8705         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8706         Use `elmo-number-set-member'.
8707         (elmo-living-messages): Ditto.
8708         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8709         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8710
8711         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8712         (elmo-imap4-add-to-cont-list): Abolished.
8713         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8714         instead of elmo-imap4-add-to-cont-list.
8715
8716         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8717         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8718
8719         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8720
8721 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8722
8723         * elmo-util.el (elmo-condition-parse-search-value):
8724         Fixed date parsing.
8725
8726 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8727
8728         * elmo-util.el (elmo-condition-find-key-internal): New function.
8729         (elmo-condition-find-key): Ditto.
8730
8731         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8732         (elmo-msgdb-search-internal): Ditto.
8733         (elmo-msgdb-search): Ditto.
8734
8735 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8736
8737         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8738         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8739
8740         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8741         (elmo-nntp-search-primitive): Fixed problem when condition is
8742         'unmatch'.
8743
8744         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8745
8746         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8747         (elmo-nntp-xhdr-p): New macro.
8748         (elmo-nntp-set-xhdr): Ditto.
8749         (elmo-nntp-parse-xhdr-response): New function.
8750         (elmo-nntp-retrieve-field): Ditto.
8751         (elmo-nntp-search-primitive): Ditto.
8752         (elmo-nntp-search): Implemented.
8753
8754         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8755
8756         * elmo-archive.el (elmo-archive-search): Set all number list to
8757         `elmo-archive-field-condition-match'
8758
8759         * elmo-localdir.el (elmo-localdir-search): Likewise.
8760
8761         * elmo-maildir.el (elmo-maildir-search): Likewise.
8762
8763 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8764
8765         * elmo-msgdb.el (elmo-living-messages): New function.
8766         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8767         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8768         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8769         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8770         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8771         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8772         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8773         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8774         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8775         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8776         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8777
8778 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8779
8780         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8781
8782         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8783
8784         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8785
8786         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8787         arguments for `SEARCH' command.
8788         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8789         All other related portions are changed.
8790
8791         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8792
8793         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8794         (elmo-list-folder-unread): Rewrite.
8795         (elmo-list-folder-important): Ditto.
8796
8797         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8798         (elmo-condition-parse-error): New inline function.
8799         (elmo-read-search-condition): New function.
8800         (elmo-read-search-condition-internal): Ditto.
8801         (elmo-parse-search-condition): Rewrite.
8802         (elmo-condition-parse): New function.
8803         (elmo-condition-parse-or-expr): Ditto.
8804         (elmo-condition-parse-and-expr): Ditto.
8805         (elmo-condition-parse-primitive): Ditto.
8806         (elmo-condition-parse-search-value): Ditto.
8807         (elmo-buffer-field-primitive-condition-match): Ditto.
8808         (elmo-buffer-field-condition-match): Rewrite.
8809         (elmo-file-field-condition-match): Ditto.
8810
8811         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8812         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8813
8814         * elmo-internal.el (elmo-internal-search): Set `number' and
8815         `number-list' argument of `elmo-file-field-condition-match'.
8816
8817         * elmo-maildir.el (elmo-maildir-search): Ditto.
8818
8819         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8820         `msgdb' as argument instead of `mark-alist'.
8821         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8822         `overview'.
8823
8824         * elmo-multi.el: Likewise.
8825
8826         * elmo-pipe.el: Likewise.
8827
8828         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8829         (elmo-imap4-search-internal): Rewrite.
8830         (elmo-imap4-search): Ditto.
8831
8832         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8833         (elmo-filter-list-folder-unread): Ditto.
8834         (elmo-filter-list-folder-important): Ditto.
8835         (elmo-filter-search): Rewrite.
8836
8837         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8838         `number-list' argument of `elmo-file-field-condition-match'.
8839         (elmo-cache-search): Ditto.
8840
8841         * elmo-localdir.el: Likewise.
8842
8843         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8844         number-list and pass it to `elmo-buffer-field-condition-match'.
8845         (elmo-archive-field-condition-match): Pass `number-list' to
8846         `elmo-archive-field-condition-match'
8847
8848 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8849
8850         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8851         `listgroup'.
8852
8853         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8854         (elmo-folder-diff-async-callback-data): Ditto.
8855         (elmo-folder-diff-async): New function.
8856
8857         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8858         (elmo-network-session-cache-key): Use it as a prefix of the session
8859         name.
8860         (elmo-network-open-session): Ditto.
8861
8862         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8863         (elmo-imap4-status-callback-data): Ditto.
8864         (elmo-imap4-server-diff-async-callback): New variable.
8865         (elmo-imap4-server-diff-async-callback-data): Ditto.
8866         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8867         `elmo-imap4-status-callback-data'.
8868         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8869         `elmo-imap4-status-callback-data' as nil.
8870         (elmo-imap4-server-diff): Ditto.
8871         (elmo-imap4-server-diff-async-callback-1): New function.
8872         (elmo-imap4-server-diff-async): Ditto.
8873         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8874
8875 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8876
8877         * elmo-util.el (elmo-list-delete): Doc fix.
8878         (elmo-delete-lists): Abolish.
8879         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8880         instead of `elmo-delete-lists'.
8881
8882 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8883
8884         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8885         before `sort'.
8886
8887 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8888
8889         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8890         `elmo-imap4-literal-subr'.
8891         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8892         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8893
8894 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8895
8896         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8897         (elmo-archive-list-folder): Fix.
8898         (elmo-archive-max-of-folder): Fix.
8899
8900 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8901
8902         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8903          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8904         (elmo-localdir-append-msg): Ditto.
8905         (elmo-localdir-list-folder): Fix for `nonsort'.
8906         (elmo-localdir-list-folder-subr): Fix for `killed'.
8907         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8908         (elmo-maildir-list-folder-subr): Ditto.
8909         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8910         (elmo-archive-list-folder-subr): Ditto.
8911         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8912         (elmo-internal-list-folder-subr): Ditto.
8913
8914 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8915
8916         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8917
8918 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8919
8920         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8921
8922 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8923
8924         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8925         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8926
8927         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8928         before greeting.
8929         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8930         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8931
8932 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8933
8934         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8935
8936         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8937         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8938         before STORE command.
8939
8940 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8941
8942         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8943
8944         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8945         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8946         of `response'.
8947         (elmo-imap4-list-folders): Removed unused local variable.
8948         (elmo-network-initialize-session): Ditto.
8949         (elmo-imap4-delete-msg-by-id): Ditto.
8950         (elmo-imap4-parse-fetch): Ditto.
8951         (elmo-imap4-copy-msgs): Ditto.
8952         Use `dst-spec' instead of `dst-folder'.
8953         (elmo-network-authenticate-session): Check authenticate type `plain'.
8954
8955 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8956
8957         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8958         garbage checking.
8959         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8960         `elmo-imap4-response-value'.
8961         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8962
8963 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8964
8965         * elmo-imap4.el (elmo-imap4-send-command):
8966         Cause elmo-imap4-bye-error when current response is BYE.
8967         (elmo-imap4-arrival-filter): Changed greeting response value.
8968
8969         * elmo2.el (elmo-imap4-bye-error): Define.
8970
8971         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8972         (elmo-imap4-server-diff): Ditto.
8973         (elmo-imap4-response-bye-p): New macro.
8974         (elmo-imap4-response-error-text): Get text from BYE response.
8975         (elmo-imap4-read-response): Return if BYE response.
8976         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8977         (elmo-imap4-folder-exists-p): Ditto.
8978         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8979         (elmo-imap4-parse-bye): New function.
8980         (elmo-imap4-parse-response): Remove needless let.
8981         Call `elmo-imap4-parse-bye'.
8982
8983 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8984
8985         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8986         the mailbox does not exist.
8987         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8988
8989 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8990
8991         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8992
8993 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8994
8995         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8996
8997         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8998         (elmo-network-initialize-session-buffer): Defined.
8999
9000         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9001         Abolished.
9002         (mmelmo-imap4-get-mime-entity): Rewrite.
9003
9004         * elmo2.el (elmo-error): Capitalize error message.
9005
9006         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9007         (elmo-network-session-buffer): New macro.
9008         (elmo-network-open-session): Use it.
9009
9010         * elmo-imap4.el: Rewrite.
9011
9012 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9013
9014         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9015
9016 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9017
9018         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9019         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9020         (elmo-imap4-create-msgdb-from-overview-string): Use
9021         `elmo-msgdb-create-overview-from-buffer'.
9022
9023 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9024
9025         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9026         (elmo-imap4-default-hierarchy-delimiter): New variable.
9027         (elmo-imap4-list-folders): Use it.
9028
9029 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9030
9031         * elmo-net.el (elmo-network-open-session): Add user and
9032         stream-type for process-buffer name.
9033
9034         * elmo-pop3.el (elmo-network-initialize-session): Call
9035         buffer-disable-undo.
9036
9037         * elmo-imap4.el (elmo-network-initialize-session):
9038         Set current-buffer as an argument for `buffer-disable-undo'.
9039
9040         * elmo-pop3.el (elmo-network-close-session): Don't use
9041         `process-live-p'.
9042
9043         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9044         Set default as 'user.
9045
9046         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9047
9048         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9049         and `elmo-imap4-flush-connection'.
9050
9051         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9052         (elmo-pop3-get-spec): Assume auth as symbol.
9053         (elmo-open-network-stream): Moved to `elmo-net'.
9054
9055         * elmo-pop3.el (toplevel): Require 'elmo-net.
9056         Define `sasl-cram-md5' to silence byte compilier.
9057         (elmo-pop3-connection-cache) Abolished.
9058         (elmo-pop3-authenticator-alist) New variable.
9059         (elmo-pop3-session): Define.
9060         (elmo-pop3-connection-get-process): Abolished.
9061         (elmo-pop3-connection-get-buffer): Ditto.
9062         (elmo-pop3-close-connection): Ditto.
9063         (elmo-pop3-flush-connection): Ditto.
9064         (elmo-pop3-get-connection): Ditto.
9065         (elmo-pop3-get-session): New function.
9066         (Replacement for `elmo-pop3-get-connection').
9067         All other related modules are changed.
9068         (elmo-network-close-session): Define.
9069         (elmo-pop3-send-command): Abolished argument `buffer'.
9070         All other related modules are changed.
9071         (elmo-pop3-read-response): Likewise.
9072         (elmo-pop3-open-connection): Abolished.
9073         (elmo-pop3-auth-user): New function.
9074         (elmo-pop3-auth-apop): Ditto.
9075         (elmo-pop3-auth-cram-md5): Ditto.
9076         (elmo-pop3-auth-scram-md5): Ditto.
9077         (elmo-pop3-auth-digest-md5): Ditto.
9078         (elmo-network-initialize-session): Define.
9079         (elmo-network-authenticate-session): Ditto.
9080         (elmo-network-setup-session): Ditto.
9081
9082         * elmo-imap4.el (toplevel): Require 'elmo-net.
9083         (elmo-imap4-session): Define.
9084         (elmo-imap4-connection-cache): Abolished.
9085         (elmo-imap4-password-key): Ditto.
9086         (elmo-imap4-flush-connection): Ditto.
9087         (elmo-imap4-get-connection): Ditto.
9088         All other related modules are changed.
9089         (elmo-imap4-get-session): New function
9090         (Replacement for `elmo-imap4-get-connection').
9091         (elmo-imap4-read-response): Abolished argument `buffer'.
9092         All other related modules are changed.
9093         (elmo-imap4-send-command): Likewise.
9094         (elmo-imap4-select-folder): Abolished.
9095         All other related modules are changed.
9096         (elmo-imap4-select-mailbox): New function.
9097         (Replacement for `elmo-imap4-select-folder').
9098         (elmo-imap4-auth-login): Simplify.
9099         (Assume current buffer as process buffer)
9100         (elmo-imap4-auth-cram-md5): Ditto.
9101         (elmo-imap4-auth-digest-md5): Ditto.
9102         (elmo-imap4-login): Ditto.
9103         (elmo-imap4-open-connection): Abolished.
9104         (elmo-imap4-open-connection-1): Abolished.
9105         (elmo-network-initialize-sessoin): Define.
9106         (elmo-network-authenticate-session): Ditto.
9107         (elmo-network-setup-session): Ditto.
9108
9109         * elmo-net.el: New module.
9110
9111 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9112
9113         * elmo-util.el (elmo-define-error): New function.
9114
9115         * elmo2.el (elmo-error): Define.
9116         (elmo-open-error): Define.
9117         (elmo-authenticate-error): Define.
9118
9119         * elmo-imap4.el (elmo-imap4-error): Abolish.
9120         (elmo-imap4-error-type): Abolish.
9121         (elmo-imap4-error-process): Abolish.
9122         (elmo-imap4-error-message): Abolish
9123         (elmo-imap4-list-folders): Don't quote lambda.
9124         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9125         (elmo-imap4-parse-namespace): Ditto.
9126         (elmo-imap4-open-connection): Rewrite.
9127         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9128         (elmo-imap4-get-connection): Abolish local variable `result'.
9129
9130 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9131
9132         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9133         wrong-type-argument error when auth is nil.
9134
9135 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9136
9137         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9138         (elmo-default-nntp-stream-type): Ditto.
9139         (elmo-default-pop3-stream-type): Ditto.
9140         (elmo-network-stream-type-alist): Ditto.
9141         (elmo-default-imap4-ssl): Abolished.
9142         (elmo-default-nntp-ssl): Ditto.
9143         (elmo-default-pop3-ssl): Ditto.
9144
9145         * elmo-util.el: (toplevel): Removed needless requires.
9146         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9147         (elmo-open-network-stream): Open network stream according to
9148         the value of `elmo-network-stream-type-alist'.
9149         (elmo-get-network-stream-type): New function.
9150         (elmo-network-stream-type-spec-string): New macro.
9151         (elmo-network-stream-type-symbol): Ditto.
9152         (elmo-network-stream-type-function): Ditto.
9153
9154         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9155         network-stream-type. All other related portions are changed.
9156         (elmo-pop3-open-connection): Ditto.
9157
9158         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9159         network-stream-type. All other related portions are changed.
9160
9161         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9162         network-stream-type.All other related portions are changed.
9163         (elmo-imap4-error): New macro.
9164         (elmo-imap4-error-type): Ditto.
9165         (elmo-imap4-error-process): Ditto.
9166         (elmo-imap4-error-message): Ditto.
9167         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9168         (elmo-imap4-auth-cram-md5): Ditto.
9169         (elmo-imap4-auth-digest-md5): Ditto.
9170         (elmo-imap4-login): Ditto.
9171         (elmo-imap4-open-connection): Remove password entry if authentication
9172         was in vain.
9173         (elmo-imap4-user-at-host): Abolished.
9174         (elmo-imap4-password-key): New buffer local variable.
9175         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9176         using protocol, port, auth and stream-type.
9177
9178         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9179
9180 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9181
9182         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9183
9184         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9185
9186         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9187         (elmo-imap4-authenticator-alist): New variable.
9188         (elmo-imap4-open-connection-1): Rename from
9189         elmo-imap4-open-connection.
9190         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9191         only wraps elmo-imap4-open-connection-1.
9192         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9193         user-at-host.
9194         (elmo-imap4-auth-login): New function.
9195         (elmo-imap4-auth-cram-md5): New function.
9196         (elmo-imap4-auth-digest-md5): New function.
9197         (elmo-imap4-login): New function.
9198
9199 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9200
9201         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9202         function `error'.
9203
9204 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9205
9206         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9207
9208 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9209
9210         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9211
9212 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9213
9214         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9215         for server responses, quote `*' regardless of where it appears.
9216
9217 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9218
9219         * elmo-maildir.el (elmo-maildir-commit): New alias.
9220
9221 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9222
9223         * elmo-util.el (elmo-display-progress):
9224                 Use `progress-feedback-with-label'.
9225
9226 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9227
9228         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9229         (elmo-imap4-non-atom-char-regex): Ditto.
9230         (elmo-imap4-non-text-char-regex): Ditto.
9231         (elmo-imap4-literal-threshold): Ditto.
9232         (elmo-imap4-atom-p): New function.
9233         (elmo-imap4-quotable-p): Ditto.
9234         (elmo-imap4-nil): Ditto.
9235         (elmo-imap4-atom): Ditto.
9236         (elmo-imap4-quoted): Ditto.
9237         (elmo-imap4-literal-subr): Ditto.
9238         (elmo-imap4-literal): Ditto.
9239         (elmo-imap4-buffer-literal): Ditto.
9240         (elmo-imap4-string-subr): Ditto.
9241         (elmo-imap4-string): Ditto.
9242         (elmo-imap4-buffer-string): Ditto.
9243         (elmo-imap4-astring-subr): Ditto.
9244         (elmo-imap4-astring): Ditto.
9245         (elmo-imap4-buffer-astring): Ditto.
9246         (elmo-imap4-nstring): Ditto.
9247         (elmo-imap4-buffer-nstring): Ditto.
9248         (elmo-imap4-mailbox): New alias.
9249         (elmo-imap4-field-body): Ditto.
9250         (elmo-imap4-userid): Ditto.
9251         (elmo-imap4-password): Ditto.
9252         (elmo-imap4-format-quoted): New function.
9253         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9254         arguments and handle "atom", "quoted" and "literal" string here.
9255         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9256         `elmo-imap4-send-command'.
9257         (elmo-imap4-folder-exists-p): Likewise.
9258         (elmo-imap4-create-folder): Likewise.
9259         (elmo-imap4-delete-folder): Likewise.
9260         (elmo-imap4-rename-folder): Likewise.
9261         (elmo-imap4-max-of-folder): Likewise.
9262         (elmo-imap4-check-validity): Likewise.
9263         (elmo-imap4-sync-validity): Likewise.
9264         (elmo-imap4-server-diff): Likewise.
9265         (elmo-imap4-select-folder): Likewise.
9266         (elmo-imap4-copy-msgs): Likewise.
9267         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9268         (elmo-imap4-mark-set-on-msgs): Likewise.
9269         (elmo-imap4-read-part): Likewise.
9270         (elmo-imap4-read-msg): Likewise.
9271         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9272         `elmo-imap4-password' for `elmo-imap4-send-command'.
9273         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9274         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9275         `elmo-imap4-buffer-literal'.
9276         (elmo-imap4-append-msg): Likewise.
9277
9278         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9279         `delete' for removing dead connection from the connection cache.
9280         Move deletion of the process buffer after that.
9281         (elmo-imap4-list): Change `defsubst' to `defun'.
9282         (elmo-imap4-commit): Make error message verbose.
9283         (elmo-imap4-search): Ditto.
9284         (elmo-imap4-list): Ditto.
9285         (elmo-imap4-select-folder): Ditto.
9286         (elmo-imap4-copy-msgs): Ditto.
9287         (elmo-imap4-delete-msg-by-id): Ditto.
9288         (elmo-imap4-append-msg-by-id): Ditto.
9289         (elmo-imap4-append-msg): Ditto.
9290
9291 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9292
9293         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9294         when dired is used on XEmacs.
9295
9296 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9297
9298         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9299         instead of `append'.
9300         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9301         `elmo-plugged-p' directly.
9302         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9303         of `elmo-plugged-p' directly.
9304
9305         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9306         Eliminate unused variable.  Use `memq' for checking a process status.
9307         Use `cons' instead of `append' for updating the connection cache.
9308         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9309         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9310
9311 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9312
9313         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9314         `elmo-imap4-read-point' exactly.
9315
9316         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9317         the local variable `folder' to `mailbox'.
9318         Rename the argument `fld' to `folder'.
9319
9320 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9321
9322         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9323         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9324
9325 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9326
9327         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9328         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9329         (elmo-pop3-uidl-number-hash): Ditto.
9330         (elmo-pop3-size-hash): Ditto.
9331         (elmo-pop3-uidl-done): Ditto.
9332         (elmo-pop3-list-done): Ditto.
9333         (elmo-pop3-connection-get-process): New defmacro.
9334         (elmo-pop3-connection-get-buffer): Ditto.
9335         (elmo-pop3-close-connection): Delete buffer and process.
9336         (elmo-pop3-flush-connection): Don't delete buffer and process.
9337         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9338         Setup UIDL and size hash.
9339         (elmo-pop3-send-command-no-erase): Deleted
9340         (elmo-pop3-send-command): Added optional argument `no-erase'.
9341         (elmo-pop3-parse-uidl-response): New function.
9342         (elmo-pop3-parse-list-response): Set size hash.
9343         (elmo-pop3-list-location): New function.
9344         (elmo-pop3-list-by-uidl-subr): Ditto.
9345         (elmo-pop3-list-by-list): Ditto.
9346         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9347         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9348         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9349         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9350         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9351         Use uidl.
9352         (elmo-pop3-uidl-to-number): New function.
9353         (elmo-pop3-number-to-uidl): Ditto.
9354         (elmo-pop3-number-to-size): Ditto.
9355         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9356         Set number by use of uidl.
9357         (elmo-pop3-msgdb-create-message): Likewise.
9358         Set size, loc-alist in msgdb.
9359         (elmo-pop3-read-msg): Set number by use of uidl.
9360         Added optional argument `msgdb'.
9361         (elmo-pop3-delete-msg): Ditto.
9362         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9363         (elmo-pop3-commit): Close connection.
9364
9365         * elmo-pipe.el (elmo-pipe-max-of-folder):
9366         Bind `elmo-pop3-use-uidl' as nil.
9367         (elmo-pipe-drain): Ditto.
9368         Call `elmo-commit'.
9369
9370         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9371         (elmo-msgdb-overview-entity-set-size): New defsubst.
9372
9373 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9374
9375         * elmo-vars.el (elmo-use-killed-list): New variable
9376         (Renamed from `elmo-nntp-use-killed-list').
9377         (elmo-nntp-use-killed-list): Eliminated.
9378
9379         * elmo-msgdb.el (elmo-msgdb-expand-path):
9380         Changed expanding msgdb path for elmo-multi.
9381
9382         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9383         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9384         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9385         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9386         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9387         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9388         (toplevel): Deleted time-stamp line.
9389
9390         * elmo2.el (elmo-clear-killed ): Defined as function
9391         (Abolished defining as a backend function).
9392         All other related modules are changed.
9393
9394 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9395
9396         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9397
9398 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9399
9400         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9401
9402 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9403
9404         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9405
9406 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9407
9408         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9409         asynchronous folder check.
9410
9411         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9412
9413         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9414         `elmo-nntp-use-killed-list'.
9415         (elmo-nntp-list-folder): Use killed list.
9416         (elmo-nntp-max-of-folder): Ditto.
9417         (elmo-nntp-msgdb-create): Set killed list.
9418
9419         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9420
9421         * elmo2.el (elmo-clear-killed): New backend function.
9422         All other related modules are changed.
9423
9424 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9425
9426         * elmo-util.el (elmo-imap4-spec-folder): Use
9427         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9428         All callers changed.
9429
9430 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9431
9432         * mmelmo-2.el (initialize-instance):
9433         Use `mime-buffer-entity-buffer-internal' instead of
9434         `mime-entity-buffer'.
9435
9436         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9437         (mime-entity-body): Implemented.
9438         (mime-goto-header-start-point): Deleted.
9439         (mime-goto-body-end-point): Ditto.
9440         (mime-entity-point-min): Ditto.
9441         (mime-entity-point-max): Ditto.
9442         (mime-entity-children): Ditto.
9443         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9444         instead of `mime-entity-buffer'.
9445         (mime-entity-header-buffer): Ditto.
9446         (mime-entity-body-buffer): Ditto.
9447         (mime-write-entity-content): Ditto.
9448
9449         * pldap.el (ldap-static-if): New macro.
9450         (toplevel): Use it instead of `static-if'.
9451
9452 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9453
9454         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9455         included in `attrs' argument.
9456
9457 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9458
9459         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9460
9461         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9462         (ldap-ldif-safe-init-char-regexp): Ditto.
9463         (ldap-ldif-safe-string-regexp): Ditto.
9464         (ldap/ldif-safe-string-p): New macro.
9465         (ldap/ldif-insert-field): Ditto.
9466         (ldap-modify): Use it.
9467         (ldap-add): Ditto.
9468         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9469         (ldap-decode-attribute): Decode only when `attr' is consp.
9470         (ldap-delete): Bind `ret'.
9471         (toplevel): Require 'cl at compile time.
9472         Removed (require 'poe) and (require 'std11).
9473         (pldap-version): Eliminated.
9474         (ldap-search-basic): Removed auth and dn binding.
9475         (ldap-ldif-field-name-regexp): New constant.
9476         (ldap-ldif-field-head-regexp): Ditto.
9477         (ldap-ldif-next-field-head-regexp): Ditto.
9478         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9479         (ldap/field-end): New function.
9480         (ldap/field-body): Use it.
9481         (ldap/collect-field): Ditto.
9482         (ldap-search-basic): Use `ldap/field-body'.
9483
9484 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9485
9486         * pldap.el (ldap-default-attribute-encoder): New user option.
9487         (ldap/field-body): Decode base64 string.
9488         (ldap/collect-field): Ditto.
9489         (ldap-encode-attribute): New function.
9490         (ldap-add-entries): Use it.
9491         (ldap-modify-entries): Ditto.
9492         (ldap-search-entries): Enclosed decoding function with
9493         `with-temp-buffer' and set as unibyte.
9494         (ldap-search-basic): Set process buffer as unibyte.
9495
9496         * elmo-util.el (elmo-folder-identical-system-p):
9497         Eliminated name space checking.
9498
9499         * pldap.el: New module.
9500         toplevel: Changed condition to detect built-in ldap feature.
9501         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9502         (ldap-add): Added error handling.
9503         (ldap-modify): Ditto.
9504         (ldap-delete): Ditto.
9505
9506 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9507
9508         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9509         Initialize local variables with `let'.  Inline a temporary
9510         variable for the progress percentage.  Sort `setq' to reduce
9511         function call in the while-loop.
9512
9513         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9514         into the conditional branch.
9515
9516 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9517
9518         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9519         Move a conditional out of the while-loop.
9520
9521 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9522
9523         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9524         elmo-msgdb-overview-get-entity-by-number.
9525         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9526         throw.
9527
9528 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9529
9530         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9531         the local variable for a packed number self descriptively.
9532
9533 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9534
9535         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9536         * elmo-localdir.el (elmo-localdir-pack-number): Use
9537         `elmo-msgdb-overview-get-entity' instead of
9538         `elmo-msgdb-overview-get-entity-by-number'.
9539         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9540         (elmo-msgdb-search-overview-entity): Removed.
9541         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9542         by message-id or number.
9543         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9544         instead of `elmo-msgdb-overview-get-entity-by-number'.
9545
9546 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9547
9548         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9549         non-nil, use hash table for overview.
9550         (elmo-hash-maximum-size): New variable.
9551         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9552         (elmo-msgdb-make-overview-hashtb): New function.
9553         (elmo-msgdb-clear-overview-hashtb): New function.
9554         (elmo-clear-hash-val): New macro.
9555         All other related modules are changed.
9556
9557 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9558
9559         * elmo2.el (elmo-move-msgs): If there's other message with
9560         same message-id, don't use cache.
9561
9562 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9563
9564         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9565         number is already packed.
9566
9567 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9568
9569         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9570
9571 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9572
9573         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9574         All other related modules are changed.
9575
9576 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9577
9578         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9579         of refiling failure on Maildir.
9580
9581 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9582
9583         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9584         decoded mime-charset with cache.
9585         (elmo-msgdb-overview-entity-get-from): Ditto.
9586         (elmo-msgdb-overview-entity-get-subject): Ditto.
9587         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9588
9589 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9590
9591         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9592         (elmo-remove-passwd): Fill password with 0 before erase.
9593         * elmo-vars.el (elmo-passwd-life-time): New variable.
9594
9595 \f
9596 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9597
9598         * elmo-cache.el (elmo-buffer-cache-add):
9599         Set message cache buffer as unibyte.
9600
9601 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9602
9603         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9604         become nil.
9605
9606 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9607
9608         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9609         when display is finished.
9610         (elmo-nntp-msgdb-create): Ditto.
9611         (elmo-nntp-groups-read-response): Ditto.
9612         (elmo-nntp-retrieve-headers): Ditto.
9613         (elmo-nntp-msgdb-create-message): Ditto.
9614         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9615         (elmo-pop3-msgdb-create-message): Ditto.
9616
9617 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9618
9619         * elmo-maildir.el (elmo-maildir-msgdb-create):
9620         Use `elmo-msgdb-sort-by-date'.
9621
9622 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9623
9624         * elmo2.el (elmo-read-msg-no-cache):
9625         Eliminated arguments after `outbuf'.
9626         Don't use cache even if it exists.
9627         (elmo-read-msg): Don't pass arguments after `outbuf' to
9628         `elmo-read-msg-no-cache'.
9629
9630 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9631
9632         * elmo-archive.el (elmo-archive-list-folders):
9633         Use `file-name-directory' if base folder does not exist.
9634
9635 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9636
9637         * elmo-archive.el (elmo-archive-list-folders): Don't use
9638         `file-name-directory'.
9639
9640 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9641
9642         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9643         If `force' is non-nil, try flushing all operation queues.
9644
9645 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9646
9647         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9648         as-binary-process.
9649
9650 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9651
9652         * elmo-util.el (elmo-display-progress): Fixed.
9653
9654 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9655
9656         * elmo-util.el (elmo-display-progress): New function.
9657         All other related modules are changed.