* wl/wl-summary.el (wl-summary-mode): Check with fboundp before calling `make-local...
[elisp/wanderlust.git] / elmo / ChangeLog
1 2010-10-14  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
4         return state of child folders.
5
6 2010-10-13  David Maus  <dmaus@ictsoc.de>
7
8         * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
9         set to nil if one of the child folders is not open.
10         (elmo-folder-open-internal): Open child folders only if they are
11         not opened yet.
12
13 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
14
15         * elmo-imap4.el: Remove trailing whitespace.
16
17         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
18         `elmo-bind-directory' indent.
19
20         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
21         cosmetic fix).
22
23 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
24
25         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
26         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
27         (elmo-string-to-list, elmo-list-to-string): Ditto.
28
29 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
30
31         * elmo-archive.el (elmo-archive-field-condition-match)
32         (elmo-archive-suffix-alist)
33         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
34         (elmo-archive-folder-message-make-temp-files)
35         (elmo-archive-append-files)
36         (elmo-archive-field-condition-match): Fix indent.
37
38         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
39         Avoid `args-out-of-range 0, 1' error.
40
41 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
42
43         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
44         (delete-backward-char X) that deletes region in Emacs 24.
45         See delete-active-region described in NEWS.
46         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
47         * elmo-util.el (elmo-get-file-string): Ditto.
48         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
49
50 2010-08-09  David Maus  <dmaus@ictsoc.de>
51
52         * elmo.el (elmo-folder-open-internal-p): New luna method.
53         (elmo-folder-move-messages): Open source folder only if necessary.
54         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
55         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
56         * elmo-map.el (elmo-folder-open-internal-p): Dto.
57         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
58
59 2010-08-01  David Maus  <dmaus@ictsoc.de>
60
61         * elmo.el (elmo-folder-move-messages): Open source folder before
62         moving messages.
63
64 2010-04-15  David Maus  <dmaus@ictsoc.de>
65
66         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
67         imap user name.
68
69 2010-04-14  David Maus  <dmaus@ictsoc.de>
70
71         * elmo-imap4.el (elmo-imap4-disabled-extension): New
72         variable. List of server extensions that are disabled on the
73         client side.
74         (elmo-imap4-session-capable-p): Honour list of disabled
75         extensions.
76
77 2010-03-17  David Maus  <dmaus@ictsoc.de>
78
79         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
80         (elmo-imap4-search-internal-primitive): Pass filter type to imap
81         search when performing search for flagged messages.
82
83 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
84
85         * modb-standard.el (modb-standard-save-entity): Use
86         `modb-standard-cleanup-stale-entities' to clean up stale entity
87         files in modb cache.
88         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
89         capabilities after login.
90
91 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
92
93         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
94         indent (only cosmetic fix).
95
96 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
97
98         * elmo-version.el (elmo-version): Up to 2.15.9.
99
100         * elmo-imap4.el (elmo-imap4-elist): New function
101         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
102         ESEARCH feature (RFC4731).
103         * elmo-imap4.el (toplevel): Require time-stamp
104         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
105         elmo-imap4-read-response elmo-imap4-read-untagged
106         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
107         logging format.
108         * elmo-imap4.el (elmo-folder-list-messages-plugged,
109         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
110         for full uid range on folder entering, retrieve updates only for
111         newly appeared messages.
112         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
113         elmo-imap4-read-response, elmo-imap4-read-untagged,
114         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
115         to format-time-string.
116         * elmo-vars.el (toplevel): New custom
117         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
118         flag for some buggy servers.
119         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
120
121 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
122
123         * acap.el (acap-parse-response): Fix comment-out style. Use three
124         semicolons, that should start at the left margin.
125         See. also (Info-goto-node "(elisp)Comment Tips").
126         * elmo.el (toplevel, elmo-message-match-condition)
127         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
128         Ditto.
129         * elmo-archive.el (elmo-archive-suffix-alist)
130         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
131         (elmo-archive-method-list)
132         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
133         Ditto.
134         * elmo-imap4.el (toplevel)
135         (elmo-imap4-send-command, elmo-imap4-check-validity)
136         (elmo-imap4-fetch-callback-1-subr)
137         (elmo-network-initialize-session, elmo-server-diff-async)
138         (elmo-imap4-folder-diff-plugged): Ditto
139         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
140         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
141         * elmo-net.el (elmo-network-close-session): Ditto.
142         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
143         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
144         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
145         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
146         (elmo-number-set-delete)
147         (elmo-cache-get-oldest-cache-file-entity): Ditto.
148
149 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
150
151         * elmo-version.el (elmo-version): Up to 2.15.8.
152
153         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
154         `with-current-buffer' instead of `save-excursion' (for suppress
155         compile warnings).
156
157         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
158         instead of `int-to-string'.
159         * elmo-archive.el (elmo-archive-message-fetch-internal)
160         (elmo-archive-folder-message-make-temp-files)
161         (elmo-archive-folder-append-buffer)
162         (elmo-folder-delete-messages-internal)
163         (elmo-archive-msgdb-create-entity)
164         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
165         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
166         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
167         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
168         * elmo-imap4.el (elmo-imap4-make-number-set-list)
169         (elmo-folder-list-subfolders): Ditto.
170         * elmo-localdir.el (elmo-message-file-name)
171         (elmo-folder-message-make-temp-files)
172         (elmo-localdir-msgdb-create-entity)
173         (elmo-folder-append-messages-*-localdir)
174         (elmo-folder-pack-numbers): Ditto.
175         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
176         * elmo-map.el (elmo-location-map-key): Ditto.
177         * elmo-nntp.el (elmo-nntp-folder-postfix)
178         (elmo-nntp-folder-list-subfolders)
179         (elmo-nntp-folder-msgdb-create): Ditto.
180
181         * elmo.el (elmo-crosspost-message-alist-save): Don't use
182         `function' for `lambda'.
183         * elmo-archive.el (elmo-archive-folder-list-subfolders)
184         (elmo-folder-append-messages-*-archive)
185         (elmo-folder-delete-messages-internal): Ditto.
186         * elmo-date.el (elmo-replace-in-string): Ditto.
187         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
188         (elmo-folder-list-flagged): Ditto.
189         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
190         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
191         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
192
193 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
194
195         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
196         `elmo-dop-spool-folder' was used before it was defined"; Use
197         `defun' instead.
198
199         * pldap.el (ldap/ldif-safe-string-p): macro to function.
200         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
201
202         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
203         `mapcar'; Suppress compile warning.
204         * elmo-imap4.el (elmo-network-initialize-session-buffer)
205         (elmo-imap4-search-internal-primitive): Ditto.
206         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
207         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
208
209         * elmo-imap4.el (elmo-imap4-parse-address-list)
210         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
211         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
212         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
213         `(string-to-char " ")' instead of `? ', `?\ '.
214
215 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
216
217         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
218         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
219         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
220         `function' for lambda.
221
222         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
223         `string-to-number' instead of `string-to-int'.
224
225         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
226         instead of `save-excursion' (for suppress compile warnings).
227         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
228         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
229         (elmo-nntp-post): Ditto.
230
231 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
232
233         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
234         Mule-UCS (to-utf-16).
235         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
236         Emacs 23.
237
238 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
239
240         * utf7.el (utf7-find-coding-system-without-bom): New Function.
241         (utf7-utf-16-coding-system): use no-BOM coding system.
242         (utf7-get-u16char-converter): remove workaround for BOM.
243
244 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
245
246         * elmo-util.el (elmo-union): New function, make a union of two lists.
247
248         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
249         mime-view when displaying malformed base64 attach.
250
251         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
252         (removed duplicated code)
253
254         * modb-standard.el (modb-standard-cleanup-stale-entities): New
255         function, Remove stale entities from elmo's cache.
256
257 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
258
259         * elmo-version.el (elmo-version): Up to 2.15.7.
260
261 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
262
263         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
264         default value to `--auto-update'.
265
266 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
267
268         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
269         Add `elmo-pop3-read-point' barrier.
270
271 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
272
273         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
274         goto the previous end-point insead of the head-point, and use
275         `search-forward' instead of `re-search-forward'.
276
277 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
278
279         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
280
281 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
282
283         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
284         case-insensitive fashion.
285
286 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
287
288         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
289
290 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
291
292         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
293         `eval-and-compile' for suppress compile warnings.
294
295         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
296         instead of `defun-maybe'
297
298         * elmo-util.el: Add (eval-when-compile (require 'static)).
299
300 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
301
302         * mmimap.el: Remove (require 'static).
303         * acap.el: Ditto.
304
305         * elmo-flag.el: Move ';;; Code:' comment.
306         * elmo-imap4.el: Ditto.
307         * elmo-net.el: Ditto.
308
309         * elmo-version.el (product-provide): Fix comment.
310
311 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
312
313         * slp.el: Add (eval-when-compile (require 'cl)).
314         * elmo-date.el: Ditto.
315         * elmo-pop3.el: Ditto.
316         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
317
318 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
319
320         * modb.el (elmo-msgdb-match-condition-primitive): Use
321         `string-to-number' instead of `string-to-int'.
322
323         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
324         (elmo-msgdb-message-match-condition)
325         (elmo-msgdb-create-message-entity-from-buffer): Use
326         `string-to-number' instead of `string-to-int'.
327
328         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
329         instead of `string-to-int'.
330
331         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
332         instead of `string-to-int'.
333
334         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
335         `string-to-number' instead of `string-to-int'.
336
337         * elmo-nntp.el (elmo-nntp-make-msglist)
338         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
339         (elmo-nntp-create-msgdb-from-overview-string)
340         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
341         (elmo-nntp-search-primitive): Use `string-to-number' instead of
342         `string-to-int'.
343
344         * elmo-net.el (elmo-net-folder-set-parameters): Use
345         `string-to-number' instead of `string-to-int'.
346
347         * elmo-localdir.el (elmo-localdir-list-subr): Use
348         `string-to-number' instead of `string-to-int'.
349
350         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
351         `string-to-number' instead of `string-to-int'.
352
353         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
354         instead of `string-to-int'.
355
356         * elmo-archive.el (elmo-archive-list-folder-subr): Use
357         `string-to-number' instead of `string-to-int'.
358
359 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
360
361         * elmo-util.el (elmo-get-passwd): Fix typo.
362
363         * elmo-nntp.el (elmo-nntp-get-server-command)
364         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
365         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
366         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
367         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
368
369         * elmo-imap4.el (elmo-imap4-debug)
370         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
371         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
372         (elmo-imap4-response-value, elmo-imap4-response-error-text)
373         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
374         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
375         (elmo-imap4-identical-system-p): New backquote style.
376
377 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
378
379         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
380         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
381         (elmo-dop-queue-arguments): Ditto.
382
383         * elmo-date.el (elmo-match-substring): New backquote style.
384         (elmo-match-string, elmo-match-buffer): Ditto.
385         (elmo-date-make-sortable-string): Ditto.
386
387         * elmo-archive.el (elmo-archive-get-method):New backquote style.
388         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
389
390         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
391         style.
392
393         * elmo-net.el (elmo-network-stream-type-spec-string): New
394         backquote style.
395         (elmo-network-stream-type-symbol): Ditto.
396         (elmo-network-stream-type-feature): Ditto.
397         (elmo-network-stream-type-function): Ditto.
398         (elmo-network-session-buffer): Ditto.
399
400         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
401         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
402         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
403         (elmo-bind-directory, elmo-set-work-buf): Ditto.
404
405         * elmo.el (elmo-folder-send): New backquote style.
406
407 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
408
409         * pldap.el (ldap-static-if): New backquote style.
410         (ldap/ldif-safe-string-p): Ditto.
411         (ldap/ldif-insert-field): Ditto.
412
413         * elmo-version.el (elmo-version): Up to 2.15.6.
414
415 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
416
417         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
418         messages with \Deleted flag.
419         (elmo-folder-delete-messages-plugged): Ask before sending expunge
420         command if there are messages with \Deleted flag.
421
422 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
423
424         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
425         http://seclists.org/bugtraq/2007/Apr/0018.html
426         (Suggested by Tatsuya Kinoshita)
427
428 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
429
430         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
431         with \Noselect attribute.
432
433 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
434
435         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
436         hierarchical folder structure with UW-imapd.
437
438 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
439
440         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
441         when the LOGINDISABLED capability is advertised.
442
443 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
444
445         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
446
447 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
448
449         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
450         `entity'.
451         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
452         if the message entity is exists.
453
454 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
455
456         * elmo-util.el (elmo-msgdb-insert-file-header): Call
457         `elmo-delete-cr-buffer'.
458
459         * elmo-localdir.el (elmo-message-fetch-internal): Use
460         `insert-file-contents-as-raw-text' instead of
461         `insert-file-contents-as-binary'.
462
463         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
464
465 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
466
467         * elmo-imap4.el (elmo-network-initialize-session): Check to
468         retrieve a whole greeting message.
469
470 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
473
474 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
475
476         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
477         (elmo-progress-notify): Use it instead of `plist-get'.
478
479 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
480
481         * elmo.el (elmo-generic-folder-append-messages): Remove unused
482         variable `table'.
483
484 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
485
486         * elmo-pipe.el (elmo-folder-set-plugged): Define.
487
488 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
489
490         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
491         (elmo-spam-list-spam-messages): Check it option.
492
493 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
494
495         * elmo-util.el (elmo-with-progress-display): Return the value
496         of the last form in `body'.
497
498 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
499
500         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
501         `elmo-progress-counter' as t when a query callback returns nil.
502         (elmo-progress-clear): New function.
503         (elmo-progress-done): Split into `elmo-progress-clear'.
504         (elmo-progress-notify): Update a total slot when it is nil.
505         (elmo-with-progress-display): Call `elmo-progress-clear' in
506         unwind-protect and move calling `elmo-progress-done' to outside.
507
508         * elmo-imap4.el (elmo-imap4-find-next-line): Call
509         `elmo-progress-notify' with :total parameter instead of
510         `elmo-progress-counter-set-total'.
511
512 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
513
514         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
515         Make it interactive.
516         (elmo-progress-start): Avoid updating `elmo-progress-counter'
517         when a query callback returns nil.  Return a progress counter
518         instead of t whenever a start callback was called.
519
520 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
521
522         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
523         (elmo-imap4-send-command): Use it.
524         (elmo-network-initialize-session): Ditto.
525         (elmo-network-setup-session): Ditto.
526         (elmo-folder-msgdb-create-plugged): Ditto.
527
528 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
529
530         * elmo-util.el (elmo-progress-done): Fix a miss refer to
531         `elmo-progress-counter'.
532
533 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
534
535         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
536         (elsp-bsfilter-list-spam-filter): New function.
537         (elsp-bsfilter-start-list-spam): Ditto.
538         (elsp-bsfilter-read-list-spam): Ditto.
539         (elmo-spam-list-spam-messages): Use async process to display
540         progress message by each message.
541
542 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
543
544         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
545         of flushing previously inserted message contents.
546
547         * elmo-imap4.el (elmo-folder-search): Fix return value.
548
549 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
550
551         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
552         of reporter is enable or not.
553
554 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
555
556         * elmo-util.el (elmo-list-bigger-diff): Abolish.
557         (elmo-display-progress): Ditto.
558         (elmo-progress-counter-alist): Ditto.
559         (elmo-progress-set): Ditto.
560         (elmo-progress-clear): Ditto.
561         (elmo-progress-counter-all-value): Rename to
562         `elmo-progress-counter-total'.
563         (elmo-progress-counter-format): Rename to
564         `elmo-progress-counter-action'.
565         (elmo-progress-counter): New internal variable.
566         (elmo-progress-callback-function): Ditto.
567         (elmo-progress-counter-label): New function.
568         (elmo-progress-counter-set-total): Ditto.
569         (elmo-progress-counter-set-action): Ditto.
570         (elmo-progress-call-callback): Ditto.
571         (elmo-progress-start): Ditto.
572         (elmo-progress-done): Ditto.
573         (elmo-progress-notify): Rewrite.
574         (elmo-with-progress-display): Remove first argument
575         `condition'. Add optional argument `var' in `spec'.
576
577         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
578         (elmo-display-retrieval-progress-threshold): Ditto.
579         (elmo-inhibit-display-retrieval-progress): Ditto.
580
581         * Replace all pair of `elmo-progress-set' and
582         `elmo-progress-clear' into `elmo-with-progress-display'.
583
584         * Replace to call `elmo-display-progress' into pair of
585         `elmo-progress-notify' and `elmo-with-progress-display'.
586
587         * elmo-version.el (elmo-version): Up to 2.15.5.
588
589 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
590
591         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
592         `cond'.
593
594 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
595
596         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
597         cleanup-forms [wl:14027].
598
599 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
600
601         * elmo-flag.el (elmo-global-flag-set-internal): Use
602         `elmo-copy-file' by priority when the message is a file.
603
604 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
605
606         * elmo.el: Fix typo: disptch -> dispatch.
607
608 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
609
610         * elmo.el (elmo-file-tag): New class.
611         (elmo-append-messages-disptch-table): New constant.
612         (elmo-folder-type-p): New function.
613         (elmo-folder-append-messages): Redefine as function.
614
615         * elmo-null.el (elmo-folder-append-messages): Renamed from
616         `elmo-folder-append-messages'.
617
618         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
619         (elmo-folder-append-messages-*-maildir): Renamed from
620         `elmo-folder-append-messages'.
621
622         * elmo-localdir.el (elmo-localdir-folder): Inherit
623         `elmo-file-tag'.
624         (elmo-folder-append-messages-*-localdir): Renamed from
625         `elmo-folder-append-messages'.
626
627         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
628         from `elmo-folder-append-messages'.
629
630         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
631         `elmo-folder-append-messages'.
632
633         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
634         function.
635         (elmo-folder-append-messages-*-filter): Ditto.
636
637         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
638
639         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
640         (elmo-folder-append-messages-*-pipe): Renamed from
641         `elmo-folder-append-messages'.
642
643         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
644
645         * elmo-file.el (elmo-file-folder): Ditto.
646
647         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
648
649         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
650         from `elmo-folder-append-messages'
651
652 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * elmo-map.el (elmo-location-map-setup): Change an argument
655         `locations' to optional.
656         (elmo-location-map-clear): Abolish.
657         (elmo-folder-clear): Follow the API change.
658
659         * elmo-pop3.el (elmo-folder-clear): Ditto.
660
661         * elmo-pop3.el (toplevel): Require elmo-map.
662         (elmo-pop3-folder): Inherit elmo-location-map and abolish
663         location-alist slot (All other related portions are changed).
664         (elmo-pop3-folder-use-uidl): New function.
665         (elmo-folder-msgdb-create): Don't sort message entities.
666         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
667         (elmo-pop3-number-to-size): Convert return value to number.
668         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
669         working buffer.
670
671         * elmo-map.el: Use `location-map' as a variable name for instance
672         instead of `mapper'.
673         (elmo-location-map-setup): Return location alist.
674         (elmo-location-map-update): Ditto.
675
676 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
677
678         * elmo-map.el (elmo-location-map): New class; split location and
679         number mapping from elmo-map-folder (All other related portions
680         are changed).
681
682         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
683         change.
684
685         * elmo-version.el (elmo-version): Up to 2.15.4.
686
687 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
688
689         * elmo-vars.el (elmo-use-hardlink): New user option.
690
691         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
692         `elmo-use-hardlink'.
693
694         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
695         killed-list.
696         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
697         instead of `*-internal'. Use `elmo-with-progress-display'.
698
699 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
700
701         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
702         `elmo-spam-process-messages-as-mbox'.
703
704         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
705
706 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
707
708         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
709         argument BUFFER of `call-process'.
710
711 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
712
713         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
714         args.
715         (elsp-bsfilter-list-spam-files): Ditto.
716
717 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
718
719         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
720         (elmo-spam-bsfilter-max-messages-per-process): New use option.
721         (elmo-spam-bsfilter-debug): Fix a group.
722         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
723         `--homedir'.
724         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
725         (elsp-bsfilter-list-spam-files): New function.
726         (elmo-spam-list-spam-messages): Define.
727         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
728         (elmo-spam-bsfilter-register-messages): New function.
729         (elmo-spam-register-spam-messages): Define.
730         (elmo-spam-register-good-messages): Ditto.
731
732         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
733
734         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
735         `nconc' and `consp'.
736
737 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
738
739         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
740         hash table to test whether a location is exists.
741
742 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
743
744         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
745         even if some error occurred.
746
747         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
748         meaningless unwind-protect.
749
750         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
751         start-number correctly.
752         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
753         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
754
755 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
756
757         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
758         (elmo-folder-initialize): Use it.
759         (elmo-global-flag-replace-referrer): New function.
760
761         * elmo.el (toplevel): Added autoload setting for
762         `elmo-global-flag-replace-referrer'.
763         (elmo-folder-rename): Rewrite the last change use
764         `elmo-global-flag-replace-referrer'.
765
766         * elmo-pipe.el (elmo-folder-rename): Call
767         `elmo-global-flag-replace-referrer'.
768
769 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
770
771         * elmo.el (elmo-folder-rename): Set meta data for global flags
772         follow the rename.
773
774 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
775
776         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
777         as 'not-loaded.
778         (elmo-folder-close): Ditto.
779         (elmo-filter-folder-number-list-loaded-p): New function.
780         (elmo-filter-folder-number-list): Check whether loaded or not.
781         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
782         of `elmo-filter-folder-number-list-internal'.
783         (elmo-folder-delete-messages): Ditto.
784         (elmo-folder-length): Check whether number-list is loaded or not.
785
786 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
787
788         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
789         field `real field' into each element of list.
790         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
791         (elmo-msgdb-message-entity-field): Ditto.
792         (modb-entity-ml-info-real-fields): New function.
793
794         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
795
796         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
797         `elmo-msgdb-extra-fields'.
798
799 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
800
801         * elmo-util.el (elmo-passwd-alist-load): Move point to min
802         position before read.
803
804 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
805
806         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
807         (elmo-global-flags-initialize): Ditto.
808
809 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
810
811         * elmo-archive.el (toplevel): Don't require emu, std11
812         and elmo-localdir.
813
814         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
815         definition.
816
817 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
818
819         * elmo.el (elmo-folder-confirm-appends): Display folder name.
820
821 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
822
823         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
824         literals.
825
826 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
827
828         * elmo-maildir.el (elmo-maildir-list-location): Reduce
829         `elmo-get-last-modification-time' call.
830
831 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
832
833         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
834         expression.
835         (elmo-maildir-set-mark): Ditto.
836         (elmo-maildir-delete-mark): Ditto.
837
838 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
839
840         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
841         optional argument `separators'.
842
843 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
844
845         * elmo.el (cache-changed): Abolish.
846         (status-changed): New signal.
847         (elmo-message-killed-p): New generic function and define for
848         elmo-folder.
849         (elmo-folder-recover-messages): Ditto.
850         (elmo-message-set-cached): Emit signal `status-changed' instead of
851         `cache-changed'.
852         (elmo-message-status): New macro.
853         (elmo-message-status-folder): Ditto.
854         (elmo-message-status-number): Ditto.
855         (elmo-message-status-set-flags): Ditto.
856         (elmo-message-status-set-killed): Ditto.
857         (elmo-message-status-flags): New function.
858         (elmo-message-status-cached-p): Ditto.
859         (elmo-message-status-killed-p): Ditto.
860
861         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
862         `status-changed' instead of `cache-changed'.
863         (elmo-folder-recover-messages): Define.
864         (elmo-message-killed-p): Ditto.
865
866         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
867         `status-changed' instead of `cache-changed'.
868
869         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
870         (elmo-message-killed-p): Define.
871         (elmo-folder-recover-messages): Ditto.
872
873         * elmo-version.el (elmo-version): Up to 2.15.3.
874
875 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
876
877         * elmo-signal.el (elmo-signal-bindings): Use cons to append
878         element into list.
879         (elmo-define-signal-handler): Add docstring.
880         (elmo-define-signal-filter): Ditto.
881
882         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
883
884 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
885
886         * elmo-util.el (elmo-flatten): Don't use recursive call.
887
888         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
889         assignment.
890         (elmo-folder-message-make-temp-files): Use `number-to-string'
891         instead of `int-to-string'.
892
893 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
894
895         * elmo-search.el (elmo-folder-delete-messages): Define.
896
897 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
898
899         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
900         customization type.
901         (elmo-mailing-list-count-spec-list): Ditto.
902
903         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
904         for `list-id'.
905
906 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
907
908         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
909         handling.
910
911 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
912
913         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
914         (elmo-mailing-list-count-spec-list): Ditto.
915
916         * elmo-util.el (elmo-map-until-success): New function.
917         (elmo-string-match-substring): Ditto.
918         (elmo-find-list-match-value): Ditto.
919
920         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
921         Removed.
922         (modb-entity-extract-ml-info-from-subject): Ditto.
923         (modb-entity-extract-ml-info-from-return-path): Ditto.
924         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
925         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
926         (modb-entity-extract-ml-info-from-mailman): Ditto.
927         (modb-entity-extract-mailing-list-info-functions): Ditto.
928         (modb-entity-extract-mailing-list-info): Rewrite with
929         `elmo-find-list-match-value'.
930
931 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
932
933         * elmo-net.el (elmo-network-session-retry-count): New user option.
934         (elmo-network-session-buffer-name): New internal function.
935         (elmo-network-session-buffer-create): Ditto.
936         (elmo-network-open-session): Retry open network session
937         `elmo-network-session-retry-count' times.
938
939 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
940
941         * elmo-util.el (elmo-list-filter): Rewritten.
942
943 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
944
945         * elmo-util.el (elmo-string-member): Allow symbol element in list.
946
947 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
948
949         * elmo-search.el (elmo-make-search-engine): Use prefix
950         `elmo-search-' for require symbol instead of `else-'.
951         (elmo-search-engine-extprog): New class.
952         (elmo-search-engine-do-search): Remove nil from argument
953         list. Added argument pattern to evaluate element as function.
954         (elmo-search-engine-local-file): Derived from
955         `elmo-search-engine-extprog'.
956         (elmo-search-engine-create-message-entity): Check existance of file.
957         (elmo-search-engine-fetch-message): Ditto.
958         (elmo-search-namazu-index): Follow the API change.
959         (elmo-search-grep-target): Ditto.
960
961 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
962
963         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
964         characters of working buffer.
965
966         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
967         Does not bind `default-mime-charset'.
968         (elmo-msgdb-create-message-entity-from-buffer): Removed
969         unnecessary local bind.
970
971         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
972         function.
973         (modb-entity-extract-mailing-list-info-functions): Added it.
974
975 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
978         when number and message-id are non-nil.
979
980         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
981
982         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
983         conditional steatment.
984         (elmo-pop3-auth-apop): Likewise.
985         (elmo-network-authenticate-session): Likewise.
986
987 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
988
989         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
990         symbol `fill-column'.
991         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
992         decode field value.
993
994         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
995         (elmo-decoded-field-body): Ditto.
996
997 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
998
999         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
1000         `tokens' to `params'.
1001
1002 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1003
1004         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
1005         working buffer.
1006
1007 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1008
1009         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
1010         decide index.
1011
1012 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1013
1014         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1015         Set default value as nil.
1016         (toplevel): Register search engines by
1017         `elmo-search-register-engine' if there are not defined.
1018
1019         * elmo.el (autoload): Added autoload setting for
1020         `elmo-search-register-engine'.
1021
1022 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1023
1024         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1025         folder instead of nmz folder.
1026         (elmo-nmz-default-index-path): Added obsolete variable setting.
1027         (elmo-nmz-index-alias-alist): Ditto.
1028         (elmo-nmz-use-drive-letter): Ditto.
1029
1030         * elmo-search.el (elmo-search-register-engine): New function.
1031
1032         * elmo-nmz.el: Removed.
1033
1034         * elmo-version.el (elmo-version): Up to 2.15.2.
1035
1036 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1037
1038         * elmo-search.el: New file.
1039
1040 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1041
1042         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1043         condition `larger' and `smaller'.
1044
1045 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1046
1047         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1048         `"' (double quote) into "_Q_".
1049
1050 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1051
1052         * elmo-net.el (elmo-net-quote-chars): Abolish.
1053         (elmo-net-format-quoted): Ditto.
1054
1055 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1056
1057         * elmo.el (elmo-get-folder-function): New variable.
1058         (elmo-get-folder): New function.
1059         (elmo-folder-rename): Call `elmo-make-folder' with specified
1060         mime-charset.
1061
1062         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1063         `elmo-make-folder'.
1064         (elmo-split-subr): Ditto.
1065
1066         * elmo-multi.el (elmo-folder-initialize): Ditto.
1067
1068         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1069
1070         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1071         (elmo-flag-get-folder): Ditto.
1072
1073         * elmo-filter.el (elmo-folder-initialize): Ditto.
1074
1075         * elmo-access.el (elmo-folder-initialize): Ditto.
1076         (elmo-access-folder-update-children): Ditto.
1077
1078         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1079         (elmo-dop-queue-flush): Ditto.
1080         (elmo-folder-append-buffer-dop-delayed): Ditto.
1081         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1082         mime-charset.
1083
1084         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1085         instead of `elmo-make-folder'.
1086         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1087         destination folder instead of send `elmo-folder-rename-internal'.
1088
1089         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1090         slot of subfolder instead of create it.
1091
1092 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1093
1094         * elmo-util.el (elmo-collect-separators): New function.
1095         (elmo-collect-separators-internal): Ditto.
1096         (elmo-collect-trail-separators): Ditto.
1097         (elmo-parse-separated-tokens): Ditto.
1098         (elmo-parse-separated-tokens-internal): Ditto.
1099         (elmo-quote-syntactical-element): Ditto.
1100
1101         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1102         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1103
1104         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1105         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1106         (elmo-nntp-folder-list-subfolders): Quote a user name.
1107
1108         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1109         (elmo-net-parse-network): Abolish.
1110         (elmo-net-folder-set-parameters): New function.
1111         (elmo-folder-initialize): Follow the above change.
1112
1113         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1114         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1115         (elmo-folder-list-subfolders): Use
1116         `elmo-quote-syntactical-element' instead of
1117         `elmo-net-format-quoted' to quote mailbox and user name.
1118
1119 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1120
1121         * elmo-util.el (elmo-token-valid-p): New function.
1122         (elmo-parse-token): Add optional argument `requirement'.
1123         (elmo-parse-prefixed-element): Likewise.
1124
1125         * elmo-net.el (elmo-net-quote-chars): Renamed from
1126         `elmo-net-quote-chars-regexp'.
1127         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1128
1129         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1130         by info document. Check token `uidl' is started an alphabet.
1131
1132         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1133         by info document. Check token `user' is started an alphabet.
1134
1135         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1136         (elmo-folder-list-subfolders): Quote user.
1137
1138 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1139
1140         * elmo-util.el (elmo-quoted-specials-list): New constant.
1141         (elmo-quoted-token): New function.
1142
1143         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1144         (elmo-net-format-quoted): New function.
1145         (elmo-net-parse-network): Ditto.
1146         (elmo-folder-initialize): Use it.
1147
1148         * elmo-nntp.el (elmo-folder-initialize): Use
1149         `elmo-net-parse-network' to parse network specification instead of
1150         `elmo-folder-initialize#elmo-net'.
1151
1152         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1153
1154         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1155         (elmo-folder-list-subfolders): Quote folder name by
1156         `elmo-net-format-quoted'.
1157
1158 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1159
1160         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1161         (elmo-folder-search): Use it.
1162
1163 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1164
1165         * modb-standard.el (modb-standard-loaded-message-id): Use
1166         `elmo-msgdb-message-entity-field'.
1167
1168 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1169
1170         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1171         without filename.
1172
1173 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1174
1175         * elmo-util.el (elmo-set-auto-coding): New function.
1176         (elmo-object-load): Use it.
1177
1178 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1179
1180         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1181         (elmo-time<): Define as alias of `elmo-time-less-p'.
1182         (elmo-time-to-datevec): New function.
1183
1184         * elmo-date.el (elmo-time-to-days): New function.
1185
1186 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1187
1188         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1189         is not cons cell.
1190
1191 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1192
1193         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1194         parenthesis.
1195
1196         * elmo-util.el (elmo-map-recursive): New function.
1197
1198         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1199         (modb-entity-encode-string-recursive): Ditto.
1200
1201 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1202
1203         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1204         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1205         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1206         compare sequence number when last modified time is nil.
1207
1208 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1209
1210         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1211
1212         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1213
1214 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1215
1216         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1217         modification time of the file.
1218
1219 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1220
1221         * elmo-util.el (elmo-condition-optimize): Discriminated against
1222         preserved fields, extra fields and the other weight.
1223
1224 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1225
1226         * modb-entity.el (initialize-instance): Define.
1227         (modb-entity-handler-mime-charset): New internal function.
1228         (modb-standard-entity-set-field): Use it.
1229         (elmo-msgdb-message-entity-field): Ditto.
1230         (elmo-msgdb-message-entity-field): Ditto.
1231
1232         * modb.el (elmo-msgdb-match-condition): Rewrite with
1233         `elmo-condition-match'.
1234         (elmo-msgdb-match-condition-primitive): New function.
1235
1236         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1237         arguments `flags' and `numbers'.
1238         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1239         `elmo-msgdb-message-match-condition').
1240         (modb-buffer-entity-handler): New class.
1241
1242         * elmo.el (elmo-folder-search): Optimize condition to use
1243         `elmo-condition-optimize'.
1244         (elmo-message-buffer-match-condition): New function.
1245         (elmo-message-match-condition): Use
1246         `elmo-message-buffer-match-condition' instead of
1247         `elmo-buffer-field-condition-match'.
1248
1249         * elmo-util.el (elmo-condition-match): New function.
1250         (elmo-condition-optimize): Ditto.
1251         (elmo-buffer-field-primitive-condition-match): Abolish.
1252         (elmo-buffer-field-condition-match): Ditto.
1253
1254         * elmo-archive.el (elmo-archive-field-condition-match): Use
1255         `elmo-message-buffer-match-condition' instead of
1256         `elmo-buffer-field-condition-match'.
1257
1258 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1259
1260         * elmo-flag.el (elmo-global-flags-initialize): Check the
1261         existence of the flag directory.
1262
1263 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * elmo-access.el (elmo-folder-initialize): Call
1266         `elmo-multi-connect-signals'.
1267
1268         * elmo-pipe.el (elmo-folder-close): Define.
1269
1270         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1271         children folders.
1272
1273         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1274         with target folder.
1275
1276         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1277         `number'.
1278
1279         * elmo-multi.el (elmo-message-entity): Don't use return value of
1280         `elmo-message-entity-set-number'.
1281
1282 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1283
1284         * modb.el (modb-generic): Added slot `mime-charset'.
1285
1286         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1287         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1288         and `modb-entity-handler-dump-parameters'.
1289         (modb-standard-default-entity-handler): Abolish.
1290         (elmo-msgdb-message-entity-handler): Save created handler by
1291         instance slot.
1292
1293         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1294         (modb-entity-handler-list-parameters): New method.
1295         (modb-entity-handler-equal-p): New function.
1296         (modb-entity-handler-dump-parameters): Ditto.
1297         (modb-entity-parse-address-string): Encode return value.
1298         (modb-entity-make-address-string): Decode argument value.
1299         (modb-entity-decode-string-recursive): New function.
1300         (modb-entity-encode-string-recursive): Ditto.
1301         (modb-standard-entity-normalizer): Set to encode field value.
1302         (modb-standard-entity-specializer): Follow the above change.
1303         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1304         mime-charset of handler.
1305         (elmo-msgdb-message-entity-field): Ditto.
1306         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1307         structure.
1308         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1309
1310         * elmo.el (elmo-folder): Added slot `mime-charset'.
1311         (elmo-make-folder): Added argument `mime-charset'.
1312         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1313         `mime-charest'.
1314
1315         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1316         (elmo-make-msgdb): Likewise.
1317
1318         * elmo-internal.el (elmo-internal-folder-initialize): Call
1319         `luna-make-entity' with :mime-charset parameter.
1320
1321 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1322
1323         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1324         encoded words in `from' and `subject' field.
1325
1326 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1327
1328         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1329         (elmo-msgdb-match-condition): Get handler from entity instead of
1330         msgdb.
1331
1332         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1333         (modb-standard-load-entity): Treat new file format.
1334         (modb-standard-save-entity-1): Save as new file format.
1335         (modb-standard-save-entity): Split messages into section here.
1336         (elmo-msgdb-message-field): Follow the API change.
1337         (modb-standard-default-entity-handler): New internal variable.
1338         (elmo-msgdb-message-entity-handler): Define.
1339
1340         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1341         to `elmo-vars.el'.
1342         (modb-entity-field-extractor-alist): New user option.
1343         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1344         added argument `type'.
1345         (elmo-msgdb-copy-message-entity): Add optional argument
1346         `make-handler'.
1347         (modb-set-field-converter): New function.
1348         (modb-convert-field-value): Ditto.
1349         (modb-entity-string-decoder): Ditto.
1350         (modb-entity-string-encoder): Ditto.
1351         (modb-entity-parse-date-string): Ditto.
1352         (modb-entity-make-date-string): Ditto.
1353         (modb-entity-mime-decoder): Ditto.
1354         (modb-entity-mime-encoder): Ditto.
1355         (modb-entity-address-list-decoder): Ditto.
1356         (modb-entity-address-list-encoder): Ditto.
1357         (modb-entity-parse-address-string): Ditto.
1358         (modb-entity-make-address-string): Ditto.
1359         (modb-entity-create-field-indices): Ditto.
1360         (modb-legacy-entity-field-slots): New constant.
1361         (modb-legacy-entity-field-indices): Ditto.
1362         (modb-legacy-entity-normalizer): New variable.
1363         (modb-legacy-entity-specializer): Ditto.
1364         (modb-legacy-entity-field-index): New macro.
1365         (modb-legacy-entity-set-field): New function.
1366         (modb-legacy-make-message-entity): Rewrite.
1367         (elmo-msgdb-create-message-entity-from-buffer): Use
1368         `elmo-msgdb-get-references-from-buffer'. Use
1369         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1370         Use `modb-legacy-entity-set-field' instead of
1371         `elmo-msgdb-message-entity-set-field'.
1372         (elmo-msgdb-message-entity-field): Rewrite.
1373         (elmo-msgdb-message-entity-set-field): Ditto.
1374         (elmo-msgdb-copy-message-entity): Make new entity by
1375         `make-handler' if it specified.
1376         (elmo-msgdb-message-match-condition): Define a method of
1377         `modb-entity-handler' and follow the API change.
1378         (modb-standard-entity-handler): New class.
1379         (modb-entity-extract-ml-info-from-x-sequence): New function.
1380         (modb-entity-extract-ml-info-from-subject): Ditto.
1381         (modb-entity-extract-ml-info-from-return-path): Ditto.
1382         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1383         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1384         (modb-entity-extract-mailing-list-info): Ditto.
1385         (modb-entity-extract-mailing-list-info-functions): New variable.
1386
1387         * elmo.el (elmo-message-field): Add optional argument `type'.
1388
1389         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1390         from `modb-entity.el'.
1391
1392         * elmo-util.el (elmo-object-load): Decode by coding-system from
1393         `set-auto-coding-function'.
1394         (elmo-object-save): Use `detect-mime-charset-region' and add
1395         coding cookie if encode.
1396         (elmo-msgdb-get-references-from-buffer): New function.
1397         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1398
1399         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1400
1401         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1402         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1403         instead of `shimbun-make-header' and follow the API change.
1404         (elmo-shimbun-update-overview): Follow the API change.
1405         (elmo-map-folder-list-message-locations): Ditto.
1406
1407         * elmo-pipe.el (elmo-message-field): Ditto.
1408
1409         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1410         Ditto.
1411
1412         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1413
1414         * elmo-multi.el (elmo-message-field): Ditto.
1415
1416         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1417         (elmo-msgdb-sort-by-date): Ditto.
1418         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1419         `elmo-message-entity-field'.
1420         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1421         change.
1422         (elmo-msgdb-overview-entity-get-from): Ditto.
1423         (elmo-msgdb-overview-entity-get-subject): Ditto.
1424         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1425         (elmo-msgdb-overview-entity-get-date): Ditto.
1426         (elmo-msgdb-overview-entity-get-to): Ditto.
1427         (elmo-msgdb-overview-entity-get-cc): Ditto.
1428
1429         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1430         (elmo-mime-collect-message/partial-pieces): Ditto.
1431
1432         * elmo-filter.el (elmo-message-field): Ditto.
1433
1434         * elmo-date.el (elmo-datevec-to-time): New function.
1435         (elmo-time-parse-date-string): Ditto.
1436         (elmo-time-make-date-string): Ditto.
1437         (elmo-time<): Ditto.
1438
1439         * elmo-version.el (elmo-version): Up to 2.15.1.
1440
1441 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1442
1443         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1444         member of elmo-local-flags.
1445
1446 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1447
1448         * elmo-version.el (elmo-version): Up to 2.15.0.
1449
1450 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1451
1452         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1453         `ignore-msgdb' is non-nil.
1454
1455 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1456
1457         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1458         (elmo-condition-in-msgdb-p): Ditto.
1459         (elmo-file-field-primitive-condition-match): Ditto.
1460         (elmo-file-field-condition-match): Ditto.
1461
1462         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1463
1464 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1465
1466         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1467         subdirectories here.
1468         (elmo-global-flags-initialize): New function.
1469
1470         * elmo.el (toplevel): Added autoload setting for
1471         `elmo-global-flags-initialize'.
1472
1473 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1474
1475         * elmo.el (message-number-changed): Define new signal.
1476         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1477         message-number-changed signal.
1478         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1479         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1480         Respect `elmo-pack-number-check-strict'.
1481
1482 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1483
1484         * elmo-signal.el (elmo-connect-signal): Document.
1485         (elmo-emit-signal): Ditto.
1486         (elmo-emit-signal): It should pass source argument to filter and
1487         handler, not slot-source.
1488
1489 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1490
1491         * modb.el (elmo-msgdb-update-entity): New API and define generic
1492         implement.
1493
1494         * modb-standard.el (elmo-msgdb-update-entity): Define.
1495
1496         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1497         API and define generic implement.
1498
1499         * elmo.el (update-overview): New singnal.
1500
1501         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1502         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1503         (elmo-message-entity-parent): Define.
1504
1505         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1506         `update-overview'.
1507
1508         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1509
1510         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1511
1512 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1513
1514         * elmo.el (elmo-folder-synchronize): Sort the return value of
1515         `elmo-list-diff'.
1516
1517         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1518         list.
1519
1520 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1521
1522         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1523         `default-enable-multibyte-characters'.
1524         (elmo-object-load): Use `with-temp-buffer' instead of
1525         `elmo-set-work-buf'.
1526         (elmo-object-save): Ditto.
1527         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1528         `elmo-set-work-buf'.
1529         (elmo-decoded-field-body): Ditto.
1530
1531         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1532
1533         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1534         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1535
1536         * elmo-version.el (elmo-version): Up to 2.13.3.
1537
1538 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1539
1540         * elmo-util.el (elmo-list-diff): Fix the last change.
1541         Reverse order of result lists.
1542
1543 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1544
1545         * modb-standard.el (elmo-msgdb-set-flag): Use
1546         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1547         (elmo-msgdb-unset-flag): Ditto.
1548
1549         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1550         `elmo-list-diff'.
1551
1552         * elmo-util.el (elmo-list-diff): Rewrite.
1553         (elmo-list-diff-nonsortable): New function.
1554
1555 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1556
1557         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1558         `elmo-multibypte-buffer-name'.  All referers are updated.
1559
1560 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1563         (elmo-mime-entity-fragment-p): New function.
1564         (mime-elmo-buffer-entity): Added slot `reassembled'.
1565         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1566         (elmo-message-mime-entity-internal): New function (renamed from
1567         `elmo-message-mime-entity').
1568         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1569         (elmo-mime-make-reassembled-mime-entity): New function.
1570         (elmo-message-reassembled-mime-entity): Ditto.
1571         (elmo-mime-collect-message/partial-pieces): Ditto.
1572
1573 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1574
1575         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1576
1577         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1578         (elmo-with-enable-multibyte): New macro.
1579
1580         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1581
1582 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1583
1584         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1585         argument `number'.
1586         (elmo-filter-connect-signals): Follow the above change.
1587
1588 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1589
1590         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1591
1592         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1593         that only the first flag is used.
1594
1595 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1596
1597         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1598         if available.
1599
1600 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1601
1602         * elmo-signal.el: New file.
1603
1604         * elmo.el (toplevel): Require elmo-signal.
1605         (flag-changing, flag-changed, cache-changed): New signal.
1606         (elmo-folder): Remove slog `handlers'.
1607         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1608         `elmo-folder-notify-event'.
1609         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1610         (elmo-folder-unset-flag): Ditto.
1611         (elmo-event-handler): Abolish.
1612         (elmo-event-handler-flag-changed): Ditto.
1613         (elmo-event-handler-cache-changed): Ditto.
1614         (elmo-folder-add-handler): Ditto.
1615         (elmo-folder-remove-handler): Ditto.
1616         (elmo-folder-notify-event): Ditto.
1617
1618         * elmo-pipe.el (toplevel): Require elmo-signal.
1619         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1620         (elmo-pipe-connect-signals): New function.
1621         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1622         (elmo-folder-set-flag): Ditto.
1623         (elmo-folder-unset-flag): Ditto.
1624         (elmo-message-set-cached): Ditto.
1625
1626         * elmo-multi.el (toplevel): Require elmo-signal.
1627         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1628         (elmo-multi-connect-signals): New function.
1629         (elmo-multi-map-numbers): Ditto.
1630         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1631         (elmo-message-fetch): Ditto.
1632         (elmo-folder-set-flag): Ditto.
1633         (elmo-folder-unset-flag): Ditto.
1634
1635         * elmo-filter.el (toplevel): Require elmo-signal.
1636         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1637         (elmo-filter-connect-signals): New function.
1638         (elmo-filter-add-flag-count): Ditto.
1639         (elmo-message-fetch): Does not call
1640         `elmo-filter-folder-countup-message-flags' and
1641         `elmo-folder-notify-event'.
1642         (elmo-message-set-cached): Ditto.
1643         (elmo-folder-set-flag): Ditto.
1644         (elmo-folder-unset-flag): Ditto.
1645
1646         * elmo-version.el (elmo-version): Up to 2.13.2.
1647
1648 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1649
1650         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1651         `flags'.
1652
1653 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1654
1655         * elmo-filter.el (elmo-message-set-cached): Call
1656         `elmo-folder-notify-event' with event `cache-changed'.
1657
1658         * elmo-multi.el (elmo-message-set-cached): Ditto.
1659
1660         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1661
1662 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1663
1664         * elmo.el (elmo-folder-encache): Abolish.
1665
1666 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1667
1668         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1669         (elmo-folder-next-message-number-dop): Return appropriate negative
1670         integer.
1671
1672 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1673
1674         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1675         clearing pending operations.
1676         (elmo-folder-next-message-number-dop): Return appropriate negative
1677         integer.
1678
1679 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1680
1681         * elmo.el (toplevel): Added autoload setting for `md5'.
1682         (elmo-msgdb-path-encode-threshold): New user option.
1683         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1684         longer than `elmo-msgdb-path-encode-threshold'.
1685
1686         * elmo-flag.el (elmo-global-mark-migrate): Use
1687         `elmo-folder-expand-msgdb-path' instead of
1688         `elmo-folder-msgdb-path'.
1689
1690 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1691
1692         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1693         element of the difference is nil.
1694
1695 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1696
1697         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1698         to the check logic of file systems which are weak in colon character.
1699
1700 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1703
1704 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1705
1706         * elmo-maildir.el (elmo-maildir-move-file): New function.
1707         (elmo-folder-append-buffer): Use it.
1708         (elmo-folder-append-messages): Ditto.
1709         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1710
1711         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1712         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1713
1714         * elmo-maildir.el (elmo-maildir-separator): New user option.
1715         (elmo-maildir-adjust-separator): New macro.
1716         (elmo-maildir-list-location): Use it.
1717         (elmo-maildir-update-current): Ditto.
1718         (elmo-maildir-set-mark): Ditto.
1719         (elmo-maildir-delete-mark): Ditto.
1720         (These changes are based on Hiroya Murata's patch [wl: 13437])
1721
1722 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1723
1724         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1725
1726 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1727
1728         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1729         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1730         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1731
1732 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1733
1734         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1735         Use `with-temp-buffer'.
1736
1737 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1738
1739         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1740
1741         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1742         `wl-read-search-condition').
1743         (elmo-read-search-condition-internal): Likewise.
1744
1745         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1746         (elmo-flag-valid-p): New function.
1747         (elmo-folder-initialize): Check flag name is valid.
1748
1749 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1750
1751         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1752         delimiter to obtain root mailbox itself.
1753
1754 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1755
1756         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1757         type mismatch.
1758
1759 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1760
1761         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1762         as t.
1763
1764 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1765
1766         * elmo-shimbun.el (toplevel): Require cl at compile.
1767
1768         * elmo-nntp.el (toplevel): Ditto.
1769
1770         * elmo-nmz.el (toplevel): Ditto.
1771
1772         * elmo-multi.el (toplevel): Ditto.
1773
1774         * elmo-file.el (toplevel): Ditto.
1775
1776         * elmo-dop.el (toplevel): Ditto.
1777
1778         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1779
1780 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1781
1782         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1783         as nil.
1784
1785         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1786         size of elmo-message-fetch-internal is 0 byte.
1787
1788 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1789
1790         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1791
1792 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1793
1794         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1795         always plugged.
1796
1797 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1798
1799         * elmo-maildir.el (elmo-map-message-fetch): Call
1800         `elmo-map-folder-set-flag'.
1801
1802         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1803         (elmo-message-fetch): Merge from
1804         `elmo-message-fetch-with-cache-process'.
1805
1806         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1807         (elmo-message-fetch): Define.
1808
1809         * elmo-nntp.el (elmo-message-fetch): Renamed from
1810         `elmo-message-fetch-with-cache-process'.
1811
1812         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1813         (elmo-message-fetch): Define.
1814
1815         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1816         search-key.
1817
1818         * elmo-shimbun.el (shimbun-mua-search-id): Use
1819         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1820         (elmo-shimbun-folder-shimbun-header): Ditto.
1821         (elmo-shimbun-get-headers): Ditto.
1822         (elmo-shimbun-update-overview): Ditto.
1823
1824         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1825
1826         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1827         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1828
1829 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1830
1831         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1832         message is cached.
1833         (elmo-message-fetch-string): Fixed argument.
1834
1835 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1836
1837         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1838         exchange order of arguments `section' and `unread'.
1839         (elmo-message-encache): Follow the API change.
1840         (elmo-message-match-condition): Ditto.
1841         (elmo-generic-folder-append-messages): Ditto.
1842         (elmo-message-fetch-string): New function.
1843
1844         * elmo-split.el (elmo-split-subr): Ditto.
1845
1846         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1847
1848         * elmo-pipe.el (elmo-message-fetch): Ditto.
1849
1850         * elmo-multi.el (elmo-message-fetch): Ditto.
1851
1852         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1853
1854         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1855
1856         * elmo-filter.el (elmo-message-fetch): Ditto.
1857
1858         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1859
1860         * elmo-imap4.el (mime-imap-location-section-body): Use
1861         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1862         follow the API change.
1863
1864 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1865
1866         * elmo-access.el: New file.
1867
1868         * elmo-null.el: Ditto.
1869
1870         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1871
1872 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1873
1874         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1875         (elmo-network-session): New attribute `last-accessed'.
1876         (elmo-network-get-session): Discard network cache if elapsed time
1877         since last-accessed is larger than elmo-network-session-idle-timeout.
1878
1879 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1880
1881         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1882         and added `number', `require-entireness'.
1883         (elmo-find-fetch-strategy): Rewrite.
1884         (elmo-message-fetch): Unset `unread' flag when argument unread is
1885         non-nil.
1886
1887         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1888
1889         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1890         (elmo-message-fetch): Notify event `flag-changed'.
1891
1892         * elmo-pipe.el: Likewise.
1893
1894         * elmo-mime.el (elmo-mime-entity): New class.
1895         (elmo-mime-entity-display-p): New generic function.
1896         (elmo-mime-entity-display): Ditto.
1897         (elmo-mime-entity-display-as-is): Ditto.
1898         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1899         elmo-mime-entity.
1900         (elmo-make-mime-message-location): Removed.
1901         (elmo-mime-message-display): Ditto.
1902         (elmo-mime-display-as-is): Ditto.
1903         (elmo-message-mime-entity): New function.
1904
1905         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1906
1907         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1908         change.
1909         (elmo-message-fetch): Re-count flagged message number and notify
1910         event `flag-changed'.
1911
1912         * elmo-version.el (elmo-version): Up to 2.13.1.
1913
1914 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1915
1916         * elmo-filter.el (elmo-message-field): Define.
1917         (elmo-message-set-field): Ditto.
1918
1919 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1920
1921         * elmo.el (elmo-message-set-cached): Call
1922         `elmo-folder-notify-event' with cache-changed.
1923         (elmo-event-handler-cache-changed): New generic function.
1924
1925 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1926
1927         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1928         instead of elmo-add-name-to-file.
1929         (elmo-folder-append-messages): Ditto.
1930
1931 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1932
1933         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1934
1935 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1936
1937         * elmo-version.el (elmo-version): Up to 2.13.0.
1938
1939         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1940         `auto'.
1941
1942         * modb-standard.el (modb-standard-economize-entity-size): Changed
1943         default value to `t'.
1944
1945         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1946         `standard'.
1947
1948         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1949         after parsing greeting string.
1950
1951 2004-11-23  Daishi Kato <daishi@axlight.com>
1952
1953         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1954         New user option.
1955         (elmo-spam-spamoracle-call): Use it.
1956
1957 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1958
1959         * elmo.el (elmo-message-accessible-p): Message in dop spool
1960         is accessible.
1961
1962 2004-11-23  Daishi Kato <daishi@axlight.com>
1963
1964         * elsp-spamoracle.el: New file.
1965
1966 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1967
1968         * elmo.el (elmo-message-flags-for-append): New function.
1969         (elmo-generic-folder-append-messages): Use it.
1970
1971         * elmo-split.el (elmo-split-subr): Ditto.
1972
1973         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1974         `flags' and use elmo-folder-append-buffer instead of
1975         write-region-as-binary.
1976         (elmo-dop-filter-pending-messages): New function.
1977         (elmo-folder-append-buffer-dop): Call
1978         elmo-dop-spool-folder-append-buffer with `flag'.
1979         (elmo-folder-set-flag-dop): Filter messages by
1980         elmo-dop-filter-pending-messages.
1981         (elmo-folder-unset-flag-dop): Ditto.
1982         (elmo-folder-append-buffer-dop-delayed): Use
1983         elmo-message-flags-for-append to get flags of the message and
1984         simplify.
1985
1986 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1987
1988         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1989
1990 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1991
1992         * elmo.el (elmo-folder): Added handlers slot.
1993         (elmo-event-handler): New class.
1994         (elmo-event-handler-flag-changed): New API.
1995         (elmo-folder-add-handler): New function.
1996         (elmo-folder-remove-handler): Ditto.
1997         (elmo-folder-notify-event): Ditto.
1998         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1999         `flag-changed'.
2000         (elmo-folder-unset-flag): Ditto.
2001
2002         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
2003         (elmo-folder-unset-flag): Ditto.
2004
2005         * elmo-multi.el (elmo-folder-set-flag): Ditto.
2006         (elmo-folder-unset-flag): Ditto.
2007
2008         * elmo-filter.el (elmo-folder-set-flag): Ditto.
2009         (elmo-folder-unset-flag): Ditto.
2010
2011         * elmo-version.el (elmo-version): Up to 2.11.33.
2012
2013 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2014
2015         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2016
2017 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2018
2019         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2020
2021         * elmo-flag.el (elmo-folder-unset-flag): Define.
2022         (elmo-global-flag-detach): Do process when the flag is not target
2023         flag.
2024
2025 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2026
2027         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2028         variable.
2029         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2030
2031 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2032
2033         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2034         function.
2035         (elmo-folder-delete-messages): Detach messages before delete
2036         messages from target folder.
2037         (elmo-folder-detach-messages): Set updated number-list to slot.
2038
2039 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2040
2041         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2042
2043 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2044
2045         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2046
2047 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2048
2049         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2050         internal use only).
2051         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2052         not modified.
2053         (elmo-folder-delete-messages): Define.
2054         (elmo-folder-move-messages): Don't call
2055         `elmo-folder-detach-messages'.
2056         (elmo-folder-synchronize): Rewrite.
2057         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2058
2059         * elmo-util.el (elmo-last): New function.
2060         (elmo-set-list): Ditto.
2061         (elmo-number-set-delete-list): Ditto.
2062         (elmo-number-set-delete): Ditto.
2063
2064         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2065
2066         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2067         `elmo-folder-delete-messages' and don't delete location map.
2068         (elmo-folder-detach-messages): Define.
2069
2070         * elmo-imap4.el (elmo-folder-delete): Use
2071         `elmo-folder-delete-messages-internal' instead of
2072         `elmo-folder-delete-messages'.
2073
2074         * elmo-filter.el (elmo-folder-delete-messages): Call
2075         `elmo-folder-detach-messages'.
2076         (elmo-folder-detach-messages): Don't call
2077         `elmo-folder-detach-messages' for target folder.
2078
2079         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2080         message deletion is succeeded.
2081
2082         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2083
2084         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2085         from `elmo-folder-delete-messages'.
2086
2087         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2088
2089         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2090
2091         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2092
2093         * elmo-version.el (elmo-version): Up to 2.11.32.
2094
2095 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2096
2097         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2098         (elmo-global-flag-list): Added obsolete variable setting.
2099
2100         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2101
2102         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2103         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2104         `elmo-mime-display-header-analysis' is nil.
2105
2106         * elmo-flag.el (elmo-global-flags): Renamed from
2107         `elmo-global-flag-list' (All other related portions are changed).
2108         (elmo-local-flags): New variable.
2109         (elmo-local-flag-p): New function.
2110         (elmo-global-flag-set-internal): Cause an error when flag is not
2111         global.
2112
2113 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2114
2115         * elmo-util.el (elmo-concat-path): Treat empty path.
2116
2117 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2118
2119         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2120         field-or-fields).
2121         (elmo-split-address-match): Ditto.
2122         (elmo-split-equal): Ditto.
2123         (elmo-split-match): Ditto.
2124
2125 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2126
2127         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2128         (elmo-generic-folder-append-messages): If src message exists but
2129         has no flag, pass (read) for the FLAG argument of
2130         `elmo-folder-append-buffer'. Otherwise, pass nil.
2131
2132         * elmo-split.el (elmo-split-subr): Likewise.
2133
2134         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2135
2136         * elmo-multi.el (elmo-message-flags): Ditto.
2137
2138         * elmo-filter.el (elmo-message-flags): Ditto.
2139
2140         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2141         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2142         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2143         
2144 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2145
2146         * elmo-split.el (elmo-split-rule): Update comment.
2147         (elmo-split-address-equal): Allow 2nd argument to be a list.
2148         (elmo-split-address-match): Ditto.
2149         (elmo-split-equal): Ditto.
2150         (elmo-split-match): Ditto.
2151
2152 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2153
2154         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2155         (elmo-folder-append-msgdb): Don't treat `read'.
2156         (elmo-message-flags): Don't return `read'.
2157
2158         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2159         (elmo-folder-unset-read-delayed): Ditto.
2160
2161         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2162
2163 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2164
2165         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2166         deletion.
2167
2168 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2169
2170         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2171         header.
2172
2173 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2174
2175         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2176         here.
2177         (elmo-msgdb-save): Bind inhibit-quit.
2178         (modb-standard-message-entity): Ditto.
2179
2180 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2181
2182         * elmo-database.el: No need to require elmo-msgdb.
2183
2184 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2185
2186         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2187         instead of `elmo-list-subdirectories'.
2188
2189 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2190
2191         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2192         group entry.
2193         (elmo-folder-exists-p): "[" is empty.
2194         (elmo-folder-list-subfolders): Define.
2195         (elmo-folder-have-subfolder-p): Ditto.
2196
2197 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2198
2199         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2200
2201 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2202
2203         * elmo-filter.el (elmo-folder-local-p): Define.
2204
2205 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2206
2207         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2208         when entity is garbaged.
2209         (modb-standard-save-entity-1): Don't modify the original entity.
2210
2211 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2212
2213         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2214
2215 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2216
2217         * elmo.el (elmo-strict-folder-diff): Use
2218         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2219
2220 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2221
2222         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2223         (elmo-msgdb-message-number): Ditto.
2224         (elmo-msgdb-message-field): Ditto.
2225
2226         * modb-standard.el (modb-standard-economize-entity-size): New user
2227         option.
2228         (modb-standard-loaded-message-id): New inline function.
2229         (modb-standard-load-entity): Use it.
2230         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2231         throw message-id string away.
2232         (elmo-msgdb-flag-available-p): Define.
2233         (elmo-msgdb-message-number): Ditto.
2234         (elmo-msgdb-message-field): Ditto.
2235
2236         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2237         (suppoted -> supported).
2238         (modb-legacy-supported-flag-p): Ditto.
2239         (elmo-msgdb-set-flag): Ditto.
2240         (elmo-msgdb-unset-flag): Ditto.
2241         (elmo-msgdb-flag-available-p): Define.
2242
2243         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2244         is `t', treat it as legacy entity.
2245         
2246         * elmo.el (elmo-message-flag-available-p): New generic function.
2247         (elmo-message-number): Ditto.
2248         (elmo-message-field): Use `elmo-msgdb-message-field'.
2249
2250         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2251
2252         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2253         (elmo-message-number): Ditto.
2254
2255         * elmo-multi.el (elmo-message-number): Define.
2256         (elmo-message-flag-available-p): Ditto.
2257
2258         * elmo-filter.el (elmo-message-flag-available-p): Define.
2259         (elmo-message-number): Ditto.
2260
2261         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2262         (elmo-folder-initialize): Load `max-number'.
2263         (elmo-folder-commit): Save it.
2264         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2265         (elmo-global-flag-set-internal): Set up max-number slot.
2266
2267 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2268
2269         * elmo-version.el (elmo-version): Up to 2.11.31.
2270
2271 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2272
2273         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2274         unibyte string of the current buffer for the argument of `md5'
2275         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2276
2277 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2278
2279         * modb-legacy.el (modb-legacy-flag-list): New constant.
2280         (modb-legacy-suppoted-flag-p): New internal function.
2281         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2282         (elmo-msgdb-unset-flag): Ditto.
2283
2284 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2285
2286         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2287
2288         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2289         from msgdb.
2290
2291 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2292
2293         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2294         (follow the API change).
2295
2296         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2297
2298 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2299
2300         * modb-standard.el (modb-standard-digest-flags): Abolish.
2301         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2302
2303         * elmo-vars.el (elmo-digest-flags): New variable.
2304         (elmo-preserved-flags): Moved from elmo-flag.el.
2305
2306         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2307         (elmo-imap4-flag-to-imap-criteria): Ditto.
2308         (elmo-imap4-folder-list-flagged): Use it.
2309
2310         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2311
2312         * elmo.el (elmo-folder-count-flags): Changed return value.
2313
2314         * elmo-flag.el (elmo-preserved-flags): New variable.
2315         (elmo-get-global-flags): Use it.
2316
2317         * modb-standard.el (modb-standard-digest-flags): New variable.
2318         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2319         Changed behavior of `any'.
2320
2321         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2322         which are defined the Internet draft
2323         (draft-melnikov-imap-keywords-03.txt).
2324         (elmo-imap4-flags-to-imap): New function.
2325         (elmo-folder-append-buffer): Use it.
2326
2327         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2328         in the docstring.
2329
2330         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2331         avoid the bug of Emacs 21.3.
2332
2333 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2334
2335         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2336         function find-coding-system does not exist.
2337
2338 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2339
2340         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2341         parsing.
2342
2343 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2344
2345         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2346         response codes.
2347
2348 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2349
2350         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2351         (elmo-network-close-session): Follow the changes in
2352         `elmo-pop3-read-response'.
2353         (elmo-pop3-auth-user): Ditto.
2354         (elmo-pop3-auth-apop): Ditto.
2355         (elmo-network-initialize-session): Ditto.
2356         (elmo-network-authenticate-session): Ditto.
2357         (elmo-network-setup-session): Ditto.
2358         (elmo-folder-status): Ditto.
2359         (elmo-message-fetch-plugged): Ditto.
2360         (elmo-pop3-delete-msg): Ditto.
2361
2362 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2363
2364         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2365         on failure.
2366
2367 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2368
2369         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2370         style.
2371         (elmo-bind-directory): Ditto.
2372
2373 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2374
2375         * elmo.el (elmo-folder-append-messages): Note on return value.
2376         * elmo-archive.el (elmo-folder-append-messages): Don't return
2377         message numbers which could not be appended.
2378
2379 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2380
2381         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2382
2383 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2384
2385         * elmo-version.el (elmo-version): Up to 2.11.30.
2386
2387 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2388
2389         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2390         `mask'.
2391
2392         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2393
2394         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2395         (elmo-multi-split-numbers): Add elmo-folder object into each
2396         element of return value at first.
2397         (elmo-folder-delete-messages): Follow the above change.
2398         (elmo-folder-detach-messages): Ditto.
2399
2400         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2401         number which is synchronized in target folder.
2402
2403 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2404
2405         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2406         Change default value to symbol `all'.
2407         (elmo-map-message-fetch): Change condition to update overview
2408         follow the above.
2409
2410 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2411
2412         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2413         behavior to update overview.
2414         (elmo-shimbun-update-overview-folder-list): Note it.
2415
2416 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2417
2418         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2419         recursive call.
2420
2421 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2422
2423         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2424         buffer-disable-undo, it is unnecessary.
2425         (elmo-spam-register-good-messages): Ditto.
2426
2427         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2428         Ditto.
2429
2430         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2431
2432 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2433
2434         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2435         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2436         elmo-set-buffer-multibyte.
2437         (elmo-object-load): Ditto.
2438         (elmo-save-buffer): Ditto.
2439         (elmo-delete-char): Ditto.
2440         (elmo-file-field-primitive-condition-match): Ditto.
2441         (elmo-mime-string): Ditto.
2442
2443         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2444         (elmo-archive-field-condition-match): Ditto.
2445
2446         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2447
2448         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2449
2450         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2451         (elmo-nntp-msgdb-create-message): Ditto.
2452
2453         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2454
2455         * elmo.el (elmo-message-match-condition): Ditto.
2456         (elmo-message-match-condition): Ditto.
2457
2458         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2459         Ditto.
2460
2461         * elmo-version.el (elmo-version): Up to 2.11.29.
2462
2463         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2464         (elsp-header): New backend.
2465
2466         * elmo-util.el (elmo-decoded-field-body): New function.
2467
2468 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2469
2470         * elmo-version.el (elmo-version): Up to 2.11.28.
2471
2472 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2473
2474         * elmo-filter.el: Rewrite.
2475
2476         * elmo-version.el (elmo-version): Up to 2.11.27.
2477
2478 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2479
2480         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2481         msgdb path for the localdir folder with absolute path.
2482
2483         * utf7.el: Synch up with latest gnus/utf7.el;
2484         Modified for latest Emacs.
2485
2486 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2487
2488         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2489         shimbun backend couldn't open.
2490
2491 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2492
2493         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2494         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2495         when a destination folder is a filter folder.
2496
2497 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2498
2499         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2500         (elmo-generic-folder-append-messages): Call elmo-message-flags
2501         with argument `msgid'.
2502
2503         * elmo-split.el (elmo-split-subr): Ditto.
2504
2505         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2506
2507         * elmo-multi.el (elmo-message-flags): Ditto.
2508
2509 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2510
2511         * elmo.el (elmo-folder): Add new slot `flag-table'.
2512         (elmo-folder-flag-table): New API.
2513         (elmo-folder-close-flag-table): Ditto.
2514         (elmo-folder-preserve-flags): New function.
2515         (elmo-generic-folder-append-messages): Use
2516         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2517         Flag of a non-registered message, it sets to nil.
2518         Does not set flag to flag-table.
2519
2520         * elmo-maildir.el (elmo-folder-append-buffer): Use
2521         `elmo-folder-preserve-flags'.
2522         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2523         `elmo-folder-close-flag-table'.
2524
2525         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2526         (elmo-archive-folder-append-buffer): Use
2527         `elmo-folder-preserve-flags'.
2528
2529         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2530
2531         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2532
2533         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2534         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2535         `elmo-folder-close-flag-table'.
2536
2537         * elmo-version.el (elmo-version): Up to 2.11.26.
2538
2539 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2540
2541         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2542
2543         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2544         md5's 4th and 5th argument (non-existent in flim one).
2545
2546 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2547
2548         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2549         message, It sets to nil.
2550
2551 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2552
2553         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2554         list is non-nil.
2555
2556 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2557
2558         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2559
2560         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2561
2562         * elmo-util.el (elmo-uniq-sorted-list): New function.
2563         (elmo-make-number-list): Ditto.
2564         (elmo-number-set-to-number-list): Use elmo-make-number-list
2565         and don't use nreverse.
2566
2567 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2568
2569         * elmo-version.el (elmo-version): Up to 2.11.25.
2570
2571 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2572
2573         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2574         field not exists in message, Use md5 message digest of header.
2575
2576 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2577
2578         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2579         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2580         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2581         * elmo-split.el (elmo-split-subr): Check return value of
2582         elmo-folder-append-buffer.
2583
2584         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2585         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2586
2587         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2588         message-id.
2589
2590 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2591
2592         * elmo-split.el (elmo-split-subr): Append message with flag.
2593
2594         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2595         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2596         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2597
2598 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2599
2600         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2601         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2602         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2603
2604 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2605
2606         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2607         with a function call of `process-buffer'.  All callers are updated.
2608         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2609         Remove redundant `set-buffer' in a while loop.
2610
2611 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2612
2613         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2614         calls.
2615
2616 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2617
2618         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2619         elsp-spamfilter-register-buffer-internal with current buffer.
2620         (elmo-spam-register-spam-buffer): Ditto.
2621         (elmo-spam-register-good-buffer): Ditto.
2622
2623 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2624
2625         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2626         if it is not contained in the response(A workaround for courier-imap).
2627
2628 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2629
2630         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2631         parenthesis.
2632
2633 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2634
2635         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2636         range.
2637
2638 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2639
2640         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2641         of nconc.
2642
2643         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2644         argument handler.
2645         (elmo-msgdb-message-match-condition): Follow the change above.
2646
2647 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2648
2649         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2650         folder name.
2651
2652 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2653
2654         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2655
2656 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2657
2658         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2659
2660 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2661
2662         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2663         not found.
2664
2665 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2666
2667         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2668         value.
2669         (elmo-file-command-argument): Undo last change for cygwin.
2670         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2671         Don't return nil.
2672         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2673
2674 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2675
2676         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2677         value returned from elmo-file-find is nil.
2678
2679 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2680
2681         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2682         to elmo-vars.el.
2683
2684         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2685         instead of insert-file-contents-as-binary.
2686         (elmo-message-set-field): New generic function.
2687
2688         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2689         behavior change on `split-string'.
2690
2691         * elmo-file.el (elmo-file-find): New function.
2692         (elmo-file-command): New user option.
2693         (elmo-file-command-argument): Ditto.
2694         (elmo-file-fetch-max-size): Ditto.
2695         (elmo-file-detect-format): New function.
2696         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2697         Use elmo-file-detect-format.
2698         (elmo-map-folder-list-message-locations): Don't treat directories.
2699
2700 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2701
2702         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2703         (elmo-passwd-alist-clear): Shred password before clear.
2704         (elmo-remove-passwd): Remove all mached pair.
2705
2706 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2707
2708         * elmo.el (elmo-folder-synchronize): Fix description of the return
2709         value.
2710
2711 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2712
2713         * elmo.el (elmo-message-fetch-bodystructure): New method.
2714         (elmo-message-fetch-bodystructure): Define default.
2715
2716         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2717         elmo-message-fetch-bodystructure.
2718         (elmo-message-fetch-bodystructure): Define.
2719
2720         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2721
2722 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2723
2724         * elmo-filter.el (elmo-message-folder): Define.
2725
2726 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2727
2728         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2729         elmo-delete-cr-buffer.
2730
2731         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2732
2733         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2734
2735         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2736
2737         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2738         type seems to be a text.
2739
2740 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2741
2742         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2743         (elmo-spam-register-good-buffer): Ditto.
2744         (elmo-spam-spamassassin-register-messages): Ditto.
2745
2746         * elmo-util.el (elmo-string-member-ignore-case): Define with
2747         static-cond.
2748
2749 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2750
2751         * elmo.el (elmo-folder-type): Undo last change.
2752
2753         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2754
2755         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2756         warnings.
2757
2758         * elmo-file.el: New file.
2759         
2760         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2761
2762         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2763         variable.
2764         (elmo-spam-spamassassin-register-messages): New inline function.
2765         (elmo-spam-register-spam-messages): Define.
2766         (elmo-spam-register-good-messages): Ditto.
2767
2768         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2769         Fixed typo.
2770
2771         * elmo.el (toplevel): Added autoload setting for
2772         `elmo-get-global-flags'.
2773         (elmo-message-has-global-flag-p): New function.
2774         (elmo-message-set-global-flags): Ditto.
2775         (elmo-folder-type): Improvement for name: format.
2776
2777         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2778         availability of keyword flags.
2779         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2780         (elmo-folder-list-flagged-plugged): Renamed from
2781         elmo-folder-list-flagged-unplugged.
2782         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2783         accept any flag as keyword flag.
2784         (elmo-folder-set-flag-plugged): Accept keyword flags.
2785         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2786
2787         * elmo-flag.el (elmo-get-global-flags): New function.
2788
2789         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2790         folders.
2791
2792         * elmo-version.el (elmo-version): Up to 2.11.24.
2793
2794 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2795
2796         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2797         elmo-multiple-field-body instead of std11-field-body to check all
2798         headers.
2799
2800 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2801
2802         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2803         or "size".
2804
2805 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2806
2807         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2808         unintern is unbound.
2809
2810 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2811
2812         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2813         Protect from infinite loop.
2814
2815 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2816
2817         * elsp-bogofilter.el
2818         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2819         (elmo-spam-bogofilter-register-messages): New internal function.
2820         (elmo-spam-register-spam-messages): Define.
2821         (elmo-spam-register-good-messages): Ditto.
2822
2823 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2824
2825         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2826         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2827         (elmo-spam-bogofilter-call): Fixed the last change.
2828         (elmo-spam-bogofilter-arguments): Ditto.
2829
2830         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2831         Follow the options change of latest bogofilter.
2832
2833         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2834         (elmo-spam-bogofilter-good-switch): Ditto.
2835         (elmo-spam-bogofilter-arguments-alist): New user option.
2836         (elmo-spam-bogofilter-debug): Ditto.
2837         (elmo-spam-bogofilter-call): Renamed from
2838         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2839         is non-nil, insert output in buffer for debug.
2840         (elmo-spam-bogofilter-arguments): New macro.
2841         (elmo-spam-buffer-spam-p): Use it.
2842         (elsp-bogofilter-register-buffer): Ditto.
2843
2844 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2845
2846         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2847         regexp.
2848
2849 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2850
2851         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2852         value as "ruby".
2853         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2854         (elmo-spam-bsfilter-program): Set default value as full path for
2855         `bsfilter'.
2856         (elmo-spam-bsfilter-debug): New user option.
2857         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2858         non-nil, insert output in buffer for debug. Fix treating of
2859         argument.
2860
2861 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2862
2863         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2864         `elmo-maildir-flag-specs' element instead of one.
2865         (elmo-map-folder-unset-flag): Ditto.
2866         (Reported by Ken Makimura <macky@astem.or.jp>)
2867
2868         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2869         (elmo-folder-unset-flag-plugged): Ditto.
2870
2871 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2872
2873         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2874         to `reads' slot only if `in-msgdb' is nil.
2875
2876 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2877
2878         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2879         and complement argument list.
2880
2881 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2882
2883         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2884         instead of elmo-folder-list-flagged.
2885
2886 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2887
2888         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2889
2890         * elsp-bsfilter.el: New file.
2891
2892         * elmo-pipe.el (elmo-folder-list-unreads,
2893         elmo-folder-list-answereds,
2894         elmo-folder-list-importants,
2895         elmo-folder-flag-as-important,
2896         elmo-folder-unflag-important,
2897         elmo-folder-flag-as-read,
2898         elmo-folder-unflag-read,
2899         elmo-folder-flag-as-answered,
2900         elmo-folder-unflag-answered): Remove.
2901         (elmo-folder-set-flag): Define.
2902         (elmo-folder-unset-flag): Ditto.
2903
2904         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2905         (elmo-folder-set-flag): Define.
2906         (elmo-folder-unset-flag): Ditto.
2907         (elmo-folder-list-unreads): Remove.
2908         (elmo-folder-list-flagged): Define.
2909
2910         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2911         (elmo-folder-list-unreads,
2912         elmo-folder-list-importants,
2913         elmo-folder-list-answereds,
2914         elmo-folder-list-unreads-plugged,
2915         elmo-folder-list-importants-plugged,
2916         elmo-folder-list-answereds-plugged): Remove.
2917         (elmo-folder-list-flagged-plugged): New method.
2918         (elmo-folder-unflag-important,
2919         elmo-folder-flag-as-important,
2920         elmo-folder-unflag-read,
2921         elmo-folder-flag-as-read,
2922         elmo-folder-unflag-answered,
2923         elmo-folder-flag-as-answered,
2924         elmo-folder-flag-as-read-unplugged,
2925         elmo-folder-unflag-read-unplugged,
2926         elmo-folder-flag-as-important-unplugged,
2927         elmo-folder-unflag-important-unplugged,
2928         elmo-folder-flag-as-answered-unplugged,
2929         elmo-folder-unflag-answered-unplugged): Remove.
2930         (elmo-folder-set-flag): Define.
2931         (elmo-folder-unset-flag): Ditto.
2932         (elmo-folder-set-flag-unplugged): Ditto.
2933         (elmo-folder-unset-flag-unplugged): Ditto.
2934
2935         * elmo-multi.el (elmo-folder-list-unreads,
2936         elmo-folder-list-answereds,
2937         elmo-folder-list-importants,
2938         elmo-folder-flag-as-important,
2939         elmo-folder-unflag-important,
2940         elmo-folder-flag-as-read,
2941         elmo-folder-unflag-read,
2942         elmo-folder-flag-as-answered,
2943         elmo-folder-unflag-answered): Remove.
2944         (elmo-folder-set-flag): Define.
2945         (elmo-folder-unset-flag): Ditto.
2946
2947         * elmo-map.el (elmo-map-folder-unflag-important,
2948         elmo-map-folder-flag-as-important,
2949         elmo-map-folder-unflag-read,
2950         elmo-map-folder-flag-as-read,
2951         elmo-map-folder-unflag-answered,
2952         elmo-map-folder-flag-as-answered): Remove.
2953         (elmo-map-folder-set-flag): New method.
2954         (elmo-map-folder-unset-flag): Ditto.
2955         (elmo-map-folder-list-unreads,
2956         elmo-map-folder-list-importants,
2957         elmo-map-folder-list-answereds): Remove.
2958         (elmo-folder-list-flagged-internal): Define.
2959         (elmo-map-folder-list-flagged): New method.
2960
2961         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2962         (elmo-map-folder-list-unreads,
2963         elmo-map-folder-list-importants,
2964         elmo-map-folder-list-flagged): Remove.
2965         (elmo-map-folder-list-flagged): Define.
2966         (elmo-map-folder-flag-as-important,
2967         elmo-map-folder-unflag-important,
2968         elmo-map-folder-flag-as-read,
2969         elmo-map-folder-unflag-read,
2970         elmo-map-folder-flag-as-answered,
2971         elmo-map-folder-unflag-answered): Remove.
2972         (elmo-maildir-set-mark-messages): New internal function.
2973         (elmo-map-folder-set-flag): Define.
2974         (elmo-map-folder-unset-flag): Ditto.
2975
2976         * elmo.el (toplevel): Added autoload setting for
2977         `elmo-folder-list-global-flag-messages'.
2978         (elmo-folder-list-unreads,
2979         elmo-folder-list-importants,
2980         elmo-folder-list-answereds): Remove.
2981         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2982         Return a list whitch merged with messages have global flag.
2983         (elmo-folder-list-flagged-internal): New method.
2984         (elmo-folder-unflag-important,
2985         elmo-folder-flag-as-important,
2986         elmo-folder-unflag-read,
2987         elmo-folder-flag-as-read,
2988         elmo-folder-unflag-answered,
2989         elmo-folder-flag-as-answered): Remove.
2990         (elmo-folder-set-flag): New method.
2991         (elmo-folder-unset-flag): Ditto.
2992         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2993         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2994
2995         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2996         (elmo-folder-list-unreads-plugged,
2997         elmo-folder-list-importants-plugged,
2998         elmo-folder-list-answereds-plugged,
2999         elmo-folder-list-flagged-unplugged,
3000         elmo-folder-unflag-important-plugged,
3001         elmo-folder-flag-as-important-plugged,
3002         elmo-folder-unflag-read-plugged,
3003         elmo-folder-flag-as-read-plugged,
3004         elmo-folder-unflag-answered-plugged,
3005         elmo-folder-flag-as-answered-plugged): Remove.
3006         (elmo-folder-set-flag-plugged,
3007         elmo-folder-unset-flag-plugged): Define.
3008
3009         * elmo-flag.el (elmo-folder-initialize): Register to
3010         `elmo-global-flag-list' if flag is not global.
3011         (elmo-folder-append-messages): Set flag to source messages.
3012
3013         * elmo-filter.el (elmo-filter-folder-list-unreads,
3014         elmo-folder-list-unreads,
3015         elmo-filter-folder-list-importants,
3016         elmo-folder-list-importants,
3017         elmo-folder-flag-as-read,
3018         elmo-folder-unflag-read,
3019         elmo-folder-flag-as-important,
3020         elmo-folder-unflag-important,
3021         elmo-folder-flag-as-answered,
3022         elmo-folder-unflag-answered): Remove.
3023         (elmo-folder-set-flag): Define.
3024         (elmo-folder-unset-flag): Ditto.
3025
3026         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3027         elmo-folder-unflag-read-dop,
3028         elmo-folder-flag-as-important-dop,
3029         elmo-folder-unflag-important-dop,
3030         elmo-folder-flag-as-answered-dop,
3031         elmo-folder-unflag-answered-dop): Remove.
3032         (elmo-folder-set-flag-dop,
3033         elmo-folder-unset-flag-dop,
3034         elmo-folder-set-important-delayed,
3035         elmo-folder-unset-important-delayed,
3036         elmo-folder-set-read-delayed,
3037         elmo-folder-unset-read-delayed,
3038         elmo-folder-set-answered-delayed,
3039         elmo-folder-unset-answered-delayed): New function.
3040         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3041         (elmo-dop-queue-method-name-alist): Ditto.
3042
3043         * elmo-version.el (elmo-version): Up to 2.11.23.
3044
3045 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3046
3047         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3048
3049         * elsp-sa.el: New file.
3050
3051 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3052
3053         * modb-standard.el (modb-standard-message-entity): New function.
3054         (elmo-msgdb-message-entity): Use it.
3055
3056 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3057
3058         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3059         behavior when one-level is nil.
3060
3061         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3062
3063         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3064
3065 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3066
3067         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3068         get max number.
3069         (elmo-generic-folder-diff): Ditto.
3070
3071         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3072         (elmo-folder-update-number): Ditto.
3073
3074         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3075         (elmo-folder-next-message-number-dop): Ditto.
3076
3077 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3078
3079         * elmo-filter.el (elmo-folder-msgdb-create): Use
3080         `elmo-message-entity' and `elmo-message-flags' instead of
3081         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3082
3083 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3084
3085         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3086         `if-exists'.
3087
3088 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3089
3090         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3091
3092         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3093
3094         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3095
3096 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3097
3098         * elmo-version.el (elmo-version): Up to 2.11.22.
3099
3100 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3101
3102         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3103
3104 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3105
3106         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3107         if the message dose not exist.
3108
3109 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3110
3111         * elmo-version.el (elmo-version): Up to 2.11.21.
3112
3113 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3114
3115         * modb-standard.el (toplevel): Don't require mime.
3116
3117 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3118
3119         * elsp-bogofilter.el (toplevel): Don't require path-util.
3120         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3121         (elmo-spam-bogofilter-header): Abolish.
3122         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3123         (elmo-spam-bogofilter-args): New user option.
3124         (elsp-bogofilter-call-bogofilter): New internal function.
3125         (elmo-spam-buffer-spam-p): Use it.
3126         (elsp-bogofilter-register-buffer): Renamed from
3127         `elmo-spam-bogofilter-register-buffer';
3128         Use `elsp-bogofilter-call-bogofilter'.
3129         (elmo-spam-register-spam-buffer): Follow the change above.
3130         (elmo-spam-register-good-buffer): Ditto.
3131
3132 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3133
3134         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3135         message-id is nil do nothing.
3136
3137 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3138
3139         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3140         Revival.
3141         (elmo-imap4-session): Removed use-flag slot.
3142         (elmo-imap4-session-select-mailbox): Undo last change.
3143         (elmo-folder-use-flag-p): Use
3144         elmo-imap4-disuse-server-flag-mailbox-regexp.
3145
3146 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3147
3148         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3149         (elmo-imap4-session-select-mailbox): Set it up.
3150         (elmo-folder-use-flag-p): Return value of use-flag slot.
3151
3152 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3153
3154         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3155         message-id is nil.
3156         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3157
3158         * modb-entity.el (elmo-message-entity-handler): Likewise.
3159
3160 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3161
3162         * elmo.el (toplevel): Remove setting of autoloding for
3163         elmo-global-flag-initialize.
3164         (elmo-init): Don't call elmo-global-flag-initialize.
3165         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3166
3167         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3168         (elmo-global-mark-migrate): Don't call it.
3169         (elmo-global-mark-upgrade): Ditto.
3170
3171 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3172
3173         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3174         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3175
3176         * elmo-vars.el (elmo-init-hook): New user option.
3177
3178         * elmo.el (elmo-init): Run the elmo-init-hook.
3179
3180         * elmo-flag.el (elmo-global-mark-migrate): New function.
3181
3182 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3183
3184         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3185         Undo last change (move to elmo-msgdb-unset-flag).
3186         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3187         flag is unset.
3188
3189 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3190
3191         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3192         read flag is set.
3193         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3194         (elmo-msgdb-unset-flag): Ditto.
3195
3196 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3197
3198         * elmo-split.el (elmo-split): Return split message count.
3199
3200 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3201
3202         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3203         is nil.
3204
3205 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3206
3207         * elmo.el (elmo-folder-unflag-important): Call
3208         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3209         a symbol `always'.
3210
3211         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3212         before unset flag.
3213         (elmo-global-flag-detach): Delete the message from flag folder, if
3214         `delete-if-none' is a symbol `always'.
3215
3216 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3217
3218         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3219         `elmo-spam-spamfilter-decode-buffer'.
3220         (elsp-spamfilter-register-buffer-internal): New internal function.
3221         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3222         (elmo-spam-register-spam-buffer): Ditto.
3223         (elmo-spam-register-good-buffer): Ditto.
3224
3225         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3226         change.
3227         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3228         (elmo-spam-register-spam-buffer): Follow the API change.
3229         (elmo-spam-register-good-buffer): Ditto.
3230
3231         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3232         (elmo-split-spam-p): Added argument plist; Call
3233         `elmo-spam-buffer-spam-p' with new argument register.
3234
3235         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3236         `register'.
3237         (elmo-spam-message-spam-p): Ditto.
3238         (elmo-spam-register-spam-buffer): Added optional argument
3239         `restore'.
3240         (elmo-spam-register-good-buffer): Ditto.
3241         (elmo-spam-register-spam-messages): Ditto.
3242         (elmo-spam-register-good-messages): Ditto.
3243
3244 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3245
3246         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3247         register into good corpus.
3248         (elmo-spam-register-good-buffer): Fixed to register into bad
3249         corpus.
3250
3251 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3252
3253         * elmo-version.el (elmo-version): Up to 2.11.20.
3254
3255         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3256         change.
3257
3258         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3259         flag without depending on \Recent flag.
3260
3261 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3262
3263         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3264         (elmo-spam-modified-p): Defined.
3265         (elmo-spam-save-status): Set `modified' slot to nil.
3266         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3267         (elmo-spam-register-good-buffer): Ditto.
3268
3269         * elmo-spam.el (elmo-spam-modified-p): New API.
3270
3271 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3272
3273         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3274         duplicate definition.
3275
3276         * elmo-util.el (elmo-unfold-field-body): New function.
3277         (elmo-msgdb-get-message-id-from-buffer): Use it.
3278
3279         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3280         Fixed the last change; Use elmo-unfold-field-body.
3281
3282 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3283
3284         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3285         Unfold date value.
3286
3287 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3288
3289         * elmo-spam.el (elmo-spam-save-status): New API.
3290
3291         * elsp-spamfilter.el: New file.
3292
3293 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3294
3295         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3296
3297 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3298
3299         * elmo-split.el (elmo-split-spam-p): New function.
3300
3301         * elmo-spam.el: New file.
3302
3303         * elsp-bogofilter.el: Ditto.
3304
3305 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3306
3307         * elmo.el (elmo-folder-next-message-number): New API.
3308         (elmo-folder-next-message-number): Define.
3309         (elmo-message-field): Don't check folder length.
3310
3311         * elmo-net.el (elmo-folder-next-message-number): Define.
3312         (elmo-folder-next-message-number-unplugged): Define.
3313
3314         * elmo-map.el (elmo-folder-next-message-number): Define.
3315         (elmo-folder-delete-messages): Clear hash value.
3316
3317         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3318
3319         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3320         (elmo-folder-delete-messages-dop-delayed): Always return t.
3321
3322         * elmo-version.el (elmo-version): Up to 2.11.19.
3323
3324 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3325
3326         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3327         change.
3328
3329         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3330         identical cons cell into the mark-alist and the hash table.
3331
3332 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3333
3334         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3335         elmo-folder-list-messages with argument `visible-only' as t.
3336
3337         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3338         (elmo-folder-msgdb-create): Check the target folder.
3339
3340 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3341
3342         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3343         `permanentflag' instead of `flags'.
3344         (elmo-folder-open): Ditto.
3345         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3346         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3347         (elmo-folder-use-flag-p): Always return t.
3348         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3349         `permanentflags' does not exist.
3350         (elmo-folder-open): Ditto.
3351
3352 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3353
3354         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3355         is nil.
3356         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3357
3358         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3359         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3360         response.
3361         (elmo-folder-open): Ditto.
3362         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3363         slot of the session includes the flag.
3364         (elmo-imap4-session-flag-available-p): New function.
3365         (elmo-imap4-folder-list-flagged): Ditto.
3366         (elmo-folder-list-unreads-plugged): Use it.
3367         (elmo-folder-list-importants-plugged): Ditto.
3368         (elmo-folder-list-answereds-plugged): Ditto.
3369         (elmo-imap4-search-internal-primitive): Ditto.
3370         (elmo-imap4-folder-list-any-plugged,
3371         elmo-imap4-folder-list-digest-plugged): Abolish.
3372
3373         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3374         if numbers is nil.
3375
3376 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3377
3378         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3379
3380 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3381
3382         * elmo-util.el (elmo-get-hash-val): Simplify.
3383         (elmo-set-hash-val): Rewrite.
3384
3385 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3386
3387         * elmo.el (elmo-folder-list-messages): Append killed messages into
3388         result if `visible-only' is nil and `in-msgdb' is non-nil.
3389
3390         * elmo-util.el (elmo-uniq-list): Added optional argument
3391         `delete-function'.
3392
3393         * modb.el (elmo-msgdb-flag-count): New API.
3394
3395         * modb-standard.el (modb-standard): Added slot flag-count.
3396         (modb-standard-countup-flags): New function.
3397         (modb-standard-load-flag): Call it.
3398         (elmo-msgdb-append): Ditto.
3399         (elmo-msgdb-clear): Clear slot flag-count.
3400         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3401         (elmo-msgdb-unset-flag): Treat `all' flag and call
3402         modb-standard-countup-flags.
3403         (elmo-msgdb-flag-count): Define.
3404         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3405         (elmo-msgdb-delete-messages): Ditto.
3406
3407         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3408         (elmo-msgdb-flag-count): Define.
3409
3410         * elmo.el (elmo-folder-list-messages): Undo last change.
3411         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3412         (elmo-folder-kill-messages): Unset all flags to numbers.
3413
3414         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3415         elmo-folder-kill-messages.
3416
3417         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3418         (elmo-nntp-folder-delete-messages): Abolish.
3419
3420         * elmo-version.el (elmo-version): Up to 2.11.18.
3421
3422 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3423
3424         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3425         (elmo-folder-kill-messages-range): New function.
3426         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3427         instead of elmo-folder-kill-messages-before.
3428
3429 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3430
3431         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3432         elmo-imap4-current-msgdb to decide entity handler.
3433
3434 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3435
3436         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3437
3438         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3439         inline function.
3440         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3441         (elmo-msgdb-overview-entity-set-number,
3442         elmo-msgdb-overview-entity-get-references,
3443         elmo-msgdb-overview-entity-set-references,
3444         elmo-msgdb-overview-entity-get-from-no-decode,
3445         elmo-msgdb-overview-entity-get-from,
3446         elmo-msgdb-overview-entity-set-from,
3447         elmo-msgdb-overview-entity-get-subject,
3448         elmo-msgdb-overview-entity-get-subject-no-decode,
3449         elmo-msgdb-overview-entity-set-subject,
3450         elmo-msgdb-overview-entity-get-date,
3451         elmo-msgdb-overview-entity-set-date,
3452         elmo-msgdb-overview-entity-get-to,
3453         elmo-msgdb-overview-entity-get-cc,
3454         elmo-msgdb-overview-entity-get-size,
3455         elmo-msgdb-overview-entity-set-size,
3456         elmo-msgdb-overview-entity-get-extra,
3457         elmo-msgdb-overview-entity-set-extra,
3458         elmo-msgdb-overview-entity-get-extra-field,
3459         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3460         (elmo-msgdb-make-index): Use
3461         `elmo-msgdb-overview-entity-get-number-internal'.
3462         (elmo-msgdb-clear-index): Ditto.
3463         (elmo-msgdb-append-entity): Ditto;
3464         Use `elmo-msgdb-overview-entity-get-id-internal'.
3465
3466         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3467         elmo-msgdb-overview-entity-set-number,
3468         elmo-msgdb-overview-entity-get-references,
3469         elmo-msgdb-overview-entity-set-references,
3470         elmo-msgdb-overview-entity-get-from-no-decode,
3471         elmo-msgdb-overview-entity-get-from,
3472         elmo-msgdb-overview-entity-set-from,
3473         elmo-msgdb-overview-entity-get-subject,
3474         elmo-msgdb-overview-entity-get-subject-no-decode,
3475         elmo-msgdb-overview-entity-set-subject,
3476         elmo-msgdb-overview-entity-get-date,
3477         elmo-msgdb-overview-entity-set-date,
3478         elmo-msgdb-overview-entity-get-to,
3479         elmo-msgdb-overview-entity-get-cc,
3480         elmo-msgdb-overview-entity-get-size,
3481         elmo-msgdb-overview-entity-set-size,
3482         elmo-msgdb-overview-entity-get-extra,
3483         elmo-msgdb-overview-entity-set-extra,
3484         elmo-msgdb-overview-entity-get-extra-field,
3485         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3486         and rewrote for backward compatibility.
3487
3488 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3489
3490         * elmo.el (elmo-message-entity-number,
3491         elmo-message-entity-set-number,
3492         elmo-message-entity-field,
3493         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3494
3495         * elmo-msgdb.el (elmo-message-entity-number,
3496         elmo-message-entity-set-number,
3497         elmo-message-entity-field,
3498         elmo-message-entity-set-field): Moved from elmo.el.
3499
3500 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3501
3502         * elmo.el (toplevel): Changed definition orders.
3503
3504 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3505
3506         * modb.el (elmo-msgdb-search): New API .
3507         (elmo-msgdb-match-condition): Ditto.
3508
3509         * modb-standard.el (elmo-msgdb-search): Define.
3510
3511         * modb-legacy.el (elmo-msgdb-search): Ditto.
3512
3513         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3514         from elmo-msgdb-match-condition-internal.
3515
3516         * elmo.el (elmo-folder-search-fast): Abolish.
3517         (elmo-folder-search): Use elmo-msgdb-search and
3518         elmo-with-progress-display.
3519
3520         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3521         as msgdb API.
3522
3523         * elmo.el (elmo-folder): Remove slot message-modified and
3524         flag-modified.
3525         (elmo-folder-set-message-modified): Abolish.
3526         (elmo-generic-folder-commit): Follow the change above.
3527         (elmo-folder-synchronize): Ditto.
3528
3529         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3530
3531         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3532
3533         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3534
3535 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3536
3537         * modb-standard.el (modb-standard-make-message-entity,
3538         elmo-msgdb-make-message-entity,
3539         elmo-msgdb-create-message-entity-from-buffer,
3540         elmo-msgdb-message-entity-number,
3541         elmo-msgdb-message-entity-set-number,
3542         elmo-msgdb-message-entity-field,
3543         elmo-msgdb-message-entity-set-field,
3544         elmo-msgdb-copy-message-entity,
3545         elmo-msgdb-match-condition-internal): Remove.
3546
3547         * modb-entity.el: New file (again).
3548
3549         * modb.el (toplevel): Require modb-entity.
3550         (elmo-msgdb-message-entity-handler): New method.
3551
3552         * modb-standard.el (modb-standard-entity-id): Use
3553         elmo-message-entity-handler.
3554         (modb-standard-load-entity): Ditto.
3555         (elmo-msgdb-append-entity): Ditto.
3556         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3557
3558         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3559         elmo-msgdb-decoded-cache-hashtb,
3560         (modb-legacy-make-message-entity,
3561         elmo-msgdb-make-message-entity,
3562         elmo-msgdb-create-message-entity-from-buffer,
3563         elmo-msgdb-message-entity-number,
3564         elmo-msgdb-message-entity-set-number,
3565         elmo-msgdb-message-entity-field,
3566         elmo-msgdb-message-entity-set-field,
3567         elmo-msgdb-copy-message-entity,
3568         elmo-msgdb-match-condition-internal,
3569         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3570
3571         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3572         (elmo-message-entity-set-number): Ditto.
3573         (elmo-message-entity-field): Ditto.
3574         (elmo-message-entity-set-field): Ditto.
3575
3576         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3577
3578         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3579
3580         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3581
3582         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3583         (elmo-nntp-msgdb-create-message): Ditto.
3584
3585         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3586         (elmo-folder-msgdb-create): Add unread flag.
3587
3588         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3589
3590         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3591
3592         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3593
3594         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3595
3596         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3597         elmo-msgdb-messge-entity-handler.
3598         * elmo-version.el (elmo-version): Up to 2.11.17.
3599
3600 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3601
3602         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3603         change.
3604
3605 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3606
3607         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3608
3609         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3610         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3611         (elmo-msgdb-flag-table): Ditto.
3612         (elmo-msgdb-sort-by-date): Ditto.
3613
3614         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3615
3616         * modb-standard.el (toplevel): Require mime.
3617         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3618         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3619         elmo-msgdb-message-entity-number.
3620         (elmo-msgdb-append-entity): Ditto.
3621         (elmo-msgdb-create-message-entity-from-file): Remove.
3622         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3623         corresponds to the entity.
3624         (elmo-msgdb-message-entity-number): Do nothing currently.
3625         (elmo-msgdb-message-entity-field): Ditto.
3626         (elmo-msgdb-message-entity-set-field): Ditto.
3627         (elmo-msgdb-copy-message-entity): Ditto.
3628         (elmo-msgdb-match-condition-internal): Ditto.
3629
3630         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3631         elmo-util.el.
3632         (elmo-msgdb-create-message-entity-from-file): Remove.
3633
3634         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3635         modb-legacy.el.
3636         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3637
3638         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3639
3640 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3641
3642         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3643         (elmo-msgdb-message-entity-field): Ditto.
3644         (elmo-msgdb-message-entity-number): Ditto.
3645
3646 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3647
3648         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3649         Fixed how to set extra field into entity.
3650         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3651         symbol.
3652
3653         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3654         Fixed how to set extra field into entity.
3655         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3656         symbol.
3657
3658 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3659
3660         * modb.el (elmo-message-entity-db): New function.
3661         (elmo-msgdb-make-message-entity): New API.
3662         (elmo-msgdb-message-entity-number): Ditto.
3663         (elmo-msgdb-message-entity-set-number): Ditto.
3664         (elmo-msgdb-message-entity-field): Ditto.
3665         (elmo-msgdb-message-entity-set-field): Ditto.
3666         (elmo-msgdb-copy-message-entity): Ditto.
3667         (elmo-msgdb-create-message-entity-from-file): Ditto.
3668         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3669         (elmo-msgdb-match-condition-internal): Ditto.
3670
3671         * modb-standard.el (modb-legacy): Require modb-legacy.
3672         (modb-standard-make-message-entity): New inline function.
3673         (elmo-msgdb-make-message-entity): Define.
3674         (elmo-msgdb-create-message-entity-from-file): Ditto.
3675         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3676         (elmo-msgdb-message-entity-field): Ditto.
3677         (elmo-msgdb-message-entity-set-field): Ditto.
3678         (elmo-msgdb-copy-message-entity): Ditto.
3679         (elmo-msgdb-match-condition-internal): Ditto.
3680
3681         * modb-legacy.el: Don't require modb-entity.
3682         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3683         (elmo-msgdb-match-condition-primitive): Ditto.
3684         (elmo-msgdb-get-decoded-cache): Ditto.
3685         (elmo-msgdb-overview-entity-get-id): Ditto.
3686         (elmo-msgdb-overview-entity-get-number): Ditto.
3687         (elmo-msgdb-overview-entity-set-number): Ditto.
3688         (elmo-msgdb-overview-entity-get-references): Ditto.
3689         (elmo-msgdb-overview-entity-set-references): Ditto.
3690         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3691         (elmo-msgdb-overview-entity-get-from): Ditto.
3692         (elmo-msgdb-overview-entity-set-from): Ditto.
3693         (elmo-msgdb-overview-entity-get-subject): Ditto.
3694         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3695         (elmo-msgdb-overview-entity-set-subject): Ditto.
3696         (elmo-msgdb-overview-entity-get-date): Ditto.
3697         (elmo-msgdb-overview-entity-set-date): Ditto.
3698         (elmo-msgdb-overview-entity-get-to): Ditto.
3699         (elmo-msgdb-overview-entity-get-cc): Ditto.
3700         (elmo-msgdb-overview-entity-get-size): Ditto.
3701         (elmo-msgdb-overview-entity-set-size): Ditto.
3702         (elmo-msgdb-overview-entity-get-extra): Ditto.
3703         (elmo-msgdb-overview-entity-set-extra): Ditto.
3704         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3705         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3706         (elmo-msgdb-number-load): Ditto.
3707         (elmo-msgdb-overview-load): Ditto.
3708         (elmo-msgdb-mark-load): Ditto.
3709         (elmo-msgdb-number-save): Ditto.
3710         (elmo-msgdb-mark-save): Ditto.
3711         (elmo-msgdb-overview-save): Ditto.
3712         (modb-legacy-make-message-entity): New inline function.
3713         (elmo-msgdb-insert-file-header): Ditto.
3714         (elmo-msgdb-make-message-entity): Define.
3715         (elmo-msgdb-create-message-entity-from-file): Ditto.
3716         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3717         (elmo-msgdb-message-entity-number): Ditto.
3718         (elmo-msgdb-message-entity-set-number): Ditto.
3719         (elmo-msgdb-message-entity-field): Ditto.
3720         (elmo-msgdb-message-entity-set-field): Ditto.
3721         (elmo-msgdb-copy-message-entity): Ditto.
3722         (elmo-msgdb-match-condition-internal): Ditto.
3723
3724         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3725         (elmo-message-copy-entity): Rewrite.
3726         (elmo-message-entity-number): Ditto.
3727         (elmo-message-entity-set-number): Ditto.
3728         (elmo-message-entity-field): Use elmo-message-entity-db.
3729         (elmo-message-entity-set-field): Ditto.
3730         (elmo-message-field): Rewrite.
3731
3732         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3733         elmo-msgdb.el
3734         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3735
3736         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3737         elmo-message-entity-field.
3738         (elmo-shimbun-folder-shimbun-header): Ditto.
3739         (elmo-shimbun-entity-to-header): Ditto.
3740         (elmo-folder-msgdb-create): Ditto.
3741         (elmo-shimbun-msgdb-create-entity): Ditto;
3742         Use elmo-msgdb-create-message-entity-from-buffer.
3743         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3744         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3745
3746         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3747         elmo-msgdb-create-message-entity-from-file and 
3748         elmo-message-entity-field.
3749
3750         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3751         elmo-message-entity-number.
3752         (elmo-pop3-msgdb-create-message): Use
3753         elmo-msgdb-create-message-entity-from-buffer,
3754         elmo-message-entity-set-field, elmo-message-entity-number and
3755         elmo-message-entity-set-number.
3756
3757         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3758         the API change in elmo-msgdb-make-message-entity.
3759         (elmo-nntp-msgdb-create-message): Use
3760         elmo-msgdb-create-message-entity-from-buffer.
3761
3762         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3763         elmo-message-entity-field and
3764         elmo-msgdb-create-message-entity-from-file.
3765
3766         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3767         (elmo-msgdb-get-field): Abolish.
3768         (elmo-msgdb-get-number): Rewrite.
3769         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3770         (elmo-msgdb-flag-table): Ditto.
3771         (elmo-msgdb-get-last-message-id,
3772         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3773         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3774         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3775         (elmo-msgdb-create-overview-from-buffer,
3776         elmo-msgdb-overview-get-parent-entity): Abolish.
3777
3778         * elmo-mime.el (elmo-mime-display-as-is): Use
3779         elmo-message-entity-field.
3780
3781         * elmo-map.el (elmo-folder-pack-numbers): Use
3782         elmo-message-entity-set-number.
3783
3784         * elmo-maildir.el (elmo-folder-msgdb-create): 
3785         elmo-msgdb-create-message-entity-from-file instead of
3786         elmo-msgdb-create-overview-entity-from-file.
3787
3788         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3789         msgdb.
3790         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3791         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3792
3793         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3794         elmo-messge-entity-field and elmo-message-entity-number.
3795         (elmo-imap4-fetch-callback-1): Call
3796         elmo-msgdb-create-message-entity-from-buffer instead of
3797         elmo-msgdb-create-overview-from-buffer. 
3798         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3799         (elmo-find-fetch-strategy): Likewise.
3800
3801         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3802         elmo-localdir-msgdb-create-entity with argument msgdb.
3803
3804         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3805         and elmo-message-entity-set-number.
3806
3807         * elmo-cache.el (elmo-folder-msgdb-create): Use
3808         elmo-message-entity-field.
3809         (elmo-folder-msgdb-create): Call
3810         elmo-msgdb-create-message-entity-from-file instead of
3811         elmo-msgdb-create-overview-entity-from-file.
3812
3813         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3814         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3815         instead of elmo-msgdb-create-overview-from-buffer.
3816         (elmo-archive-msgdb-create-entity): Ditto.
3817         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3818         elmo-message-entity-field.
3819         (elmo-archive-parse-mmdf): Ditto.
3820
3821         * modb-entity.el: Removed.
3822
3823         * elmo-version.el (elmo-version): Up to 2.11.16.
3824
3825 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3826
3827         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3828         `is-local'.
3829         (elmo-folder-flag-as-answered): Ditto.
3830
3831 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3832
3833         * modb-standard.el: New file.
3834
3835         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3836         elmo-msgdb-convert-type is `sync'.
3837
3838         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3839         (elmo-msgdb-convert-type): New user option.
3840
3841         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3842         (elmo-load-msgdb): Auto detect saved type.
3843
3844         * elmo-version.el (elmo-version): Up to 2.11.15.
3845
3846 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3847
3848         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3849
3850         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3851         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3852         with argument `delete-if-none' when dst-folder is 'null.
3853
3854         * elmo-flag.el (elmo-folder-append-messages): Defined.
3855         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3856
3857 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3858
3859         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3860
3861 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3862
3863         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3864         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3865         (elmo-folder-commit): Ditto.
3866
3867 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3868
3869         * elmo-flag.el: New file.
3870
3871         * elmo-mark.el: Removed.
3872
3873         * modb-legacy.el (modb-legacy-new-mark,
3874         modb-legacy-unread-uncached-mark,
3875         modb-legacy-unread-cached-mark,
3876         modb-legacy-read-uncached-mark,
3877         modb-legacy-answered-cached-mark,
3878         modb-legacy-answered-uncached-mark,
3879         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3880         All other related portions are changed.
3881
3882         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3883         (elmo-folder-list-messages-with-global-mark): Abolish.
3884         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3885         (elmo-folder-flag-as-important): Ditto.
3886         (elmo-folder-unflag-read): Ditto.
3887         (elmo-folder-flag-as-read): Ditto.
3888         (elmo-folder-unflag-answered): Ditto.
3889         (elmo-folder-flag-as-answered): Ditto.
3890         (elmo-message-encache): Return the cache path.
3891         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3892         (elmo-message-set-flag): Transitional implementation.
3893         (elmo-message-unset-flag): Ditto.
3894         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3895         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3896         (elmo-init): Call elmo-global-flag-initialize.
3897         (toplevel): Added autoload settings for elmo-flag.
3898
3899         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3900
3901         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3902         (elmo-file-cache-delete): Don't treat global-mark.
3903
3904         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3905
3906         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3907
3908         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3909         `elmo-global-flags-set'.
3910
3911         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3912         `flag'.
3913         (elmo-folder-unflag-read): Ditto.
3914         (elmo-folder-unflag-important): Ditto.
3915         (elmo-folder-flag-as-important): Ditto.
3916         (elmo-folder-unflag-answered): Ditto.
3917         (elmo-folder-flag-as-answered): Ditto.
3918
3919         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3920         `elmo-global-flags-set'.
3921         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3922
3923         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3924
3925         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3926         `flag'.
3927         (elmo-folder-flag-as-important): Ditto.
3928         (elmo-folder-unflag-important): Ditto.
3929         (elmo-folder-flag-as-important): Ditto.
3930         (elmo-folder-unflag-read): Ditto.
3931         (elmo-folder-flag-as-read): Ditto.
3932         (elmo-folder-unflag-answered): Ditto.
3933         (elmo-folder-flag-as-answered): Ditto.
3934
3935         * elmo-multi.el (elmo-folder-list-importants): Don't call
3936         elmo-folder-list-messages-with-global-mark.
3937         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3938         (elmo-folder-unflag-important): Ditto.
3939         (elmo-folder-flag-as-read): Ditto.
3940         (elmo-folder-unflag-read): Ditto.
3941         (elmo-folder-flag-as-answered): Ditto.
3942         (elmo-folder-unflag-answered): Ditto.
3943
3944         * elmo-msgdb.el (elmo-msgdb-new-mark,
3945         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3946         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3947         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3948         (Moved to modb-legacy.el).
3949         (elmo-flag-table-get): Treat important flag too.
3950
3951         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3952         `mark' to `flag'.
3953         (elmo-map-folder-flag-as-important): Ditto.
3954         (elmo-map-folder-unflag-read): Ditto.
3955         (elmo-map-folder-flag-as-read): Ditto.
3956         (elmo-map-folder-unflag-answered): Ditto.
3957         (elmo-map-folder-flag-as-answered): Ditto.
3958         (elmo-folder-unflag-important): Ditto.
3959         (elmo-folder-flag-as-important): Ditto.
3960         (elmo-folder-unflag-read): Ditto.
3961         (elmo-folder-flag-as-read): Ditto.
3962         (elmo-folder-unflag-answered): Ditto.
3963         (elmo-folder-flag-as-answered): Ditto.
3964
3965         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3966         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3967         `flag'.
3968         (elmo-map-folder-unflag-important): Ditto.
3969         (elmo-map-folder-flag-as-read): Ditto.
3970         (elmo-map-folder-unflag-read): Ditto.
3971         (elmo-map-folder-flag-as-answered): Ditto.
3972         (elmo-map-folder-unflag-answered): Ditto.
3973
3974         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3975         `elmo-global-flags-set'.
3976         (elmo-global-flags-set): Added autoload setting.
3977
3978         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3979         `flag'.
3980
3981         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3982         `elmo-msgdb-global-mark-set'.
3983         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3984         Call `elmo-global-flags-set'.
3985         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3986         `flag'.
3987         (elmo-folder-flag-as-important-plugged): Ditto.
3988         (elmo-folder-unflag-read-plugged): Ditto.
3989         (elmo-folder-flag-as-read-plugged): Ditto.
3990         (elmo-folder-unflag-answered-plugged): Ditto.
3991         (elmo-folder-flag-as-answered-plugged): Ditto.
3992         (elmo-global-flags-set): Added autoload setting.
3993
3994         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3995         `flag'.
3996         (elmo-folder-unflag-read): Ditto.
3997         (elmo-folder-flag-as-important): Ditto.
3998         (elmo-folder-unflag-important): Ditto.
3999         (elmo-folder-flag-as-answered): Ditto.
4000         (elmo-folder-unflag-answered): Ditto.
4001
4002         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
4003         change of `mark'->`flag'.
4004         (elmo-dop-queue-method-name-alist): Ditto.
4005         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
4006         (elmo-folder-unflag-read-dop): Ditto.
4007         (elmo-folder-flag-as-important-dop): Ditto.
4008         (elmo-folder-unflag-important-dop): Ditto.
4009         (elmo-folder-flag-as-answered-dop): Ditto.
4010         (elmo-folder-unflag-answered-dop): Ditto.
4011
4012         * elmo-cache.el (elmo-folder-msgdb-create): Call
4013         `elmo-global-flags-set'.
4014
4015         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4016         Call `elmo-global-flags-set'.
4017         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4018         elmo-archive-parse-mmdf with argument `folder'.
4019         (elmo-archive-parse-mmdf): Added argument `folder';
4020         Call `elmo-global-flags-set'.
4021
4022         * elmo-version.el (elmo-version): Up to 2.11.14.
4023
4024 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4025
4026         * modb.el (elmo-msgdb-length): Define.
4027
4028         * elmo.el (elmo-make-folder): Fixed.
4029         (elmo-generic-folder-append-messages): Follow the API change.
4030
4031         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4032         API change.
4033
4034 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4035
4036         * modb.el: New file.
4037
4038         * modb-entity.el: Ditto.
4039
4040         * modb-legacy.el: Ditto.
4041
4042         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4043         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4044         of `elmo-msgdb-overview-get-entity'.
4045         (elmo-msgdb-get-field): Ditto.
4046         (elmo-msgdb-merge): Moved to `elmo.el'.
4047         (elmo-msgdb-length): Removed; redefine as modb method.
4048         (elmo-msgdb-change-mark): Abolish.
4049         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4050         (elmo-msgdb-match-condition): Don't use mark.
4051         (elmo-msgdb-overview-get-entity): Abolish.
4052         Split modb part into `modb*.el'.
4053
4054         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4055
4056         * elmo-shimbun.el (shimbun-mua-search-id): Use
4057         `elmo-msgdb-message-entity' instead of
4058         `elmo-msgdb-overview-get-entity'.
4059         (elmo-shimbun-folder-shimbun-header): Ditto.
4060         (elmo-shimbun-get-headers): Ditto.
4061         (elmo-shimbun-update-overview): Ditto.
4062
4063         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4064
4065         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4066
4067         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4068         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4069
4070         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4071         `elmo-msgdb-mark-to-flags'.
4072
4073         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4074         `elmo-msgdb-set-path'.
4075
4076         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4077  
4078         * elmo-version.el (elmo-version): Up to 2.11.13.
4079
4080         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4081
4082         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4083         of mark.
4084
4085 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4086
4087         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4088         mismatch.
4089
4090 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4091
4092         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4093         instead of `elmo-msgdb-get-cached'.
4094         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4095
4096         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4097         (elmo-msgdb-set-cached): Ditto.
4098         (elmo-msgdb-set-flag): Rewrite.
4099         (elmo-msgdb-unset-flag): Ditto.
4100
4101         * elmo-msgdb.el: Rewrite with luna.
4102
4103         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4104         (elmo-folder-msgdb): Follow the change above.
4105         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4106         (elmo-folder-unmark-important): Follow the API change.
4107         (elmo-folder-mark-as-important): Ditto.
4108         (elmo-folder-unmark-read): Ditto.
4109         (elmo-folder-mark-as-read): Ditto.
4110         (elmo-folder-unmark-answered): Ditto.
4111         (elmo-folder-mark-as-answered): Ditto.
4112         (elmo-folder-clear): Likewise.
4113
4114         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4115         instead of `elmo-msgdb-load' (renamed).
4116
4117         * elmo-version.el (elmo-version): Up to 2.11.12.
4118
4119 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4120
4121         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4122         change.
4123         (elmo-message-mark): Abolish.
4124         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4125         instead of `elmo-msgdb-change-mark'.
4126
4127         * elmo-pipe.el (elmo-message-mark): Abolish.
4128
4129         * elmo-multi.el (elmo-message-mark): Ditto.
4130
4131         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4132         (elmo-msgdb-unread-uncached-mark): Ditto.
4133         (elmo-msgdb-unread-cached-mark): Ditto.
4134         (elmo-msgdb-read-uncached-mark): Ditto.
4135         (elmo-msgdb-answered-cached-mark): Ditto.
4136         (elmo-msgdb-answered-uncached-mark): Ditto.
4137         (elmo-msgdb-important-mark): Ditto.
4138         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4139         `use-cache'.
4140         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4141         `flags'.
4142         (elmo-flag-table-load): Changed flag to list of flag.
4143         (elmo-flag-table-set): If flags is nil, set read flag.
4144         (elmo-flag-table-get): Return derived flags from global mark,
4145         cache status and saved flags.
4146         (elmo-msgdb-flag-table): Follow the change above.
4147         (elmo-msgdb-out-of-date-messages): New function.
4148
4149         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4150
4151         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4152
4153         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4154
4155         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4156         (elmo-nntp-msgdb-create-message): Ditto.
4157
4158         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4159
4160         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4161         independent.
4162         (elmo-folder-msgdb-create): Follow the API change.
4163
4164         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4165         (elmo-folder-append-messages): Ditto.
4166
4167         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4168         (elmo-folder-append-buffer): Ditto.
4169
4170         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4171
4172         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4173
4174         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4175         (elmo-archive-parse-mmdf): Ditto.
4176
4177         * elmo-version.el (elmo-version): Up to 2.11.11.
4178
4179 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4180
4181         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4182         `elmo-msgdb-mark'.
4183
4184         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4185
4186         * elmo-pipe.el (elmo-message-flags): Defined.
4187
4188         * elmo-multi.el (elmo-message-flags): Ditto.
4189
4190 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4191
4192         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4193         `elmo-msgdb-delete-msgs'.
4194
4195         * elmo.el (elmo-folder-count-flags): Don't use
4196         `elmo-msgdb-get-mark-alist'.
4197         (elmo-folder-detach-messages): Follow the API change.
4198
4199         * elmo.el (elmo-folder-list-messages): Append killed messages into
4200         result if `visible-only' is nil.
4201
4202         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4203         canceled messages.
4204         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4205         (elmo-folder-update-number): Likewise.
4206
4207         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4208         (elmo-pop3-sort-msgdb-by-original-number): Use
4209         `elmo-msgdb-sort-entities'.
4210
4211         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4212         (elmo-msgdb-sort-by-date): Use it.
4213         (elmo-msgdb-overview-sort-by-date): Abolish.
4214
4215         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4216
4217         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4218         (elmo-msgdb-flags): New function.
4219         (elmo-msgdb-merge): Use elmo-msgdb-append.
4220
4221         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4222         change.
4223
4224         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4225
4226         * elmo-dop.el (elmo-folder-status-dop): Use
4227         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4228
4229 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4230
4231         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4232
4233         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4234
4235         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4236
4237         * elmo-util.el (elmo-with-progress-display): New macro.
4238
4239         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4240
4241 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4242
4243         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4244         `elmo-folder-list-message-entities' instead of
4245         `elmo-msgdb-get-overview'.
4246         (elmo-map-folder-list-message-locations): Ditto.
4247
4248         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4249         methods instead of treat directly).
4250         (elmo-msgdb-clear): Ditto.
4251         (elmo-msgdb-delete-msgs): Ditto.
4252         (elmo-msgdb-sort-by-date): Ditto.
4253
4254         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4255         local variables.
4256         (elmo-nntp-folder-msgdb-create): Follow the API change.
4257
4258         * elmo-version.el (elmo-version): Up to 2.11.10.
4259
4260 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4261
4262         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4263         (elmo-msgdb-flags-to-mark): Ditto.
4264         (elmo-msgdb-append-entity): Ditto.
4265
4266         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4267         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4268         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4269         (elmo-archive-parse-mmdf): Ditto.
4270
4271         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4272
4273         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4274
4275         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4276
4277         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4278
4279         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4280
4281         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4282
4283         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4284
4285         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4286
4287         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4288         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4289         to empty msgdb.
4290
4291         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4292         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4293         instead of directly construction.
4294         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4295         instead of construct msgdb.
4296
4297         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4298         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4299         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4300         instead of construct msgdb.
4301
4302 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4303
4304         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4305         when field is from or subject.
4306
4307 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4308
4309         * elmo-multi.el (elmo-message-entity-parent): Define.
4310         (elmo-folder-search): Rewrite.
4311
4312 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4313
4314         * elmo-multi.el (elmo-message-cached-p): Define.
4315
4316         * elmo.el (elmo-message-cached-p): New method.
4317         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4318         (elmo-message-flags): New method.
4319         (elmo-message-flagged-p): New function.
4320
4321         * elmo-version.el (elmo-version): Up to 2.11.9.
4322
4323 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4324
4325         * elmo-version.el (elmo-version): Up to 2.11.8.
4326
4327         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4328
4329         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4330
4331 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4332
4333         * elmo.el (elmo-folder-detach-messages): Undo last change.
4334
4335 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4336
4337         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4338
4339         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4340         only when src folder type is pop3.
4341
4342 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4343
4344         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4345         elmo-msgdb-overview-entity-get-number instead of
4346         elmo-message-entity-number.
4347
4348 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4349
4350         * elmo-version.el (elmo-version): Up to 2.11.7.
4351
4352 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4353
4354         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4355         function.
4356
4357         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4358         (elmo-msgdb-merge): New function.
4359         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4360         (elmo-msgdb-make-index): Rewrite.
4361
4362         * elmo-version.el (elmo-version): Up to 2.11.6.
4363
4364         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4365         use it as a the path for loading message entities.
4366
4367         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4368
4369 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4370
4371         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4372         message-modified slot of itself if it does not require target msgdb.
4373
4374         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4375         if folder length is zero.
4376         (elmo-mime-display-as-is): Ditto.
4377
4378         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4379
4380         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4381
4382 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4383
4384         * elmo.el (elmo-folder-set-message-modified): New method.
4385         (elmo-generic-folder-commit): Use it.
4386         (elmo-folder-synchronize): Ditto.
4387
4388         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4389         (elmo-folder-commit): Remove duplicate definition.
4390
4391 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4392
4393         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4394
4395 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4396
4397         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4398         (elmo-strict-folder-diff): Ditto.
4399         (elmo-folder-set-info-max-by-numdb): Simplify.
4400
4401         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4402         elmo-msgdb-list-messages.
4403
4404         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4405         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4406
4407 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4408
4409         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4410         visible-only is non-nil.
4411         (elmo-folder-confirm-appends): Changed message.
4412         (elmo-folder-synchronize): Added argument disable-killed.
4413
4414         * elmo-multi.el (elmo-folder-synchronize): Added argument
4415         disable-killed.
4416
4417         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4418
4419         * elmo-version.el (elmo-version): Up to 2.11.5.
4420
4421         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4422         elmo-list-filter.
4423
4424         * elmo-util.el (elmo-list-filter): Simplify.
4425
4426         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4427         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4428         (elmo-generic-folder-diff): Abolish argument.
4429         (elmo-msgdb-load): Don't use number-alist.
4430
4431         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4432
4433         * elmo-pipe.el (elmo-folder-diff): Ditto.
4434
4435         * elmo-nmz.el (elmo-folder-diff): Ditto.
4436
4437         * elmo-net.el (elmo-folder-diff): Ditto.
4438
4439         * elmo-maildir.el (elmo-folder-diff): Ditto.
4440
4441         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4442
4443         * elmo-multi.el (elmo-folder-diff): Ditto
4444         (elmo-multi-folder-diff): Rewrite.
4445
4446 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4447
4448         * elmo-pipe.el (elmo-folder-msgdb): Define.
4449
4450 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4451
4452         * elmo.el (elmo-message-set-cached): Define as a method.
4453
4454         * elmo-pipe.el (elmo-message-set-cached): Define.
4455         (elmo-find-fetch-strategy): Ditto.
4456
4457         * elmo-multi.el (elmo-message-set-cached): Define.
4458         (elmo-find-fetch-strategy): Rewrite.
4459
4460         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4461
4462         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4463
4464 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4465
4466         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4467         instead of number-alist.
4468
4469         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4470         mark nor message-id when msgdb of source folder is not loaded.
4471
4472         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4473
4474         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4475
4476 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4477
4478         * elmo.el (elmo-folder-length): Don't require msgdb.
4479
4480 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4481
4482         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4483         (elmo-message-field): Ditto.
4484
4485         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4486         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4487         slot.
4488         (elmo-map-folder-list-answereds): Define.
4489         (elmo-maildir-list-location): Treat 'R' info.
4490         (elmo-folder-msgdb-create): Treat flag-table.
4491         (elmo-folder-append-messages): Save flag-table.
4492
4493 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4494
4495         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4496         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4497
4498 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4499
4500         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4501
4502         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4503         'read when mark is null.
4504
4505 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4506
4507         * elmo-version.el (elmo-version): Up to 2.11.4.
4508
4509 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4510
4511         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4512         (elmo-folder-mark-as-answered): Ditto.
4513
4514 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4515
4516         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4517         (elmo-pop3-get-session): Make msgdb directory after session.
4518         (elmo-folder-exists-p): Check exactly at the first time even when the
4519         elmo-pop3-exists-exactly is nil.
4520
4521         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4522         (elmo-folder-list-messages): Define instead of
4523         elmo-folder-list-messages-internal.
4524         (elmo-folder-check): Check destination folder.
4525         (elmo-folder-synchronize): Drain the pipe.
4526
4527         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4528         when msgdb is not loaded.
4529
4530         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4531
4532         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4533         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4534         messages.
4535
4536         * elmo.el (elmo-folder-kill-messages-before): New function.
4537         (elmo-folder-kill-messages): Ditto.
4538         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4539
4540         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4541         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4542         killed not by synchronize (e.g. scoring).
4543
4544 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4545
4546         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4547         treated.
4548         (elmo-folder-search): Follow the change above.
4549
4550         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4551         into the candidates of search field.
4552
4553 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4554
4555         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4556         (elmo-msgdb-unset-flag): Ditto.
4557
4558         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4559
4560 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4561
4562         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4563         (elmo-folder-commit): Define.
4564         (elmo-folder-synchronize): Ditto.
4565         (elmo-folder-list-flagged): Ditto.
4566         (elmo-folder-commit): Ditto.
4567         (elmo-folder-length): Ditto.
4568         (elmo-folder-count-flags): Ditto.
4569         (elmo-message-mark): Ditto.
4570         (elmo-message-field): Ditto.
4571         (elmo-message-entity): Ditto.
4572         (elmo-message-folder): Ditto.
4573
4574 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4575
4576         * elmo.el (elmo-message-field): Define as a method.
4577
4578         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4579         (elmo-message-field): Define.
4580
4581         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4582         (elmo-folder-list-importants): Ditto.
4583         (elmo-folder-list-answereds): Ditto.
4584
4585         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4586         qualifier.
4587         (elmo-folder-mark-as-read): Ditto.
4588         (elmo-folder-unmark-read): Ditto.
4589         (elmo-folder-mark-as-answered): Ditto.
4590         (elmo-folder-unmark-answered): Ditto.
4591         (elmo-folder-list-flagged): Define.
4592         (elmo-folder-commit): Ditto.
4593         (elmo-folder-length): Ditto.
4594         (elmo-folder-count-flags): Ditto.
4595
4596 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4597
4598         * elmo.el (elmo-folder-detach-messages): New method.
4599         (elmo-folder-move-messages): Use it.
4600         (elmo-folder-synchronize): Ditto.
4601
4602         * elmo-multi.el (elmo-folder-detach-messages): Define.
4603
4604         * elmo.el (elmo-message-copy-entity): New function.
4605         (elmo-message-entity-set-number): Ditto.
4606         (elmo-message-mark): Define as method.
4607
4608         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4609         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4610         (elmo-message-entity): Fixed last change.
4611         (elmo-message-mark): Define.
4612         (elmo-folder-msgdb-create): Abolish.
4613         (elmo-multi-folder-append-msgdb): Ditto.
4614         (elmo-multi-folder-diff): Fixed.
4615         (elmo-multi-split-number-alist): Removed.
4616         (elmo-multi-split-mark-alist): Removed.
4617         (elmo-folder-list-messages): Define.
4618         (elmo-folder-list-messages-internal): Removed.
4619
4620         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4621         local file messages.
4622         (elmo-folder-msgdb-create): Fixed read mark.
4623
4624 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4625
4626         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4627         if mark is nil.
4628
4629 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4630
4631         * elmo.el (elmo-folder-list-message-entities): Define as inline
4632         function.
4633         (elmo-folder-messages): Abolish.
4634
4635         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4636         folder.
4637         (elmo-folder-synchronize): Define.
4638         (elmo-message-entity): Define.
4639
4640 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4641
4642         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4643         elmo-imap4-session-select-mailbox.
4644
4645         * elmo.el (elmo-folder-move-messages): Don't display any message.
4646
4647         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4648         parsing.
4649         (elmo-imap4-session-check): Don't wait CHECK response.
4650         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4651
4652 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4653
4654         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4655
4656 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4657
4658         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4659         API.
4660         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4661
4662
4663         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4664         (elmo-folder-list-message-entities): Added argument in-msgdb and
4665         numbers.
4666         (elmo-folder-synchronize): Define as a method.
4667
4668         * elmo-nntp.el (elmo-folder-initialize): Don't use
4669         elmo-nntp-default-user if zero-length username is specified
4670         explicitly.
4671
4672 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4673
4674         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4675         server name in case with username.
4676         (XXX: this is ad-hoc fix against username includes "@", it
4677         should be solved fundamentally)
4678
4679 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4680
4681         * elmo-nntp.el (elmo-nntp-debug): New function.
4682         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4683         (elmo-network-authenticate-session): Hide auth-info from the log.
4684
4685         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4686         user name if it is equal to elmo-nntp-default-user.
4687
4688 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4689
4690         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4691         instead of shimbun-server-internal;
4692         Use shimbun-current-group instead of shimbun-current-group-internal.
4693         (elmo-folder-plugged-p): Use shimbun-server instead of
4694         shimbun-server-internal.
4695         (elmo-folder-set-plugged): Ditto.
4696         (elmo-net-port-info): Ditto.
4697         (elmo-folder-check): Ditto.
4698         (elmo-folder-expand-msgdb-path): Ditto.
4699         (elmo-folder-list-subfolders): Ditto.
4700
4701 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4702
4703         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4704         Convert field-name to lower case.
4705         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4706
4707 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4708
4709         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4710         `message' and `error' take format string.
4711
4712 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4713
4714         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4715
4716 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4717
4718         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4719         recursive call (can't byte compile on emacs 20.7).
4720
4721 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4722
4723         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4724         (elmo-folder-list-message-entities): New API.
4725         (elmo-message-entity): Ditto.
4726         (elmo-message-entity-parent): Ditto.
4727         (elmo-folder-do-each-message-entity): Ditto.
4728         (elmo-message-entity-number): Ditto.
4729         (elmo-message-entity-field): Ditto.
4730         (elmo-message-entity-set-field): Ditto.
4731         (elmo-folder-count-flags): Ditto.
4732         (elmo-folder-length): Ditto.
4733
4734         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4735         not.
4736
4737         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4738         (elmo-msgdb-count-marks): Abolish.
4739         (elmo-msgdb-make-entity): Ditto.
4740         (elmo-msgdb-do-each-entity): Ditto.
4741         (elmo-msgdb-message-entity): New inline function.
4742         (elmo-msgdb-message-entity-field): Ditto.
4743         (elmo-msgdb-message-entity-set-field): Ditto.
4744         (elmo-msgdb-make-message-entity): New function.
4745
4746 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4747
4748         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4749         to flag. (All other related portions are changed.)
4750         (elmo-folder-msgdb-create): Likewise.
4751         (elmo-generic-folder-append-messages): Use flag-table instead of
4752         seen-list.
4753         (elmo-folder-move-messages): Removed redundant process.
4754         (elmo-folder-synchronize): Likewise.
4755
4756         * elmo-msgdb.el (elmo-flag-table-get): New function.
4757         (elmo-flag-table-save): Fixed.
4758         (elmo-msgdb-length): New inline function.
4759         (elmo-msgdb-flag-table): New function.
4760         (elmo-msgdb-mark): Add optional argument new.
4761         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4762         (elmo-msgdb-seen-list): Ditto.
4763         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4764
4765
4766 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4767
4768         * elmo.el (elmo-message-set-mark): Abolish.
4769         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4770         (All related portions are changed.)
4771
4772         * elmo-msgdb.el (toplevel): Added comment.
4773         (elmo-load-msgdb): Added 4th element `path'.
4774         (elmo-msgdb-append): Follow the change above.
4775         (elmo-msgdb-clear): Ditto.
4776         (elmo-msgdb-delete-msgs): Ditto.
4777         (elmo-msgdb-get-path): New inline function.
4778         (elmo-msgdb-set-path): Ditto.
4779         (elmo-flag-table-filename): New variable.
4780         (elmo-flag-table-load): New function.
4781         (elmo-flag-table-set): Ditto.
4782         (elmo-flag-table-save): Ditto.
4783         (elmo-msgdb-get-field-value): Abolish.
4784         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4785
4786 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4787
4788         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4789         the folder has been deleted successfully.
4790         * elmo-imap4.el (elmo-folder-delete): Ditto.
4791         * elmo-archive.el (elmo-folder-delete): Ditto.
4792         * elmo-localdir.el (elmo-folder-delete): Ditto.
4793         * elmo-maildir.el (elmo-folder-delete): Ditto.
4794
4795 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4796
4797         * elmo-util.el (elmo-string-member-ignore-case): New function.
4798         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4799         (elmo-imap4-fetch-callback-1-subr): Likewise.
4800
4801 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4802
4803         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4804         the case of the name attribute "\Noselect".
4805
4806 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4807
4808         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4809
4810         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4811         flist, is not always a member of onum-alist.
4812
4813 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4814
4815         * elmo-version.el (elmo-version): Up to 2.11.3.
4816
4817 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4818
4819         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4820         copied from localdir's one.
4821
4822         * elmo-pipe.el (elmo-folder-rename): New method, rename
4823         destination folder with leaving source folder as it is.
4824
4825 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4826
4827         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4828         replace-regexp.
4829
4830 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4831
4832         * elmo-version.el (elmo-version): Up to 2.11.2.
4833
4834 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4835
4836         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4837         shimbun-open in case of "@".
4838         (elmo-folder-open-internal): Cope with shimbun = nil case.
4839         (elmo-folder-plugged-p): Ditto.
4840         (elmo-folder-list-subfolders): Make list for "@/" group.
4841
4842 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4843
4844         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4845         mailbox (e.g. for %~/something).
4846
4847 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4848
4849         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4850         Replace nested conditional with guard clauses.
4851
4852 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4853
4854         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4855         error [wl:11327].
4856
4857         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4858         print-depth.
4859
4860 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4861
4862         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4863         Replace nested conditional with guard clauses.
4864
4865 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4866
4867         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4868         (elmo-passwd-alist-save): Ditto.
4869         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4870
4871 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4872
4873         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4874         dir-name only if it is absolute path.
4875         (TODO: distinguish +/something and +something)
4876
4877 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4878
4879         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4880         path for "+~/something".
4881
4882 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4883
4884         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4885         as non-directory, cause error before rename-file.
4886         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4887         apropriately, mimic localdir's one.
4888         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4889
4890 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4891
4892         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4893
4894 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4895
4896         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4897
4898         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4899         
4900         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4901         is included in the global-mark or not.
4902
4903 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4904
4905         * utf7.el (toplevel): Avoid error when the function
4906         find-coding-system does not exist.
4907
4908 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4909
4910         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4911         cache even if the folder is plugged.
4912         (elmo-nntp-search-primitive): Do nothing when body search is
4913         invoked (although it is not used by the change above).
4914         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4915
4916 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4917
4918         * elmo-version.el (elmo-version): Up to 2.11.1.
4919
4920 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4921
4922         * elmo-archive.el: Specify charset.
4923
4924 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4925
4926         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4927         process buffer lives or not.
4928
4929         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4930         while flushing queues (It causes infinite loop).
4931
4932 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4933
4934         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4935
4936 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4937
4938         * utf7.el (toplevel): Check the ucs features dynamically.
4939         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4940
4941         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4942         folder is creatabe or not if it already exists.
4943
4944 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4945
4946         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4947
4948         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4949
4950         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4951         (elmo-imap4-read-response): Take care of garbage response.
4952
4953 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4954
4955         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4956         just return nil instead of error.
4957
4958 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4959
4960         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4961         search-key is "body".
4962
4963 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4964
4965         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4966         of elmo-string-matched-assoc to use match-data.
4967         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4968
4969 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4970
4971         * elmo-split.el (elmo-split->): New function.
4972         (elmo-split-<): Ditto.
4973
4974 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4975
4976         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4977         workaround for invalid message-id.
4978
4979 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4980
4981         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4982         return normal pop3 session or pop3 biff session.
4983
4984 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4985
4986         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4987         info part to the cur files when the new files already have it.
4988         (Adviced by Jared Rhine <jared@wordzoo.com>)
4989
4990 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4991
4992         * elmo-split.el (elmo-split-default-action): New variable.
4993         (elmo-split-subr): Use it if all other conditions are passed.
4994         Extend `fname' and rename it as `action'. (implemented
4995         Teranishi-san's idea in [wl:10800])
4996
4997 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4998
4999         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
5000         * elmo-util.el: Ditto.
5001
5002 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
5003
5004         * elmo.el (elmo-message-accessible-p): Renamed from
5005         elmo-message-cached-p and rewritten.
5006
5007 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5008
5009         * elmo.el (elmo-folder-list-flagged): New generic function.
5010         (elmo-folder-list-importants): New implementation.
5011         (elmo-folder-list-answereds): Ditto.
5012         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
5013         Added 'digest'.
5014         (elmo-message-cached-p): New function.
5015         (elmo-message-set-flag): Ditto (no content).
5016         (elmo-message-unset-flag): Ditto.
5017         (elmo-folder-list-messages-mark-match): Abolish.
5018
5019         * elmo-util.el (elmo-regexp-opt): New function.
5020
5021         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5022         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5023         Added 'digest'.
5024         (elmo-msgdb-list-flagged): New function.
5025
5026         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5027         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5028         Added 'digest'.
5029
5030         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5031
5032 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5033
5034         * elmo-version.el (elmo-version): Up to 2.11.0.
5035
5036 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5037
5038         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5039         `elmo-file-cache-exists-p'; use proper mark that depends on
5040         `use-cache'.
5041         (elmo-msgdb-unset-flag): Ditto.
5042         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5043
5044         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5045         with 4th argument `use-cache'.
5046
5047 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5048
5049         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5050         (elmo-folder-mark-as-important): Ditto.
5051         (elmo-folder-unmark-read): Ditto.
5052         (elmo-folder-mark-as-read): Ditto.
5053         (elmo-folder-unmark-answered): Ditto.
5054         (elmo-folder-mark-as-answered): Ditto.
5055
5056         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5057         message status.
5058         (elmo-msgdb-mark): Likewise.
5059         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5060         (elmo-msgdb-unset-flag): Likewise.
5061
5062         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5063
5064 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5065
5066         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5067         `last:' filter.
5068
5069 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5070
5071         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5072         set spool-length to 0.
5073
5074 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5075
5076         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5077         (elmo-dop-queue-flush): Fixed last change.
5078
5079 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5080
5081         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5082         if require-msgdb slot is nil.
5083         (elmo-folder-list-importants): Likewise.
5084
5085 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5086
5087         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5088         mark is changed.
5089
5090         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5091         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5092         is changed.
5093
5094 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5095
5096         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5097
5098 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5099
5100         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5101
5102         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5103
5104 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5105
5106         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5107         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5108
5109 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5110
5111         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5112         the problem reported by Sean Rima [wl-en:180].
5113
5114 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5115
5116         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5117
5118         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5119
5120         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5121
5122         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5123
5124         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5125
5126         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5127
5128         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5129
5130 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5131
5132         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5133         status number.
5134
5135 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5136
5137         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5138         (elmo-folder-mark-as-read): Follow the API change.
5139         (elmo-message-set-cached): New function.
5140
5141         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5142
5143         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5144
5145         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5146         (elmo-folder-mark-as-important): Ditto.
5147         (elmo-folder-unmark-read): Ditto.
5148         (elmo-folder-mark-as-read): Ditto.
5149         (elmo-folder-unmark-answered): Ditto.
5150         (elmo-folder-mark-as-answered): Ditto.
5151
5152         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5153         (elmo-folder-unmark-important): Ditto.
5154         (elmo-folder-mark-as-read): Ditto.
5155         (elmo-folder-unmark-read): Ditto.
5156         (elmo-folder-mark-as-answered): Ditto.
5157         (elmo-folder-unmark-answered): Ditto.
5158
5159         * elmo-mark.el (toplevel): Removed some mark method definitions.
5160
5161         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5162         (elmo-map-folder-mark-as-answered): Ditto.
5163         (elmo-folder-unmark-important): Add :before qualifier.
5164         (elmo-folder-mark-as-important): Ditto.
5165         (elmo-folder-unmark-read): Ditto.
5166         (elmo-folder-mark-as-read): Ditto.
5167         (elmo-folder-unmark-answered): Define.
5168         (elmo-folder-mark-as-answered): Ditto.
5169
5170         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5171         (elmo-map-folder-unmark-answered): Ditto.
5172
5173         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5174
5175         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5176         (elmo-folder-mark-as-important): Ditto.
5177         (elmo-folder-unmark-read): Ditto.
5178         (elmo-folder-mark-as-read): Ditto.
5179         (elmo-folder-unmark-answered): Ditto.
5180         (elmo-folder-mark-as-answered): Ditto.
5181
5182         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5183         `mark'; evaluate mark condition.
5184         (elmo-msgdb-match-condition-internal): New function.
5185         (elmo-msgdb-match-condition): Call it; changed argument.
5186
5187         * elmo.el (elmo-folder-search): Follow the API change on
5188         `elmo-msgdb-match-condition'.
5189
5190 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5191
5192         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5193         original mark is non-nil.
5194
5195 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5196
5197         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5198         (elmo-map-folder-list-answereds): New method.
5199         (elmo-folder-list-unreads): Add :around qualifier.
5200         (elmo-folder-list-importants): Ditto.
5201         (elmo-folder-list-answereds): Ditto.
5202
5203 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5204
5205         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5206
5207         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5208         method if msgdb is not required.
5209         (elmo-filter-folder-list-importants): Don't treat global-mark.
5210
5211         * elmo.el (elmo-folder-list-importants): Ditto.
5212
5213         * elmo-net.el (elmo-folder-list-importants): Ditto.
5214
5215         * elmo-map.el (elmo-folder-list-importants): Ditto.
5216
5217         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5218
5219         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5220         (elmo-imap4-folder-list-any-plugged): New function.
5221         (elmo-imap4-search-internal-primitive): Use it.
5222
5223         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5224         only when require-msgdb slot is non-nil.
5225         (elmo-folder-close): Clear target folder's msgdb.
5226
5227 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5228
5229         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5230         (elmo-pop3-msgdb-create-by-header): Ditto.
5231         (elmo-pop3-msgdb-create-message): Ditto.
5232
5233         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5234
5235         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5236
5237         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5238
5239         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5240         (elmo-folder-msgdb-create): Ditto.
5241         (elmo-nntp-folder-msgdb-create): Ditto.
5242         (elmo-nntp-msgdb-create-by-header): Ditto.
5243         (elmo-nntp-msgdb-create-message): Ditto.
5244         (elmo-folder-list-unreads): Define.
5245
5246         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5247         (elmo-folder-append-messages): Ditto.
5248         (elmo-folder-list-unreads): Define.
5249         (elmo-folder-list-importants): Ditto.
5250         (elmo-folder-list-answereds): Ditto.
5251
5252         * elmo-net.el (elmo-folder-list-unreads): Define.
5253         (elmo-folder-list-importants): Ditto.
5254         (elmo-folder-list-answereds): Ditto.
5255         (elmo-folder-list-answereds-plugged): Ditto.
5256         (elmo-folder-msgdb-create): Follow the API change.
5257         (elmo-folder-msgdb-create-unplugged): Ditto.
5258         (elmo-folder-unmark-answered): Define.
5259         (elmo-folder-mark-as-answered-unplugged): Ditto.
5260         (elmo-folder-unmark-answered-unplugged): Ditto.
5261
5262         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5263         (elmo-msgdb-unread-uncached-mark): Ditto.
5264         (elmo-msgdb-unread-cached-mark): Ditto.
5265         (elmo-msgdb-read-uncached-mark): Ditto.
5266         (elmo-msgdb-answered-cached-mark): Ditto.
5267         (elmo-msgdb-answered-uncached-mark): Ditto.
5268         (elmo-msgdb-important-mark): Ditto.
5269         (elmo-msgdb-set-mark): Rewrite.
5270         (elmo-msgdb-count-marks): Rewrite.
5271         (elmo-msgdb-mark-alist-set): Abolish.
5272         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5273         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5274
5275         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5276         (elmo-folder-close): Define.
5277         (elmo-folder-msgdb-create): Follow the API change.
5278         (elmo-folder-list-unreads): Rewrite.
5279         (elmo-folder-mark-as-important): Ditto.
5280         (elmo-folder-unmark-important): Ditto.
5281         (elmo-folder-mark-as-read): Ditto.
5282         (elmo-folder-unmark-read): Ditto.
5283         (elmo-folder-mark-as-answered): Define.
5284         (elmo-folder-unmark-answered): Ditto.
5285
5286         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5287         (elmo-folder-append-messages): Ditto.
5288
5289         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5290
5291         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5292         (elmo-folder-list-importants): Ditto.
5293
5294         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5295         (elmo-folder-append-messages): Ditto.
5296
5297         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5298         change.
5299         (elmo-folder-msgdb-create-plugged): Ditto.
5300         (elmo-folder-append-messages): Ditto.
5301         (elmo-folder-list-answereds-plugged): Define.
5302         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5303         (elmo-folder-unmark-answered-plugged): Define.
5304         (elmo-folder-mark-as-answered-plugged): Ditto.
5305         (elmo-folder-search-requires-msgdb-p): Ditto.
5306
5307         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5308         (elmo-folder-initialize): Set it.
5309         (elmo-folder-msgdb): Define.
5310         (elmo-folder-check): Call elmo-folder-synchronize.
5311         (elmo-folder-close): Define.
5312         (elmo-folder-commit): Ditto.
5313         (elmo-folder-msgdb-create): Rewrite.
5314         (elmo-folder-list-unreads): Ditto.
5315         (elmo-folder-list-importants): Ditto.
5316         (elmo-folder-mark-as-read): Ditto.
5317         (elmo-folder-unmark-read): Ditto.
5318         (elmo-folder-mark-as-important): Ditto.
5319         (elmo-folder-unmark-important): Ditto.
5320         (elmo-folder-mark-as-answered): Define.
5321         (elmo-folder-unmark-answered): Ditto.
5322
5323         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5324         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5325         (elmo-dop-queue-method-name-alist): Likewise.
5326         (elmo-folder-mark-as-answered-dop): New inline function.
5327         (elmo-folder-unmark-answered-dop): Ditto.
5328         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5329
5330         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5331         (elmo-folder-msgdb-create): Ditto.
5332         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5333         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5334         (elmo-archive-parse-mmdf): Ditto.
5335
5336         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5337         (elmo-folder-list-unreads-internal): Ditto.
5338
5339         * elmo.el (elmo-folder-msgdb): Define as generic function.
5340         (elmo-folder-list-messages): Added argument `in-msgdb'.
5341         (elmo-folder-list-unreads): Define as generic function.
5342         (elmo-folder-list-importants): Ditto.
5343         (elmo-folder-list-answereds): Ditto.
5344         (elmo-folder-list-messages-with-global-mark): New function.
5345         (elmo-folder-msgdb-create): Removed mark arguments.
5346         (elmo-folder-unmark-answered): New generic function.
5347         (elmo-folder-mark-as-answered): Ditto.
5348         (elmo-folder-append-messages): Removed argunment `unread-marks'
5349         (elmo-folder-list-unreads-internal): Abolish.
5350         (elmo-folder-list-importants-internal): Ditto.
5351         (elmo-folder-search-requires-msgdb-p): New generic function.
5352         (elmo-folder-search-requires-msgdb-p-internal): New function.
5353         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5354         elmo-msgdb-load.
5355         (elmo-folder-search-fast): Added key 'mark'.
5356         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5357         instead of unread-marks argument.
5358         (elmo-folder-move-messages): Removed argunment `unread-marks'
5359         (elmo-folder-unmark-important): Define.
5360         (elmo-folder-mark-as-important): Ditto.
5361         (elmo-folder-unmark-read): Ditto.
5362         (elmo-folder-mark-as-read): Ditto.
5363         (elmo-folder-unmark-answered): Ditto.
5364         (elmo-folder-mark-as-answered): Ditto.
5365         (elmo-folder-replace-marks): Abolish.
5366         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5367         duplicates.
5368         (elmo-folder-synchronize): Removed mark arguments;
5369         return crosspost only number.
5370
5371 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5372
5373         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5374         Remove redundunt connectivity check.
5375
5376 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5377
5378         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5379         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5380
5381 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5382
5383         * pldap.el (ldap-decode-string): Return string as-is if
5384         `ldap-coding-system' is nil.
5385         (ldap-encode-string): Ditto.
5386         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5387         (ldap-default-host): Fixed docstring.
5388
5389 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5390
5391         * elmo-util.el (elmo-warning): Define as a macro which uses
5392         `display-warning' if it is defined as a function.
5393
5394         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5395         (elmo-split-equal): Use it.
5396         (elmo-split-match): Ditto.
5397         (elmo-split-message-entity): New buffer-local variable.
5398         (elmo-split-subr): Set it.
5399
5400         * elmo-version.el (elmo-version): Up to 2.9.15.
5401
5402 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5403
5404         * elmo-imap4.el (elmo-network-initialize-session):
5405         Check capability after starttls.
5406
5407 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5408
5409         * elmo-util.el (elmo-list-delete): Added optional argument
5410         DELETE-FUNCTION.
5411
5412         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5413
5414         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5415
5416         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5417
5418         * elmo-imap4.el (elmo-folder-initialize): Don't use
5419         elmo-imap4-default-mailbox.
5420
5421 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5422
5423         * elmo-split.el (toplevel): Use `product-provide'.
5424         (elmo-split): Checkdoc.
5425
5426 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5427
5428         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5429         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5430         the function `elmo-imap4-debug-1'.
5431
5432 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5433
5434         * elmo-split.el (elmo-split): Moved to run hooks and to show
5435         message from elmo-split-subr.
5436         (elmo-split-subr): Follow the change above.
5437
5438         * elmo-split.el (elmo-split-subr): New function (renamed from
5439         elmo-split-subr).
5440         (elmo-split): Changed to call elmo-split-subr by element of
5441         elmo-split-folder.
5442         (elmo-split-folder): Changed customization type to choice.
5443
5444 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5445
5446         * elmo-split.el (elmo-split-and): Fixed condition.
5447
5448 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5449
5450         * elmo-split.el: New file.
5451         (elmo-split): Fixed logic.
5452         Display "Test:" instead of "Folder:" when reharsal.
5453
5454         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5455         explicitly.
5456
5457         * elmo-version.el (elmo-version): Up to 2.9.14.
5458
5459         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5460         wl-expand-newtext).
5461
5462 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5463
5464         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5465         message with no message-id field.
5466
5467 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5468
5469         * elmo-version.el (elmo-version): Up to 2.9.13.
5470
5471         * elmo-dop.el (elmo-folder-status-dop): Fix.
5472
5473 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5474
5475         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5476
5477         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5478         changing default value of default-mime-charset.
5479         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5480
5481         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5482
5483         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5484         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5485         instead of elmo-dop-queue-method-name-alist to check merging queue.
5486         (elmo-folder-delete-messages-dop): Delete from queue if negative
5487         message number.
5488         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5489         file is already removed.
5490
5491 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5492
5493         * elmo-vars.el: Bind colon keywords for old Emacsen.
5494
5495 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5496
5497         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5498         against non-exsisting charset.
5499
5500 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5501
5502         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5503         Use eword-decode-and-unfold-unstructured-field-body.
5504
5505         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5506         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5507         exists to decode raw subject string.
5508         (toplevel): Require 'mime.
5509
5510         * elmo-version.el (elmo-version): Up to 2.9.12.
5511
5512 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5513
5514         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5515         (elmo-msgdb-set-mark): Ditto.
5516
5517         * elmo-version.el (elmo-version): Up to 2.9.11.
5518
5519 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5520
5521         * elmo-util.el (elmo-delete-match-files): New function.
5522
5523         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5524         instead of elmo-delete-directory.
5525
5526         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5527         elmo-hash-minimun-size as 63.
5528
5529         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5530         elmo-diff-unread is nil.
5531
5532         * elmo-imap4.el (elmo-folder-open): Fix.
5533
5534         * elmo.el (elmo-message-mark): Rewrite.
5535         (elmo-message-field): Ditto.
5536         (elmo-message-set-mark): Ditto.
5537         (elmo-folder-replace-marks): New function.
5538         (elmo-generic-folder-append-msgdb): Removed third argument for
5539         elmo-msgdb-append.
5540         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5541         (elmo-msgdb-load): New implementation.
5542
5543         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5544
5545         * elmo-util.el (elmo-list-insert): New implementation.
5546
5547         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5548         argument for elmo-msgdb-append.
5549         
5550
5551         * elmo-msgdb.el (elmo-load-msgdb): New function.
5552         (elmo-make-msgdb): Ditto.
5553         (elmo-msgdb-get-index): New inline function.
5554         (elmo-msgdb-set-index): Ditto.
5555         (elmo-msgdb-get-entity-hashtb): Ditto.
5556         (elmo-msgdb-get-mark-hashtb): Ditto.
5557         (elmo-msgdb-get-mark): Ditto.
5558         (elmo-msgdb-set-mark): Ditto.
5559         (elmo-msgdb-count-marks): Ditto.
5560         (elmo-msgdb-get-number): Ditto.
5561         (elmo-msgdb-get-field): Ditto.
5562         (elmo-msgdb-seen-list): Ditto.
5563         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5564         (elmo-msgdb-delete-msgs): Follow the changes above.
5565         (elmo-msgdb-overview-get-entity): Ditto.
5566         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5567         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5568         and rewritten.
5569         (elmo-msgdb-make-index): Likewise.
5570         (elmo-msgdb-append): Removed third argument.
5571         (elmo-msgdb-clear): Clear index as nil.
5572         (elmo-folder-set-info-hashtb): Removed.
5573         (elmo-folder-set-info-max-by-numdb): Ditto.
5574         (elmo-folder-info-make-hashtb): Ditto.
5575
5576         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5577
5578         * elmo-map.el (elmo-folder-pack-number): Ditto.
5579
5580 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5581
5582         * elmo-version.el (elmo-version): Up to 2.9.10.
5583
5584         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5585
5586         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5587
5588 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5589
5590         * elmo-utils.el (elmo-make-directory): Add option.
5591         Default file mode is 700.
5592
5593 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5594
5595         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5596
5597 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5598
5599         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5600         mime-charset.
5601
5602         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5603         and "smaller".
5604
5605 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5606
5607         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5608         (elmo-shimbun-folder-entity-hash): New function.
5609         (elmo-shimbun-folder-shimbun-header): Ditto.
5610         (elmo-shimbun-entity-to-header): Ditto.
5611         (elmo-shimbun-msgdb-to-headers): Removed.
5612         (elmo-shimbun-folder-setup): Ditto.
5613         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5614         for hash key.
5615         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5616         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5617         Removed useless local bind.
5618         (elmo-folder-open-internal): Don't call
5619         `elmo-shimbun-folder-setup'.
5620         (elmo-folder-close-internal): Clear entity-hash slot.
5621         (elmo-folder-clear): Ditto.
5622         (elmo-shimbun-msgdb-create-entity): Use
5623         `elmo-shimbun-folder-shimbun-header'.
5624         (elmo-map-message-fetch): Ditto.
5625         (elmo-shimbun-update-overview): Use overview entity instead of
5626         shimbun header to lookup id by references.
5627         (elmo-map-folder-list-message-locations): Use not only headers but
5628         also overviews to list locations.
5629
5630 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5631
5632         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5633         msgdb path.
5634
5635         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5636
5637 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5638
5639         * elmo-util.el (elmo-read-search-condition-internal): Give default
5640         value for date.
5641
5642 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5643
5644         * elmo-util.el (elmo-condition-parse-search-value): Accept
5645         YYYY-MM-DD format to search.
5646         * elmo-date.el (elmo-date-get-datevec): Likewise.
5647
5648 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5649
5650         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5651         debugging code.
5652
5653 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5654
5655         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5656         from t.
5657
5658         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5659
5660         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5661         case from `elmo-folder-exists-p'.
5662         (elmo-folder-exists-p): Removed.
5663         (elmo-folder-creatable-p) Ditto.
5664
5665         * elmo-net.el (elmo-folder-create): Defined.
5666         (elmo-folder-create-unplugged): New function.
5667         (elmo-folder-exists-p): Changed default value to nil from t.
5668
5669         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5670         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5671
5672         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5673         `elmo-create-folder-dop' and append queue
5674         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5675         (elmo-folder-create-dop-delayed): New function.
5676
5677         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5678
5679         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5680
5681         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5682         (elmo-folder-writable-p) : Ditto.
5683
5684         * elmo-version.el (elmo-version): Up to 2.9.9.
5685
5686 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5687
5688         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5689         `elmo-message-use-cache-p' returns nil.
5690         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5691         (ignore cache file and refer the substance in local folders)
5692
5693 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5694
5695         * elmo-version.el (elmo-version): Up to 2.9.8.
5696
5697 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5698
5699         * elmo-version.el (elmo-version): Up to 2.9.7.
5700
5701         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5702
5703 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5704
5705         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5706
5707 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5708
5709         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5710         from --early.
5711         (elmo-map-folder-list-message-locations): Reverse location list.
5712
5713 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5714
5715         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5716
5717 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5718
5719         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5720         as a key.
5721         (elmo-nntp-folder-list-subfolders): Follow the change above.
5722
5723 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5724
5725         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5726         name if authentication type is specified.
5727
5728 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5729
5730         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5731         variable.
5732         (elmo-default-nntp-stream-type): Ditto.
5733         (elmo-default-pop3-stream-type): Ditto.
5734
5735 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5736
5737         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5738
5739 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5740
5741         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5742         elmo-vars.el.
5743         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5744
5745         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5746         (elmo-maildir-folder-path): Ditto.
5747         (elmo-maildir-list): Ditto (abolished).
5748
5749 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5750
5751         * elmo-version.el (elmo-version): Up to 2.9.6.
5752
5753 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5754
5755         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5756         (elmo-maildir-folder-path): Ditto.
5757         (elmo-msgdb-directory): Ditto.
5758         (elmo-passwd-life-time): Ditto.
5759         (elmo-msgdb-extra-fields): Ditto.
5760         (elmo-enable-disconnected-operation): Ditto.
5761
5762 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5763
5764         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5765         other choices.
5766         (elmo-pop3-default-authenticate-type): Ditto.
5767
5768 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5769
5770         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5771         choices for custom.
5772         (elmo-pop3-default-authenticate-type): Ditto.
5773
5774 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5775
5776         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5777         mailbox to new-folder.
5778
5779 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5780
5781         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5782         less than new, set new as unread.
5783
5784         * elmo-util.el (elmo-string): Don't put text-property if nil.
5785
5786 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5787
5788         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5789         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5790
5791 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5792
5793         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5794         is nil on `completing-read'.
5795
5796 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5797
5798         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5799         for namespace part.
5800         (elmo-imap4-parse-namespace-subr): Ditto.
5801         (elmo-folder-list-subfolders): Append a delimiter when the specified
5802         folder path is a root with namespace and does not end with delimiter.
5803
5804 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5805
5806         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5807         was used.
5808
5809 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5810
5811         * elmo-util.el (elmo-save-buffer): The first argument of message
5812         is a format control string.
5813
5814 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5815
5816         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5817         `elmo-folder-diff').
5818         (elmo-diff-unread): Likewise.
5819
5820 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5821
5822         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5823         is t on `completing-read'.
5824
5825 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5826
5827         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5828         method of target folder with self mark-alist if MARK-ALIST is nil.
5829
5830 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5831
5832         * elmo-version.el (elmo-version): Up to 2.9.5.
5833
5834 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5835
5836         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5837         (elmo-dop-merge-funcs): Remove.
5838
5839 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5840
5841         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5842         Return t if PATH is directory, too.
5843         Use `dolist' instead of while loop.
5844
5845 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5846
5847         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5848         is deleted.
5849
5850 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5851
5852         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5853         return value to t.
5854         (elmo-folder-list-messages-unplugged): Return t if
5855         elmo-enable-disconnected-operation is nil.
5856
5857         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5858         `elmo-folder-list-messages-internal'.
5859
5860 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5861
5862         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5863         Change to looking-at `[23][0-9]+'.
5864         (elmo-network-initialize-session): Use 'error-msg'
5865         * elmo-net.el (elmo-network-open-session): Set unplugged
5866         if elmo-network-initialize-session returns 'elmo-open-err.
5867
5868 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5869
5870         * elmo-version.el (elmo-version): Up to 2.9.4.
5871
5872 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5873
5874         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5875         `elmo-folder-list-messages-internal'.
5876
5877 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5878
5879         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5880         (elmo-message-match-condition): New method.
5881         (elmo-folder-search-fast): New inline function.
5882         (elmo-msgdb-search): Removed.
5883
5884         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5885         target folder if it is unplugged.
5886         (elmo-folder-list-messages-internal): Return t if target folder is
5887         unplugged and itself is persistent; In this case, use list be
5888         searched already.
5889
5890         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5891         (elmo-msgdb-search-internal-primitive): Ditto.
5892         (elmo-msgdb-match-condition): New function.
5893         (elmo-msgdb-match-condition-primitive): Ditto.
5894
5895         * elmo-util.el (elmo-filter-condition-p): New macro.
5896
5897         * elmo-cache.el (elmo-folder-search): Removed.
5898
5899         * elmo-localdir.el (elmo-folder-search): Ditto.
5900
5901         * elmo-maildir.el (elmo-folder-search): Ditto.
5902
5903         * elmo-mark.el (elmo-folder-search): Ditto.
5904
5905         * elmo-nmz.el (elmo-folder-search): Ditto.
5906
5907         * elmo-sendlog.el (elmo-folder-search): Ditto.
5908
5909         * elmo-shimbun.el (elmo-folder-search): Ditto.
5910
5911         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5912         if folder is unplugged.
5913
5914         * elmo-nntp.el (elmo-folder-search): Likewise.
5915         (elmo-nntp-search-internal): New function.
5916
5917         * elmo-version.el (elmo-version): Up to 2.9.3.
5918
5919 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5920
5921         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5922
5923 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5924
5925         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5926
5927 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5928
5929         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5930
5931 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5932
5933         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5934         (elmo-map-folder-list-message-locations): Do drive letter conversion
5935         on Windows environment.
5936         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5937         (elmo-map-message-fetch): Ditto.
5938
5939 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5940
5941         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5942         (elmo-network-initialize-session): Ditto.
5943
5944 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5945
5946         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5947
5948         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5949
5950         * elmo-util.el (elmo-progress-clear): Ditto.
5951
5952         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5953         `DD-Mon-YYYY' type date.
5954
5955 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5956
5957         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5958         `elmo-date-make-sortable-string' instead of
5959         `timezone-make-date-sortable'.
5960
5961         * elmo-date.el (elmo-date-make-sortable-string): Use
5962         `timezone-make-time-string'.
5963
5964 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5965
5966         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5967
5968         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5969         `since'; Fix timezone.
5970
5971         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5972
5973         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5974
5975 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5976
5977         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5978
5979 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5980
5981         * elmo.el (elmo-generic-folder-append-messages): Make
5982         fetch-strategy with `use-cache' as 'maybe. Check return value of
5983         `elmo-message-fetch'.
5984         (elmo-message-fetch): Return return value of
5985         `elmo-message-fetch-with-cache-process'.
5986         (elmo-message-fetch-with-cache-process): Return non-nil if
5987         fetching was succeed. Load cache when fetching was failed and
5988         fetch-strategy-use-cache is 'maybe.
5989
5990         * elmo-util.el (elmo-file-cache-load): New function.
5991
5992         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5993         defun.
5994
5995         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5996         non-nil if fetching was succeed.
5997
5998         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5999
6000         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
6001
6002         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
6003         (elmo-message-fetch-with-cache-process): Likwise.
6004
6005         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
6006
6007         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
6008
6009         * elmo-version.el (elmo-version): Up to 2.9.2.
6010
6011 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
6012
6013         * elmo.el (elmo-folder-delete): Delete msgdb path.
6014
6015         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6016
6017         * elmo-maildir.el (elmo-folder-delete): Ditto.
6018
6019         * elmo-localdir.el (elmo-folder-delete): Ditto.
6020
6021         * elmo-imap4.el (elmo-folder-delete): Ditto.
6022
6023 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6024
6025         * elmo.el (luna-define-class): Added `biff' slot.
6026
6027         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6028         (elmo-pop3-debug-inhibit-logging): Abolished.
6029         (elmo-network-close-session): Eliminated needless let.
6030         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6031         (elmo-pop3-send-command): Added `no-log' argument.
6032         (elmo-pop3-process-filter): Use `with-current-buffer'.
6033         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6034         if login failure.
6035         (elmo-pop3-auth-apop): Likewise.
6036         (elmo-network-authenticate-session): Likewise.
6037
6038         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6039         if biff folder.
6040
6041         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6042         string to determine protocol.
6043         (elmo-network-session-name-prefix): Abolished.
6044         (elmo-network-session-cache-key): Follow the change above.
6045         (elmo-network-open-session): Ditto.
6046
6047         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6048         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6049
6050         * elmo-version.el (elmo-version): Up to 2.9.1.
6051
6052         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6053         unmatch condition checking.
6054
6055         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6056         condition.
6057
6058 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6059
6060         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6061
6062 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6063
6064         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6065         test for while loop to execute at least one SEARCH command.
6066
6067 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6068
6069         * elmo-version.el (elmo-version): Up to 2.9.0.
6070
6071 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6072
6073         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6074         (elmo-archive-folder-path): Define.
6075         (elmo-folder-initialize): Setup `dir-name' slot.
6076         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6077         Use `dir-name' as prefix of each subfolders.
6078         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6079
6080 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6081
6082         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6083         (elmo-pipe-folder-list-target-messages): New internal function.
6084         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6085         `killed-list'.
6086         (elmo-pipe-folder-copied-list-load): New function.
6087         (elmo-pipe-folder-copied-list-save): Ditto.
6088         (elmo-folder-open-internal): Follow the change above.
6089         (elmo-folder-status): Fixed for copy.
6090
6091 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6092
6093         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6094
6095 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6096
6097         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6098         elmo-copy-file instead of elmo-add-name-to-file.
6099
6100         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6101
6102         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6103         "file://..." index.
6104
6105         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6106         of accept-process-output as 1.
6107         (elmo-pop3-read-contents): Ditto.
6108         (elmo-pop3-read-body): Ditto.
6109
6110 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6111
6112         * elmo-version.el (product-version-as-string): Remove define.
6113
6114 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6115
6116         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6117         (elmo-imap4-copy-messages): Chop number set using
6118         `elmo-imap4-number-set-chop-length'.
6119         (elmo-imap4-set-flag): Ditto.
6120         (elmo-imap4-search-internal-primitive): Ditto.
6121
6122 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6123
6124         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6125         `elmo-folder-make-temp-dir'
6126
6127         * elmo-vars.el (elmo-cache-directory): New variable.
6128         (elmo-cache-dir): Abolished.
6129         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6130
6131         * elmo-version.el (elmo-version): Up to 2.7.7.
6132
6133 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6134
6135         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6136         defcustom; Set default value as t.
6137
6138 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6139
6140         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6141         (ldap-search-program-arguments): Changed default value.
6142         (ldap-search-basic): Accept exit status 4.
6143         (ldap/field-body): Parse options.
6144         (ldap/collect-field): Ditto.
6145         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6146
6147         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6148         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6149         (elmo-imap4-accept-ok): Ditto.
6150         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6151         'notify-bye, only BYE error is reported.
6152         (elmo-folder-exists-p-plugged): Set no-error argument of
6153         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6154
6155         * elmo.el (elmo-imap4-bye-error): Changed message.
6156
6157         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6158         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6159         queues (It causes infinite loop).
6160
6161 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6162
6163         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6164         (RECENT UNSEEN MESSAGES) extension.
6165
6166 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6167
6168         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6169         Check number of overview fields.
6170
6171 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6172
6173         * elmo.el (elmo-folder-confirm-appends): Changed message.
6174         (elmo-folder-confirm-appends): Ditto.
6175
6176         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6177         `with-temp-buffer'.
6178         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6179
6180 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6181
6182         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6183         of elmo-folder-update-threshold is nil, which can be set by
6184         wl-summary-update-confirm-threshold.
6185
6186 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6187
6188         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6189         (elmo-nmz-index-alias-alist): Ditto.
6190         (elmo-map-folder-list-message-locations): Follow the change above.
6191
6192 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6193
6194         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6195
6196         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6197
6198         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6199
6200         * elmo-util.el (elmo-read): Ditto.
6201         (elmo-display-error): Ditto.
6202
6203         * elmo-vars.el (elmo-date-match): Ditto.
6204
6205         * pldap.el (ldap-coding-system): Ditto.
6206
6207         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6208         `elmo-inhibit-number-mapping' as nil.
6209
6210 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6211
6212         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6213         space delimiter for list response.
6214
6215 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6216
6217         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6218
6219 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6220
6221         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6222         (elmo-map-message-fetch): Fix.
6223         * elmo-map.el (elmo-folder-status): Fix for killed.
6224
6225 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6226
6227         * elmo-sendlog.el: New file.
6228         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6229
6230 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6231
6232         * acap.el (acap-logging-out): New buffer local variable.
6233         (acap-close): Set it.
6234         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6235         an error.
6236
6237 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6238
6239         * acap.el (acap-response-bye-p): New function.
6240         (acap-response-bye-message): Ditto.
6241         (acap-wait-for-response): If bye response is received, cause an error.
6242         (acap-parse-response): Make bye response when 'Bye' is received.
6243
6244 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6245
6246         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6247
6248 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6249
6250         * elmo-util.el (elmo-copy-file): Added argument
6251         `ok-if-already-exists'.
6252         (elmo-copy-file): Fixed typo.
6253
6254 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6255
6256         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6257
6258 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6259
6260         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6261
6262 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6263
6264         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6265         to killed-list.
6266
6267 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6268
6269         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6270         (elmo-folder-initialize): Fix for `copy'.
6271         (elmo-pipe-drain): Ditto.
6272         (elmo-folder-open-internal): Ditto.
6273         (elmo-folder-newsgroups): Fix.
6274
6275 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6276
6277         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6278         for each message.
6279
6280         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6281         recent value is returned from imap folder.
6282
6283         * elmo.el (elmo-folder-newsgroups): New generic function.
6284
6285         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6286         (elmo-folder-initialize): Set it.
6287         (elmo-folder-expand-msgdb-path): Use it.
6288         (elmo-folder-newsgroups): Define.
6289
6290         * elmo-filter.el (elmo-folder-newsgroups): Define.
6291
6292         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6293
6294         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6295
6296         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6297
6298 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6299
6300         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6301         user option.
6302         (elmo-shimbun-header-extra-field): New inline function.
6303         (elmo-shimbun-header-set-extra-field): Ditto.
6304         (elmo-shimbun-folder-header-hash-setup): Ditto.
6305         (elmo-shimbun-update-overview): Ditto.
6306         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6307         (elmo-shimbun-folder-setup): Use
6308         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6309         (elmo-shimbun-get-headers): Ditto.
6310         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6311         Insert `X-Shimbun-Id:' header if extra field is set.
6312         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6313         field's value instead of `shimbun-header-id'.
6314
6315         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6316         inline function.
6317         (elmo-msgdb-overview-entity-set-date): Ditto.
6318         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6319
6320 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6321
6322         * mmimap.el (mmimap-entity-section): Changed body node number from
6323         "0" to "1".
6324
6325 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6326
6327         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6328         `elmo-folder-delete-messages'.
6329
6330         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6331         (elmo-folder-initialize): Changed to expand alias into index path.
6332
6333         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6334         `elmo-mime-insert-header-from-buffer' with 6th arg
6335         `sorted-fields'.
6336
6337 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6340
6341         * elmo.el (elmo-diff-new): New inline function.
6342         (elmo-diff-unread): Ditto.
6343         (elmo-diff-all): Ditto.
6344
6345         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6346         value from responseb.
6347         (elmo-imap4-folder-diff-plugged): Ditto.
6348         (elmo-imap4-server-diff-async): Added recent argument.
6349         (elmo-server-diff-async): Ditto.
6350         (elmo-imap4-folder-diff-plugged): Ditto.
6351
6352         * elmo-version.el (elmo-version): Up to 2.7.6.
6353
6354 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6355
6356         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6357         in quoted-stirng.
6358
6359 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6360
6361         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6362
6363         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6364
6365         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6366
6367         * elmo-multi.el (elmo-folder-initialize): Ditto.
6368
6369         * elmo-util.el (elmo-parse-token): New function.
6370         (elmo-parse-prefixed-element): Ditto.
6371
6372 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6373
6374         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6375         delete process.
6376         (elmo-imap4-accept-ok): Ditto.
6377
6378 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6379
6380         * mmimap.el (mime-imap-entity-header-string): Don't check first
6381         element of node-id is `0' (Follow last change).
6382
6383 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6384
6385         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6386         assigned irregular node-id to nested multipart section.
6387         (initialize-instance): Followed above change.
6388
6389 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6390
6391         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6392         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6393         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6394         `elmo-shimbun-get-headers');
6395         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6396         visible article on summary exists in headers).
6397         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6398
6399 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6400
6401         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6402         definition.
6403
6404 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6405
6406         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6407
6408 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6409
6410         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6411         header separator into loop condition.
6412
6413 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6414
6415         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6416         Return duplicate folder if it has subfolder.
6417
6418 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6419
6420         * elmo.el (elmo-make-folder): Add folder name error check.
6421
6422         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6423         (elmo-nntp-encode-group-string): New inline function.
6424         (elmo-nntp-decode-group-string): Ditto.
6425         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6426         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6427         Use `not' instead of `null';
6428         Use elmo-nntp-decode-group-string.
6429
6430         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6431
6432         * elmo-version.el (elmo-version): Up to 2.7.5.
6433
6434 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6435
6436         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6437         Hide progress gauge if `elmo-folder-move-messages' exits
6438         nonlocally.
6439
6440 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6441
6442         * elmo-imap4.el (elmo-folder-initialize): Use
6443         `elmo-imap4-encode-folder-string' for folder name.
6444
6445 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6446
6447         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6448         `done'.
6449
6450 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6451
6452         * elmo-util.el (elmo-progress-counter-alist): New internal
6453         variable.
6454         (elmo-progress-counter-value): New macro.
6455         (elmo-progress-counter-all-value): Ditto.
6456         (elmo-progress-counter-format): Ditto.
6457         (elmo-progress-counter-set-value): Ditto.
6458         (elmo-progress-set): New function.
6459         (elmo-progress-clear): Ditto.
6460         (elmo-progress-notify): Ditto.
6461
6462         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6463         counter.
6464
6465         * elmo.el (elmo-generic-folder-append-messages): Call
6466         `elmo-progress-notify'.
6467         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6468
6469         * elmo-archive.el (elmo-folder-append-messages): Call
6470         `elmo-progress-notify'.
6471
6472         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6473
6474         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6475
6476         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6477
6478 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6479
6480         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6481         'Create'.
6482         (elmo-message-encache-dop): Added argument `read'.
6483
6484         * elmo-shimbun.el (elmo-message-encache): Ditto.
6485
6486         * elmo-net.el (elmo-message-encache): Ditto.
6487
6488         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6489         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6490         elmo-imap4-seen-messages.
6491         (elmo-folder-msgdb-create-plugged): Initialize
6492         elmo-imap4-seen-messages;
6493         Set seen mark on elmo-imap4-seen-messages.
6494
6495         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6496
6497         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6498         elmo-folder-append-buffer.
6499         (elmo-folder-encache): Added optional argument `read'.
6500         (elmo-message-encache): Ditto.
6501
6502         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6503
6504         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6505
6506         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6507         if append buffer content succeds.
6508
6509 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6510
6511         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6512         elmo-display-progress.
6513
6514         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6515         Set 4th argument of mime-display-message.
6516         (elmo-mime-display-as-is): Ditto.
6517
6518 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6519
6520         * elmo-nmz.el (toplevel): Require 'mime-edit.
6521         (elmo-nmz-content-type-alist): Abolished.
6522         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6523         content is not a message.
6524         (elmo-map-message-fetch): Changed behavior exept for message content;
6525         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6526         content-type, Add From: and Subject: field.
6527
6528 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6529
6530         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6531         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6532         not a message.
6533
6534 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6535
6536         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6537         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6538
6539         * elmo-archive.el (elmo-folder-writable-p): Defined.
6540
6541         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6542
6543         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6544
6545         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6546
6547         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6548
6549         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6550
6551         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6552
6553         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6554
6555         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6556
6557 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6558
6559         * elmo-util.el (elmo-address-quote-specials): New function;
6560         Renamed from `wl-address-quote-specials'.
6561
6562 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6563
6564         * elmo-version.el (elmo-version): Up to 2.7.4.
6565
6566 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6567
6568         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6569
6570 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6571
6572         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6573         both compile-time and run-time to avoid byte-compile warning.
6574
6575 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6576
6577         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6578
6579 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6580
6581         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6582         option.
6583         (elmo-mime-display-as-is-internal): Use it.
6584
6585         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6586         if `read-passwd' is not defined.
6587
6588 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6589
6590         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6591         by original number.
6592         (elmo-folder-status): Call `elmo-folder-open-internal';
6593         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6594         (elmo-folder-close-internal): Set location-alist as nil.
6595         (elmo-folder-clear): Define.
6596         (elmo-folder-check): Don't set location-alist as nil.
6597
6598         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6599
6600 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6601
6602         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6603         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6604
6605         * mmimap.el (mime-imap-entity::requested): New slot.
6606         (mime-imap-location-fetch-entity-p): New generic function.
6607         (mime-decode-parameters): Define using `defun-maybe'.
6608         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6609         content-type structure.
6610         (mime-entity-body): Return empty body if
6611         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6612
6613         * elmo.el (elmo-message-displaying): New variable.
6614
6615         * elmo-mime.el (elmo-mime-message-display): Bind
6616         elmo-message-displaying as t.
6617
6618         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6619
6620 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6621
6622         * acap.el (acap-open): erase buffer before starting network process.
6623         (acap-store): Rewrite.
6624
6625 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6626
6627         * elmo-imap4.el (elmo-imap4-default-mailbox,
6628         elmo-imap4-default-server
6629         elmo-imap4-default-authenticate-type,
6630         elmo-imap4-default-user,
6631         elmo-imap4-default-port,
6632         elmo-imap4-default-stream-type,
6633         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6634
6635         * elmo-pop3.el (elmo-pop3-default-user,
6636         elmo-pop3-default-server,
6637         elmo-pop3-default-authenticate-type,
6638         elmo-pop3-default-port,
6639         elmo-pop3-default-stream-type,
6640         elmo-pop3-stream-type-alist): Ditto.
6641
6642         * elmo-nntp.el (elmo-nntp-default-server,
6643         elmo-nntp-default-user,
6644         elmo-nntp-default-port,
6645         elmo-nntp-default-stream-type,
6646         elmo-nntp-stream-type-alist): Ditto.
6647
6648         * elmo-vars.el: Follow changes above.
6649         (elmo-setting): New custom group; added 'elmo-setting group to
6650         above variables.
6651
6652         * elmo-version.el (elmo-version): Up to 2.7.3.
6653
6654         * acap.el (acap-parse-response): Don't delete process when BYE
6655         response (It causes hang-up on slow network environment).
6656         (toplevel): Added comment.
6657
6658 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6659
6660         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6661
6662         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6663         parsing NIL.
6664         (acap-parse-return-metadata): Ditto.
6665
6666         * slp.el: New file.
6667         (toplevel): Fixed typo.
6668
6669         * acap.el: New file.
6670         (acap-network-stream-open): Show "Connecting..." message.
6671         (acap-parse-response): Fixed problem for BYE untagged response.
6672         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6673         (toplevel): Added tiny comments.
6674
6675 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6676
6677         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6678         space delimiter for uidl response.
6679
6680 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6681
6682         * elmo-vars.el (elmo-use-semi): Eliminated.
6683
6684         * elmo-util.el (elmo-string-assoc-all): New function.
6685
6686 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6687
6688         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6689         property 'mime-preview-situation for `mime-preview-quit'.
6690
6691 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6692
6693         * elmo.el (elmo-message-fetch-with-cache-process): Call
6694         elmo-message-fetch-internal instead of causing an error when fetch
6695         strategy is 'entire but only 'section cache is available.
6696
6697 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6698
6699         * elmo-version.el (elmo-version): Up to 2.7.2.
6700
6701         * elmo.el (elmo-generic-folder-append-messages): Make
6702         fetch-strategy with `use-cache'.
6703
6704         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6705         (elmo-dop-queue-method-name): New macro.
6706
6707 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6708
6709         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6710         unbalanced parenthesis.
6711
6712 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6713
6714         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6715
6716 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6717
6718         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6719         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6720
6721 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6722
6723         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6724         local variables.
6725
6726 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6727
6728         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6729         (elmo-message-use-cache-p): Define.
6730         (elmo-folder-msgdb-create): Treat cache.
6731
6732 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6733
6734         * elmo-nntp.el (elmo-network-initialize-session): Call
6735         `elmo-nntp-send-mode-reader'.
6736         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6737
6738 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6739
6740         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6741         alist.
6742         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6743         assoc.
6744
6745         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6746         for `elmo-plugged-p'.
6747         (elmo-open-network-stream): Fixed stream-type argument.
6748
6749 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6750
6751         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6752         unknown archive type is specified.
6753
6754 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6755
6756         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6757
6758         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6759         while loading msgdb.
6760
6761         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6762         (elmo-folder-open-internal): Rewrite.
6763
6764 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6765
6766         * elmo-mime.el (elmo-mime-display-as-is-internal):
6767         Adjust buffer-multibyte status.
6768
6769 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6770
6771         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6772         of elmo-condition-find-key.
6773
6774         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6775         (elmo-condition-in-msgdb-p): Ditto.
6776         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6777         argument.
6778
6779 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6780
6781         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6782
6783 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6784
6785         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6786         label for elmo-display-progress.
6787
6788 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6789
6790         * elmo.el (elmo-folder-clear): New method.
6791         (elmo-folder-clear): Define.
6792         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6793
6794         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6795         (elmo-folder-clear): Define.
6796
6797         * elmo-map.el (elmo-folder-clear): Define.
6798
6799         * elmo-version.el (elmo-version): Up to 2.7.1.
6800
6801 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6802
6803         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6804         updates.
6805
6806 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6807
6808         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6809         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6810
6811 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6812
6813         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6814
6815         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6816         and re-written.
6817
6818         * elmo-imap4.el (elmo-folder-initialize): Use
6819         elmo-get-network-stream-type.
6820
6821         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6822
6823         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6824
6825 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6826
6827         * elmo.el (elmo-message-encache): Set unread argument for
6828         elmo-message-fetch.
6829
6830         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6831
6832         * elmo.el (elmo-net-port-info): New method.
6833
6834         * elmo-shimbun.el (elmo-net-port-info): Define.
6835         (elmo-message-encache): Ditto.
6836
6837         * elmo-net.el (elmo-net-port-info): Define as method.
6838
6839         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6840         unplugged status when elmo-enable-disconnected-operation is t.
6841
6842         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6843         of spool folder before checking new number.
6844
6845 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6846
6847         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6848         (elmo-network-setup-session): Ditto.
6849         (elmo-message-fetch-plugged): Ditto.
6850         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6851         (elmo-network-initialize-session): Ditto.
6852         (elmo-pop3-read-response): Abolish 3rd argument.
6853         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6854         (elmo-pop3-read-contents): Ditto.
6855         (elmo-pop3-read-body): Ditto.
6856         (elmo-folder-status): Call elmo-folder-close.
6857         (elmo-pop3-lock): Abolish.
6858         (elmo-pop3-unlock): Ditto.
6859         (elmo-pop3-locked-p): Ditto.
6860         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6861
6862 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6863
6864         * elmo-version.el (elmo-version): Up to 2.7.0.
6865
6866         * elmo-pop3.el (elmo-pop3-debug): New variable.
6867         (elmo-pop3-debug-inhibit-logging): Ditto.
6868         (elmo-pop3-debug): New function.
6869         (elmo-pop3-send-command): Call elmo-pop3-debug.
6870         (elmo-pop3-read-response): Added keep-lock optional argument;
6871         Don't unlock if keep-lock is non-nil.
6872         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6873         (elmo-network-authenticate-session): Bind
6874         elmo-pop3-debug-inhibit-logging as t.
6875         (elmo-network-setup-session): Call elmo-pop3-read-response with
6876         keep-lock argument.
6877         (elmo-pop3-read-msg): Ditto.
6878         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6879         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6880         (elmo-network-initialize-session): Call elmo-pop3-lock.
6881         (elmo-folder-close-internal): Don't clear location-alist slot.
6882         (elmo-folder-check): Clear location-alist slot.
6883
6884 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6885
6886         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6887         (elmo-pop3-send-command): Call elmo-pop3-lock.
6888         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6889         (elmo-pop3-read-contents): Ditto.
6890         (elmo-pop3-lock): New function.
6891         (elmo-pop3-unlock): Ditto.
6892         (elmo-pop3-locked-p): Ditto.
6893         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6894         returns t.
6895
6896 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6897
6898         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6899
6900         * elmo-util.el (elmo-file-field-primitive-condition-match):
6901         New inline function (Don't fetch file content if "first" or "last").
6902         (elmo-file-field-condition-match): Use
6903         elmo-file-field-primitive-condition-match.
6904
6905         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6906         "first".
6907
6908         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6909         (elmo-message-fetch-plugged): Fixed.
6910
6911         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6912
6913 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6914
6915         * elmo.el (elmo-folder-move-messages): Bind
6916         elmo-inhibit-display-retrieval-progress as t while moving messages.
6917
6918         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6919         New variable.
6920         (elmo-inhibit-display-retrieval-progress): Ditto.
6921
6922         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6923         for retrieval progress;
6924         Don't display progress when total buffer size is smaller than
6925         elmo-display-retrieval-progress-threshold.
6926         (elmo-message-fetch-plugged): Don't display progress when
6927         elmo-inhibit-display-retrieval-progress is non-nil.
6928
6929         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6930         for retrieval progress;
6931         Don't display progress when literal size is smaller than
6932         elmo-display-retrieval-progress-threshold.
6933         (elmo-imap4-message-fetch): Don't display progress when
6934         elmo-inhibit-display-retrieval-progress is non-nil.
6935
6936 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6937
6938         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6939         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6940         (elmo-imap4-message-fetch): Likewise.
6941
6942         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6943         (elmo-shimbun-index-range-alist): Ditto.
6944         (elmo-shimbun-use-entire-index): Abolish.
6945         (shimbun-mua-use-entire-index): Ditto.
6946         (elmo-shimbun-folder): Added new slot `range'.
6947         (elmo-folder-initialize): Setup slot `range'.
6948
6949 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6950
6951         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6952         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6953         (elmo-shimbun-get-headers): Use return value of
6954         `shimbun-article-expiration-days'.
6955         (elmo-folder-close-internal): Clean up last-check slot.
6956
6957         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6958         (elmo-pop3-total-size): New variable.
6959         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6960
6961         * elmo.el (elmo-folder-reserve-status-p): New method.
6962
6963         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6964         (elmo-shimbun-use-entire-index): New user option.
6965         (shimbun-elmo-mua): New class.
6966         (shimbun-mua-search-id): Define.
6967         (shimbun-mua-use-entire-index): Ditto.
6968         (elmo-shimbun-folder:last-check): New slot.
6969         (elmo-shimbun-headers-cache-header-list): Abolish.
6970         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6971         (elmo-shimbun-headers-cache-header-hash): Ditto.
6972         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6973         (elmo-shimbun-headers-cache-last-check): Ditto.
6974         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6975         (elmo-shimbun-headers-check-p): Rewrite.
6976         (elmo-shimbun-msgdb-to-headers): New function.
6977         (elmo-shimbun-get-headers): Rewrite.
6978         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6979         (elmo-folder-open-internal): Get headers only if
6980         `elmo-shimbun-headers-check-p' is non-nil.
6981         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6982         is non-nil.
6983         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6984         (elmo-quit): Removed.
6985
6986         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6987         function.
6988         (elmo-msgdb-overview-entity-set-extra): Ditto.
6989         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6990
6991         * elmo-map.el (elmo-folder-status): Don't call
6992         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6993         is non-nil.
6994
6995 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6996
6997         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6998         of `elmo-msgdb-search-internal-primitive' when condition's car is
6999         `and' or `or'.
7000
7001 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
7002
7003         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
7004
7005 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7006
7007         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
7008         call `elmo-pipe-drain'.
7009
7010 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7011
7012         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7013         typo. (elmo-cache-folder -> elmo-mark-folder)
7014
7015 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7016
7017         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7018         `elmo-message-fetch'.
7019
7020 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7021
7022         * elmo-net.el (elmo-message-encache): Fixed typo.
7023         (elmo-message-fetch-unplugged): Changed call
7024         `elmo-message-fetch-internal' without argument `outbuf'.
7025
7026 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7027
7028         * elmo.el (elmo-message-encache): Define as generic function.
7029         (elmo-message-fetch-field): New generic function.
7030         (elmo-message-fetch-with-cache-process): Cause an error when
7031         fetch strategy is 'entire but only 'section cache is available.
7032         (toplevel): Fixed nmz folder definition.
7033
7034         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7035         (elmo-msgdb-resume-list-filename): Ditto.
7036         (elmo-queue-filename): Ditto.
7037         (elmo-enable-disconnected-operation): Changed default value to t.
7038
7039         * elmo-util.el (elmo-cache-path-section-p): New function.
7040         (elmo-file-cache-get): Use it.
7041         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7042         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7043         (elmo-dop-queue-save): Ditto.
7044
7045         * elmo-net.el (elmo-folder-status-unplugged): Call
7046         elmo-folder-status-dop.
7047         (elmo-folder-list-messages-unplugged): Implemented.
7048         (elmo-folder-delete-messages-unplugged): Define.
7049         (elmo-folder-msgdb-create): Define.
7050         (elmo-folder-msgdb-create-unplugged): Define.
7051         (elmo-folder-mark-as-read-unplugged): Ditto.
7052         (elmo-folder-unmark-read-unplugged): Ditto.
7053         (elmo-folder-mark-as-important-unplugged): Ditto.
7054         (elmo-folder-unmark-important-unplugged): Ditto.
7055         (elmo-message-encache): Ditto.
7056
7057         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7058         (elmo-dop-queue-save): Ditto.
7059
7060         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7061         `elmo-folder-msgdb-create'.
7062         (elmo-folder-append-buffer): Implemented unplugged operation.
7063         (elmo-folder-append-messages): Call parent method in unplugged status.
7064         (elmo-message-fetch-unplugged): Removed definition.
7065         (elmo-message-fetch-field): Implemented.
7066
7067         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7068         (elmo-dop-folder): Removed variable definition.
7069         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7070         (elmo-dop-queue-flush): Implemented.
7071         (elmo-dop-queue-merge): Removed definition (TODO).
7072         (elmo-dop-spool-folder): New function.
7073         (elmo-dop-spool-folder-append-buffer): Ditto.
7074         (elmo-dop-spool-folder-list-messages): Ditto.
7075         (elmo-dop-list-deleting-messages): Ditto.
7076         (elmo-folder-append-buffer-dop): Ditto.
7077         (elmo-folder-delete-messages-dop): Ditto.
7078         (elmo-message-encache-dop): New inline function.
7079         (elmo-create-folder-dop): Ditto.
7080         (elmo-folder-mark-as-read-dop): Ditto.
7081         (elmo-folder-unmark-read-dop): Ditto.
7082         (elmo-folder-mark-as-important-dop): Ditto.
7083         (elmo-folder-unmark-important-dop): Ditto.
7084         (elmo-folder-status-dop): Fixed.
7085         (elmo-folder-append-buffer-dop-delayed): New function.
7086         (elmo-folder-delete-messages-dop-delayed): Ditto.
7087         (elmo-dop-msgdb): Ditto.
7088
7089 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7090
7091         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7092
7093 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7094
7095         * elmo.el (elmo-folder-move-messages): Fixed problem when
7096         `dst-folder' is 'null.
7097
7098 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7099
7100         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7101         instead of current mark.
7102
7103         * elmo-multi.el (elmo-folder-list-importants-internal): No
7104         operation if importants is not list.
7105
7106         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7107         Return t if importants is not list.
7108
7109         * elmo-map.el (elmo-map-folder-list-importants): Define.
7110         (elmo-folder-list-importants-internal): Check return value of
7111         `elmo-map-folder-list-importants-internal'.
7112
7113         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7114
7115         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7116
7117         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7118
7119         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7120
7121 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7122
7123         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7124         (Patch is provided by <kita@coe.nttdata.co.jp>).
7125
7126 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7127
7128         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7129         mark folder.
7130
7131 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7132
7133         * elmo.el (elmo-message-fetch): Define.
7134         (elmo-message-fetch-with-cache-process): New generic method.
7135         (elmo-message-fetch-internal): New generic method.
7136         (elmo-folder-synchronize):
7137
7138         * elmo-archive.el (elmo-message-fetch-internal): Define.
7139         (elmo-message-fetch): Eliminated.
7140
7141         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7142         (elmo-message-fetch): Eliminated.
7143
7144         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7145         argument OUTBUF.
7146         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7147
7148         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7149         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7150
7151         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7152         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7153
7154         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7155
7156         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7157
7158         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7159
7160         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7161         (elmo-message-fetch-unplugged): New generic method.
7162         (elmo-message-fetch-internal): Remove cache process (Renamed from
7163         `elmo-message-fetch').
7164
7165         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7166         (elmo-message-fetch): Eliminated.
7167         (elmo-message-fetch-unplugged): Ditto.
7168
7169         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7170
7171 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7172
7173         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7174         of `to-be-deleted' from number-alist to number-list.
7175
7176 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7177
7178         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7179         (elmo-folder-mark-as-important): Ditto.
7180
7181 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7182
7183         * elmo.el (elmo-folder): Added process-duplicates slot.
7184
7185         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7186         (elmo-folder-unmark-read): Ditto.
7187         (elmo-folder-unmark-important): Ditto.
7188         (elmo-folder-mark-as-important): Ditto.
7189
7190         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7191         duplicated message processing.
7192
7193         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7194
7195 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7196
7197         * elmo-util.el (elmo-list-subdirectories-1): New function.
7198         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7199         (elmo-mapcar-list-of-list): New function.
7200
7201         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7202         `elmo-mapcar-list-of-list' instead of `mapcar'.
7203
7204         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7205
7206         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7207         `elmo-have-link-count'. Return the fully qualified folder name.
7208
7209 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7210
7211         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7212         (elmo-shimbun-headers-cache): New internal variable.
7213         (elmo-shimbun-headers-cache-header-list): New inline function.
7214         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7215         (elmo-shimbun-headers-cache-header-hash): Ditto.
7216         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7217         (elmo-shimbun-headers-cache-last-check): Ditto.
7218         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7219         (elmo-shimbun-lapse-seconds): Ditto.
7220         (elmo-shimbun-headers-cache-check-p): Ditto.
7221         (elmo-shimbun-get-headers): New function.
7222         (elmo-folder-open-internal): Call it.
7223         (elmo-quit): Define (Clear headers-cache).
7224
7225 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7226
7227         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7228
7229         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7230         (elmo-msgdb-flist-save): Ditto.
7231
7232         * elmo-shimbun.el (elmo-folder-list-subfolders):
7233         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7234         (elmo-folder-exists-p): Ditto.
7235
7236         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7237         argument for `shimbun-header-insert'.
7238
7239 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7240
7241         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7242         at first time.
7243
7244         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7245         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7246
7247 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7248
7249         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7250         (elmo-folder-plugged-p): Define.
7251         (elmo-folder-set-plugged): Ditto.
7252         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7253         (elmo-folder-list-messages-internal): Return t if unplugged.
7254         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7255
7256         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7257         when elmo-folder-list-messages-internal method of children returns t.
7258
7259         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7260         pair is nil.
7261         (elmo-folder-open-internal): Don't update if unplugged status.
7262
7263 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7264
7265         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7266         new message.
7267
7268 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7269
7270         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7271
7272         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7273         saving.
7274
7275 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7276
7277         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7278
7279         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7280         (elmo-folder-open-internal): Set up headers slot.
7281         (elmo-folder-check): Call elmo-folder-close-internal and
7282         elmo-folder-open-internal.
7283         (elmo-folder-close-internal): Clean up headers slot.
7284
7285 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7286
7287         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7288         exactly folder list.
7289         (elmo-folder-append-messages): Fixed append archive with prefix.
7290
7291         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7292         make temp files with start-number.
7293
7294         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7295
7296 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7297
7298         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7299         argument `visible-only'.
7300         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7301         instead of `if'.
7302
7303         * elmo-pop3.el (elmo-folder-open-internal): Check
7304         `elmo-inhibit-number-mapping' is non-nil.
7305
7306         * elmo-pipe.el (elmo-folder-status): Fixed.
7307
7308 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7309
7310         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7311
7312         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7313         (elmo-folder-open-internal): Setup `header-hash' slot.
7314         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7315         information.
7316         (elmo-map-message-fetch): Ditto.
7317
7318 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7319
7320         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7321         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7322         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7323         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7324
7325         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7326
7327 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7328
7329         * sb-airs.el: Added footer.
7330
7331         * shimbun.el (shimbun-article): Define as luna-method.
7332
7333         * sb-tcup.el: New file.
7334
7335         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7336         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7337
7338 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7339
7340         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7341         (shimbun-get-headers): Ditto.
7342
7343         * elmo.el: Moved obsolete variable definitions from
7344         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7345
7346         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7347         groups.
7348
7349         * shimbun.el: New file.
7350
7351         * elmo-shimbun.el: New file.
7352
7353         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7354         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7355         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7356         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7357
7358 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7359
7360         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7361         hierarchy is t.
7362
7363 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7364
7365         * elmo.el (elmo-folder-msgdb): Define as macro.
7366         (elmo-folder-open): Added argument `load-msgdb'.
7367         (elmo-generic-folder-open): Ditto.
7368         (elmo-folder-encache): New function.
7369
7370         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7371
7372         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7373
7374         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7375         Eliminated argument FOLDER and added argument MSGDB.
7376         (elmo-dop-queue-load): Moved from elmo-dop.el.
7377         (elmo-dop-queue-save): Ditto.
7378
7379         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7380
7381         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7382
7383         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7384         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7385         (elmo-filter-folder-list-importants-internal): Ditto.
7386
7387         * elmo-map.el (elmo-folder-pack-number): Ditto.
7388
7389         * elmo-mime.el (elmo-mime-message-display): Ditto.
7390
7391         * elmo.el (elmo-generic-folder-commit): Ditto.
7392         (elmo-folder-list-unreads): Ditto.
7393         (elmo-folder-list-importants): Ditto.
7394         (elmo-generic-folder-commit): Ditto.
7395         (elmo-message-set-mark): Ditto.
7396         (elmo-generic-folder-append-msgdb): Ditto.
7397         (elmo-folder-synchronize): Ditto.
7398         (elmo-folder-messages): Ditto.
7399         (elmo-init): Call elmo-dop-queue-load.
7400         (elmo-folder-list-messages): Ditto.
7401
7402         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7403         (elmo-nntp-folder-process-crosspost): Ditto.
7404         (elmo-folder-list-unreads-internal): Ditto.
7405
7406         * elmo-dop.el: Removed old functions.
7407
7408 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7409
7410         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7411         `folder' to `msgdb'.
7412
7413 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7414
7415         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7416         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7417
7418         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7419         case-fold-search.
7420
7421 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7422
7423         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7424         defined.
7425
7426         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7427         (mmimap-parse-parameters-from-list): Define as alias for
7428         `mime-decode-parameter-plist' if it is defined as function.
7429         (mmimap-make-mime-entity): Added argument `number'.
7430         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7431         as 0.
7432         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7433
7434         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7435
7436         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7437
7438         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7439
7440 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7441
7442         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7443
7444         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7445         when elmo-imap4-default-authenticate-type is nil.
7446         (elmo-folder-list-subfolders): Ditto
7447         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7448         (elmo-imap4-fetch-callback-1-subr): Renamed from
7449         `elmo-imap4-fetch-callback-1' and define as inline function.
7450         (elmo-imap4-fetch-callback-1):
7451         Renamed from `elmo-imap4-fetch-callback'.
7452         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7453
7454         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7455         msgdb path (To keep compatibility with main trunk).
7456
7457         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7458
7459         * elmo-util.el (elmo-make-file-cache): Moved position of
7460         some macros.
7461
7462         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7463         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7464         instead of `elmo-pop3-inhibit-uidl'.
7465         (elmo-folder-exists-p): Ditto.
7466         (elmo-pop3-folder-list-messages): Ditto.
7467
7468         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7469         instead of `elmo-pop3-inhibit-uidl'.
7470         (elmo-folder-status): Ditto.
7471
7472         * elmo-dop.el (elmo-dop-folder): New variable.
7473         (elmo-dop-lock-message): Eliminated.
7474         (elmo-dop-unlock-message): Ditto.
7475         (elmo-dop-lock-list-load): Ditto.
7476         (elmo-dop-lock-list-save): Ditto.
7477         (elmo-dop-delete-folder): Ditto.
7478         (elmo-dop-rename-folder): Ditto.
7479
7480         * elmo.el: Removed incomplete commentary.
7481
7482 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7483
7484         * elmo.el (toplevel): Require 'elmo-version first;
7485         for little `recursive-load-depth' settings.
7486         Fix "ends here" comment.
7487
7488 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7489
7490         * elmo-util.el (toplevel): Require 'poem;
7491         Some functions are moved from elmo-cache.el.
7492
7493         * elmo-net.el (toplevel): Require 'elmo-cache.
7494
7495         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7496
7497         * elmo.el (toplevel): Ditto.
7498
7499         * elmo-cache.el: Rewrite with luna;
7500         Some functions are moved to elmo-util.el.
7501
7502         * elmo-internal.el (elmo-internal-folder-list): New variable.
7503         (elmo-internal-folder-initialize): Rewrite.
7504         (elmo-folder-list-subfolders): Ditto.
7505
7506         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7507         (elmo-cache-collect-sub-directories): Ditto.
7508
7509 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7510
7511         * elmo-version.el (elmo-version): Up to 2.5.8.
7512
7513         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7514
7515         * elmo-util.el (elmo-list-insert): New function.
7516
7517 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7518
7519         * elmo.el (elmo-init): New function.
7520         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7521
7522         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7523         (Renamed from `elmo-localdir-header-chop-length').
7524
7525         * elmo-pop3.el (elmo-pop3-use-cache,
7526         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7527
7528         * elmo-nntp.el (elmo-message-fetch): Define.
7529         (elmo-message-fetch-unplugged): Ditto.
7530         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7531         (elmo-nntp-use-cache): Ditto.
7532         (elmo-nntp-max-number-precedes-list-active): Ditto.
7533
7534         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7535
7536         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7537         `elmo-msgdb-insert-file-header'.
7538         Use `elmo-msgdb-file-header-chop-length'.
7539
7540         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7541         `elmo-vars.el'.
7542
7543         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7544         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7545         `elmo-msgdb-insert-file-header'.
7546
7547         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7548         Use new variable;
7549         Define obsolete variables with `elmo-define-obsolete-variable',
7550
7551         * elmo-util.el (elmo-warning-buffer-name): New constant.
7552         (elmo-warning): New function.
7553         (elmo-obsolete-variable-alist): New variable.
7554         (elmo-obsolete-variable-show-warnings): New variable.
7555         (elmo-define-obsolete-variable): New function.
7556         (elmo-resque-obsolete-variable): Ditto.
7557         (elmo-resque-obsolete-variables): Ditto.
7558
7559 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7560
7561         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7562         Eliminated.
7563
7564         * elmo-pop3.el, elmo-nntp.el: Use custom.
7565
7566 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7567
7568         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7569         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7570
7571 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7572
7573         * Luna-fy Kenichi OKADA's following changes.
7574         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7575         `nohide'.
7576         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7577
7578 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7579
7580         * elmo-util.el (elmo-display-progress): Prefer
7581         `progress-feedback-with-label' to `lprogress-display'.
7582
7583 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7584
7585         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7586
7587 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7588
7589         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7590         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7591         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7592         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7593         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7594         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7595         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7596         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7597         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7598         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7599         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7600         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7601         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7602
7603 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7604
7605         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7606         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7607
7608 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7609
7610         * elmo.el (elmo-folder-process-crosspost): New generic method.
7611         (elmo-folder-writable-p): Ditto.
7612         (elmo-folder-message-appendable-p): Eliminated.
7613         (elmo-generic-folder-append-msgdb): Rewrite.
7614         (elmo-newsgroups-hashtb): New internal variable.
7615         (elmo-crosspost-message-set): Eliminated.
7616         (elmo-crosspost-message-delete): Ditto.
7617         (elmo-setup-subscribed-newsgroups): New function.
7618         (elmo-crosspost-message-alist-modified): New internal variable.
7619         (elmo-crosspost-message-alist-load): New function (Renamed from
7620         `wl-crosspost-alist-load').
7621         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7622         `wl-crosspost-alist-save').
7623
7624         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7625
7626         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7627         `unreads'.
7628         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7629         elmo-newsgroups-hashtb).
7630         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7631         `elmo-nntp-folder-update-crosspost-message-alist'.
7632         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7633         `elmo-nntp-groups-hashtb'.
7634         (elmo-nntp-make-groups-hashtb): Eliminated.
7635         (elmo-nntp-parse-newsgroups): New function (Renamed from
7636         `wl-parse-newsgroups').
7637         (elmo-folder-creatable-p, elmo-folder-writable-p,
7638         elmo-folder-close-internal, elmo-folder-mark-as-read,
7639         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7640         Define.
7641         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7642
7643         * elmo-net.el (elmo-message-fetch): Check buffer size.
7644
7645         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7646
7647         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7648
7649         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7650         before `close' command.
7651
7652         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7653         `mark-alist' (All other related portions are changed).
7654
7655 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7656
7657         * elmo-util.el (elmo-create-hash-size): Eliminated.
7658         (elmo-make-hash) Make a hash with `one less than a power of two'
7659         length.
7660
7661         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7662         (elmo-hash-maximum-size): Changed value.
7663
7664 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7665
7666         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7667         (elmo-mime-message-display-as-is): Ditto.
7668
7669 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7670
7671         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7672         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7673
7674 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7675
7676         * elmo-mark.el: New file.
7677
7678         * elmo-internal.el: Rewrite (Almost empty).
7679
7680 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7681
7682         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7683         (mime-imap-entity-header-string): Ditto.
7684         (mmimap-entity-section): Rewrite.
7685
7686 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7687
7688         * elmo-nmz.el: New file.
7689
7690         * elmo-pipe.el: Rewrite with luna.
7691
7692 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7693
7694         * elmo-archive.el: Rewrite with luna.
7695
7696         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7697         (elmo-folder-list-importants-internal): Ditto.
7698
7699 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7700
7701         * elmo-archive.el (elmo-archive-version): Abolish.
7702         (toplevel) Removed `boso' comment.
7703
7704 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7705
7706         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7707         elmo-msgdb-add-msgs-to-seen-list-subr;
7708         Changed argument seen-marks to unread-marks.
7709
7710         * elmo-nntp.el: Rewrite with luna.
7711
7712 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7713
7714         * elmo-filter.el: Rewrite with luna.
7715
7716 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7717
7718         * elmo-pop3.el: Rewrite with luna.
7719
7720 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7721
7722         * elmo-multi.el: Rewrite with luna.
7723
7724         * elmo-vars.el (elmo-use-killed-list): Abolish.
7725         All other related portions are changed.
7726         (elmo-filename-replace-string-alist): Renamed from
7727         elmo-msgid-replace-string-alist.
7728
7729 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7730
7731         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7732
7733         * elmo-map.el: New file.
7734         * elmo-maildir.el: Rewrite with luna.
7735
7736 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7737
7738         * elmo.el: Changed meaning of `elmo-folder-commit'.
7739         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7740
7741 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7742
7743         * elmo.el (elmo-folder-append-buffer): New function.
7744         (Renamed from `elmo-append-msg')
7745
7746 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7747
7748         * elmo-mime.el: New file.
7749
7750 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7751
7752         * elmo-cache.el: Rewrite.
7753
7754 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7755
7756         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7757
7758 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7759
7760         * elmo-vars.el (elmo): New group.
7761         (elmo-strict-diff-folder-regexp): New variable.
7762
7763         * elmo-util.el (elmo-call-func): Abolish.
7764         (elmo-folder-get-type): Ditto.
7765         (elmo-*-get-spec): Ditto.
7766         (elmo-*-spec-*): Ditto.
7767         (elmo-imap4-identical-name-space-p): Ditto.
7768         (elmo-folder-identical-system-p): Ditto.
7769         (elmo-folder-direct-copy-alist): Ditto.
7770         (elmo-folder-direct-copy-p): Ditto.
7771
7772         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7773         (elmo-folder-initialize): Define.
7774         (elmo-folder-get-primitive-list): Ditto.
7775
7776         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7777         (elmo-folder-initialize): Define.
7778         Renamed `elmo-network-session-host-internal' to
7779         `elmo-network-session-server-internal'.
7780
7781         * elmo-multi.el (elmo-multi-folder): New luna class.
7782         (elmo-folder-initialize): Define.
7783         (elmo-folder-get-primitive-list): Ditto.
7784         (elmo-folder-contains-type): Ditto.
7785         (elmo-message-use-cache-p): Ditto.
7786
7787         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7788         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7789
7790         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7791         (elmo-folder-initialize): Define.
7792
7793         * elmo-filter.el (elmo-filter-folder): New luna class.
7794         (elmo-folder-initialize): Define.
7795         (elmo-folder-get-primitive-list): Ditto.
7796         (elmo-folder-contains-type): Ditto.
7797
7798 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7799
7800         * elmo-imap4.el: Rewrite with luna.
7801
7802         * mmimap.el: New file.
7803
7804         * mmelmo.el, mmelmo-imap4.el: Removed.
7805
7806         * elmo-net.el: Ditto.
7807
7808         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7809         (elmo-folder-initialize): Define.
7810
7811         * elmo-archive.el (elmo-archive-folder): New luna class.
7812         (elmo-folder-initialize): Define.
7813
7814         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7815         `elmo-folder-msgdb-path'.
7816         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7817         `elmo-make-folder'.
7818
7819 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7820
7821         * elmo.el: New file.
7822
7823         * elmo2.el: Renamed to elmo.el.
7824
7825 \f
7826 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7827
7828         * elmo-cache.el (elmo-cache-expire-by-size): Count
7829         a disk usage for a cache file entry in KB even when
7830         its kind is a directory.
7831
7832 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7833
7834         * elmo-version.el (elmo-version): Up to 2.5.7.
7835
7836 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7837
7838         * elmo-version.el (elmo-version): Up to 2.5.6.
7839
7840 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7841
7842         * elmo-version.el (elmo-version): Up to 2.5.5.
7843
7844 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7845
7846         * elmo-imap4.el (elmo-network-authenticate-session):
7847         Fixed a logic for response checking.
7848
7849 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7850
7851         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7852         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7853         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7854         `sasl-mechanisms'.
7855
7856         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7857         for `starttls-open-stream' and `starttls-negotiate'.
7858
7859         * elmo-nntp.el: Remove autoload settings for
7860         `starttls-open-stream' and `starttls-negotiate'.
7861
7862         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7863         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7864         `luna-define-class' with `eval-and-compile'.
7865
7866 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7867
7868         * elmo-util.el (elmo-read-search-condition-internal):
7869         Require an element of table for searching field.
7870
7871 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7872
7873         * elmo-version.el (elmo-version): Up to 2.5.4.
7874
7875 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7876
7877         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7878
7879 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7880
7881         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7882
7883 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7884
7885         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7886         before greeting.
7887
7888 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7889
7890         * elmo-imap4.el (elmo-imap4-delete-folder):
7891         Send "close" before "delete" (Use commented out line).
7892         (elmo-imap4-rename-folder): Ditto.
7893
7894         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7895         folder string itself.
7896         (elmo-dop-list-deleted): New function.
7897         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7898         killed.
7899
7900         * elmo-util.el (elmo-string-rassoc-all): New function.
7901
7902 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7903
7904         * elmo-version.el (elmo-version): Up to 2.5.3.
7905
7906         * elmo-net.el (elmo-network-get-session): Changed logic for
7907         checking process status.
7908
7909         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7910         process is nil;
7911         Changed logic for checking process status.
7912
7913 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7914
7915         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7916         before greeting.
7917         (elmo-network-setup-session): Set UIDL hash size according to
7918         the length of list response.
7919         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7920         according to the length of list response;
7921         Return the length of list response.
7922         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7923
7924 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7925
7926         * elmo-imap4.el (toplevel): Require 'ssl.
7927         Add autoload 'starttls.
7928         * elmo-pop3.el (toplevel): Ditto.
7929         * elmo-nntp.el (toplevel): Ditto.
7930
7931 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7932
7933         * elmo-imap4.el (toplevel): defun at compile time.
7934         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7935         sasl-next-step, sasl-step-data, sasl-step-set-data.
7936         * elmo-pop3.el (toplevel): Ditto.
7937
7938 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7939
7940         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7941
7942 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7943
7944         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7945         if error.
7946         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7947         and `elmo-pop-auth-apop'.
7948
7949 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7950
7951         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7952
7953 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7954
7955         * elmo-pop3.el (elmo-network-authenticate-session): Split
7956         encoded response value.
7957
7958 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7959
7960         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7961         `elmo-pop3-force-login'.
7962         Redefine `sasl-mechanisms'.
7963         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7964
7965 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7966
7967         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7968         Delete `elmo-imap4-authenticator-alist'.
7969         (elmo-imap4-auth-cram-md5): Delete.
7970         (elmo-imap4-auth-digest-md5): Delete.
7971
7972 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7973
7974         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7975         (elmo-pop3-auth-scram-md5): Ditto.
7976         (elmo-pop3-auth-cram-md5): Ditto.
7977
7978 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7979
7980         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7981         Delete `elmo-pop3-authenticator-alist'.
7982
7983 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7984
7985         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7986         new SASL API.
7987         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7988
7989 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7990
7991         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7992
7993 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7994
7995         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7996         Fixed problem when `elmo-pop3-use-uidl' is nil.
7997         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7998
7999 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8000
8001         * elmo-version.el (elmo-version): Up to 2.5.2.
8002
8003 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
8004
8005         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8006         New function.
8007         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
8008         (elmo-pop3-msgdb-create-as-numlist): Use it.
8009
8010         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
8011         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8012
8013         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8014         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8015
8016 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8017
8018         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8019         when elmo-mark-as-read is called with second argument nil.
8020
8021 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8022
8023         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8024         Moved to elmo-util.el.
8025
8026         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8027         Moved from elmo-pipe.el
8028
8029         * elmo-archive.el (elmo-archive-call-process): Enclose with
8030         static-if.
8031
8032         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8033         "RFC822" (because RFC822.PEEK is obsolete).
8034         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8035
8036 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8037
8038         * elmo-archive.el (elmo-archive-call-process): Don't check for
8039         the exit status when Nemacs is running.
8040
8041 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8042
8043         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8044         'plain.
8045
8046         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8047         (elmo-pop3-get-spec): Set default of auth to 'user.
8048
8049         * elmo-imap4.el (elmo-imap4-session-check):
8050         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8051         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8052         (elmo-imap4-auth-login): New function; Revival.
8053         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8054         `elmo-imap4-auth-login'.
8055
8056 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8057
8058         * elmo2.el (toplevel): Move `product-provide' declare.
8059         * mmelmo.el (toplevel): Ditto.
8060
8061 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8062
8063         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8064
8065 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8066
8067         * elmo-util.el (elmo-folder-get-store-type): New function.
8068         (elmo-folder-direct-copy-p): Use it.
8069
8070 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8071
8072         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8073         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8074         and result of `elmo-imap4-use-flag-p'.
8075         (elmo-imap4-fetch-callback-1): Set mark according to
8076         the result of `elmo-imap4-use-flag-p'.
8077
8078 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8079
8080         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8081         (elmo-generic-list-folder-unread): Ditto.
8082         (elmo-folder-get-info): Ditto.
8083         (elmo-folder-set-info-max-by-numdb): Ditto.
8084         (elmo-folder-get-info-max): Ditto.
8085         (elmo-folder-get-info-length): Ditto.
8086         (elmo-folder-get-info-unread): Ditto.
8087         (elmo-folder-info-make-hashtb): Ditto.
8088
8089         * elmo2.el: Removed above functions.
8090
8091 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8092
8093         * elmo-imap4.el (toplevel): Require 'ssl.
8094         Add autoload 'starttls.
8095         * elmo-pop3.el (toplevel): Ditto.
8096         * elmo-nntp.el (toplevel): Ditto.
8097
8098 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8099
8100         * elmo-imap4.el (toplevel): defun at compile time.
8101         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8102         sasl-next-step, sasl-step-data, sasl-step-set-data.
8103         * elmo-pop3.el (toplevel): Ditto.
8104
8105 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8106
8107         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8108
8109 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8110
8111         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8112         if error.
8113         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8114         and `elmo-pop-auth-apop'.
8115
8116 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8117
8118         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8119
8120 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8121
8122         * elmo-pop3.el (elmo-network-authenticate-session): Split
8123         encoded response value.
8124
8125 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8126
8127         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8128         `elmo-pop3-force-login'.
8129         Redefine `sasl-mechanisms'.
8130         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8131
8132 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8133
8134         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8135         Delete `elmo-imap4-authenticator-alist'.
8136         (elmo-imap4-auth-cram-md5): Delete.
8137         (elmo-imap4-auth-digest-md5): Delete.
8138
8139 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8140
8141         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8142         (elmo-pop3-auth-scram-md5): Ditto.
8143         (elmo-pop3-auth-cram-md5): Ditto.
8144
8145 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8146
8147         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8148         Delete `elmo-pop3-authenticator-alist'.
8149
8150 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8151
8152         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8153         new SASL API.
8154         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8155
8156 \f
8157 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8158
8159         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8160
8161 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8162
8163         * elmo-nntp.el (elmo-nntp-get-folders-info):
8164         Fixed problem when '\' character is contained in user-id.
8165         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8166
8167 \f
8168 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8169
8170         * elmo-imap4.el (elmo-imap4-delete-folder):
8171         Send "close" before "delete" (Use commented out line).
8172         (elmo-imap4-rename-folder): Ditto.
8173
8174         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8175         folder string itself.
8176         (elmo-dop-list-deleted): New function.
8177         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8178         killed.
8179
8180         * elmo-util.el (elmo-string-rassoc-all): New function.
8181
8182         * elmo-version.el (elmo-version): Up to 2.5.1.
8183
8184 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8185
8186         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8187
8188         * elmo-internal.el (elmo-internal-search): Fix last change.
8189
8190 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8191
8192         * elmo-internal.el (elmo-internal-search): Rewrite.
8193         (Fixed problem which is pointed out by Akihiro MOTOKI
8194         <motoki@da.jp.nec.com>)
8195
8196         * elmo-version.el (elmo-version): Up to 2.5.0.
8197
8198 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8199
8200         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8201
8202 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8203
8204         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8205         non-nil, make hierarchy.
8206
8207 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8208
8209         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8210         `elmo-pop3-use-uidl' must be bound to nil.
8211         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8212
8213 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8214
8215         * elmo-util.el (elmo-copy-file): Don't cause an error after
8216         `add-name-to-file' failed.
8217
8218         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8219         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8220
8221 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8222
8223         * elmo-version.el (elmo-version): Up to 2.3.93.
8224
8225 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8226
8227         * elmo-util.el (elmo-flatten): New function.
8228
8229 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8230
8231         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8232         sync Author header.
8233         * elmo-cache.el (toplevel): Ditto.
8234         * elmo-database.el (toplevel): Ditto.
8235         * elmo-date.el (toplevel): Ditto.
8236         * elmo-dop.el (toplevel): Ditto.
8237         * elmo-filter.el (toplevel): Ditto.
8238         * elmo-imap4.el (toplevel): Ditto.
8239         * elmo-internal.el (toplevel): Ditto.
8240         * elmo-localdir.el (toplevel): Ditto.
8241         * elmo-localnews.el (toplevel): Ditto.
8242         * elmo-maildir.el (toplevel): Ditto.
8243         * elmo-msgdb.el (toplevel): Ditto.
8244         * elmo-multi.el (toplevel): Ditto.
8245         * elmo-net.el (toplevel): Ditto.
8246         * elmo-nntp.el (toplevel): Ditto.
8247         * elmo-pipe.el (toplevel): Ditto.
8248         * elmo-pop3.el (toplevel): Ditto.
8249         * elmo-util.el (toplevel): Ditto.
8250         * elmo-vars.el (toplevel): Ditto.
8251         * elmo2.el (toplevel): Ditto.
8252         * mmelmo-imap4.el (toplevel): Ditto.
8253         * mmelmo.el (toplevel): Ditto.
8254
8255         * elmo-version.el (elmo-version): Move to top.
8256
8257         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8258         * elmo-imap4.el (toplevel): Ditto.
8259         * elmo-localdir.el (toplevel): Ditto.
8260         * elmo-msgdb.el (toplevel): Ditto.
8261         * elmo-nntp.el (toplevel): Ditto.
8262         * elmo-pop3.el (toplevel): Ditto.
8263         * elmo-version.el (toplevel): Ditto.
8264
8265         * elmo-localnews.el (toplevel): Added Keyword header.
8266
8267 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8268
8269         * elmo-version.el (product-version-as-string): Defined using
8270         `defun-maybe'.
8271         (toplevel): Use it.
8272
8273         * elmo-localdir.el (toplevel): Updated copyright notice.
8274         * elmo-version.el (toplevel): Ditto.
8275         * elmo-msgdb.el (toplevel): Ditto.
8276         * elmo-imap4.el (toplevel): Ditto.
8277         * elmo-nntp.el (toplevel): Ditto.
8278         * elmo-pop3.el (toplevel): Ditto.
8279
8280 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8281
8282         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8283         messages.
8284
8285         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8286         parameter value (It sometimes contains raw kanji).
8287
8288 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8289
8290         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8291         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8292
8293 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8294
8295         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8296
8297 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8298
8299         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8300         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8301
8302 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8303
8304         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8305         value if selecting folder succceeded.
8306         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8307
8308 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8309
8310         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8311         representation.
8312
8313         * elmo-util.el (elmo-string-matched-member): New function.
8314
8315 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8316
8317         * elmo-util.el (elmo-unintern): New macro.
8318         (elmo-number-set-member): Fixed docstring.
8319
8320         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8321         tag token.
8322
8323 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8324
8325         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8326         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8327
8328 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8329
8330         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8331         `no-error'.
8332         Added docstring.
8333         Return non-nil if selecting folder succeeded.
8334         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8335
8336 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8337
8338         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8339         `file-name-completion' returns t.
8340         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8341         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8342         directory if it does not exist.
8343         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8344         for iteration.
8345
8346 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8347
8348         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8349         enclosure (It's harmful in unplugged status).
8350
8351         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8352
8353         * mmelmo-1.el: Removed.
8354
8355         * mmelmo-2.el: Ditto.
8356
8357         * mmelmo-imap4-1.el: Ditto.
8358
8359         * mmelmo-imap4-2.el: Ditto.
8360
8361         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8362
8363         * mmelmo.el: Merged mmelmo-2.el.
8364
8365         * elmo-version.el (elmo-version): Up to 2.3.92.
8366
8367 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8368
8369         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8370         elmo-update-number): Remove last period in "...done." message.
8371         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8372         Ditto.
8373         * elmo-cache.el (elmo-cache-expire-by-size,
8374         elmo-cache-get-sorted-cache-file-list,
8375         elmo-cache-msgdb-create-as-numlist): Ditto.
8376         * elmo-dop.el (elmo-dop-save-pending-messages,
8377         (elmo-dop-flush-pending-append-operations): Ditto.
8378         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8379         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8380         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8381         (elmo-localdir-pack-number): Ditto.
8382         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8383         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8384         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8385         mime-write-entity-content): Ditto.
8386         * pldap.el (ldap-search-basic): Ditto.
8387
8388 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8389
8390         * elmo-version.el (elmo-version): Up to 2.3.91.
8391
8392         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8393         Only when filter is 'last'.
8394
8395         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8396         (elmo-condition-parse-search-value): Use it.
8397         (elmo-read-search-condition-internal): Quote value only when
8398         it is not an atom.
8399
8400 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8401
8402         * elmo2.el (elmo-generic-folder-diff): Fix.
8403
8404 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8405
8406         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8407         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8408         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8409         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8410         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8411         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8412
8413 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8414
8415         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8416         extra-fields.
8417
8418 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8419
8420         * elmo-version.el (elmo-version): Up to 2.3.90.
8421
8422         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8423         (elmo-imap4-list-folder-important): Ditto.
8424
8425 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8426
8427         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8428
8429 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8430
8431         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8432
8433 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8434
8435         * elmo-nntp.el (elmo-network-initialize-session):
8436         Add starttls negotiation.
8437
8438 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8439
8440         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8441         response.
8442         (elmo-network-setup-session): Define.
8443         Call `elmo-nntp-send-mode-reader' when session opened.
8444
8445 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8446
8447         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8448
8449 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8450
8451         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8452         an invalid SPACE character ahead of `SEARCH' command.  Move
8453         a valid SPACE character following `SEARCH' from conditional
8454         `format' arguments to control-strings.
8455
8456 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8457
8458         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8459         was succeeded.
8460
8461         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8462
8463 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8464
8465         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8466         `w32-get-true-file-link-count' as t.
8467
8468         * elmo-imap4.el (elmo-imap4-read): Abolished.
8469         (Renamed to `elmo-read' and moved to elmo-util.el)
8470         All other related portions are changed.
8471
8472         * elmo-util.el (elmo-read): New function.
8473         (elmo-condition-parse-search-value): Use it.
8474
8475 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8476
8477         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8478
8479         * elmo-nntp.el (elmo-nntp-session): Define.
8480         (elmo-nntp-setting): Abolished.
8481         All other related portions are changed.
8482         (elmo-nntp-get-server-command): Changed argument.
8483         (elmo-nntp-set-server-command): Ditto.
8484         (elmo-nntp-xover-p): Ditto.
8485         (elmo-nntp-set-xover): Ditto.
8486         (elmo-nntp-listgroup-p): Ditto.
8487         (elmo-nntp-set-listgroup): Ditto.
8488         (elmo-nntp-list-active-p): Ditto.
8489         (elmo-nntp-set-list-active): Ditto.
8490         (elmo-nntp-xhdr-p): Ditto.
8491         (elmo-nntp-set-xhdr): Ditto.
8492         (elmo-nntp-flush-connection): Abolished.
8493         (elmo-nntp-get-connection): Abolished.
8494         (elmo-nntp-get-session): New function.
8495         (elmo-network-initialize-session): Defined.
8496         (elmo-network-authenticate-session): Ditto.
8497         (elmo-nntp-send-mode-reader): Changed argument.
8498         (elmo-nntp-send-command): Changed argument.
8499         All other related portions are changed.
8500         (elmo-nntp-read-response): Ditto.
8501         (elmo-nntp-read-raw-response): Ditto.
8502         (elmo-nntp-read-contents): Ditto.
8503         (elmo-nntp-read-body): Ditto.
8504         (elmo-nntp-goto-folder): Abolished.
8505         (elmo-nntp-select-group): New function.
8506         All other related portions are changed.
8507         (This function substitutes `elmo-nntp-goto-folder')
8508         (elmo-nntp-msgdb-create-by-header): Rewrite.
8509         (elmo-nntp-get-overview): Eliminated.
8510         (elmo-nntp-get-message): Ditto.
8511         (elmo-nntp-open-connection) Abolished.
8512         (elmo-nntp-read-msg): Rewrite.
8513         (elmo-nntp-post): Ditto.
8514         (elmo-nntp-send-data): Abolished.
8515         (elmo-nntp-send-buffer): New function.
8516         (elmo-nntp-send-data-line): Define as inline function.
8517         (elmo-nntp-get-folders-info-prepare): Use session as key.
8518         (elmo-nntp-groups-read-response): Changed argument.
8519         (elmo-nntp-retrieve-headers): Ditto.
8520         (elmo-nntp-msgdb-create-message): Ditto.
8521
8522         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8523         when searching by 'since' or 'before'.
8524
8525 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8526
8527         * elmo-version.el (toplevel): Use product-version-as-string for set
8528         verstion-string, if defined.
8529
8530 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8531
8532         * elmo-util.el: Doc fixes.
8533
8534 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8535
8536         * elmo-archive.el (toplevel): Use product-provide.
8537         * elmo-cache.el (toplevel): Ditto.
8538         * elmo-database.el (toplevel): Ditto.
8539         * elmo-date.el (toplevel): Ditto.
8540         * elmo-dop.el (toplevel): Ditto.
8541         * elmo-filter.el (toplevel): Ditto.
8542         * elmo-imap4.el (toplevel): Ditto.
8543         * elmo-internal.el (toplevel): Ditto.
8544         * elmo-localdir.el (toplevel): Ditto.
8545         * elmo-localnews.el (toplevel): Ditto.
8546         * elmo-maildir.el (toplevel): Ditto.
8547         * elmo-msgdb.el (toplevel): Ditto.
8548         * elmo-multi.el (toplevel): Ditto.
8549         * elmo-net.el (toplevel): Ditto.
8550         * elmo-nntp.el (toplevel): Ditto.
8551         * elmo-pipe.el (toplevel): Ditto.
8552         * elmo-pop3.el (toplevel): Ditto.
8553         * elmo-util.el (toplevel): Ditto.
8554         * elmo-vars.el (toplevel): Ditto.
8555         * elmo2.el (toplevel): Ditto.
8556         * mmelmo-1.el (toplevel): Ditto.
8557         * mmelmo-2.el (toplevel): Ditto.
8558         * mmelmo-imap4-1.el (toplevel): Ditto.
8559         * mmelmo-imap4-2.el (toplevel): Ditto.
8560         * mmelmo-imap4.el (toplevel): Ditto.
8561         * mmelmo.el (toplevel): Ditto.
8562
8563 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8564
8565         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8566         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8567
8568 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8569
8570         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8571         before splitting.
8572         (elmo-multi-split-number-alist): Ditto.
8573
8574 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8575
8576         * elmo-version.el: New file.  Use product.el.
8577         * elmo2.el: Add (require 'elmo-version).
8578         * elmo-vars.el (elmo-appname, elmo-version): Move to
8579         elmo-version.el
8580
8581 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8582
8583         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8584         `elmo-msgdb-expand-path'.
8585         (elmo-msgdb-load): Ditto.
8586         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8587         (elmo-generic-list-folder-unread): Rewrite.
8588         (elmo-generic-list-folder-important): Changed argument.
8589         (elmo-list-folder-unread): Ditto.
8590         (elmo-list-folder-important): Ditto.
8591         (elmo-folder-diff): Rewrite.
8592         (elmo-generic-folder-diff): New function.
8593         (elmo-multi-get-number-alist-list): Abolished
8594         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8595         (elmo-multi-folder-diff): Moved to elmo-multi.el
8596         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8597
8598         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8599         `elmo-msgdb-expand-path'.
8600         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8601         (elmo-pop3-read-msg): Ditto.
8602         (elmo-pop3-delete-msgs): Ditto.
8603         (elmo-pop3-folder-diff): New alias.
8604
8605         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8606         `elmo-msgdb-expand-path'.
8607         (elmo-pipe-list-folder-unread): Changed arguments.
8608         (elmo-pipe-list-folder-important): Ditto.
8609         (elmo-pipe-folder-diff): New alias.
8610
8611         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8612         `elmo-msgdb-expand-path'.
8613         (elmo-nntp-max-of-folder): Ditto.
8614         (elmo-nntp-msgdb-create): Ditto.
8615         (elmo-nntp-delete-msgs): Ditto.
8616         (elmo-nntp-folder-diff): New alias.
8617
8618         * elmo-multi.el (elmo-multi-folder-diff): New function.
8619         (elmo-multi-split-mark-alist): Ditto.
8620         (elmo-multi-split-number-alist): Ditto.
8621         (elmo-multi-mark-alist-list): Abolished (Renamed to
8622         elmo-multi-split-mark-alist).
8623         (elmo-multi-list-folder-unread): Rewrite.
8624         (elmo-multi-list-folder-important): Ditto.
8625         (elmo-multi-list-folder): Set `spec' as 1st argument for
8626         `elmo-msgdb-expand-path'.
8627         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8628         instead of `elmo-multi-get-number-alist-list'.
8629
8630         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8631         If 1st argument is not string, treat as spec.
8632         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8633         `elmo-msgdb-expand-path'.
8634         (elmo-msgdb-flist-load): Ditto.
8635         (elmo-msgdb-flist-save): Ditto.
8636         (elmo-msgdb-delete-path): Ditto.
8637         (elmo-msgdb-rename-path): Ditto.
8638
8639         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8640         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8641         (elmo-maildir-delete-mark-msgs): Ditto.
8642         (elmo-maildir-msgdb-create): Ditto.
8643         (elmo-maildir-read-msg): Ditto.
8644         (elmo-maildir-delete-msgs): Ditto.
8645         (elmo-maildir-list-folder-subr): Ditto.
8646         (elmo-maildir-search): Ditto.
8647         (elmo-maildir-get-msg-filename): Ditto.
8648         (elmo-maildir-pack-number): Ditto.
8649         (elmo-maildir-folder-diff): New alias.
8650
8651         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8652
8653         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8654         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8655         (elmo-localdir-folder-diff): New alias.
8656
8657         * elmo-internal.el (elmo-internal-list-folder-subr):
8658         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8659         (elmo-internal-list-folder-by-location): Ditto.
8660         (elmo-internal-msgdb-create): Ditto.
8661         (elmo-internal-delete-msgs): Ditto.
8662         (elmo-internal-read-msg): Ditto.
8663         (elmo-internal-folder-diff): New alias.
8664
8665         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8666         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8667         `elmo-msgdb-expand-path'.
8668         (elmo-imap4-list-folder-unread): Changed arguments.
8669         (elmo-imap4-list-folder-important): Ditto.
8670
8671         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8672         (elmo-filter-list-folder-important): Ditto.
8673         (elmo-filter-folder-diff): New function.
8674
8675         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8676
8677         * elmo-cache.el (elmo-cache-list-folder):
8678         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8679         (elmo-cache-copy-msgs): Ditto.
8680         (elmo-cache-folder-diff): New alias.
8681
8682         * elmo-archive.el (elmo-archive-list-folder-subr):
8683         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8684         (elmo-archive-get-archive-name): Ditto.
8685         (elmo-archive-create-file): Ditto.
8686         (elmo-archive-append-msg): Ditto.
8687         (elmo-archive-copy-msgs): Ditto.
8688         (elmo-archive-copy-msgs-froms): Ditto.
8689         (elmo-archive-get-msg-filename): Ditto.
8690         (elmo-archive-folder-diff): New alias.
8691
8692 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8693
8694         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8695         (elmo-pop3-stream-type-alist): New variable.
8696         (elmo-nntp-stream-type-alist): New variable.
8697
8698         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8699         (elmo-kill-buffer): Ditto.
8700         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8701         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8702         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8703         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8704         (elmo-imap4-get-spec): Take into account
8705         `elmo-imap4-stream-type-alist'.
8706
8707 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8708
8709         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8710         (elmo-nntp-list-folders-get-cache): Ditto.
8711
8712 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8713
8714         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8715         character before 'uid'.
8716
8717 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8718
8719         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8720
8721         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8722
8723         * elmo-util.el (elmo-number-set-member): New function.
8724         (elmo-number-set-append-list): Ditto.
8725         (elmo-number-set-append): Ditto.
8726
8727         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8728         Use `elmo-number-set-member'.
8729         (elmo-living-messages): Ditto.
8730         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8731         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8732
8733         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8734         (elmo-imap4-add-to-cont-list): Abolished.
8735         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8736         instead of elmo-imap4-add-to-cont-list.
8737
8738         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8739         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8740
8741         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8742
8743 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8744
8745         * elmo-util.el (elmo-condition-parse-search-value):
8746         Fixed date parsing.
8747
8748 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8749
8750         * elmo-util.el (elmo-condition-find-key-internal): New function.
8751         (elmo-condition-find-key): Ditto.
8752
8753         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8754         (elmo-msgdb-search-internal): Ditto.
8755         (elmo-msgdb-search): Ditto.
8756
8757 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8758
8759         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8760         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8761
8762         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8763         (elmo-nntp-search-primitive): Fixed problem when condition is
8764         'unmatch'.
8765
8766         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8767
8768         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8769         (elmo-nntp-xhdr-p): New macro.
8770         (elmo-nntp-set-xhdr): Ditto.
8771         (elmo-nntp-parse-xhdr-response): New function.
8772         (elmo-nntp-retrieve-field): Ditto.
8773         (elmo-nntp-search-primitive): Ditto.
8774         (elmo-nntp-search): Implemented.
8775
8776         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8777
8778         * elmo-archive.el (elmo-archive-search): Set all number list to
8779         `elmo-archive-field-condition-match'
8780
8781         * elmo-localdir.el (elmo-localdir-search): Likewise.
8782
8783         * elmo-maildir.el (elmo-maildir-search): Likewise.
8784
8785 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8786
8787         * elmo-msgdb.el (elmo-living-messages): New function.
8788         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8789         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8790         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8791         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8792         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8793         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8794         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8795         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8796         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8797         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8798         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8799
8800 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8801
8802         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8803
8804         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8805
8806         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8807
8808         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8809         arguments for `SEARCH' command.
8810         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8811         All other related portions are changed.
8812
8813         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8814
8815         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8816         (elmo-list-folder-unread): Rewrite.
8817         (elmo-list-folder-important): Ditto.
8818
8819         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8820         (elmo-condition-parse-error): New inline function.
8821         (elmo-read-search-condition): New function.
8822         (elmo-read-search-condition-internal): Ditto.
8823         (elmo-parse-search-condition): Rewrite.
8824         (elmo-condition-parse): New function.
8825         (elmo-condition-parse-or-expr): Ditto.
8826         (elmo-condition-parse-and-expr): Ditto.
8827         (elmo-condition-parse-primitive): Ditto.
8828         (elmo-condition-parse-search-value): Ditto.
8829         (elmo-buffer-field-primitive-condition-match): Ditto.
8830         (elmo-buffer-field-condition-match): Rewrite.
8831         (elmo-file-field-condition-match): Ditto.
8832
8833         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8834         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8835
8836         * elmo-internal.el (elmo-internal-search): Set `number' and
8837         `number-list' argument of `elmo-file-field-condition-match'.
8838
8839         * elmo-maildir.el (elmo-maildir-search): Ditto.
8840
8841         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8842         `msgdb' as argument instead of `mark-alist'.
8843         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8844         `overview'.
8845
8846         * elmo-multi.el: Likewise.
8847
8848         * elmo-pipe.el: Likewise.
8849
8850         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8851         (elmo-imap4-search-internal): Rewrite.
8852         (elmo-imap4-search): Ditto.
8853
8854         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8855         (elmo-filter-list-folder-unread): Ditto.
8856         (elmo-filter-list-folder-important): Ditto.
8857         (elmo-filter-search): Rewrite.
8858
8859         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8860         `number-list' argument of `elmo-file-field-condition-match'.
8861         (elmo-cache-search): Ditto.
8862
8863         * elmo-localdir.el: Likewise.
8864
8865         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8866         number-list and pass it to `elmo-buffer-field-condition-match'.
8867         (elmo-archive-field-condition-match): Pass `number-list' to
8868         `elmo-archive-field-condition-match'
8869
8870 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8871
8872         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8873         `listgroup'.
8874
8875         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8876         (elmo-folder-diff-async-callback-data): Ditto.
8877         (elmo-folder-diff-async): New function.
8878
8879         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8880         (elmo-network-session-cache-key): Use it as a prefix of the session
8881         name.
8882         (elmo-network-open-session): Ditto.
8883
8884         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8885         (elmo-imap4-status-callback-data): Ditto.
8886         (elmo-imap4-server-diff-async-callback): New variable.
8887         (elmo-imap4-server-diff-async-callback-data): Ditto.
8888         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8889         `elmo-imap4-status-callback-data'.
8890         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8891         `elmo-imap4-status-callback-data' as nil.
8892         (elmo-imap4-server-diff): Ditto.
8893         (elmo-imap4-server-diff-async-callback-1): New function.
8894         (elmo-imap4-server-diff-async): Ditto.
8895         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8896
8897 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8898
8899         * elmo-util.el (elmo-list-delete): Doc fix.
8900         (elmo-delete-lists): Abolish.
8901         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8902         instead of `elmo-delete-lists'.
8903
8904 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8905
8906         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8907         before `sort'.
8908
8909 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8910
8911         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8912         `elmo-imap4-literal-subr'.
8913         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8914         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8915
8916 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8917
8918         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8919         (elmo-archive-list-folder): Fix.
8920         (elmo-archive-max-of-folder): Fix.
8921
8922 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8923
8924         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8925          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8926         (elmo-localdir-append-msg): Ditto.
8927         (elmo-localdir-list-folder): Fix for `nonsort'.
8928         (elmo-localdir-list-folder-subr): Fix for `killed'.
8929         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8930         (elmo-maildir-list-folder-subr): Ditto.
8931         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8932         (elmo-archive-list-folder-subr): Ditto.
8933         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8934         (elmo-internal-list-folder-subr): Ditto.
8935
8936 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8937
8938         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8939
8940 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8941
8942         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8943
8944 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8945
8946         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8947         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8948
8949         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8950         before greeting.
8951         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8952         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8953
8954 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8955
8956         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8957
8958         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8959         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8960         before STORE command.
8961
8962 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8963
8964         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8965
8966         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8967         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8968         of `response'.
8969         (elmo-imap4-list-folders): Removed unused local variable.
8970         (elmo-network-initialize-session): Ditto.
8971         (elmo-imap4-delete-msg-by-id): Ditto.
8972         (elmo-imap4-parse-fetch): Ditto.
8973         (elmo-imap4-copy-msgs): Ditto.
8974         Use `dst-spec' instead of `dst-folder'.
8975         (elmo-network-authenticate-session): Check authenticate type `plain'.
8976
8977 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8978
8979         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8980         garbage checking.
8981         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8982         `elmo-imap4-response-value'.
8983         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8984
8985 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8986
8987         * elmo-imap4.el (elmo-imap4-send-command):
8988         Cause elmo-imap4-bye-error when current response is BYE.
8989         (elmo-imap4-arrival-filter): Changed greeting response value.
8990
8991         * elmo2.el (elmo-imap4-bye-error): Define.
8992
8993         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8994         (elmo-imap4-server-diff): Ditto.
8995         (elmo-imap4-response-bye-p): New macro.
8996         (elmo-imap4-response-error-text): Get text from BYE response.
8997         (elmo-imap4-read-response): Return if BYE response.
8998         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8999         (elmo-imap4-folder-exists-p): Ditto.
9000         (elmo-imap4-commit): Do nothing when different mailbox is selected.
9001         (elmo-imap4-parse-bye): New function.
9002         (elmo-imap4-parse-response): Remove needless let.
9003         Call `elmo-imap4-parse-bye'.
9004
9005 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
9006
9007         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
9008         the mailbox does not exist.
9009         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
9010
9011 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
9012
9013         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9014
9015 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9016
9017         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9018
9019         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9020         (elmo-network-initialize-session-buffer): Defined.
9021
9022         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9023         Abolished.
9024         (mmelmo-imap4-get-mime-entity): Rewrite.
9025
9026         * elmo2.el (elmo-error): Capitalize error message.
9027
9028         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9029         (elmo-network-session-buffer): New macro.
9030         (elmo-network-open-session): Use it.
9031
9032         * elmo-imap4.el: Rewrite.
9033
9034 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9035
9036         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9037
9038 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9039
9040         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9041         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9042         (elmo-imap4-create-msgdb-from-overview-string): Use
9043         `elmo-msgdb-create-overview-from-buffer'.
9044
9045 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9046
9047         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9048         (elmo-imap4-default-hierarchy-delimiter): New variable.
9049         (elmo-imap4-list-folders): Use it.
9050
9051 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9052
9053         * elmo-net.el (elmo-network-open-session): Add user and
9054         stream-type for process-buffer name.
9055
9056         * elmo-pop3.el (elmo-network-initialize-session): Call
9057         buffer-disable-undo.
9058
9059         * elmo-imap4.el (elmo-network-initialize-session):
9060         Set current-buffer as an argument for `buffer-disable-undo'.
9061
9062         * elmo-pop3.el (elmo-network-close-session): Don't use
9063         `process-live-p'.
9064
9065         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9066         Set default as 'user.
9067
9068         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9069
9070         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9071         and `elmo-imap4-flush-connection'.
9072
9073         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9074         (elmo-pop3-get-spec): Assume auth as symbol.
9075         (elmo-open-network-stream): Moved to `elmo-net'.
9076
9077         * elmo-pop3.el (toplevel): Require 'elmo-net.
9078         Define `sasl-cram-md5' to silence byte compilier.
9079         (elmo-pop3-connection-cache) Abolished.
9080         (elmo-pop3-authenticator-alist) New variable.
9081         (elmo-pop3-session): Define.
9082         (elmo-pop3-connection-get-process): Abolished.
9083         (elmo-pop3-connection-get-buffer): Ditto.
9084         (elmo-pop3-close-connection): Ditto.
9085         (elmo-pop3-flush-connection): Ditto.
9086         (elmo-pop3-get-connection): Ditto.
9087         (elmo-pop3-get-session): New function.
9088         (Replacement for `elmo-pop3-get-connection').
9089         All other related modules are changed.
9090         (elmo-network-close-session): Define.
9091         (elmo-pop3-send-command): Abolished argument `buffer'.
9092         All other related modules are changed.
9093         (elmo-pop3-read-response): Likewise.
9094         (elmo-pop3-open-connection): Abolished.
9095         (elmo-pop3-auth-user): New function.
9096         (elmo-pop3-auth-apop): Ditto.
9097         (elmo-pop3-auth-cram-md5): Ditto.
9098         (elmo-pop3-auth-scram-md5): Ditto.
9099         (elmo-pop3-auth-digest-md5): Ditto.
9100         (elmo-network-initialize-session): Define.
9101         (elmo-network-authenticate-session): Ditto.
9102         (elmo-network-setup-session): Ditto.
9103
9104         * elmo-imap4.el (toplevel): Require 'elmo-net.
9105         (elmo-imap4-session): Define.
9106         (elmo-imap4-connection-cache): Abolished.
9107         (elmo-imap4-password-key): Ditto.
9108         (elmo-imap4-flush-connection): Ditto.
9109         (elmo-imap4-get-connection): Ditto.
9110         All other related modules are changed.
9111         (elmo-imap4-get-session): New function
9112         (Replacement for `elmo-imap4-get-connection').
9113         (elmo-imap4-read-response): Abolished argument `buffer'.
9114         All other related modules are changed.
9115         (elmo-imap4-send-command): Likewise.
9116         (elmo-imap4-select-folder): Abolished.
9117         All other related modules are changed.
9118         (elmo-imap4-select-mailbox): New function.
9119         (Replacement for `elmo-imap4-select-folder').
9120         (elmo-imap4-auth-login): Simplify.
9121         (Assume current buffer as process buffer)
9122         (elmo-imap4-auth-cram-md5): Ditto.
9123         (elmo-imap4-auth-digest-md5): Ditto.
9124         (elmo-imap4-login): Ditto.
9125         (elmo-imap4-open-connection): Abolished.
9126         (elmo-imap4-open-connection-1): Abolished.
9127         (elmo-network-initialize-sessoin): Define.
9128         (elmo-network-authenticate-session): Ditto.
9129         (elmo-network-setup-session): Ditto.
9130
9131         * elmo-net.el: New module.
9132
9133 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9134
9135         * elmo-util.el (elmo-define-error): New function.
9136
9137         * elmo2.el (elmo-error): Define.
9138         (elmo-open-error): Define.
9139         (elmo-authenticate-error): Define.
9140
9141         * elmo-imap4.el (elmo-imap4-error): Abolish.
9142         (elmo-imap4-error-type): Abolish.
9143         (elmo-imap4-error-process): Abolish.
9144         (elmo-imap4-error-message): Abolish
9145         (elmo-imap4-list-folders): Don't quote lambda.
9146         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9147         (elmo-imap4-parse-namespace): Ditto.
9148         (elmo-imap4-open-connection): Rewrite.
9149         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9150         (elmo-imap4-get-connection): Abolish local variable `result'.
9151
9152 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9153
9154         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9155         wrong-type-argument error when auth is nil.
9156
9157 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9158
9159         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9160         (elmo-default-nntp-stream-type): Ditto.
9161         (elmo-default-pop3-stream-type): Ditto.
9162         (elmo-network-stream-type-alist): Ditto.
9163         (elmo-default-imap4-ssl): Abolished.
9164         (elmo-default-nntp-ssl): Ditto.
9165         (elmo-default-pop3-ssl): Ditto.
9166
9167         * elmo-util.el: (toplevel): Removed needless requires.
9168         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9169         (elmo-open-network-stream): Open network stream according to
9170         the value of `elmo-network-stream-type-alist'.
9171         (elmo-get-network-stream-type): New function.
9172         (elmo-network-stream-type-spec-string): New macro.
9173         (elmo-network-stream-type-symbol): Ditto.
9174         (elmo-network-stream-type-function): Ditto.
9175
9176         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9177         network-stream-type. All other related portions are changed.
9178         (elmo-pop3-open-connection): Ditto.
9179
9180         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9181         network-stream-type. All other related portions are changed.
9182
9183         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9184         network-stream-type.All other related portions are changed.
9185         (elmo-imap4-error): New macro.
9186         (elmo-imap4-error-type): Ditto.
9187         (elmo-imap4-error-process): Ditto.
9188         (elmo-imap4-error-message): Ditto.
9189         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9190         (elmo-imap4-auth-cram-md5): Ditto.
9191         (elmo-imap4-auth-digest-md5): Ditto.
9192         (elmo-imap4-login): Ditto.
9193         (elmo-imap4-open-connection): Remove password entry if authentication
9194         was in vain.
9195         (elmo-imap4-user-at-host): Abolished.
9196         (elmo-imap4-password-key): New buffer local variable.
9197         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9198         using protocol, port, auth and stream-type.
9199
9200         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9201
9202 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9203
9204         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9205
9206         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9207
9208         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9209         (elmo-imap4-authenticator-alist): New variable.
9210         (elmo-imap4-open-connection-1): Rename from
9211         elmo-imap4-open-connection.
9212         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9213         only wraps elmo-imap4-open-connection-1.
9214         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9215         user-at-host.
9216         (elmo-imap4-auth-login): New function.
9217         (elmo-imap4-auth-cram-md5): New function.
9218         (elmo-imap4-auth-digest-md5): New function.
9219         (elmo-imap4-login): New function.
9220
9221 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9222
9223         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9224         function `error'.
9225
9226 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9227
9228         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9229
9230 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9231
9232         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9233
9234 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9235
9236         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9237         for server responses, quote `*' regardless of where it appears.
9238
9239 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9240
9241         * elmo-maildir.el (elmo-maildir-commit): New alias.
9242
9243 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9244
9245         * elmo-util.el (elmo-display-progress):
9246                 Use `progress-feedback-with-label'.
9247
9248 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9249
9250         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9251         (elmo-imap4-non-atom-char-regex): Ditto.
9252         (elmo-imap4-non-text-char-regex): Ditto.
9253         (elmo-imap4-literal-threshold): Ditto.
9254         (elmo-imap4-atom-p): New function.
9255         (elmo-imap4-quotable-p): Ditto.
9256         (elmo-imap4-nil): Ditto.
9257         (elmo-imap4-atom): Ditto.
9258         (elmo-imap4-quoted): Ditto.
9259         (elmo-imap4-literal-subr): Ditto.
9260         (elmo-imap4-literal): Ditto.
9261         (elmo-imap4-buffer-literal): Ditto.
9262         (elmo-imap4-string-subr): Ditto.
9263         (elmo-imap4-string): Ditto.
9264         (elmo-imap4-buffer-string): Ditto.
9265         (elmo-imap4-astring-subr): Ditto.
9266         (elmo-imap4-astring): Ditto.
9267         (elmo-imap4-buffer-astring): Ditto.
9268         (elmo-imap4-nstring): Ditto.
9269         (elmo-imap4-buffer-nstring): Ditto.
9270         (elmo-imap4-mailbox): New alias.
9271         (elmo-imap4-field-body): Ditto.
9272         (elmo-imap4-userid): Ditto.
9273         (elmo-imap4-password): Ditto.
9274         (elmo-imap4-format-quoted): New function.
9275         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9276         arguments and handle "atom", "quoted" and "literal" string here.
9277         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9278         `elmo-imap4-send-command'.
9279         (elmo-imap4-folder-exists-p): Likewise.
9280         (elmo-imap4-create-folder): Likewise.
9281         (elmo-imap4-delete-folder): Likewise.
9282         (elmo-imap4-rename-folder): Likewise.
9283         (elmo-imap4-max-of-folder): Likewise.
9284         (elmo-imap4-check-validity): Likewise.
9285         (elmo-imap4-sync-validity): Likewise.
9286         (elmo-imap4-server-diff): Likewise.
9287         (elmo-imap4-select-folder): Likewise.
9288         (elmo-imap4-copy-msgs): Likewise.
9289         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9290         (elmo-imap4-mark-set-on-msgs): Likewise.
9291         (elmo-imap4-read-part): Likewise.
9292         (elmo-imap4-read-msg): Likewise.
9293         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9294         `elmo-imap4-password' for `elmo-imap4-send-command'.
9295         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9296         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9297         `elmo-imap4-buffer-literal'.
9298         (elmo-imap4-append-msg): Likewise.
9299
9300         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9301         `delete' for removing dead connection from the connection cache.
9302         Move deletion of the process buffer after that.
9303         (elmo-imap4-list): Change `defsubst' to `defun'.
9304         (elmo-imap4-commit): Make error message verbose.
9305         (elmo-imap4-search): Ditto.
9306         (elmo-imap4-list): Ditto.
9307         (elmo-imap4-select-folder): Ditto.
9308         (elmo-imap4-copy-msgs): Ditto.
9309         (elmo-imap4-delete-msg-by-id): Ditto.
9310         (elmo-imap4-append-msg-by-id): Ditto.
9311         (elmo-imap4-append-msg): Ditto.
9312
9313 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9314
9315         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9316         when dired is used on XEmacs.
9317
9318 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9319
9320         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9321         instead of `append'.
9322         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9323         `elmo-plugged-p' directly.
9324         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9325         of `elmo-plugged-p' directly.
9326
9327         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9328         Eliminate unused variable.  Use `memq' for checking a process status.
9329         Use `cons' instead of `append' for updating the connection cache.
9330         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9331         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9332
9333 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9334
9335         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9336         `elmo-imap4-read-point' exactly.
9337
9338         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9339         the local variable `folder' to `mailbox'.
9340         Rename the argument `fld' to `folder'.
9341
9342 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9343
9344         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9345         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9346
9347 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9348
9349         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9350         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9351         (elmo-pop3-uidl-number-hash): Ditto.
9352         (elmo-pop3-size-hash): Ditto.
9353         (elmo-pop3-uidl-done): Ditto.
9354         (elmo-pop3-list-done): Ditto.
9355         (elmo-pop3-connection-get-process): New defmacro.
9356         (elmo-pop3-connection-get-buffer): Ditto.
9357         (elmo-pop3-close-connection): Delete buffer and process.
9358         (elmo-pop3-flush-connection): Don't delete buffer and process.
9359         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9360         Setup UIDL and size hash.
9361         (elmo-pop3-send-command-no-erase): Deleted
9362         (elmo-pop3-send-command): Added optional argument `no-erase'.
9363         (elmo-pop3-parse-uidl-response): New function.
9364         (elmo-pop3-parse-list-response): Set size hash.
9365         (elmo-pop3-list-location): New function.
9366         (elmo-pop3-list-by-uidl-subr): Ditto.
9367         (elmo-pop3-list-by-list): Ditto.
9368         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9369         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9370         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9371         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9372         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9373         Use uidl.
9374         (elmo-pop3-uidl-to-number): New function.
9375         (elmo-pop3-number-to-uidl): Ditto.
9376         (elmo-pop3-number-to-size): Ditto.
9377         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9378         Set number by use of uidl.
9379         (elmo-pop3-msgdb-create-message): Likewise.
9380         Set size, loc-alist in msgdb.
9381         (elmo-pop3-read-msg): Set number by use of uidl.
9382         Added optional argument `msgdb'.
9383         (elmo-pop3-delete-msg): Ditto.
9384         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9385         (elmo-pop3-commit): Close connection.
9386
9387         * elmo-pipe.el (elmo-pipe-max-of-folder):
9388         Bind `elmo-pop3-use-uidl' as nil.
9389         (elmo-pipe-drain): Ditto.
9390         Call `elmo-commit'.
9391
9392         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9393         (elmo-msgdb-overview-entity-set-size): New defsubst.
9394
9395 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9396
9397         * elmo-vars.el (elmo-use-killed-list): New variable
9398         (Renamed from `elmo-nntp-use-killed-list').
9399         (elmo-nntp-use-killed-list): Eliminated.
9400
9401         * elmo-msgdb.el (elmo-msgdb-expand-path):
9402         Changed expanding msgdb path for elmo-multi.
9403
9404         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9405         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9406         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9407         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9408         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9409         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9410         (toplevel): Deleted time-stamp line.
9411
9412         * elmo2.el (elmo-clear-killed ): Defined as function
9413         (Abolished defining as a backend function).
9414         All other related modules are changed.
9415
9416 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9417
9418         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9419
9420 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9421
9422         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9423
9424 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9425
9426         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9427
9428 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9429
9430         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9431         asynchronous folder check.
9432
9433         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9434
9435         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9436         `elmo-nntp-use-killed-list'.
9437         (elmo-nntp-list-folder): Use killed list.
9438         (elmo-nntp-max-of-folder): Ditto.
9439         (elmo-nntp-msgdb-create): Set killed list.
9440
9441         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9442
9443         * elmo2.el (elmo-clear-killed): New backend function.
9444         All other related modules are changed.
9445
9446 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9447
9448         * elmo-util.el (elmo-imap4-spec-folder): Use
9449         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9450         All callers changed.
9451
9452 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9453
9454         * mmelmo-2.el (initialize-instance):
9455         Use `mime-buffer-entity-buffer-internal' instead of
9456         `mime-entity-buffer'.
9457
9458         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9459         (mime-entity-body): Implemented.
9460         (mime-goto-header-start-point): Deleted.
9461         (mime-goto-body-end-point): Ditto.
9462         (mime-entity-point-min): Ditto.
9463         (mime-entity-point-max): Ditto.
9464         (mime-entity-children): Ditto.
9465         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9466         instead of `mime-entity-buffer'.
9467         (mime-entity-header-buffer): Ditto.
9468         (mime-entity-body-buffer): Ditto.
9469         (mime-write-entity-content): Ditto.
9470
9471         * pldap.el (ldap-static-if): New macro.
9472         (toplevel): Use it instead of `static-if'.
9473
9474 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9475
9476         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9477         included in `attrs' argument.
9478
9479 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9480
9481         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9482
9483         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9484         (ldap-ldif-safe-init-char-regexp): Ditto.
9485         (ldap-ldif-safe-string-regexp): Ditto.
9486         (ldap/ldif-safe-string-p): New macro.
9487         (ldap/ldif-insert-field): Ditto.
9488         (ldap-modify): Use it.
9489         (ldap-add): Ditto.
9490         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9491         (ldap-decode-attribute): Decode only when `attr' is consp.
9492         (ldap-delete): Bind `ret'.
9493         (toplevel): Require 'cl at compile time.
9494         Removed (require 'poe) and (require 'std11).
9495         (pldap-version): Eliminated.
9496         (ldap-search-basic): Removed auth and dn binding.
9497         (ldap-ldif-field-name-regexp): New constant.
9498         (ldap-ldif-field-head-regexp): Ditto.
9499         (ldap-ldif-next-field-head-regexp): Ditto.
9500         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9501         (ldap/field-end): New function.
9502         (ldap/field-body): Use it.
9503         (ldap/collect-field): Ditto.
9504         (ldap-search-basic): Use `ldap/field-body'.
9505
9506 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9507
9508         * pldap.el (ldap-default-attribute-encoder): New user option.
9509         (ldap/field-body): Decode base64 string.
9510         (ldap/collect-field): Ditto.
9511         (ldap-encode-attribute): New function.
9512         (ldap-add-entries): Use it.
9513         (ldap-modify-entries): Ditto.
9514         (ldap-search-entries): Enclosed decoding function with
9515         `with-temp-buffer' and set as unibyte.
9516         (ldap-search-basic): Set process buffer as unibyte.
9517
9518         * elmo-util.el (elmo-folder-identical-system-p):
9519         Eliminated name space checking.
9520
9521         * pldap.el: New module.
9522         toplevel: Changed condition to detect built-in ldap feature.
9523         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9524         (ldap-add): Added error handling.
9525         (ldap-modify): Ditto.
9526         (ldap-delete): Ditto.
9527
9528 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9529
9530         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9531         Initialize local variables with `let'.  Inline a temporary
9532         variable for the progress percentage.  Sort `setq' to reduce
9533         function call in the while-loop.
9534
9535         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9536         into the conditional branch.
9537
9538 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9539
9540         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9541         Move a conditional out of the while-loop.
9542
9543 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9544
9545         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9546         elmo-msgdb-overview-get-entity-by-number.
9547         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9548         throw.
9549
9550 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9551
9552         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9553         the local variable for a packed number self descriptively.
9554
9555 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9556
9557         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9558         * elmo-localdir.el (elmo-localdir-pack-number): Use
9559         `elmo-msgdb-overview-get-entity' instead of
9560         `elmo-msgdb-overview-get-entity-by-number'.
9561         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9562         (elmo-msgdb-search-overview-entity): Removed.
9563         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9564         by message-id or number.
9565         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9566         instead of `elmo-msgdb-overview-get-entity-by-number'.
9567
9568 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9569
9570         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9571         non-nil, use hash table for overview.
9572         (elmo-hash-maximum-size): New variable.
9573         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9574         (elmo-msgdb-make-overview-hashtb): New function.
9575         (elmo-msgdb-clear-overview-hashtb): New function.
9576         (elmo-clear-hash-val): New macro.
9577         All other related modules are changed.
9578
9579 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9580
9581         * elmo2.el (elmo-move-msgs): If there's other message with
9582         same message-id, don't use cache.
9583
9584 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9585
9586         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9587         number is already packed.
9588
9589 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9590
9591         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9592
9593 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9594
9595         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9596         All other related modules are changed.
9597
9598 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9599
9600         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9601         of refiling failure on Maildir.
9602
9603 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9604
9605         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9606         decoded mime-charset with cache.
9607         (elmo-msgdb-overview-entity-get-from): Ditto.
9608         (elmo-msgdb-overview-entity-get-subject): Ditto.
9609         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9610
9611 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9612
9613         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9614         (elmo-remove-passwd): Fill password with 0 before erase.
9615         * elmo-vars.el (elmo-passwd-life-time): New variable.
9616
9617 \f
9618 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9619
9620         * elmo-cache.el (elmo-buffer-cache-add):
9621         Set message cache buffer as unibyte.
9622
9623 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9624
9625         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9626         become nil.
9627
9628 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9629
9630         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9631         when display is finished.
9632         (elmo-nntp-msgdb-create): Ditto.
9633         (elmo-nntp-groups-read-response): Ditto.
9634         (elmo-nntp-retrieve-headers): Ditto.
9635         (elmo-nntp-msgdb-create-message): Ditto.
9636         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9637         (elmo-pop3-msgdb-create-message): Ditto.
9638
9639 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9640
9641         * elmo-maildir.el (elmo-maildir-msgdb-create):
9642         Use `elmo-msgdb-sort-by-date'.
9643
9644 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9645
9646         * elmo2.el (elmo-read-msg-no-cache):
9647         Eliminated arguments after `outbuf'.
9648         Don't use cache even if it exists.
9649         (elmo-read-msg): Don't pass arguments after `outbuf' to
9650         `elmo-read-msg-no-cache'.
9651
9652 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9653
9654         * elmo-archive.el (elmo-archive-list-folders):
9655         Use `file-name-directory' if base folder does not exist.
9656
9657 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9658
9659         * elmo-archive.el (elmo-archive-list-folders): Don't use
9660         `file-name-directory'.
9661
9662 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9663
9664         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9665         If `force' is non-nil, try flushing all operation queues.
9666
9667 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9668
9669         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9670         as-binary-process.
9671
9672 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9673
9674         * elmo-util.el (elmo-display-progress): Fixed.
9675
9676 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9677
9678         * elmo-util.el (elmo-display-progress): New function.
9679         All other related modules are changed.