Prevent accidental loss of messages when renaming IMAP4 mailbox
[elisp/wanderlust.git] / elmo / ChangeLog
1 2011-07-03  David Maus  <dmaus@ictsoc.de>
2
3         * elmo-imap4.el (elmo-imap4-session-unselect-mailbox): New
4         function. Leave selected state without silent EXPUNGE.
5         (elmo-folder-rename-internal): Use function.
6
7 2011-06-03  David Maus  <dmaus@ictsoc.de>
8
9         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't mark
10         unread messages with important or answered flag read.
11
12 2011-05-29  David Maus  <dmaus@ictsoc.de>
13
14         * elmo-imap4.el (elmo-network-authenticate-session): Always ask
15         for capabilities after login.
16         (elmo-imap4-parse-response): Remove superfluous third argument to
17         split-string.
18
19 2011-01-12  David Maus  <dmaus@ictsoc.de>
20
21         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Remove accidental
22         rebinding of new message db symbol.
23
24 2010-11-02  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>
25
26         * elmo-pop3.el (elmo-folder-open-internal): Don't load location
27         map if it is already loaded.
28
29 2010-10-31  David Maus  <dmaus@ictsoc.de>
30
31         * elmo-map.el (elmo-folder-open-internal): Don't load location map
32         if it is already loaded.
33
34         * elmo.el (elmo-folder-open-internal-p)
35         (elmo-folder-move-messages): Method removed.
36         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
37         * elmo-map.el (elmo-folder-open-internal-p): Dto.
38         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
39         * elmo-pipe.el (elmo-folder-open-internal-p): Dto.
40         * elmo-pop3.el (elmo-folder-open-internal-p): Dto.
41         * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
42
43 2010-10-24  David Maus  <dmaus@ictsoc.de>
44
45         * elmo-pop3.el (elmo-folder-open-internal-p): Define method for
46         this class.
47         * elmo-shimbun.el (elmo-folder-open-internal-p): Dto.
48         * elmo-multi.el (elmo-folder-open-internal-p): Fix invalid let
49         statement.
50
51 2010-10-14  David Maus  <dmaus@ictsoc.de>
52
53         * elmo-multi.el (elmo-folder-open-internal-p): Evaluate symbol to
54         return state of child folders.
55
56 2010-10-13  David Maus  <dmaus@ictsoc.de>
57
58         * elmo-multi.el (elmo-folder-open-internal-p): Start with t and
59         set to nil if one of the child folders is not open.
60         (elmo-folder-open-internal): Open child folders only if they are
61         not opened yet.
62
63 2010-08-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
64
65         * elmo-imap4.el: Remove trailing whitespace.
66
67         * elmo-localdir.el (elmo-folder-pack-numbers): Fix
68         `elmo-bind-directory' indent.
69
70         * elmo-imap4.el (elmo-imap4-folder-list-range): Fix indent (only
71         cosmetic fix).
72
73 2010-08-27  TAKAHASHI Kaoru  <kaoru@kaisei.org>
74
75         * elmo-util.el (elmo-delete-char): Fix `elmo-set-work-buf' indent.
76         (elmo-delete-cr, elmo-get-file-string, elmo-save-string)
77         (elmo-string-to-list, elmo-list-to-string): Ditto.
78
79 2010-08-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
80
81         * elmo-archive.el (elmo-archive-field-condition-match)
82         (elmo-archive-suffix-alist)
83         (elmo-archive-create-file, elmo-archive-folder-append-buffer)
84         (elmo-archive-folder-message-make-temp-files)
85         (elmo-archive-append-files)
86         (elmo-archive-field-condition-match): Fix indent.
87
88         * elmo-pop3.el (elmo-pop3-read-response): Fix `response-string'.
89         Avoid `args-out-of-range 0, 1' error.
90
91 2010-08-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
92
93         * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
94         (delete-backward-char X) that deletes region in Emacs 24.
95         See delete-active-region described in NEWS.
96         * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
97         * elmo-util.el (elmo-get-file-string): Ditto.
98         * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
99
100 2010-08-09  David Maus  <dmaus@ictsoc.de>
101
102         * elmo.el (elmo-folder-open-internal-p): New luna method.
103         (elmo-folder-move-messages): Open source folder only if necessary.
104         * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
105         * elmo-multi.el (elmo-folder-open-internal-p): Dto.
106         * elmo-map.el (elmo-folder-open-internal-p): Dto.
107         * elmo-filter.el (elmo-folder-open-internal-p): Dto.
108
109 2010-08-01  David Maus  <dmaus@ictsoc.de>
110
111         * elmo.el (elmo-folder-move-messages): Open source folder before
112         moving messages.
113
114 2010-04-15  David Maus  <dmaus@ictsoc.de>
115
116         * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
117         imap user name.
118
119 2010-04-14  David Maus  <dmaus@ictsoc.de>
120
121         * elmo-imap4.el (elmo-imap4-disabled-extension): New
122         variable. List of server extensions that are disabled on the
123         client side.
124         (elmo-imap4-session-capable-p): Honour list of disabled
125         extensions.
126
127 2010-03-17  David Maus  <dmaus@ictsoc.de>
128
129         * elmo-imap4.el (elmo-imap4-folder-list-flagged)
130         (elmo-imap4-search-internal-primitive): Pass filter type to imap
131         search when performing search for flagged messages.
132
133 2010-01-22  Vitaly Mayatskih  <v.mayatskih@gmail.com>
134
135         * modb-standard.el (modb-standard-save-entity): Use
136         `modb-standard-cleanup-stale-entities' to clean up stale entity
137         files in modb cache.
138         * elmo-imap4.el (elmo-network-authenticate-session): Ask for
139         capabilities after login.
140
141 2010-01-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
142
143         * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
144         indent (only cosmetic fix).
145
146 2010-01-15  Vitaly Mayatskih  <v.mayatskih@gmail.com>
147
148         * elmo-version.el (elmo-version): Up to 2.15.9.
149
150         * elmo-imap4.el (elmo-imap4-elist): New function
151         * elmo-imap4.el (elmo-imap4-parse-response): Added support for
152         ESEARCH feature (RFC4731).
153         * elmo-imap4.el (toplevel): Require time-stamp
154         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
155         elmo-imap4-read-response elmo-imap4-read-untagged
156         elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
157         logging format.
158         * elmo-imap4.el (elmo-folder-list-messages-plugged,
159         elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
160         for full uid range on folder entering, retrieve updates only for
161         newly appeared messages.
162         * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
163         elmo-imap4-read-response, elmo-imap4-read-untagged,
164         elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
165         to format-time-string.
166         * elmo-vars.el (toplevel): New custom
167         `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
168         flag for some buggy servers.
169         * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
170
171 2010-01-05  TAKAHASHI Kaoru  <kaoru@kaisei.org>
172
173         * acap.el (acap-parse-response): Fix comment-out style. Use three
174         semicolons, that should start at the left margin.
175         See. also (Info-goto-node "(elisp)Comment Tips").
176         * elmo.el (toplevel, elmo-message-match-condition)
177         (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
178         Ditto.
179         * elmo-archive.el (elmo-archive-suffix-alist)
180         (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
181         (elmo-archive-method-list)
182         (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
183         Ditto.
184         * elmo-imap4.el (toplevel)
185         (elmo-imap4-send-command, elmo-imap4-check-validity)
186         (elmo-imap4-fetch-callback-1-subr)
187         (elmo-network-initialize-session, elmo-server-diff-async)
188         (elmo-imap4-folder-diff-plugged): Ditto
189         * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
190         * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
191         * elmo-net.el (elmo-network-close-session): Ditto.
192         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
193         (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
194         * elmo-pop3.el (elmo-pop3-retrieve-headers):  Ditto.
195         * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
196         (elmo-number-set-delete)
197         (elmo-cache-get-oldest-cache-file-entity): Ditto.
198
199 2010-01-04  TAKAHASHI Kaoru  <kaoru@kaisei.org>
200
201         * elmo-version.el (elmo-version): Up to 2.15.8.
202
203         * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
204         `with-current-buffer' instead of `save-excursion' (for suppress
205         compile warnings).
206
207         * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
208         instead of `int-to-string'.
209         * elmo-archive.el (elmo-archive-message-fetch-internal)
210         (elmo-archive-folder-message-make-temp-files)
211         (elmo-archive-folder-append-buffer)
212         (elmo-folder-delete-messages-internal)
213         (elmo-archive-msgdb-create-entity)
214         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
215         * elmo-util.el (elmo-cache-expire-by-age): Ditto.
216         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
217         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
218         * elmo-imap4.el (elmo-imap4-make-number-set-list)
219         (elmo-folder-list-subfolders): Ditto.
220         * elmo-localdir.el (elmo-message-file-name)
221         (elmo-folder-message-make-temp-files)
222         (elmo-localdir-msgdb-create-entity)
223         (elmo-folder-append-messages-*-localdir)
224         (elmo-folder-pack-numbers): Ditto.
225         * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
226         * elmo-map.el (elmo-location-map-key): Ditto.
227         * elmo-nntp.el (elmo-nntp-folder-postfix)
228         (elmo-nntp-folder-list-subfolders)
229         (elmo-nntp-folder-msgdb-create): Ditto.
230
231         * elmo.el (elmo-crosspost-message-alist-save): Don't use
232         `function' for `lambda'.
233         * elmo-archive.el (elmo-archive-folder-list-subfolders)
234         (elmo-folder-append-messages-*-archive)
235         (elmo-folder-delete-messages-internal): Ditto.
236         * elmo-date.el (elmo-replace-in-string): Ditto.
237         * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
238         (elmo-folder-list-flagged): Ditto.
239         * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
240         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
241         * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
242
243 2010-01-02  TAKAHASHI Kaoru  <kaoru@kaisei.org>
244
245         * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
246         `elmo-dop-spool-folder' was used before it was defined"; Use
247         `defun' instead.
248
249         * pldap.el (ldap/ldif-safe-string-p): macro to function.
250         * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
251
252         * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
253         `mapcar'; Suppress compile warning.
254         * elmo-imap4.el (elmo-network-initialize-session-buffer)
255         (elmo-imap4-search-internal-primitive): Ditto.
256         * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
257         * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
258
259         * elmo-imap4.el (elmo-imap4-parse-address-list)
260         (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
261         (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
262         (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
263         `(string-to-char " ")' instead of `? ', `?\ '.
264
265 2010-01-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
266
267         * pldap.el (ldap-search-entries): Don't use `function' for lambda.
268         (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
269         (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
270         `function' for lambda.
271
272         * modb-standard.el (modb-standard-cleanup-stale-entities): Use
273         `string-to-number' instead of `string-to-int'.
274
275         * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
276         instead of `save-excursion' (for suppress compile warnings).
277         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
278         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
279         (elmo-nntp-post): Ditto.
280
281 2009-08-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
282
283         * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
284         Mule-UCS (to-utf-16).
285         (utf7-utf-16-coding-system): Change preference when Mule-UCS on
286         Emacs 23.
287
288 2009-07-11  Taiki SUGAWARA  <buzz.taiki@gmail.com>
289
290         * utf7.el (utf7-find-coding-system-without-bom): New Function.
291         (utf7-utf-16-coding-system): use no-BOM coding system.
292         (utf7-get-u16char-converter): remove workaround for BOM.
293
294 2009-05-26  Vitaly Mayatskikh <v.mayatskih@gmail.com>
295
296         * elmo-util.el (elmo-union): New function, make a union of two lists.
297
298         * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
299         mime-view when displaying malformed base64 attach.
300
301         * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
302         (removed duplicated code)
303
304         * modb-standard.el (modb-standard-cleanup-stale-entities): New
305         function, Remove stale entities from elmo's cache.
306
307 2009-05-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
308
309         * elmo-version.el (elmo-version): Up to 2.15.7.
310
311 2009-03-22  Tetsurou Okazaki  <okazaki@be.to>
312
313         * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
314         default value to `--auto-update'.
315
316 2008-07-06  TAKAHASHI Kaoru  <kaoru@kaisei.org>
317
318         * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
319         Add `elmo-pop3-read-point' barrier.
320
321 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
322
323         * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
324         goto the previous end-point insead of the head-point, and use
325         `search-forward' instead of `re-search-forward'.
326
327 2008-06-30  Tetsurou Okazaki  <okazaki@be.to>
328
329         * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
330
331 2008-06-30  Don Bashford  <Don.Bashford@stjude.org>
332
333         * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
334         case-insensitive fashion.
335
336 2008-03-30  Tetsurou Okazaki  <okazaki@be.to>
337
338         * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
339
340 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
341
342         * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
343         `eval-and-compile' for suppress compile warnings.
344
345         * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
346         instead of `defun-maybe'
347
348         * elmo-util.el: Add (eval-when-compile (require 'static)).
349
350 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
351
352         * mmimap.el: Remove (require 'static).
353         * acap.el: Ditto.
354
355         * elmo-flag.el: Move ';;; Code:' comment.
356         * elmo-imap4.el: Ditto.
357         * elmo-net.el: Ditto.
358
359         * elmo-version.el (product-provide): Fix comment.
360
361 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
362
363         * slp.el: Add (eval-when-compile (require 'cl)).
364         * elmo-date.el: Ditto.
365         * elmo-pop3.el: Ditto.
366         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
367
368 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
369
370         * modb.el (elmo-msgdb-match-condition-primitive): Use
371         `string-to-number' instead of `string-to-int'.
372
373         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
374         (elmo-msgdb-message-match-condition)
375         (elmo-msgdb-create-message-entity-from-buffer): Use
376         `string-to-number' instead of `string-to-int'.
377
378         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
379         instead of `string-to-int'.
380
381         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
382         instead of `string-to-int'.
383
384         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
385         `string-to-number' instead of `string-to-int'.
386
387         * elmo-nntp.el (elmo-nntp-make-msglist)
388         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
389         (elmo-nntp-create-msgdb-from-overview-string)
390         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
391         (elmo-nntp-search-primitive): Use `string-to-number' instead of
392         `string-to-int'.
393
394         * elmo-net.el (elmo-net-folder-set-parameters): Use
395         `string-to-number' instead of `string-to-int'.
396
397         * elmo-localdir.el (elmo-localdir-list-subr): Use
398         `string-to-number' instead of `string-to-int'.
399
400         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
401         `string-to-number' instead of `string-to-int'.
402
403         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
404         instead of `string-to-int'.
405
406         * elmo-archive.el (elmo-archive-list-folder-subr): Use
407         `string-to-number' instead of `string-to-int'.
408
409 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
410
411         * elmo-util.el (elmo-get-passwd): Fix typo.
412
413         * elmo-nntp.el (elmo-nntp-get-server-command)
414         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
415         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
416         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
417         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
418
419         * elmo-imap4.el (elmo-imap4-debug)
420         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
421         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
422         (elmo-imap4-response-value, elmo-imap4-response-error-text)
423         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
424         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
425         (elmo-imap4-identical-system-p): New backquote style.
426
427 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
428
429         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
430         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
431         (elmo-dop-queue-arguments): Ditto.
432
433         * elmo-date.el (elmo-match-substring): New backquote style.
434         (elmo-match-string, elmo-match-buffer): Ditto.
435         (elmo-date-make-sortable-string): Ditto.
436
437         * elmo-archive.el (elmo-archive-get-method):New backquote style.
438         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
439
440         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
441         style.
442
443         * elmo-net.el (elmo-network-stream-type-spec-string): New
444         backquote style.
445         (elmo-network-stream-type-symbol): Ditto.
446         (elmo-network-stream-type-feature): Ditto.
447         (elmo-network-stream-type-function): Ditto.
448         (elmo-network-session-buffer): Ditto.
449
450         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
451         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
452         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
453         (elmo-bind-directory, elmo-set-work-buf): Ditto.
454
455         * elmo.el (elmo-folder-send): New backquote style.
456
457 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
458
459         * pldap.el (ldap-static-if): New backquote style.
460         (ldap/ldif-safe-string-p): Ditto.
461         (ldap/ldif-insert-field): Ditto.
462
463         * elmo-version.el (elmo-version): Up to 2.15.6.
464
465 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
466
467         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
468         messages with \Deleted flag.
469         (elmo-folder-delete-messages-plugged): Ask before sending expunge
470         command if there are messages with \Deleted flag.
471
472 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
473
474         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
475         http://seclists.org/bugtraq/2007/Apr/0018.html
476         (Suggested by Tatsuya Kinoshita)
477
478 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
479
480         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
481         with \Noselect attribute.
482
483 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
484
485         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
486         hierarchical folder structure with UW-imapd.
487
488 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
489
490         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
491         when the LOGINDISABLED capability is advertised.
492
493 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
494
495         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
496
497 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
498
499         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
500         `entity'.
501         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
502         if the message entity is exists.
503
504 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
505
506         * elmo-util.el (elmo-msgdb-insert-file-header): Call
507         `elmo-delete-cr-buffer'.
508
509         * elmo-localdir.el (elmo-message-fetch-internal): Use
510         `insert-file-contents-as-raw-text' instead of
511         `insert-file-contents-as-binary'.
512
513         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
514
515 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
516
517         * elmo-imap4.el (elmo-network-initialize-session): Check to
518         retrieve a whole greeting message.
519
520 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
521
522         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
523
524 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
525
526         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
527         (elmo-progress-notify): Use it instead of `plist-get'.
528
529 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
530
531         * elmo.el (elmo-generic-folder-append-messages): Remove unused
532         variable `table'.
533
534 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
535
536         * elmo-pipe.el (elmo-folder-set-plugged): Define.
537
538 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
539
540         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
541         (elmo-spam-list-spam-messages): Check it option.
542
543 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
544
545         * elmo-util.el (elmo-with-progress-display): Return the value
546         of the last form in `body'.
547
548 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
549
550         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
551         `elmo-progress-counter' as t when a query callback returns nil.
552         (elmo-progress-clear): New function.
553         (elmo-progress-done): Split into `elmo-progress-clear'.
554         (elmo-progress-notify): Update a total slot when it is nil.
555         (elmo-with-progress-display): Call `elmo-progress-clear' in
556         unwind-protect and move calling `elmo-progress-done' to outside.
557
558         * elmo-imap4.el (elmo-imap4-find-next-line): Call
559         `elmo-progress-notify' with :total parameter instead of
560         `elmo-progress-counter-set-total'.
561
562 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
563
564         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
565         Make it interactive.
566         (elmo-progress-start): Avoid updating `elmo-progress-counter'
567         when a query callback returns nil.  Return a progress counter
568         instead of t whenever a start callback was called.
569
570 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
571
572         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
573         (elmo-imap4-send-command): Use it.
574         (elmo-network-initialize-session): Ditto.
575         (elmo-network-setup-session): Ditto.
576         (elmo-folder-msgdb-create-plugged): Ditto.
577
578 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
579
580         * elmo-util.el (elmo-progress-done): Fix a miss refer to
581         `elmo-progress-counter'.
582
583 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
584
585         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
586         (elsp-bsfilter-list-spam-filter): New function.
587         (elsp-bsfilter-start-list-spam): Ditto.
588         (elsp-bsfilter-read-list-spam): Ditto.
589         (elmo-spam-list-spam-messages): Use async process to display
590         progress message by each message.
591
592 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
593
594         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
595         of flushing previously inserted message contents.
596
597         * elmo-imap4.el (elmo-folder-search): Fix return value.
598
599 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
600
601         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
602         of reporter is enable or not.
603
604 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
605
606         * elmo-util.el (elmo-list-bigger-diff): Abolish.
607         (elmo-display-progress): Ditto.
608         (elmo-progress-counter-alist): Ditto.
609         (elmo-progress-set): Ditto.
610         (elmo-progress-clear): Ditto.
611         (elmo-progress-counter-all-value): Rename to
612         `elmo-progress-counter-total'.
613         (elmo-progress-counter-format): Rename to
614         `elmo-progress-counter-action'.
615         (elmo-progress-counter): New internal variable.
616         (elmo-progress-callback-function): Ditto.
617         (elmo-progress-counter-label): New function.
618         (elmo-progress-counter-set-total): Ditto.
619         (elmo-progress-counter-set-action): Ditto.
620         (elmo-progress-call-callback): Ditto.
621         (elmo-progress-start): Ditto.
622         (elmo-progress-done): Ditto.
623         (elmo-progress-notify): Rewrite.
624         (elmo-with-progress-display): Remove first argument
625         `condition'. Add optional argument `var' in `spec'.
626
627         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
628         (elmo-display-retrieval-progress-threshold): Ditto.
629         (elmo-inhibit-display-retrieval-progress): Ditto.
630
631         * Replace all pair of `elmo-progress-set' and
632         `elmo-progress-clear' into `elmo-with-progress-display'.
633
634         * Replace to call `elmo-display-progress' into pair of
635         `elmo-progress-notify' and `elmo-with-progress-display'.
636
637         * elmo-version.el (elmo-version): Up to 2.15.5.
638
639 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
640
641         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
642         `cond'.
643
644 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
645
646         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
647         cleanup-forms [wl:14027].
648
649 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
650
651         * elmo-flag.el (elmo-global-flag-set-internal): Use
652         `elmo-copy-file' by priority when the message is a file.
653
654 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
655
656         * elmo.el: Fix typo: disptch -> dispatch.
657
658 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
659
660         * elmo.el (elmo-file-tag): New class.
661         (elmo-append-messages-disptch-table): New constant.
662         (elmo-folder-type-p): New function.
663         (elmo-folder-append-messages): Redefine as function.
664
665         * elmo-null.el (elmo-folder-append-messages): Renamed from
666         `elmo-folder-append-messages'.
667
668         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
669         (elmo-folder-append-messages-*-maildir): Renamed from
670         `elmo-folder-append-messages'.
671
672         * elmo-localdir.el (elmo-localdir-folder): Inherit
673         `elmo-file-tag'.
674         (elmo-folder-append-messages-*-localdir): Renamed from
675         `elmo-folder-append-messages'.
676
677         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
678         from `elmo-folder-append-messages'.
679
680         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
681         `elmo-folder-append-messages'.
682
683         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
684         function.
685         (elmo-folder-append-messages-*-filter): Ditto.
686
687         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
688
689         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
690         (elmo-folder-append-messages-*-pipe): Renamed from
691         `elmo-folder-append-messages'.
692
693         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
694
695         * elmo-file.el (elmo-file-folder): Ditto.
696
697         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
698
699         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
700         from `elmo-folder-append-messages'
701
702 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
703
704         * elmo-map.el (elmo-location-map-setup): Change an argument
705         `locations' to optional.
706         (elmo-location-map-clear): Abolish.
707         (elmo-folder-clear): Follow the API change.
708
709         * elmo-pop3.el (elmo-folder-clear): Ditto.
710
711         * elmo-pop3.el (toplevel): Require elmo-map.
712         (elmo-pop3-folder): Inherit elmo-location-map and abolish
713         location-alist slot (All other related portions are changed).
714         (elmo-pop3-folder-use-uidl): New function.
715         (elmo-folder-msgdb-create): Don't sort message entities.
716         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
717         (elmo-pop3-number-to-size): Convert return value to number.
718         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
719         working buffer.
720
721         * elmo-map.el: Use `location-map' as a variable name for instance
722         instead of `mapper'.
723         (elmo-location-map-setup): Return location alist.
724         (elmo-location-map-update): Ditto.
725
726 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
727
728         * elmo-map.el (elmo-location-map): New class; split location and
729         number mapping from elmo-map-folder (All other related portions
730         are changed).
731
732         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
733         change.
734
735         * elmo-version.el (elmo-version): Up to 2.15.4.
736
737 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
738
739         * elmo-vars.el (elmo-use-hardlink): New user option.
740
741         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
742         `elmo-use-hardlink'.
743
744         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
745         killed-list.
746         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
747         instead of `*-internal'. Use `elmo-with-progress-display'.
748
749 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
750
751         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
752         `elmo-spam-process-messages-as-mbox'.
753
754         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
755
756 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
757
758         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
759         argument BUFFER of `call-process'.
760
761 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
762
763         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
764         args.
765         (elsp-bsfilter-list-spam-files): Ditto.
766
767 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
768
769         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
770         (elmo-spam-bsfilter-max-messages-per-process): New use option.
771         (elmo-spam-bsfilter-debug): Fix a group.
772         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
773         `--homedir'.
774         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
775         (elsp-bsfilter-list-spam-files): New function.
776         (elmo-spam-list-spam-messages): Define.
777         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
778         (elmo-spam-bsfilter-register-messages): New function.
779         (elmo-spam-register-spam-messages): Define.
780         (elmo-spam-register-good-messages): Ditto.
781
782         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
783
784         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
785         `nconc' and `consp'.
786
787 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
788
789         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
790         hash table to test whether a location is exists.
791
792 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
793
794         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
795         even if some error occurred.
796
797         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
798         meaningless unwind-protect.
799
800         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
801         start-number correctly.
802         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
803         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
804
805 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
806
807         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
808         (elmo-folder-initialize): Use it.
809         (elmo-global-flag-replace-referrer): New function.
810
811         * elmo.el (toplevel): Added autoload setting for
812         `elmo-global-flag-replace-referrer'.
813         (elmo-folder-rename): Rewrite the last change use
814         `elmo-global-flag-replace-referrer'.
815
816         * elmo-pipe.el (elmo-folder-rename): Call
817         `elmo-global-flag-replace-referrer'.
818
819 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
820
821         * elmo.el (elmo-folder-rename): Set meta data for global flags
822         follow the rename.
823
824 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
825
826         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
827         as 'not-loaded.
828         (elmo-folder-close): Ditto.
829         (elmo-filter-folder-number-list-loaded-p): New function.
830         (elmo-filter-folder-number-list): Check whether loaded or not.
831         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
832         of `elmo-filter-folder-number-list-internal'.
833         (elmo-folder-delete-messages): Ditto.
834         (elmo-folder-length): Check whether number-list is loaded or not.
835
836 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
837
838         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
839         field `real field' into each element of list.
840         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
841         (elmo-msgdb-message-entity-field): Ditto.
842         (modb-entity-ml-info-real-fields): New function.
843
844         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
845
846         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
847         `elmo-msgdb-extra-fields'.
848
849 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
850
851         * elmo-util.el (elmo-passwd-alist-load): Move point to min
852         position before read.
853
854 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
855
856         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
857         (elmo-global-flags-initialize): Ditto.
858
859 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
860
861         * elmo-archive.el (toplevel): Don't require emu, std11
862         and elmo-localdir.
863
864         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
865         definition.
866
867 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
868
869         * elmo.el (elmo-folder-confirm-appends): Display folder name.
870
871 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
872
873         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
874         literals.
875
876 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
877
878         * elmo-maildir.el (elmo-maildir-list-location): Reduce
879         `elmo-get-last-modification-time' call.
880
881 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
882
883         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
884         expression.
885         (elmo-maildir-set-mark): Ditto.
886         (elmo-maildir-delete-mark): Ditto.
887
888 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
889
890         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
891         optional argument `separators'.
892
893 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
894
895         * elmo.el (cache-changed): Abolish.
896         (status-changed): New signal.
897         (elmo-message-killed-p): New generic function and define for
898         elmo-folder.
899         (elmo-folder-recover-messages): Ditto.
900         (elmo-message-set-cached): Emit signal `status-changed' instead of
901         `cache-changed'.
902         (elmo-message-status): New macro.
903         (elmo-message-status-folder): Ditto.
904         (elmo-message-status-number): Ditto.
905         (elmo-message-status-set-flags): Ditto.
906         (elmo-message-status-set-killed): Ditto.
907         (elmo-message-status-flags): New function.
908         (elmo-message-status-cached-p): Ditto.
909         (elmo-message-status-killed-p): Ditto.
910
911         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
912         `status-changed' instead of `cache-changed'.
913         (elmo-folder-recover-messages): Define.
914         (elmo-message-killed-p): Ditto.
915
916         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
917         `status-changed' instead of `cache-changed'.
918
919         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
920         (elmo-message-killed-p): Define.
921         (elmo-folder-recover-messages): Ditto.
922
923         * elmo-version.el (elmo-version): Up to 2.15.3.
924
925 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
926
927         * elmo-signal.el (elmo-signal-bindings): Use cons to append
928         element into list.
929         (elmo-define-signal-handler): Add docstring.
930         (elmo-define-signal-filter): Ditto.
931
932         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
933
934 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
935
936         * elmo-util.el (elmo-flatten): Don't use recursive call.
937
938         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
939         assignment.
940         (elmo-folder-message-make-temp-files): Use `number-to-string'
941         instead of `int-to-string'.
942
943 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
944
945         * elmo-search.el (elmo-folder-delete-messages): Define.
946
947 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
948
949         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
950         customization type.
951         (elmo-mailing-list-count-spec-list): Ditto.
952
953         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
954         for `list-id'.
955
956 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
957
958         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
959         handling.
960
961 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
962
963         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
964         (elmo-mailing-list-count-spec-list): Ditto.
965
966         * elmo-util.el (elmo-map-until-success): New function.
967         (elmo-string-match-substring): Ditto.
968         (elmo-find-list-match-value): Ditto.
969
970         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
971         Removed.
972         (modb-entity-extract-ml-info-from-subject): Ditto.
973         (modb-entity-extract-ml-info-from-return-path): Ditto.
974         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
975         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
976         (modb-entity-extract-ml-info-from-mailman): Ditto.
977         (modb-entity-extract-mailing-list-info-functions): Ditto.
978         (modb-entity-extract-mailing-list-info): Rewrite with
979         `elmo-find-list-match-value'.
980
981 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
982
983         * elmo-net.el (elmo-network-session-retry-count): New user option.
984         (elmo-network-session-buffer-name): New internal function.
985         (elmo-network-session-buffer-create): Ditto.
986         (elmo-network-open-session): Retry open network session
987         `elmo-network-session-retry-count' times.
988
989 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
990
991         * elmo-util.el (elmo-list-filter): Rewritten.
992
993 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
994
995         * elmo-util.el (elmo-string-member): Allow symbol element in list.
996
997 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
998
999         * elmo-search.el (elmo-make-search-engine): Use prefix
1000         `elmo-search-' for require symbol instead of `else-'.
1001         (elmo-search-engine-extprog): New class.
1002         (elmo-search-engine-do-search): Remove nil from argument
1003         list. Added argument pattern to evaluate element as function.
1004         (elmo-search-engine-local-file): Derived from
1005         `elmo-search-engine-extprog'.
1006         (elmo-search-engine-create-message-entity): Check existance of file.
1007         (elmo-search-engine-fetch-message): Ditto.
1008         (elmo-search-namazu-index): Follow the API change.
1009         (elmo-search-grep-target): Ditto.
1010
1011 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1012
1013         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
1014         characters of working buffer.
1015
1016         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1017         Does not bind `default-mime-charset'.
1018         (elmo-msgdb-create-message-entity-from-buffer): Removed
1019         unnecessary local bind.
1020
1021         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
1022         function.
1023         (modb-entity-extract-mailing-list-info-functions): Added it.
1024
1025 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1026
1027         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
1028         when number and message-id are non-nil.
1029
1030         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
1031
1032         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
1033         conditional steatment.
1034         (elmo-pop3-auth-apop): Likewise.
1035         (elmo-network-authenticate-session): Likewise.
1036
1037 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1038
1039         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
1040         symbol `fill-column'.
1041         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
1042         decode field value.
1043
1044         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
1045         (elmo-decoded-field-body): Ditto.
1046
1047 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1048
1049         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
1050         `tokens' to `params'.
1051
1052 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1053
1054         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
1055         working buffer.
1056
1057 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1058
1059         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
1060         decide index.
1061
1062 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1063
1064         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
1065         Set default value as nil.
1066         (toplevel): Register search engines by
1067         `elmo-search-register-engine' if there are not defined.
1068
1069         * elmo.el (autoload): Added autoload setting for
1070         `elmo-search-register-engine'.
1071
1072 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1073
1074         * elmo.el (toplevel): `[' is redefined as the prefix of the search
1075         folder instead of nmz folder.
1076         (elmo-nmz-default-index-path): Added obsolete variable setting.
1077         (elmo-nmz-index-alias-alist): Ditto.
1078         (elmo-nmz-use-drive-letter): Ditto.
1079
1080         * elmo-search.el (elmo-search-register-engine): New function.
1081
1082         * elmo-nmz.el: Removed.
1083
1084         * elmo-version.el (elmo-version): Up to 2.15.2.
1085
1086 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1087
1088         * elmo-search.el: New file.
1089
1090 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1091
1092         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1093         condition `larger' and `smaller'.
1094
1095 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1096
1097         * elmo-util.el (elmo-safe-filename): Rewrite to replace
1098         `"' (double quote) into "_Q_".
1099
1100 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1101
1102         * elmo-net.el (elmo-net-quote-chars): Abolish.
1103         (elmo-net-format-quoted): Ditto.
1104
1105 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1106
1107         * elmo.el (elmo-get-folder-function): New variable.
1108         (elmo-get-folder): New function.
1109         (elmo-folder-rename): Call `elmo-make-folder' with specified
1110         mime-charset.
1111
1112         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1113         `elmo-make-folder'.
1114         (elmo-split-subr): Ditto.
1115
1116         * elmo-multi.el (elmo-folder-initialize): Ditto.
1117
1118         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1119
1120         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1121         (elmo-flag-get-folder): Ditto.
1122
1123         * elmo-filter.el (elmo-folder-initialize): Ditto.
1124
1125         * elmo-access.el (elmo-folder-initialize): Ditto.
1126         (elmo-access-folder-update-children): Ditto.
1127
1128         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1129         (elmo-dop-queue-flush): Ditto.
1130         (elmo-folder-append-buffer-dop-delayed): Ditto.
1131         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1132         mime-charset.
1133
1134         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1135         instead of `elmo-make-folder'.
1136         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
1137         destination folder instead of send `elmo-folder-rename-internal'.
1138
1139         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1140         slot of subfolder instead of create it.
1141
1142 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1143
1144         * elmo-util.el (elmo-collect-separators): New function.
1145         (elmo-collect-separators-internal): Ditto.
1146         (elmo-collect-trail-separators): Ditto.
1147         (elmo-parse-separated-tokens): Ditto.
1148         (elmo-parse-separated-tokens-internal): Ditto.
1149         (elmo-quote-syntactical-element): Ditto.
1150
1151         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1152         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1153
1154         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1155         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1156         (elmo-nntp-folder-list-subfolders): Quote a user name.
1157
1158         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1159         (elmo-net-parse-network): Abolish.
1160         (elmo-net-folder-set-parameters): New function.
1161         (elmo-folder-initialize): Follow the above change.
1162
1163         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1164         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1165         (elmo-folder-list-subfolders): Use
1166         `elmo-quote-syntactical-element' instead of
1167         `elmo-net-format-quoted' to quote mailbox and user name.
1168
1169 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1170
1171         * elmo-util.el (elmo-token-valid-p): New function.
1172         (elmo-parse-token): Add optional argument `requirement'.
1173         (elmo-parse-prefixed-element): Likewise.
1174
1175         * elmo-net.el (elmo-net-quote-chars): Renamed from
1176         `elmo-net-quote-chars-regexp'.
1177         (elmo-net-format-quoted): Add optional argument `extra-chars'.
1178
1179         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1180         by info document. Check token `uidl' is started an alphabet.
1181
1182         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1183         by info document. Check token `user' is started an alphabet.
1184
1185         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1186         (elmo-folder-list-subfolders): Quote user.
1187
1188 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1189
1190         * elmo-util.el (elmo-quoted-specials-list): New constant.
1191         (elmo-quoted-token): New function.
1192
1193         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1194         (elmo-net-format-quoted): New function.
1195         (elmo-net-parse-network): Ditto.
1196         (elmo-folder-initialize): Use it.
1197
1198         * elmo-nntp.el (elmo-folder-initialize): Use
1199         `elmo-net-parse-network' to parse network specification instead of
1200         `elmo-folder-initialize#elmo-net'.
1201
1202         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1203
1204         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1205         (elmo-folder-list-subfolders): Quote folder name by
1206         `elmo-net-format-quoted'.
1207
1208 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1209
1210         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1211         (elmo-folder-search): Use it.
1212
1213 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1214
1215         * modb-standard.el (modb-standard-loaded-message-id): Use
1216         `elmo-msgdb-message-entity-field'.
1217
1218 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1219
1220         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1221         without filename.
1222
1223 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1224
1225         * elmo-util.el (elmo-set-auto-coding): New function.
1226         (elmo-object-load): Use it.
1227
1228 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1229
1230         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1231         (elmo-time<): Define as alias of `elmo-time-less-p'.
1232         (elmo-time-to-datevec): New function.
1233
1234         * elmo-date.el (elmo-time-to-days): New function.
1235
1236 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1237
1238         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1239         is not cons cell.
1240
1241 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1242
1243         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1244         parenthesis.
1245
1246         * elmo-util.el (elmo-map-recursive): New function.
1247
1248         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1249         (modb-entity-encode-string-recursive): Ditto.
1250
1251 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1252
1253         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1254         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1255         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1256         compare sequence number when last modified time is nil.
1257
1258 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1259
1260         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1261
1262         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1263
1264 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
1265
1266         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1267         modification time of the file.
1268
1269 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1270
1271         * elmo-util.el (elmo-condition-optimize): Discriminated against
1272         preserved fields, extra fields and the other weight.
1273
1274 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1275
1276         * modb-entity.el (initialize-instance): Define.
1277         (modb-entity-handler-mime-charset): New internal function.
1278         (modb-standard-entity-set-field): Use it.
1279         (elmo-msgdb-message-entity-field): Ditto.
1280         (elmo-msgdb-message-entity-field): Ditto.
1281
1282         * modb.el (elmo-msgdb-match-condition): Rewrite with
1283         `elmo-condition-match'.
1284         (elmo-msgdb-match-condition-primitive): New function.
1285
1286         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1287         arguments `flags' and `numbers'.
1288         (elmo-msgdb-match-condition-primitive): Abolished (merged to
1289         `elmo-msgdb-message-match-condition').
1290         (modb-buffer-entity-handler): New class.
1291
1292         * elmo.el (elmo-folder-search): Optimize condition to use
1293         `elmo-condition-optimize'.
1294         (elmo-message-buffer-match-condition): New function.
1295         (elmo-message-match-condition): Use
1296         `elmo-message-buffer-match-condition' instead of
1297         `elmo-buffer-field-condition-match'.
1298
1299         * elmo-util.el (elmo-condition-match): New function.
1300         (elmo-condition-optimize): Ditto.
1301         (elmo-buffer-field-primitive-condition-match): Abolish.
1302         (elmo-buffer-field-condition-match): Ditto.
1303
1304         * elmo-archive.el (elmo-archive-field-condition-match): Use
1305         `elmo-message-buffer-match-condition' instead of
1306         `elmo-buffer-field-condition-match'.
1307
1308 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1309
1310         * elmo-flag.el (elmo-global-flags-initialize): Check the
1311         existence of the flag directory.
1312
1313 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1314
1315         * elmo-access.el (elmo-folder-initialize): Call
1316         `elmo-multi-connect-signals'.
1317
1318         * elmo-pipe.el (elmo-folder-close): Define.
1319
1320         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1321         children folders.
1322
1323         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1324         with target folder.
1325
1326         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1327         `number'.
1328
1329         * elmo-multi.el (elmo-message-entity): Don't use return value of
1330         `elmo-message-entity-set-number'.
1331
1332 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1333
1334         * modb.el (modb-generic): Added slot `mime-charset'.
1335
1336         * modb-standard.el (modb-standard): Added slot `overview-handler'.
1337         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1338         and `modb-entity-handler-dump-parameters'.
1339         (modb-standard-default-entity-handler): Abolish.
1340         (elmo-msgdb-message-entity-handler): Save created handler by
1341         instance slot.
1342
1343         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1344         (modb-entity-handler-list-parameters): New method.
1345         (modb-entity-handler-equal-p): New function.
1346         (modb-entity-handler-dump-parameters): Ditto.
1347         (modb-entity-parse-address-string): Encode return value.
1348         (modb-entity-make-address-string): Decode argument value.
1349         (modb-entity-decode-string-recursive): New function.
1350         (modb-entity-encode-string-recursive): Ditto.
1351         (modb-standard-entity-normalizer): Set to encode field value.
1352         (modb-standard-entity-specializer): Follow the above change.
1353         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1354         mime-charset of handler.
1355         (elmo-msgdb-message-entity-field): Ditto.
1356         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1357         structure.
1358         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1359
1360         * elmo.el (elmo-folder): Added slot `mime-charset'.
1361         (elmo-make-folder): Added argument `mime-charset'.
1362         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1363         `mime-charest'.
1364
1365         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1366         (elmo-make-msgdb): Likewise.
1367
1368         * elmo-internal.el (elmo-internal-folder-initialize): Call
1369         `luna-make-entity' with :mime-charset parameter.
1370
1371 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1372
1373         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1374         encoded words in `from' and `subject' field.
1375
1376 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1377
1378         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1379         (elmo-msgdb-match-condition): Get handler from entity instead of
1380         msgdb.
1381
1382         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1383         (modb-standard-load-entity): Treat new file format.
1384         (modb-standard-save-entity-1): Save as new file format.
1385         (modb-standard-save-entity): Split messages into section here.
1386         (elmo-msgdb-message-field): Follow the API change.
1387         (modb-standard-default-entity-handler): New internal variable.
1388         (elmo-msgdb-message-entity-handler): Define.
1389
1390         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1391         to `elmo-vars.el'.
1392         (modb-entity-field-extractor-alist): New user option.
1393         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1394         added argument `type'.
1395         (elmo-msgdb-copy-message-entity): Add optional argument
1396         `make-handler'.
1397         (modb-set-field-converter): New function.
1398         (modb-convert-field-value): Ditto.
1399         (modb-entity-string-decoder): Ditto.
1400         (modb-entity-string-encoder): Ditto.
1401         (modb-entity-parse-date-string): Ditto.
1402         (modb-entity-make-date-string): Ditto.
1403         (modb-entity-mime-decoder): Ditto.
1404         (modb-entity-mime-encoder): Ditto.
1405         (modb-entity-address-list-decoder): Ditto.
1406         (modb-entity-address-list-encoder): Ditto.
1407         (modb-entity-parse-address-string): Ditto.
1408         (modb-entity-make-address-string): Ditto.
1409         (modb-entity-create-field-indices): Ditto.
1410         (modb-legacy-entity-field-slots): New constant.
1411         (modb-legacy-entity-field-indices): Ditto.
1412         (modb-legacy-entity-normalizer): New variable.
1413         (modb-legacy-entity-specializer): Ditto.
1414         (modb-legacy-entity-field-index): New macro.
1415         (modb-legacy-entity-set-field): New function.
1416         (modb-legacy-make-message-entity): Rewrite.
1417         (elmo-msgdb-create-message-entity-from-buffer): Use
1418         `elmo-msgdb-get-references-from-buffer'. Use
1419         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1420         Use `modb-legacy-entity-set-field' instead of
1421         `elmo-msgdb-message-entity-set-field'.
1422         (elmo-msgdb-message-entity-field): Rewrite.
1423         (elmo-msgdb-message-entity-set-field): Ditto.
1424         (elmo-msgdb-copy-message-entity): Make new entity by
1425         `make-handler' if it specified.
1426         (elmo-msgdb-message-match-condition): Define a method of
1427         `modb-entity-handler' and follow the API change.
1428         (modb-standard-entity-handler): New class.
1429         (modb-entity-extract-ml-info-from-x-sequence): New function.
1430         (modb-entity-extract-ml-info-from-subject): Ditto.
1431         (modb-entity-extract-ml-info-from-return-path): Ditto.
1432         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1433         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1434         (modb-entity-extract-mailing-list-info): Ditto.
1435         (modb-entity-extract-mailing-list-info-functions): New variable.
1436
1437         * elmo.el (elmo-message-field): Add optional argument `type'.
1438
1439         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1440         from `modb-entity.el'.
1441
1442         * elmo-util.el (elmo-object-load): Decode by coding-system from
1443         `set-auto-coding-function'.
1444         (elmo-object-save): Use `detect-mime-charset-region' and add
1445         coding cookie if encode.
1446         (elmo-msgdb-get-references-from-buffer): New function.
1447         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1448
1449         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1450
1451         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1452         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1453         instead of `shimbun-make-header' and follow the API change.
1454         (elmo-shimbun-update-overview): Follow the API change.
1455         (elmo-map-folder-list-message-locations): Ditto.
1456
1457         * elmo-pipe.el (elmo-message-field): Ditto.
1458
1459         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1460         Ditto.
1461
1462         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1463
1464         * elmo-multi.el (elmo-message-field): Ditto.
1465
1466         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1467         (elmo-msgdb-sort-by-date): Ditto.
1468         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1469         `elmo-message-entity-field'.
1470         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1471         change.
1472         (elmo-msgdb-overview-entity-get-from): Ditto.
1473         (elmo-msgdb-overview-entity-get-subject): Ditto.
1474         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1475         (elmo-msgdb-overview-entity-get-date): Ditto.
1476         (elmo-msgdb-overview-entity-get-to): Ditto.
1477         (elmo-msgdb-overview-entity-get-cc): Ditto.
1478
1479         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1480         (elmo-mime-collect-message/partial-pieces): Ditto.
1481
1482         * elmo-filter.el (elmo-message-field): Ditto.
1483
1484         * elmo-date.el (elmo-datevec-to-time): New function.
1485         (elmo-time-parse-date-string): Ditto.
1486         (elmo-time-make-date-string): Ditto.
1487         (elmo-time<): Ditto.
1488
1489         * elmo-version.el (elmo-version): Up to 2.15.1.
1490
1491 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1492
1493         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1494         member of elmo-local-flags.
1495
1496 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1497
1498         * elmo-version.el (elmo-version): Up to 2.15.0.
1499
1500 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1501
1502         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1503         `ignore-msgdb' is non-nil.
1504
1505 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1506
1507         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1508         (elmo-condition-in-msgdb-p): Ditto.
1509         (elmo-file-field-primitive-condition-match): Ditto.
1510         (elmo-file-field-condition-match): Ditto.
1511
1512         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1513
1514 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1515
1516         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1517         subdirectories here.
1518         (elmo-global-flags-initialize): New function.
1519
1520         * elmo.el (toplevel): Added autoload setting for
1521         `elmo-global-flags-initialize'.
1522
1523 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1524
1525         * elmo.el (message-number-changed): Define new signal.
1526         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1527         message-number-changed signal.
1528         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1529         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1530         Respect `elmo-pack-number-check-strict'.
1531
1532 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1533
1534         * elmo-signal.el (elmo-connect-signal): Document.
1535         (elmo-emit-signal): Ditto.
1536         (elmo-emit-signal): It should pass source argument to filter and
1537         handler, not slot-source.
1538
1539 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1540
1541         * modb.el (elmo-msgdb-update-entity): New API and define generic
1542         implement.
1543
1544         * modb-standard.el (elmo-msgdb-update-entity): Define.
1545
1546         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1547         API and define generic implement.
1548
1549         * elmo.el (update-overview): New singnal.
1550
1551         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1552         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1553         (elmo-message-entity-parent): Define.
1554
1555         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1556         `update-overview'.
1557
1558         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1559
1560         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1561
1562 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1563
1564         * elmo.el (elmo-folder-synchronize): Sort the return value of
1565         `elmo-list-diff'.
1566
1567         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1568         list.
1569
1570 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1571
1572         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1573         `default-enable-multibyte-characters'.
1574         (elmo-object-load): Use `with-temp-buffer' instead of
1575         `elmo-set-work-buf'.
1576         (elmo-object-save): Ditto.
1577         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1578         `elmo-set-work-buf'.
1579         (elmo-decoded-field-body): Ditto.
1580
1581         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1582
1583         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1584         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1585
1586         * elmo-version.el (elmo-version): Up to 2.13.3.
1587
1588 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1589
1590         * elmo-util.el (elmo-list-diff): Fix the last change.
1591         Reverse order of result lists.
1592
1593 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1594
1595         * modb-standard.el (elmo-msgdb-set-flag): Use
1596         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1597         (elmo-msgdb-unset-flag): Ditto.
1598
1599         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1600         `elmo-list-diff'.
1601
1602         * elmo-util.el (elmo-list-diff): Rewrite.
1603         (elmo-list-diff-nonsortable): New function.
1604
1605 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1606
1607         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1608         `elmo-multibypte-buffer-name'.  All referers are updated.
1609
1610 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1611
1612         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1613         (elmo-mime-entity-fragment-p): New function.
1614         (mime-elmo-buffer-entity): Added slot `reassembled'.
1615         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1616         (elmo-message-mime-entity-internal): New function (renamed from
1617         `elmo-message-mime-entity').
1618         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1619         (elmo-mime-make-reassembled-mime-entity): New function.
1620         (elmo-message-reassembled-mime-entity): Ditto.
1621         (elmo-mime-collect-message/partial-pieces): Ditto.
1622
1623 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1624
1625         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1626
1627         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1628         (elmo-with-enable-multibyte): New macro.
1629
1630         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1631
1632 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1633
1634         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1635         argument `number'.
1636         (elmo-filter-connect-signals): Follow the above change.
1637
1638 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1639
1640         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1641
1642         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1643         that only the first flag is used.
1644
1645 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1646
1647         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1648         if available.
1649
1650 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1651
1652         * elmo-signal.el: New file.
1653
1654         * elmo.el (toplevel): Require elmo-signal.
1655         (flag-changing, flag-changed, cache-changed): New signal.
1656         (elmo-folder): Remove slog `handlers'.
1657         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1658         `elmo-folder-notify-event'.
1659         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1660         (elmo-folder-unset-flag): Ditto.
1661         (elmo-event-handler): Abolish.
1662         (elmo-event-handler-flag-changed): Ditto.
1663         (elmo-event-handler-cache-changed): Ditto.
1664         (elmo-folder-add-handler): Ditto.
1665         (elmo-folder-remove-handler): Ditto.
1666         (elmo-folder-notify-event): Ditto.
1667
1668         * elmo-pipe.el (toplevel): Require elmo-signal.
1669         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1670         (elmo-pipe-connect-signals): New function.
1671         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1672         (elmo-folder-set-flag): Ditto.
1673         (elmo-folder-unset-flag): Ditto.
1674         (elmo-message-set-cached): Ditto.
1675
1676         * elmo-multi.el (toplevel): Require elmo-signal.
1677         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1678         (elmo-multi-connect-signals): New function.
1679         (elmo-multi-map-numbers): Ditto.
1680         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1681         (elmo-message-fetch): Ditto.
1682         (elmo-folder-set-flag): Ditto.
1683         (elmo-folder-unset-flag): Ditto.
1684
1685         * elmo-filter.el (toplevel): Require elmo-signal.
1686         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1687         (elmo-filter-connect-signals): New function.
1688         (elmo-filter-add-flag-count): Ditto.
1689         (elmo-message-fetch): Does not call
1690         `elmo-filter-folder-countup-message-flags' and
1691         `elmo-folder-notify-event'.
1692         (elmo-message-set-cached): Ditto.
1693         (elmo-folder-set-flag): Ditto.
1694         (elmo-folder-unset-flag): Ditto.
1695
1696         * elmo-version.el (elmo-version): Up to 2.13.2.
1697
1698 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1699
1700         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1701         `flags'.
1702
1703 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1704
1705         * elmo-filter.el (elmo-message-set-cached): Call
1706         `elmo-folder-notify-event' with event `cache-changed'.
1707
1708         * elmo-multi.el (elmo-message-set-cached): Ditto.
1709
1710         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1711
1712 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1713
1714         * elmo.el (elmo-folder-encache): Abolish.
1715
1716 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1717
1718         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1719         (elmo-folder-next-message-number-dop): Return appropriate negative
1720         integer.
1721
1722 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1723
1724         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1725         clearing pending operations.
1726         (elmo-folder-next-message-number-dop): Return appropriate negative
1727         integer.
1728
1729 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1730
1731         * elmo.el (toplevel): Added autoload setting for `md5'.
1732         (elmo-msgdb-path-encode-threshold): New user option.
1733         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1734         longer than `elmo-msgdb-path-encode-threshold'.
1735
1736         * elmo-flag.el (elmo-global-mark-migrate): Use
1737         `elmo-folder-expand-msgdb-path' instead of
1738         `elmo-folder-msgdb-path'.
1739
1740 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1741
1742         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1743         element of the difference is nil.
1744
1745 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1746
1747         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1748         to the check logic of file systems which are weak in colon character.
1749
1750 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1751
1752         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1753
1754 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1755
1756         * elmo-maildir.el (elmo-maildir-move-file): New function.
1757         (elmo-folder-append-buffer): Use it.
1758         (elmo-folder-append-messages): Ditto.
1759         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1760
1761         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1762         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1763
1764         * elmo-maildir.el (elmo-maildir-separator): New user option.
1765         (elmo-maildir-adjust-separator): New macro.
1766         (elmo-maildir-list-location): Use it.
1767         (elmo-maildir-update-current): Ditto.
1768         (elmo-maildir-set-mark): Ditto.
1769         (elmo-maildir-delete-mark): Ditto.
1770         (These changes are based on Hiroya Murata's patch [wl: 13437])
1771
1772 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1773
1774         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1775
1776 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1777
1778         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1779         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1780         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1781
1782 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1783
1784         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1785         Use `with-temp-buffer'.
1786
1787 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1788
1789         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1790
1791         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1792         `wl-read-search-condition').
1793         (elmo-read-search-condition-internal): Likewise.
1794
1795         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1796         (elmo-flag-valid-p): New function.
1797         (elmo-folder-initialize): Check flag name is valid.
1798
1799 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1800
1801         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1802         delimiter to obtain root mailbox itself.
1803
1804 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1805
1806         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1807         type mismatch.
1808
1809 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1810
1811         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1812         as t.
1813
1814 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1815
1816         * elmo-shimbun.el (toplevel): Require cl at compile.
1817
1818         * elmo-nntp.el (toplevel): Ditto.
1819
1820         * elmo-nmz.el (toplevel): Ditto.
1821
1822         * elmo-multi.el (toplevel): Ditto.
1823
1824         * elmo-file.el (toplevel): Ditto.
1825
1826         * elmo-dop.el (toplevel): Ditto.
1827
1828         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1829
1830 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1831
1832         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1833         as nil.
1834
1835         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1836         size of elmo-message-fetch-internal is 0 byte.
1837
1838 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1839
1840         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1841
1842 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1843
1844         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1845         always plugged.
1846
1847 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1848
1849         * elmo-maildir.el (elmo-map-message-fetch): Call
1850         `elmo-map-folder-set-flag'.
1851
1852         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1853         (elmo-message-fetch): Merge from
1854         `elmo-message-fetch-with-cache-process'.
1855
1856         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1857         (elmo-message-fetch): Define.
1858
1859         * elmo-nntp.el (elmo-message-fetch): Renamed from
1860         `elmo-message-fetch-with-cache-process'.
1861
1862         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1863         (elmo-message-fetch): Define.
1864
1865         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1866         search-key.
1867
1868         * elmo-shimbun.el (shimbun-mua-search-id): Use
1869         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1870         (elmo-shimbun-folder-shimbun-header): Ditto.
1871         (elmo-shimbun-get-headers): Ditto.
1872         (elmo-shimbun-update-overview): Ditto.
1873
1874         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1875
1876         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1877         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1878
1879 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1880
1881         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1882         message is cached.
1883         (elmo-message-fetch-string): Fixed argument.
1884
1885 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1886
1887         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1888         exchange order of arguments `section' and `unread'.
1889         (elmo-message-encache): Follow the API change.
1890         (elmo-message-match-condition): Ditto.
1891         (elmo-generic-folder-append-messages): Ditto.
1892         (elmo-message-fetch-string): New function.
1893
1894         * elmo-split.el (elmo-split-subr): Ditto.
1895
1896         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1897
1898         * elmo-pipe.el (elmo-message-fetch): Ditto.
1899
1900         * elmo-multi.el (elmo-message-fetch): Ditto.
1901
1902         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1903
1904         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1905
1906         * elmo-filter.el (elmo-message-fetch): Ditto.
1907
1908         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1909
1910         * elmo-imap4.el (mime-imap-location-section-body): Use
1911         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1912         follow the API change.
1913
1914 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1915
1916         * elmo-access.el: New file.
1917
1918         * elmo-null.el: Ditto.
1919
1920         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1921
1922 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1923
1924         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1925         (elmo-network-session): New attribute `last-accessed'.
1926         (elmo-network-get-session): Discard network cache if elapsed time
1927         since last-accessed is larger than elmo-network-session-idle-timeout.
1928
1929 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1930
1931         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1932         and added `number', `require-entireness'.
1933         (elmo-find-fetch-strategy): Rewrite.
1934         (elmo-message-fetch): Unset `unread' flag when argument unread is
1935         non-nil.
1936
1937         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1938
1939         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1940         (elmo-message-fetch): Notify event `flag-changed'.
1941
1942         * elmo-pipe.el: Likewise.
1943
1944         * elmo-mime.el (elmo-mime-entity): New class.
1945         (elmo-mime-entity-display-p): New generic function.
1946         (elmo-mime-entity-display): Ditto.
1947         (elmo-mime-entity-display-as-is): Ditto.
1948         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1949         elmo-mime-entity.
1950         (elmo-make-mime-message-location): Removed.
1951         (elmo-mime-message-display): Ditto.
1952         (elmo-mime-display-as-is): Ditto.
1953         (elmo-message-mime-entity): New function.
1954
1955         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1956
1957         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1958         change.
1959         (elmo-message-fetch): Re-count flagged message number and notify
1960         event `flag-changed'.
1961
1962         * elmo-version.el (elmo-version): Up to 2.13.1.
1963
1964 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1965
1966         * elmo-filter.el (elmo-message-field): Define.
1967         (elmo-message-set-field): Ditto.
1968
1969 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1970
1971         * elmo.el (elmo-message-set-cached): Call
1972         `elmo-folder-notify-event' with cache-changed.
1973         (elmo-event-handler-cache-changed): New generic function.
1974
1975 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1976
1977         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1978         instead of elmo-add-name-to-file.
1979         (elmo-folder-append-messages): Ditto.
1980
1981 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1982
1983         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1984
1985 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1986
1987         * elmo-version.el (elmo-version): Up to 2.13.0.
1988
1989         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1990         `auto'.
1991
1992         * modb-standard.el (modb-standard-economize-entity-size): Changed
1993         default value to `t'.
1994
1995         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1996         `standard'.
1997
1998         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1999         after parsing greeting string.
2000
2001 2004-11-23  Daishi Kato <daishi@axlight.com>
2002
2003         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
2004         New user option.
2005         (elmo-spam-spamoracle-call): Use it.
2006
2007 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
2008
2009         * elmo.el (elmo-message-accessible-p): Message in dop spool
2010         is accessible.
2011
2012 2004-11-23  Daishi Kato <daishi@axlight.com>
2013
2014         * elsp-spamoracle.el: New file.
2015
2016 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2017
2018         * elmo.el (elmo-message-flags-for-append): New function.
2019         (elmo-generic-folder-append-messages): Use it.
2020
2021         * elmo-split.el (elmo-split-subr): Ditto.
2022
2023         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
2024         `flags' and use elmo-folder-append-buffer instead of
2025         write-region-as-binary.
2026         (elmo-dop-filter-pending-messages): New function.
2027         (elmo-folder-append-buffer-dop): Call
2028         elmo-dop-spool-folder-append-buffer with `flag'.
2029         (elmo-folder-set-flag-dop): Filter messages by
2030         elmo-dop-filter-pending-messages.
2031         (elmo-folder-unset-flag-dop): Ditto.
2032         (elmo-folder-append-buffer-dop-delayed): Use
2033         elmo-message-flags-for-append to get flags of the message and
2034         simplify.
2035
2036 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2037
2038         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
2039
2040 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2041
2042         * elmo.el (elmo-folder): Added handlers slot.
2043         (elmo-event-handler): New class.
2044         (elmo-event-handler-flag-changed): New API.
2045         (elmo-folder-add-handler): New function.
2046         (elmo-folder-remove-handler): Ditto.
2047         (elmo-folder-notify-event): Ditto.
2048         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
2049         `flag-changed'.
2050         (elmo-folder-unset-flag): Ditto.
2051
2052         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
2053         (elmo-folder-unset-flag): Ditto.
2054
2055         * elmo-multi.el (elmo-folder-set-flag): Ditto.
2056         (elmo-folder-unset-flag): Ditto.
2057
2058         * elmo-filter.el (elmo-folder-set-flag): Ditto.
2059         (elmo-folder-unset-flag): Ditto.
2060
2061         * elmo-version.el (elmo-version): Up to 2.11.33.
2062
2063 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2064
2065         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
2066
2067 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2068
2069         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
2070
2071         * elmo-flag.el (elmo-folder-unset-flag): Define.
2072         (elmo-global-flag-detach): Do process when the flag is not target
2073         flag.
2074
2075 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2076
2077         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
2078         variable.
2079         (elmo-msgdb-create-message-entity-from-buffer): Use it.
2080
2081 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2082
2083         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
2084         function.
2085         (elmo-folder-delete-messages): Detach messages before delete
2086         messages from target folder.
2087         (elmo-folder-detach-messages): Set updated number-list to slot.
2088
2089 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2090
2091         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2092
2093 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2094
2095         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2096
2097 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2098
2099         * elmo.el (elmo-folder-delete-messages-internal): New API (for
2100         internal use only).
2101         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2102         not modified.
2103         (elmo-folder-delete-messages): Define.
2104         (elmo-folder-move-messages): Don't call
2105         `elmo-folder-detach-messages'.
2106         (elmo-folder-synchronize): Rewrite.
2107         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2108
2109         * elmo-util.el (elmo-last): New function.
2110         (elmo-set-list): Ditto.
2111         (elmo-number-set-delete-list): Ditto.
2112         (elmo-number-set-delete): Ditto.
2113
2114         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2115
2116         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2117         `elmo-folder-delete-messages' and don't delete location map.
2118         (elmo-folder-detach-messages): Define.
2119
2120         * elmo-imap4.el (elmo-folder-delete): Use
2121         `elmo-folder-delete-messages-internal' instead of
2122         `elmo-folder-delete-messages'.
2123
2124         * elmo-filter.el (elmo-folder-delete-messages): Call
2125         `elmo-folder-detach-messages'.
2126         (elmo-folder-detach-messages): Don't call
2127         `elmo-folder-detach-messages' for target folder.
2128
2129         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2130         message deletion is succeeded.
2131
2132         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2133
2134         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2135         from `elmo-folder-delete-messages'.
2136
2137         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2138
2139         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2140
2141         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2142
2143         * elmo-version.el (elmo-version): Up to 2.11.32.
2144
2145 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
2146
2147         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2148         (elmo-global-flag-list): Added obsolete variable setting.
2149
2150         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2151
2152         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2153         (elmo-mime-insert-header-from-buffer): Don't decode header content when
2154         `elmo-mime-display-header-analysis' is nil.
2155
2156         * elmo-flag.el (elmo-global-flags): Renamed from
2157         `elmo-global-flag-list' (All other related portions are changed).
2158         (elmo-local-flags): New variable.
2159         (elmo-local-flag-p): New function.
2160         (elmo-global-flag-set-internal): Cause an error when flag is not
2161         global.
2162
2163 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
2164
2165         * elmo-util.el (elmo-concat-path): Treat empty path.
2166
2167 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2168
2169         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2170         field-or-fields).
2171         (elmo-split-address-match): Ditto.
2172         (elmo-split-equal): Ditto.
2173         (elmo-split-match): Ditto.
2174
2175 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
2176
2177         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2178         (elmo-generic-folder-append-messages): If src message exists but
2179         has no flag, pass (read) for the FLAG argument of
2180         `elmo-folder-append-buffer'. Otherwise, pass nil.
2181
2182         * elmo-split.el (elmo-split-subr): Likewise.
2183
2184         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2185
2186         * elmo-multi.el (elmo-message-flags): Ditto.
2187
2188         * elmo-filter.el (elmo-message-flags): Ditto.
2189
2190         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2191         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2192         pass (read) for the FLAG argument of elmo-folder-append-buffer.
2193
2194 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
2195
2196         * elmo-split.el (elmo-split-rule): Update comment.
2197         (elmo-split-address-equal): Allow 2nd argument to be a list.
2198         (elmo-split-address-match): Ditto.
2199         (elmo-split-equal): Ditto.
2200         (elmo-split-match): Ditto.
2201
2202 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
2203
2204         * elmo.el (elmo-folder-append-buffer): Fix docstring.
2205         (elmo-folder-append-msgdb): Don't treat `read'.
2206         (elmo-message-flags): Don't return `read'.
2207
2208         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2209         (elmo-folder-unset-read-delayed): Ditto.
2210
2211         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2212
2213 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
2214
2215         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2216         deletion.
2217
2218 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2219
2220         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2221         header.
2222
2223 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
2224
2225         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2226         here.
2227         (elmo-msgdb-save): Bind inhibit-quit.
2228         (modb-standard-message-entity): Ditto.
2229
2230 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2231
2232         * elmo-database.el: No need to require elmo-msgdb.
2233
2234 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2235
2236         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2237         instead of `elmo-list-subdirectories'.
2238
2239 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
2240
2241         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2242         group entry.
2243         (elmo-folder-exists-p): "[" is empty.
2244         (elmo-folder-list-subfolders): Define.
2245         (elmo-folder-have-subfolder-p): Ditto.
2246
2247 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
2248
2249         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2250
2251 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
2252
2253         * elmo-filter.el (elmo-folder-local-p): Define.
2254
2255 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2256
2257         * modb-standard.el (modb-standard-loaded-message-id): Return nil
2258         when entity is garbaged.
2259         (modb-standard-save-entity-1): Don't modify the original entity.
2260
2261 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
2262
2263         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2264
2265 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2266
2267         * elmo.el (elmo-strict-folder-diff): Use
2268         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2269
2270 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2271
2272         * modb.el (elmo-msgdb-flag-available-p): New generic function.
2273         (elmo-msgdb-message-number): Ditto.
2274         (elmo-msgdb-message-field): Ditto.
2275
2276         * modb-standard.el (modb-standard-economize-entity-size): New user
2277         option.
2278         (modb-standard-loaded-message-id): New inline function.
2279         (modb-standard-load-entity): Use it.
2280         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2281         throw message-id string away.
2282         (elmo-msgdb-flag-available-p): Define.
2283         (elmo-msgdb-message-number): Ditto.
2284         (elmo-msgdb-message-field): Ditto.
2285
2286         * modb-legacy.el (modb-legacy-flag-list): Fix typo
2287         (suppoted -> supported).
2288         (modb-legacy-supported-flag-p): Ditto.
2289         (elmo-msgdb-set-flag): Ditto.
2290         (elmo-msgdb-unset-flag): Ditto.
2291         (elmo-msgdb-flag-available-p): Define.
2292
2293         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2294         is `t', treat it as legacy entity.
2295
2296         * elmo.el (elmo-message-flag-available-p): New generic function.
2297         (elmo-message-number): Ditto.
2298         (elmo-message-field): Use `elmo-msgdb-message-field'.
2299
2300         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2301
2302         * elmo-pipe.el (elmo-message-flag-available-p): Define.
2303         (elmo-message-number): Ditto.
2304
2305         * elmo-multi.el (elmo-message-number): Define.
2306         (elmo-message-flag-available-p): Ditto.
2307
2308         * elmo-filter.el (elmo-message-flag-available-p): Define.
2309         (elmo-message-number): Ditto.
2310
2311         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2312         (elmo-folder-initialize): Load `max-number'.
2313         (elmo-folder-commit): Save it.
2314         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2315         (elmo-global-flag-set-internal): Set up max-number slot.
2316
2317 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
2318
2319         * elmo-version.el (elmo-version): Up to 2.11.31.
2320
2321 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
2322
2323         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2324         unibyte string of the current buffer for the argument of `md5'
2325         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2326
2327 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2328
2329         * modb-legacy.el (modb-legacy-flag-list): New constant.
2330         (modb-legacy-suppoted-flag-p): New internal function.
2331         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2332         (elmo-msgdb-unset-flag): Ditto.
2333
2334 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
2335
2336         * elmo.el (elmo-make-folder): Remove text properties for prefix.
2337
2338         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2339         from msgdb.
2340
2341 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2342
2343         * elmo-multi.el (elmo-folder-count-flags): Changed return value
2344         (follow the API change).
2345
2346         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2347
2348 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2349
2350         * modb-standard.el (modb-standard-digest-flags): Abolish.
2351         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2352
2353         * elmo-vars.el (elmo-digest-flags): New variable.
2354         (elmo-preserved-flags): Moved from elmo-flag.el.
2355
2356         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2357         (elmo-imap4-flag-to-imap-criteria): Ditto.
2358         (elmo-imap4-folder-list-flagged): Use it.
2359
2360         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2361
2362         * elmo.el (elmo-folder-count-flags): Changed return value.
2363
2364         * elmo-flag.el (elmo-preserved-flags): New variable.
2365         (elmo-get-global-flags): Use it.
2366
2367         * modb-standard.el (modb-standard-digest-flags): New variable.
2368         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2369         Changed behavior of `any'.
2370
2371         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2372         which are defined the Internet draft
2373         (draft-melnikov-imap-keywords-03.txt).
2374         (elmo-imap4-flags-to-imap): New function.
2375         (elmo-folder-append-buffer): Use it.
2376
2377         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2378         in the docstring.
2379
2380         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2381         avoid the bug of Emacs 21.3.
2382
2383 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2384
2385         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2386         function find-coding-system does not exist.
2387
2388 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2389
2390         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2391         parsing.
2392
2393 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2394
2395         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2396         response codes.
2397
2398 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2399
2400         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2401         (elmo-network-close-session): Follow the changes in
2402         `elmo-pop3-read-response'.
2403         (elmo-pop3-auth-user): Ditto.
2404         (elmo-pop3-auth-apop): Ditto.
2405         (elmo-network-initialize-session): Ditto.
2406         (elmo-network-authenticate-session): Ditto.
2407         (elmo-network-setup-session): Ditto.
2408         (elmo-folder-status): Ditto.
2409         (elmo-message-fetch-plugged): Ditto.
2410         (elmo-pop3-delete-msg): Ditto.
2411
2412 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2413
2414         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2415         on failure.
2416
2417 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2418
2419         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2420         style.
2421         (elmo-bind-directory): Ditto.
2422
2423 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2424
2425         * elmo.el (elmo-folder-append-messages): Note on return value.
2426         * elmo-archive.el (elmo-folder-append-messages): Don't return
2427         message numbers which could not be appended.
2428
2429 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2430
2431         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2432
2433 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2434
2435         * elmo-version.el (elmo-version): Up to 2.11.30.
2436
2437 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2438
2439         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2440         `mask'.
2441
2442         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2443
2444         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2445         (elmo-multi-split-numbers): Add elmo-folder object into each
2446         element of return value at first.
2447         (elmo-folder-delete-messages): Follow the above change.
2448         (elmo-folder-detach-messages): Ditto.
2449
2450         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2451         number which is synchronized in target folder.
2452
2453 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2454
2455         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2456         Change default value to symbol `all'.
2457         (elmo-map-message-fetch): Change condition to update overview
2458         follow the above.
2459
2460 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2461
2462         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2463         behavior to update overview.
2464         (elmo-shimbun-update-overview-folder-list): Note it.
2465
2466 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2467
2468         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2469         recursive call.
2470
2471 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2472
2473         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2474         buffer-disable-undo, it is unnecessary.
2475         (elmo-spam-register-good-messages): Ditto.
2476
2477         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2478         Ditto.
2479
2480         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2481
2482 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2483
2484         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2485         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2486         elmo-set-buffer-multibyte.
2487         (elmo-object-load): Ditto.
2488         (elmo-save-buffer): Ditto.
2489         (elmo-delete-char): Ditto.
2490         (elmo-file-field-primitive-condition-match): Ditto.
2491         (elmo-mime-string): Ditto.
2492
2493         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2494         (elmo-archive-field-condition-match): Ditto.
2495
2496         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2497
2498         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2499
2500         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2501         (elmo-nntp-msgdb-create-message): Ditto.
2502
2503         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2504
2505         * elmo.el (elmo-message-match-condition): Ditto.
2506         (elmo-message-match-condition): Ditto.
2507
2508         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2509         Ditto.
2510
2511         * elmo-version.el (elmo-version): Up to 2.11.29.
2512
2513         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2514         (elsp-header): New backend.
2515
2516         * elmo-util.el (elmo-decoded-field-body): New function.
2517
2518 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2519
2520         * elmo-version.el (elmo-version): Up to 2.11.28.
2521
2522 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2523
2524         * elmo-filter.el: Rewrite.
2525
2526         * elmo-version.el (elmo-version): Up to 2.11.27.
2527
2528 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2529
2530         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2531         msgdb path for the localdir folder with absolute path.
2532
2533         * utf7.el: Synch up with latest gnus/utf7.el;
2534         Modified for latest Emacs.
2535
2536 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2537
2538         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2539         shimbun backend couldn't open.
2540
2541 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2542
2543         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2544         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2545         when a destination folder is a filter folder.
2546
2547 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2548
2549         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2550         (elmo-generic-folder-append-messages): Call elmo-message-flags
2551         with argument `msgid'.
2552
2553         * elmo-split.el (elmo-split-subr): Ditto.
2554
2555         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2556
2557         * elmo-multi.el (elmo-message-flags): Ditto.
2558
2559 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2560
2561         * elmo.el (elmo-folder): Add new slot `flag-table'.
2562         (elmo-folder-flag-table): New API.
2563         (elmo-folder-close-flag-table): Ditto.
2564         (elmo-folder-preserve-flags): New function.
2565         (elmo-generic-folder-append-messages): Use
2566         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2567         Flag of a non-registered message, it sets to nil.
2568         Does not set flag to flag-table.
2569
2570         * elmo-maildir.el (elmo-folder-append-buffer): Use
2571         `elmo-folder-preserve-flags'.
2572         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2573         `elmo-folder-close-flag-table'.
2574
2575         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2576         (elmo-archive-folder-append-buffer): Use
2577         `elmo-folder-preserve-flags'.
2578
2579         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2580
2581         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2582
2583         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2584         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2585         `elmo-folder-close-flag-table'.
2586
2587         * elmo-version.el (elmo-version): Up to 2.11.26.
2588
2589 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2590
2591         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2592
2593         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2594         md5's 4th and 5th argument (non-existent in flim one).
2595
2596 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2597
2598         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2599         message, It sets to nil.
2600
2601 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2602
2603         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2604         list is non-nil.
2605
2606 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2607
2608         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2609
2610         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2611
2612         * elmo-util.el (elmo-uniq-sorted-list): New function.
2613         (elmo-make-number-list): Ditto.
2614         (elmo-number-set-to-number-list): Use elmo-make-number-list
2615         and don't use nreverse.
2616
2617 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2618
2619         * elmo-version.el (elmo-version): Up to 2.11.25.
2620
2621 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2622
2623         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2624         field not exists in message, Use md5 message digest of header.
2625
2626 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2627
2628         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2629         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2630         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2631         * elmo-split.el (elmo-split-subr): Check return value of
2632         elmo-folder-append-buffer.
2633
2634         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2635         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2636
2637         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2638         message-id.
2639
2640 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2641
2642         * elmo-split.el (elmo-split-subr): Append message with flag.
2643
2644         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2645         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2646         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2647
2648 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2649
2650         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2651         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2652         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2653
2654 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2655
2656         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2657         with a function call of `process-buffer'.  All callers are updated.
2658         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2659         Remove redundant `set-buffer' in a while loop.
2660
2661 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2662
2663         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2664         calls.
2665
2666 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2667
2668         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2669         elsp-spamfilter-register-buffer-internal with current buffer.
2670         (elmo-spam-register-spam-buffer): Ditto.
2671         (elmo-spam-register-good-buffer): Ditto.
2672
2673 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2674
2675         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2676         if it is not contained in the response(A workaround for courier-imap).
2677
2678 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2679
2680         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2681         parenthesis.
2682
2683 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2684
2685         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2686         range.
2687
2688 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2689
2690         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2691         of nconc.
2692
2693         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2694         argument handler.
2695         (elmo-msgdb-message-match-condition): Follow the change above.
2696
2697 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2698
2699         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2700         folder name.
2701
2702 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2703
2704         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2705
2706 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2707
2708         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2709
2710 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2711
2712         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2713         not found.
2714
2715 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2716
2717         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2718         value.
2719         (elmo-file-command-argument): Undo last change for cygwin.
2720         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2721         Don't return nil.
2722         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2723
2724 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2725
2726         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2727         value returned from elmo-file-find is nil.
2728
2729 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2730
2731         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2732         to elmo-vars.el.
2733
2734         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2735         instead of insert-file-contents-as-binary.
2736         (elmo-message-set-field): New generic function.
2737
2738         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2739         behavior change on `split-string'.
2740
2741         * elmo-file.el (elmo-file-find): New function.
2742         (elmo-file-command): New user option.
2743         (elmo-file-command-argument): Ditto.
2744         (elmo-file-fetch-max-size): Ditto.
2745         (elmo-file-detect-format): New function.
2746         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2747         Use elmo-file-detect-format.
2748         (elmo-map-folder-list-message-locations): Don't treat directories.
2749
2750 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2751
2752         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2753         (elmo-passwd-alist-clear): Shred password before clear.
2754         (elmo-remove-passwd): Remove all mached pair.
2755
2756 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2757
2758         * elmo.el (elmo-folder-synchronize): Fix description of the return
2759         value.
2760
2761 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2762
2763         * elmo.el (elmo-message-fetch-bodystructure): New method.
2764         (elmo-message-fetch-bodystructure): Define default.
2765
2766         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2767         elmo-message-fetch-bodystructure.
2768         (elmo-message-fetch-bodystructure): Define.
2769
2770         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2771
2772 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2773
2774         * elmo-filter.el (elmo-message-folder): Define.
2775
2776 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2777
2778         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2779         elmo-delete-cr-buffer.
2780
2781         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2782
2783         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2784
2785         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2786
2787         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2788         type seems to be a text.
2789
2790 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2791
2792         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2793         (elmo-spam-register-good-buffer): Ditto.
2794         (elmo-spam-spamassassin-register-messages): Ditto.
2795
2796         * elmo-util.el (elmo-string-member-ignore-case): Define with
2797         static-cond.
2798
2799 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2800
2801         * elmo.el (elmo-folder-type): Undo last change.
2802
2803         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2804
2805         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2806         warnings.
2807
2808         * elmo-file.el: New file.
2809
2810         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2811
2812         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2813         variable.
2814         (elmo-spam-spamassassin-register-messages): New inline function.
2815         (elmo-spam-register-spam-messages): Define.
2816         (elmo-spam-register-good-messages): Ditto.
2817
2818         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2819         Fixed typo.
2820
2821         * elmo.el (toplevel): Added autoload setting for
2822         `elmo-get-global-flags'.
2823         (elmo-message-has-global-flag-p): New function.
2824         (elmo-message-set-global-flags): Ditto.
2825         (elmo-folder-type): Improvement for name: format.
2826
2827         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2828         availability of keyword flags.
2829         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2830         (elmo-folder-list-flagged-plugged): Renamed from
2831         elmo-folder-list-flagged-unplugged.
2832         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2833         accept any flag as keyword flag.
2834         (elmo-folder-set-flag-plugged): Accept keyword flags.
2835         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2836
2837         * elmo-flag.el (elmo-get-global-flags): New function.
2838
2839         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2840         folders.
2841
2842         * elmo-version.el (elmo-version): Up to 2.11.24.
2843
2844 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2845
2846         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2847         elmo-multiple-field-body instead of std11-field-body to check all
2848         headers.
2849
2850 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2851
2852         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2853         or "size".
2854
2855 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2856
2857         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2858         unintern is unbound.
2859
2860 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2861
2862         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2863         Protect from infinite loop.
2864
2865 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2866
2867         * elsp-bogofilter.el
2868         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2869         (elmo-spam-bogofilter-register-messages): New internal function.
2870         (elmo-spam-register-spam-messages): Define.
2871         (elmo-spam-register-good-messages): Ditto.
2872
2873 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2874
2875         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2876         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2877         (elmo-spam-bogofilter-call): Fixed the last change.
2878         (elmo-spam-bogofilter-arguments): Ditto.
2879
2880         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2881         Follow the options change of latest bogofilter.
2882
2883         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2884         (elmo-spam-bogofilter-good-switch): Ditto.
2885         (elmo-spam-bogofilter-arguments-alist): New user option.
2886         (elmo-spam-bogofilter-debug): Ditto.
2887         (elmo-spam-bogofilter-call): Renamed from
2888         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2889         is non-nil, insert output in buffer for debug.
2890         (elmo-spam-bogofilter-arguments): New macro.
2891         (elmo-spam-buffer-spam-p): Use it.
2892         (elsp-bogofilter-register-buffer): Ditto.
2893
2894 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2895
2896         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2897         regexp.
2898
2899 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2900
2901         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2902         value as "ruby".
2903         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2904         (elmo-spam-bsfilter-program): Set default value as full path for
2905         `bsfilter'.
2906         (elmo-spam-bsfilter-debug): New user option.
2907         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2908         non-nil, insert output in buffer for debug. Fix treating of
2909         argument.
2910
2911 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2912
2913         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2914         `elmo-maildir-flag-specs' element instead of one.
2915         (elmo-map-folder-unset-flag): Ditto.
2916         (Reported by Ken Makimura <macky@astem.or.jp>)
2917
2918         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2919         (elmo-folder-unset-flag-plugged): Ditto.
2920
2921 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2922
2923         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2924         to `reads' slot only if `in-msgdb' is nil.
2925
2926 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2927
2928         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2929         and complement argument list.
2930
2931 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2932
2933         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2934         instead of elmo-folder-list-flagged.
2935
2936 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2937
2938         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2939
2940         * elsp-bsfilter.el: New file.
2941
2942         * elmo-pipe.el (elmo-folder-list-unreads,
2943         elmo-folder-list-answereds,
2944         elmo-folder-list-importants,
2945         elmo-folder-flag-as-important,
2946         elmo-folder-unflag-important,
2947         elmo-folder-flag-as-read,
2948         elmo-folder-unflag-read,
2949         elmo-folder-flag-as-answered,
2950         elmo-folder-unflag-answered): Remove.
2951         (elmo-folder-set-flag): Define.
2952         (elmo-folder-unset-flag): Ditto.
2953
2954         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2955         (elmo-folder-set-flag): Define.
2956         (elmo-folder-unset-flag): Ditto.
2957         (elmo-folder-list-unreads): Remove.
2958         (elmo-folder-list-flagged): Define.
2959
2960         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2961         (elmo-folder-list-unreads,
2962         elmo-folder-list-importants,
2963         elmo-folder-list-answereds,
2964         elmo-folder-list-unreads-plugged,
2965         elmo-folder-list-importants-plugged,
2966         elmo-folder-list-answereds-plugged): Remove.
2967         (elmo-folder-list-flagged-plugged): New method.
2968         (elmo-folder-unflag-important,
2969         elmo-folder-flag-as-important,
2970         elmo-folder-unflag-read,
2971         elmo-folder-flag-as-read,
2972         elmo-folder-unflag-answered,
2973         elmo-folder-flag-as-answered,
2974         elmo-folder-flag-as-read-unplugged,
2975         elmo-folder-unflag-read-unplugged,
2976         elmo-folder-flag-as-important-unplugged,
2977         elmo-folder-unflag-important-unplugged,
2978         elmo-folder-flag-as-answered-unplugged,
2979         elmo-folder-unflag-answered-unplugged): Remove.
2980         (elmo-folder-set-flag): Define.
2981         (elmo-folder-unset-flag): Ditto.
2982         (elmo-folder-set-flag-unplugged): Ditto.
2983         (elmo-folder-unset-flag-unplugged): Ditto.
2984
2985         * elmo-multi.el (elmo-folder-list-unreads,
2986         elmo-folder-list-answereds,
2987         elmo-folder-list-importants,
2988         elmo-folder-flag-as-important,
2989         elmo-folder-unflag-important,
2990         elmo-folder-flag-as-read,
2991         elmo-folder-unflag-read,
2992         elmo-folder-flag-as-answered,
2993         elmo-folder-unflag-answered): Remove.
2994         (elmo-folder-set-flag): Define.
2995         (elmo-folder-unset-flag): Ditto.
2996
2997         * elmo-map.el (elmo-map-folder-unflag-important,
2998         elmo-map-folder-flag-as-important,
2999         elmo-map-folder-unflag-read,
3000         elmo-map-folder-flag-as-read,
3001         elmo-map-folder-unflag-answered,
3002         elmo-map-folder-flag-as-answered): Remove.
3003         (elmo-map-folder-set-flag): New method.
3004         (elmo-map-folder-unset-flag): Ditto.
3005         (elmo-map-folder-list-unreads,
3006         elmo-map-folder-list-importants,
3007         elmo-map-folder-list-answereds): Remove.
3008         (elmo-folder-list-flagged-internal): Define.
3009         (elmo-map-folder-list-flagged): New method.
3010
3011         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
3012         (elmo-map-folder-list-unreads,
3013         elmo-map-folder-list-importants,
3014         elmo-map-folder-list-flagged): Remove.
3015         (elmo-map-folder-list-flagged): Define.
3016         (elmo-map-folder-flag-as-important,
3017         elmo-map-folder-unflag-important,
3018         elmo-map-folder-flag-as-read,
3019         elmo-map-folder-unflag-read,
3020         elmo-map-folder-flag-as-answered,
3021         elmo-map-folder-unflag-answered): Remove.
3022         (elmo-maildir-set-mark-messages): New internal function.
3023         (elmo-map-folder-set-flag): Define.
3024         (elmo-map-folder-unset-flag): Ditto.
3025
3026         * elmo.el (toplevel): Added autoload setting for
3027         `elmo-folder-list-global-flag-messages'.
3028         (elmo-folder-list-unreads,
3029         elmo-folder-list-importants,
3030         elmo-folder-list-answereds): Remove.
3031         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
3032         Return a list whitch merged with messages have global flag.
3033         (elmo-folder-list-flagged-internal): New method.
3034         (elmo-folder-unflag-important,
3035         elmo-folder-flag-as-important,
3036         elmo-folder-unflag-read,
3037         elmo-folder-flag-as-read,
3038         elmo-folder-unflag-answered,
3039         elmo-folder-flag-as-answered): Remove.
3040         (elmo-folder-set-flag): New method.
3041         (elmo-folder-unset-flag): Ditto.
3042         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
3043         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
3044
3045         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
3046         (elmo-folder-list-unreads-plugged,
3047         elmo-folder-list-importants-plugged,
3048         elmo-folder-list-answereds-plugged,
3049         elmo-folder-list-flagged-unplugged,
3050         elmo-folder-unflag-important-plugged,
3051         elmo-folder-flag-as-important-plugged,
3052         elmo-folder-unflag-read-plugged,
3053         elmo-folder-flag-as-read-plugged,
3054         elmo-folder-unflag-answered-plugged,
3055         elmo-folder-flag-as-answered-plugged): Remove.
3056         (elmo-folder-set-flag-plugged,
3057         elmo-folder-unset-flag-plugged): Define.
3058
3059         * elmo-flag.el (elmo-folder-initialize): Register to
3060         `elmo-global-flag-list' if flag is not global.
3061         (elmo-folder-append-messages): Set flag to source messages.
3062
3063         * elmo-filter.el (elmo-filter-folder-list-unreads,
3064         elmo-folder-list-unreads,
3065         elmo-filter-folder-list-importants,
3066         elmo-folder-list-importants,
3067         elmo-folder-flag-as-read,
3068         elmo-folder-unflag-read,
3069         elmo-folder-flag-as-important,
3070         elmo-folder-unflag-important,
3071         elmo-folder-flag-as-answered,
3072         elmo-folder-unflag-answered): Remove.
3073         (elmo-folder-set-flag): Define.
3074         (elmo-folder-unset-flag): Ditto.
3075
3076         * elmo-dop.el (elmo-folder-flag-as-read-dop,
3077         elmo-folder-unflag-read-dop,
3078         elmo-folder-flag-as-important-dop,
3079         elmo-folder-unflag-important-dop,
3080         elmo-folder-flag-as-answered-dop,
3081         elmo-folder-unflag-answered-dop): Remove.
3082         (elmo-folder-set-flag-dop,
3083         elmo-folder-unset-flag-dop,
3084         elmo-folder-set-important-delayed,
3085         elmo-folder-unset-important-delayed,
3086         elmo-folder-set-read-delayed,
3087         elmo-folder-unset-read-delayed,
3088         elmo-folder-set-answered-delayed,
3089         elmo-folder-unset-answered-delayed): New function.
3090         (elmo-dop-queue-merge-method-list): Follow the above chagned.
3091         (elmo-dop-queue-method-name-alist): Ditto.
3092
3093         * elmo-version.el (elmo-version): Up to 2.11.23.
3094
3095 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
3096
3097         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3098
3099         * elsp-sa.el: New file.
3100
3101 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3102
3103         * modb-standard.el (modb-standard-message-entity): New function.
3104         (elmo-msgdb-message-entity): Use it.
3105
3106 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3107
3108         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3109         behavior when one-level is nil.
3110
3111         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3112
3113         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3114
3115 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3116
3117         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3118         get max number.
3119         (elmo-generic-folder-diff): Ditto.
3120
3121         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3122         (elmo-folder-update-number): Ditto.
3123
3124         * elmo-dop.el (elmo-folder-status-dop): Ditto.
3125         (elmo-folder-next-message-number-dop): Ditto.
3126
3127 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3128
3129         * elmo-filter.el (elmo-folder-msgdb-create): Use
3130         `elmo-message-entity' and `elmo-message-flags' instead of
3131         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3132
3133 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3134
3135         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3136         `if-exists'.
3137
3138 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3139
3140         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3141
3142         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3143
3144         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3145
3146 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3147
3148         * elmo-version.el (elmo-version): Up to 2.11.22.
3149
3150 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3151
3152         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3153
3154 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3155
3156         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3157         if the message dose not exist.
3158
3159 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
3160
3161         * elmo-version.el (elmo-version): Up to 2.11.21.
3162
3163 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3164
3165         * modb-standard.el (toplevel): Don't require mime.
3166
3167 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3168
3169         * elsp-bogofilter.el (toplevel): Don't require path-util.
3170         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3171         (elmo-spam-bogofilter-header): Abolish.
3172         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3173         (elmo-spam-bogofilter-args): New user option.
3174         (elsp-bogofilter-call-bogofilter): New internal function.
3175         (elmo-spam-buffer-spam-p): Use it.
3176         (elsp-bogofilter-register-buffer): Renamed from
3177         `elmo-spam-bogofilter-register-buffer';
3178         Use `elsp-bogofilter-call-bogofilter'.
3179         (elmo-spam-register-spam-buffer): Follow the change above.
3180         (elmo-spam-register-good-buffer): Ditto.
3181
3182 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3183
3184         * modb-standard.el (elmo-msgdb-append-entity): If entity or
3185         message-id is nil do nothing.
3186
3187 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
3188
3189         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3190         Revival.
3191         (elmo-imap4-session): Removed use-flag slot.
3192         (elmo-imap4-session-select-mailbox): Undo last change.
3193         (elmo-folder-use-flag-p): Use
3194         elmo-imap4-disuse-server-flag-mailbox-regexp.
3195
3196 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3197
3198         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3199         (elmo-imap4-session-select-mailbox): Set it up.
3200         (elmo-folder-use-flag-p): Return value of use-flag slot.
3201
3202 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3203
3204         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3205         message-id is nil.
3206         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3207
3208         * modb-entity.el (elmo-message-entity-handler): Likewise.
3209
3210 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
3211
3212         * elmo.el (toplevel): Remove setting of autoloding for
3213         elmo-global-flag-initialize.
3214         (elmo-init): Don't call elmo-global-flag-initialize.
3215         (toplevel): Added autoload setting for elmo-global-mark-migrate.
3216
3217         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3218         (elmo-global-mark-migrate): Don't call it.
3219         (elmo-global-mark-upgrade): Ditto.
3220
3221 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
3222
3223         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3224         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3225
3226         * elmo-vars.el (elmo-init-hook): New user option.
3227
3228         * elmo.el (elmo-init): Run the elmo-init-hook.
3229
3230         * elmo-flag.el (elmo-global-mark-migrate): New function.
3231
3232 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3233
3234         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3235         Undo last change (move to elmo-msgdb-unset-flag).
3236         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3237         flag is unset.
3238
3239 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3240
3241         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3242         read flag is set.
3243         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3244         (elmo-msgdb-unset-flag): Ditto.
3245
3246 2003-11-05  Andreas Fuchs <asf@boinkor.net>
3247
3248         * elmo-split.el (elmo-split): Return split message count.
3249
3250 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3251
3252         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3253         is nil.
3254
3255 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3256
3257         * elmo.el (elmo-folder-unflag-important): Call
3258         `elmo-global-flag-detach' with 4th argument delete-if-none that is
3259         a symbol `always'.
3260
3261         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3262         before unset flag.
3263         (elmo-global-flag-detach): Delete the message from flag folder, if
3264         `delete-if-none' is a symbol `always'.
3265
3266 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3267
3268         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3269         `elmo-spam-spamfilter-decode-buffer'.
3270         (elsp-spamfilter-register-buffer-internal): New internal function.
3271         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3272         (elmo-spam-register-spam-buffer): Ditto.
3273         (elmo-spam-register-good-buffer): Ditto.
3274
3275         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3276         change.
3277         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3278         (elmo-spam-register-spam-buffer): Follow the API change.
3279         (elmo-spam-register-good-buffer): Ditto.
3280
3281         * elmo-split.el (toplevel): Require elmo-spam when copmile.
3282         (elmo-split-spam-p): Added argument plist; Call
3283         `elmo-spam-buffer-spam-p' with new argument register.
3284
3285         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3286         `register'.
3287         (elmo-spam-message-spam-p): Ditto.
3288         (elmo-spam-register-spam-buffer): Added optional argument
3289         `restore'.
3290         (elmo-spam-register-good-buffer): Ditto.
3291         (elmo-spam-register-spam-messages): Ditto.
3292         (elmo-spam-register-good-messages): Ditto.
3293
3294 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3295
3296         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3297         register into good corpus.
3298         (elmo-spam-register-good-buffer): Fixed to register into bad
3299         corpus.
3300
3301 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3302
3303         * elmo-version.el (elmo-version): Up to 2.11.20.
3304
3305         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3306         change.
3307
3308         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3309         flag without depending on \Recent flag.
3310
3311 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3312
3313         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3314         (elmo-spam-modified-p): Defined.
3315         (elmo-spam-save-status): Set `modified' slot to nil.
3316         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3317         (elmo-spam-register-good-buffer): Ditto.
3318
3319         * elmo-spam.el (elmo-spam-modified-p): New API.
3320
3321 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3322
3323         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3324         duplicate definition.
3325
3326         * elmo-util.el (elmo-unfold-field-body): New function.
3327         (elmo-msgdb-get-message-id-from-buffer): Use it.
3328
3329         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3330         Fixed the last change; Use elmo-unfold-field-body.
3331
3332 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3333
3334         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3335         Unfold date value.
3336
3337 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3338
3339         * elmo-spam.el (elmo-spam-save-status): New API.
3340
3341         * elsp-spamfilter.el: New file.
3342
3343 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3344
3345         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3346
3347 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3348
3349         * elmo-split.el (elmo-split-spam-p): New function.
3350
3351         * elmo-spam.el: New file.
3352
3353         * elsp-bogofilter.el: Ditto.
3354
3355 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3356
3357         * elmo.el (elmo-folder-next-message-number): New API.
3358         (elmo-folder-next-message-number): Define.
3359         (elmo-message-field): Don't check folder length.
3360
3361         * elmo-net.el (elmo-folder-next-message-number): Define.
3362         (elmo-folder-next-message-number-unplugged): Define.
3363
3364         * elmo-map.el (elmo-folder-next-message-number): Define.
3365         (elmo-folder-delete-messages): Clear hash value.
3366
3367         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3368
3369         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3370         (elmo-folder-delete-messages-dop-delayed): Always return t.
3371
3372         * elmo-version.el (elmo-version): Up to 2.11.19.
3373
3374 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3375
3376         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3377         change.
3378
3379         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3380         identical cons cell into the mark-alist and the hash table.
3381
3382 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3383
3384         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3385         elmo-folder-list-messages with argument `visible-only' as t.
3386
3387         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3388         (elmo-folder-msgdb-create): Check the target folder.
3389
3390 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3391
3392         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3393         `permanentflag' instead of `flags'.
3394         (elmo-folder-open): Ditto.
3395         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3396         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3397         (elmo-folder-use-flag-p): Always return t.
3398         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3399         `permanentflags' does not exist.
3400         (elmo-folder-open): Ditto.
3401
3402 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3403
3404         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3405         is nil.
3406         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3407
3408         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3409         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3410         response.
3411         (elmo-folder-open): Ditto.
3412         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3413         slot of the session includes the flag.
3414         (elmo-imap4-session-flag-available-p): New function.
3415         (elmo-imap4-folder-list-flagged): Ditto.
3416         (elmo-folder-list-unreads-plugged): Use it.
3417         (elmo-folder-list-importants-plugged): Ditto.
3418         (elmo-folder-list-answereds-plugged): Ditto.
3419         (elmo-imap4-search-internal-primitive): Ditto.
3420         (elmo-imap4-folder-list-any-plugged,
3421         elmo-imap4-folder-list-digest-plugged): Abolish.
3422
3423         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3424         if numbers is nil.
3425
3426 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3427
3428         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3429
3430 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3431
3432         * elmo-util.el (elmo-get-hash-val): Simplify.
3433         (elmo-set-hash-val): Rewrite.
3434
3435 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3436
3437         * elmo.el (elmo-folder-list-messages): Append killed messages into
3438         result if `visible-only' is nil and `in-msgdb' is non-nil.
3439
3440         * elmo-util.el (elmo-uniq-list): Added optional argument
3441         `delete-function'.
3442
3443         * modb.el (elmo-msgdb-flag-count): New API.
3444
3445         * modb-standard.el (modb-standard): Added slot flag-count.
3446         (modb-standard-countup-flags): New function.
3447         (modb-standard-load-flag): Call it.
3448         (elmo-msgdb-append): Ditto.
3449         (elmo-msgdb-clear): Clear slot flag-count.
3450         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3451         (elmo-msgdb-unset-flag): Treat `all' flag and call
3452         modb-standard-countup-flags.
3453         (elmo-msgdb-flag-count): Define.
3454         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3455         (elmo-msgdb-delete-messages): Ditto.
3456
3457         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3458         (elmo-msgdb-flag-count): Define.
3459
3460         * elmo.el (elmo-folder-list-messages): Undo last change.
3461         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3462         (elmo-folder-kill-messages): Unset all flags to numbers.
3463
3464         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3465         elmo-folder-kill-messages.
3466
3467         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3468         (elmo-nntp-folder-delete-messages): Abolish.
3469
3470         * elmo-version.el (elmo-version): Up to 2.11.18.
3471
3472 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3473
3474         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3475         (elmo-folder-kill-messages-range): New function.
3476         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3477         instead of elmo-folder-kill-messages-before.
3478
3479 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3480
3481         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3482         elmo-imap4-current-msgdb to decide entity handler.
3483
3484 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3485
3486         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3487
3488         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3489         inline function.
3490         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3491         (elmo-msgdb-overview-entity-set-number,
3492         elmo-msgdb-overview-entity-get-references,
3493         elmo-msgdb-overview-entity-set-references,
3494         elmo-msgdb-overview-entity-get-from-no-decode,
3495         elmo-msgdb-overview-entity-get-from,
3496         elmo-msgdb-overview-entity-set-from,
3497         elmo-msgdb-overview-entity-get-subject,
3498         elmo-msgdb-overview-entity-get-subject-no-decode,
3499         elmo-msgdb-overview-entity-set-subject,
3500         elmo-msgdb-overview-entity-get-date,
3501         elmo-msgdb-overview-entity-set-date,
3502         elmo-msgdb-overview-entity-get-to,
3503         elmo-msgdb-overview-entity-get-cc,
3504         elmo-msgdb-overview-entity-get-size,
3505         elmo-msgdb-overview-entity-set-size,
3506         elmo-msgdb-overview-entity-get-extra,
3507         elmo-msgdb-overview-entity-set-extra,
3508         elmo-msgdb-overview-entity-get-extra-field,
3509         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3510         (elmo-msgdb-make-index): Use
3511         `elmo-msgdb-overview-entity-get-number-internal'.
3512         (elmo-msgdb-clear-index): Ditto.
3513         (elmo-msgdb-append-entity): Ditto;
3514         Use `elmo-msgdb-overview-entity-get-id-internal'.
3515
3516         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3517         elmo-msgdb-overview-entity-set-number,
3518         elmo-msgdb-overview-entity-get-references,
3519         elmo-msgdb-overview-entity-set-references,
3520         elmo-msgdb-overview-entity-get-from-no-decode,
3521         elmo-msgdb-overview-entity-get-from,
3522         elmo-msgdb-overview-entity-set-from,
3523         elmo-msgdb-overview-entity-get-subject,
3524         elmo-msgdb-overview-entity-get-subject-no-decode,
3525         elmo-msgdb-overview-entity-set-subject,
3526         elmo-msgdb-overview-entity-get-date,
3527         elmo-msgdb-overview-entity-set-date,
3528         elmo-msgdb-overview-entity-get-to,
3529         elmo-msgdb-overview-entity-get-cc,
3530         elmo-msgdb-overview-entity-get-size,
3531         elmo-msgdb-overview-entity-set-size,
3532         elmo-msgdb-overview-entity-get-extra,
3533         elmo-msgdb-overview-entity-set-extra,
3534         elmo-msgdb-overview-entity-get-extra-field,
3535         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3536         and rewrote for backward compatibility.
3537
3538 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3539
3540         * elmo.el (elmo-message-entity-number,
3541         elmo-message-entity-set-number,
3542         elmo-message-entity-field,
3543         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3544
3545         * elmo-msgdb.el (elmo-message-entity-number,
3546         elmo-message-entity-set-number,
3547         elmo-message-entity-field,
3548         elmo-message-entity-set-field): Moved from elmo.el.
3549
3550 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3551
3552         * elmo.el (toplevel): Changed definition orders.
3553
3554 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3555
3556         * modb.el (elmo-msgdb-search): New API .
3557         (elmo-msgdb-match-condition): Ditto.
3558
3559         * modb-standard.el (elmo-msgdb-search): Define.
3560
3561         * modb-legacy.el (elmo-msgdb-search): Ditto.
3562
3563         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3564         from elmo-msgdb-match-condition-internal.
3565
3566         * elmo.el (elmo-folder-search-fast): Abolish.
3567         (elmo-folder-search): Use elmo-msgdb-search and
3568         elmo-with-progress-display.
3569
3570         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3571         as msgdb API.
3572
3573         * elmo.el (elmo-folder): Remove slot message-modified and
3574         flag-modified.
3575         (elmo-folder-set-message-modified): Abolish.
3576         (elmo-generic-folder-commit): Follow the change above.
3577         (elmo-folder-synchronize): Ditto.
3578
3579         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3580
3581         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3582
3583         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3584
3585 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3586
3587         * modb-standard.el (modb-standard-make-message-entity,
3588         elmo-msgdb-make-message-entity,
3589         elmo-msgdb-create-message-entity-from-buffer,
3590         elmo-msgdb-message-entity-number,
3591         elmo-msgdb-message-entity-set-number,
3592         elmo-msgdb-message-entity-field,
3593         elmo-msgdb-message-entity-set-field,
3594         elmo-msgdb-copy-message-entity,
3595         elmo-msgdb-match-condition-internal): Remove.
3596
3597         * modb-entity.el: New file (again).
3598
3599         * modb.el (toplevel): Require modb-entity.
3600         (elmo-msgdb-message-entity-handler): New method.
3601
3602         * modb-standard.el (modb-standard-entity-id): Use
3603         elmo-message-entity-handler.
3604         (modb-standard-load-entity): Ditto.
3605         (elmo-msgdb-append-entity): Ditto.
3606         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3607
3608         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3609         elmo-msgdb-decoded-cache-hashtb,
3610         (modb-legacy-make-message-entity,
3611         elmo-msgdb-make-message-entity,
3612         elmo-msgdb-create-message-entity-from-buffer,
3613         elmo-msgdb-message-entity-number,
3614         elmo-msgdb-message-entity-set-number,
3615         elmo-msgdb-message-entity-field,
3616         elmo-msgdb-message-entity-set-field,
3617         elmo-msgdb-copy-message-entity,
3618         elmo-msgdb-match-condition-internal,
3619         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3620
3621         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3622         (elmo-message-entity-set-number): Ditto.
3623         (elmo-message-entity-field): Ditto.
3624         (elmo-message-entity-set-field): Ditto.
3625
3626         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3627
3628         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3629
3630         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3631
3632         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3633         (elmo-nntp-msgdb-create-message): Ditto.
3634
3635         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3636         (elmo-folder-msgdb-create): Add unread flag.
3637
3638         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3639
3640         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3641
3642         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3643
3644         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3645
3646         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3647         elmo-msgdb-messge-entity-handler.
3648         * elmo-version.el (elmo-version): Up to 2.11.17.
3649
3650 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3651
3652         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3653         change.
3654
3655 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3656
3657         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3658
3659         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3660         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3661         (elmo-msgdb-flag-table): Ditto.
3662         (elmo-msgdb-sort-by-date): Ditto.
3663
3664         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3665
3666         * modb-standard.el (toplevel): Require mime.
3667         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3668         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3669         elmo-msgdb-message-entity-number.
3670         (elmo-msgdb-append-entity): Ditto.
3671         (elmo-msgdb-create-message-entity-from-file): Remove.
3672         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3673         corresponds to the entity.
3674         (elmo-msgdb-message-entity-number): Do nothing currently.
3675         (elmo-msgdb-message-entity-field): Ditto.
3676         (elmo-msgdb-message-entity-set-field): Ditto.
3677         (elmo-msgdb-copy-message-entity): Ditto.
3678         (elmo-msgdb-match-condition-internal): Ditto.
3679
3680         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3681         elmo-util.el.
3682         (elmo-msgdb-create-message-entity-from-file): Remove.
3683
3684         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3685         modb-legacy.el.
3686         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3687
3688         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3689
3690 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3691
3692         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3693         (elmo-msgdb-message-entity-field): Ditto.
3694         (elmo-msgdb-message-entity-number): Ditto.
3695
3696 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3697
3698         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3699         Fixed how to set extra field into entity.
3700         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3701         symbol.
3702
3703         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3704         Fixed how to set extra field into entity.
3705         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3706         symbol.
3707
3708 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3709
3710         * modb.el (elmo-message-entity-db): New function.
3711         (elmo-msgdb-make-message-entity): New API.
3712         (elmo-msgdb-message-entity-number): Ditto.
3713         (elmo-msgdb-message-entity-set-number): Ditto.
3714         (elmo-msgdb-message-entity-field): Ditto.
3715         (elmo-msgdb-message-entity-set-field): Ditto.
3716         (elmo-msgdb-copy-message-entity): Ditto.
3717         (elmo-msgdb-create-message-entity-from-file): Ditto.
3718         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3719         (elmo-msgdb-match-condition-internal): Ditto.
3720
3721         * modb-standard.el (modb-legacy): Require modb-legacy.
3722         (modb-standard-make-message-entity): New inline function.
3723         (elmo-msgdb-make-message-entity): Define.
3724         (elmo-msgdb-create-message-entity-from-file): Ditto.
3725         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3726         (elmo-msgdb-message-entity-field): Ditto.
3727         (elmo-msgdb-message-entity-set-field): Ditto.
3728         (elmo-msgdb-copy-message-entity): Ditto.
3729         (elmo-msgdb-match-condition-internal): Ditto.
3730
3731         * modb-legacy.el: Don't require modb-entity.
3732         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3733         (elmo-msgdb-match-condition-primitive): Ditto.
3734         (elmo-msgdb-get-decoded-cache): Ditto.
3735         (elmo-msgdb-overview-entity-get-id): Ditto.
3736         (elmo-msgdb-overview-entity-get-number): Ditto.
3737         (elmo-msgdb-overview-entity-set-number): Ditto.
3738         (elmo-msgdb-overview-entity-get-references): Ditto.
3739         (elmo-msgdb-overview-entity-set-references): Ditto.
3740         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3741         (elmo-msgdb-overview-entity-get-from): Ditto.
3742         (elmo-msgdb-overview-entity-set-from): Ditto.
3743         (elmo-msgdb-overview-entity-get-subject): Ditto.
3744         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3745         (elmo-msgdb-overview-entity-set-subject): Ditto.
3746         (elmo-msgdb-overview-entity-get-date): Ditto.
3747         (elmo-msgdb-overview-entity-set-date): Ditto.
3748         (elmo-msgdb-overview-entity-get-to): Ditto.
3749         (elmo-msgdb-overview-entity-get-cc): Ditto.
3750         (elmo-msgdb-overview-entity-get-size): Ditto.
3751         (elmo-msgdb-overview-entity-set-size): Ditto.
3752         (elmo-msgdb-overview-entity-get-extra): Ditto.
3753         (elmo-msgdb-overview-entity-set-extra): Ditto.
3754         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3755         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3756         (elmo-msgdb-number-load): Ditto.
3757         (elmo-msgdb-overview-load): Ditto.
3758         (elmo-msgdb-mark-load): Ditto.
3759         (elmo-msgdb-number-save): Ditto.
3760         (elmo-msgdb-mark-save): Ditto.
3761         (elmo-msgdb-overview-save): Ditto.
3762         (modb-legacy-make-message-entity): New inline function.
3763         (elmo-msgdb-insert-file-header): Ditto.
3764         (elmo-msgdb-make-message-entity): Define.
3765         (elmo-msgdb-create-message-entity-from-file): Ditto.
3766         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3767         (elmo-msgdb-message-entity-number): Ditto.
3768         (elmo-msgdb-message-entity-set-number): Ditto.
3769         (elmo-msgdb-message-entity-field): Ditto.
3770         (elmo-msgdb-message-entity-set-field): Ditto.
3771         (elmo-msgdb-copy-message-entity): Ditto.
3772         (elmo-msgdb-match-condition-internal): Ditto.
3773
3774         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3775         (elmo-message-copy-entity): Rewrite.
3776         (elmo-message-entity-number): Ditto.
3777         (elmo-message-entity-set-number): Ditto.
3778         (elmo-message-entity-field): Use elmo-message-entity-db.
3779         (elmo-message-entity-set-field): Ditto.
3780         (elmo-message-field): Rewrite.
3781
3782         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3783         elmo-msgdb.el
3784         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3785
3786         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3787         elmo-message-entity-field.
3788         (elmo-shimbun-folder-shimbun-header): Ditto.
3789         (elmo-shimbun-entity-to-header): Ditto.
3790         (elmo-folder-msgdb-create): Ditto.
3791         (elmo-shimbun-msgdb-create-entity): Ditto;
3792         Use elmo-msgdb-create-message-entity-from-buffer.
3793         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3794         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3795
3796         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3797         elmo-msgdb-create-message-entity-from-file and
3798         elmo-message-entity-field.
3799
3800         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3801         elmo-message-entity-number.
3802         (elmo-pop3-msgdb-create-message): Use
3803         elmo-msgdb-create-message-entity-from-buffer,
3804         elmo-message-entity-set-field, elmo-message-entity-number and
3805         elmo-message-entity-set-number.
3806
3807         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3808         the API change in elmo-msgdb-make-message-entity.
3809         (elmo-nntp-msgdb-create-message): Use
3810         elmo-msgdb-create-message-entity-from-buffer.
3811
3812         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3813         elmo-message-entity-field and
3814         elmo-msgdb-create-message-entity-from-file.
3815
3816         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3817         (elmo-msgdb-get-field): Abolish.
3818         (elmo-msgdb-get-number): Rewrite.
3819         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3820         (elmo-msgdb-flag-table): Ditto.
3821         (elmo-msgdb-get-last-message-id,
3822         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3823         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3824         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3825         (elmo-msgdb-create-overview-from-buffer,
3826         elmo-msgdb-overview-get-parent-entity): Abolish.
3827
3828         * elmo-mime.el (elmo-mime-display-as-is): Use
3829         elmo-message-entity-field.
3830
3831         * elmo-map.el (elmo-folder-pack-numbers): Use
3832         elmo-message-entity-set-number.
3833
3834         * elmo-maildir.el (elmo-folder-msgdb-create):
3835         elmo-msgdb-create-message-entity-from-file instead of
3836         elmo-msgdb-create-overview-entity-from-file.
3837
3838         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3839         msgdb.
3840         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3841         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3842
3843         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3844         elmo-messge-entity-field and elmo-message-entity-number.
3845         (elmo-imap4-fetch-callback-1): Call
3846         elmo-msgdb-create-message-entity-from-buffer instead of
3847         elmo-msgdb-create-overview-from-buffer.
3848         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3849         (elmo-find-fetch-strategy): Likewise.
3850
3851         * elmo-flag.el (elmo-folder-msgdb-create): Call
3852         elmo-localdir-msgdb-create-entity with argument msgdb.
3853
3854         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3855         and elmo-message-entity-set-number.
3856
3857         * elmo-cache.el (elmo-folder-msgdb-create): Use
3858         elmo-message-entity-field.
3859         (elmo-folder-msgdb-create): Call
3860         elmo-msgdb-create-message-entity-from-file instead of
3861         elmo-msgdb-create-overview-entity-from-file.
3862
3863         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3864         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3865         instead of elmo-msgdb-create-overview-from-buffer.
3866         (elmo-archive-msgdb-create-entity): Ditto.
3867         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3868         elmo-message-entity-field.
3869         (elmo-archive-parse-mmdf): Ditto.
3870
3871         * modb-entity.el: Removed.
3872
3873         * elmo-version.el (elmo-version): Up to 2.11.16.
3874
3875 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3876
3877         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3878         `is-local'.
3879         (elmo-folder-flag-as-answered): Ditto.
3880
3881 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3882
3883         * modb-standard.el: New file.
3884
3885         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3886         elmo-msgdb-convert-type is `sync'.
3887
3888         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3889         (elmo-msgdb-convert-type): New user option.
3890
3891         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3892         (elmo-load-msgdb): Auto detect saved type.
3893
3894         * elmo-version.el (elmo-version): Up to 2.11.15.
3895
3896 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3897
3898         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3899
3900         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3901         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3902         with argument `delete-if-none' when dst-folder is 'null.
3903
3904         * elmo-flag.el (elmo-folder-append-messages): Defined.
3905         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3906
3907 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3908
3909         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3910
3911 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3912
3913         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3914         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3915         (elmo-folder-commit): Ditto.
3916
3917 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3918
3919         * elmo-flag.el: New file.
3920
3921         * elmo-mark.el: Removed.
3922
3923         * modb-legacy.el (modb-legacy-new-mark,
3924         modb-legacy-unread-uncached-mark,
3925         modb-legacy-unread-cached-mark,
3926         modb-legacy-read-uncached-mark,
3927         modb-legacy-answered-cached-mark,
3928         modb-legacy-answered-uncached-mark,
3929         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3930         All other related portions are changed.
3931
3932         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3933         (elmo-folder-list-messages-with-global-mark): Abolish.
3934         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3935         (elmo-folder-flag-as-important): Ditto.
3936         (elmo-folder-unflag-read): Ditto.
3937         (elmo-folder-flag-as-read): Ditto.
3938         (elmo-folder-unflag-answered): Ditto.
3939         (elmo-folder-flag-as-answered): Ditto.
3940         (elmo-message-encache): Return the cache path.
3941         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3942         (elmo-message-set-flag): Transitional implementation.
3943         (elmo-message-unset-flag): Ditto.
3944         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3945         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3946         (elmo-init): Call elmo-global-flag-initialize.
3947         (toplevel): Added autoload settings for elmo-flag.
3948
3949         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3950
3951         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3952         (elmo-file-cache-delete): Don't treat global-mark.
3953
3954         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3955
3956         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3957
3958         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3959         `elmo-global-flags-set'.
3960
3961         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3962         `flag'.
3963         (elmo-folder-unflag-read): Ditto.
3964         (elmo-folder-unflag-important): Ditto.
3965         (elmo-folder-flag-as-important): Ditto.
3966         (elmo-folder-unflag-answered): Ditto.
3967         (elmo-folder-flag-as-answered): Ditto.
3968
3969         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3970         `elmo-global-flags-set'.
3971         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3972
3973         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3974
3975         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3976         `flag'.
3977         (elmo-folder-flag-as-important): Ditto.
3978         (elmo-folder-unflag-important): Ditto.
3979         (elmo-folder-flag-as-important): Ditto.
3980         (elmo-folder-unflag-read): Ditto.
3981         (elmo-folder-flag-as-read): Ditto.
3982         (elmo-folder-unflag-answered): Ditto.
3983         (elmo-folder-flag-as-answered): Ditto.
3984
3985         * elmo-multi.el (elmo-folder-list-importants): Don't call
3986         elmo-folder-list-messages-with-global-mark.
3987         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3988         (elmo-folder-unflag-important): Ditto.
3989         (elmo-folder-flag-as-read): Ditto.
3990         (elmo-folder-unflag-read): Ditto.
3991         (elmo-folder-flag-as-answered): Ditto.
3992         (elmo-folder-unflag-answered): Ditto.
3993
3994         * elmo-msgdb.el (elmo-msgdb-new-mark,
3995         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3996         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3997         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3998         (Moved to modb-legacy.el).
3999         (elmo-flag-table-get): Treat important flag too.
4000
4001         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
4002         `mark' to `flag'.
4003         (elmo-map-folder-flag-as-important): Ditto.
4004         (elmo-map-folder-unflag-read): Ditto.
4005         (elmo-map-folder-flag-as-read): Ditto.
4006         (elmo-map-folder-unflag-answered): Ditto.
4007         (elmo-map-folder-flag-as-answered): Ditto.
4008         (elmo-folder-unflag-important): Ditto.
4009         (elmo-folder-flag-as-important): Ditto.
4010         (elmo-folder-unflag-read): Ditto.
4011         (elmo-folder-flag-as-read): Ditto.
4012         (elmo-folder-unflag-answered): Ditto.
4013         (elmo-folder-flag-as-answered): Ditto.
4014
4015         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4016         (elmo-map-folder-flag-as-important): Renamed from `mark' to
4017         `flag'.
4018         (elmo-map-folder-unflag-important): Ditto.
4019         (elmo-map-folder-flag-as-read): Ditto.
4020         (elmo-map-folder-unflag-read): Ditto.
4021         (elmo-map-folder-flag-as-answered): Ditto.
4022         (elmo-map-folder-unflag-answered): Ditto.
4023
4024         * elmo-localdir.el (elmo-folder-msgdb-create): Call
4025         `elmo-global-flags-set'.
4026         (elmo-global-flags-set): Added autoload setting.
4027
4028         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
4029         `flag'.
4030
4031         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
4032         `elmo-msgdb-global-mark-set'.
4033         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
4034         Call `elmo-global-flags-set'.
4035         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
4036         `flag'.
4037         (elmo-folder-flag-as-important-plugged): Ditto.
4038         (elmo-folder-unflag-read-plugged): Ditto.
4039         (elmo-folder-flag-as-read-plugged): Ditto.
4040         (elmo-folder-unflag-answered-plugged): Ditto.
4041         (elmo-folder-flag-as-answered-plugged): Ditto.
4042         (elmo-global-flags-set): Added autoload setting.
4043
4044         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
4045         `flag'.
4046         (elmo-folder-unflag-read): Ditto.
4047         (elmo-folder-flag-as-important): Ditto.
4048         (elmo-folder-unflag-important): Ditto.
4049         (elmo-folder-flag-as-answered): Ditto.
4050         (elmo-folder-unflag-answered): Ditto.
4051
4052         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
4053         change of `mark'->`flag'.
4054         (elmo-dop-queue-method-name-alist): Ditto.
4055         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
4056         (elmo-folder-unflag-read-dop): Ditto.
4057         (elmo-folder-flag-as-important-dop): Ditto.
4058         (elmo-folder-unflag-important-dop): Ditto.
4059         (elmo-folder-flag-as-answered-dop): Ditto.
4060         (elmo-folder-unflag-answered-dop): Ditto.
4061
4062         * elmo-cache.el (elmo-folder-msgdb-create): Call
4063         `elmo-global-flags-set'.
4064
4065         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4066         Call `elmo-global-flags-set'.
4067         (elmo-archive-msgdb-create-as-numlist-subr2): Call
4068         elmo-archive-parse-mmdf with argument `folder'.
4069         (elmo-archive-parse-mmdf): Added argument `folder';
4070         Call `elmo-global-flags-set'.
4071
4072         * elmo-version.el (elmo-version): Up to 2.11.14.
4073
4074 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4075
4076         * modb.el (elmo-msgdb-length): Define.
4077
4078         * elmo.el (elmo-make-folder): Fixed.
4079         (elmo-generic-folder-append-messages): Follow the API change.
4080
4081         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
4082         API change.
4083
4084 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4085
4086         * modb.el: New file.
4087
4088         * modb-entity.el: Ditto.
4089
4090         * modb-legacy.el: Ditto.
4091
4092         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4093         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4094         of `elmo-msgdb-overview-get-entity'.
4095         (elmo-msgdb-get-field): Ditto.
4096         (elmo-msgdb-merge): Moved to `elmo.el'.
4097         (elmo-msgdb-length): Removed; redefine as modb method.
4098         (elmo-msgdb-change-mark): Abolish.
4099         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4100         (elmo-msgdb-match-condition): Don't use mark.
4101         (elmo-msgdb-overview-get-entity): Abolish.
4102         Split modb part into `modb*.el'.
4103
4104         * elmo-vars.el (elmo-msgdb-default-type): New user option.
4105
4106         * elmo-shimbun.el (shimbun-mua-search-id): Use
4107         `elmo-msgdb-message-entity' instead of
4108         `elmo-msgdb-overview-get-entity'.
4109         (elmo-shimbun-folder-shimbun-header): Ditto.
4110         (elmo-shimbun-get-headers): Ditto.
4111         (elmo-shimbun-update-overview): Ditto.
4112
4113         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4114
4115         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4116
4117         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4118         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4119
4120         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4121         `elmo-msgdb-mark-to-flags'.
4122
4123         * elmo-map.el (elmo-folder-pack-numbers): Don't use
4124         `elmo-msgdb-set-path'.
4125
4126         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4127
4128         * elmo-version.el (elmo-version): Up to 2.11.13.
4129
4130         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4131
4132         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4133         of mark.
4134
4135 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4136
4137         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4138         mismatch.
4139
4140 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4141
4142         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4143         instead of `elmo-msgdb-get-cached'.
4144         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4145
4146         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4147         (elmo-msgdb-set-cached): Ditto.
4148         (elmo-msgdb-set-flag): Rewrite.
4149         (elmo-msgdb-unset-flag): Ditto.
4150
4151         * elmo-msgdb.el: Rewrite with luna.
4152
4153         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4154         (elmo-folder-msgdb): Follow the change above.
4155         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4156         (elmo-folder-unmark-important): Follow the API change.
4157         (elmo-folder-mark-as-important): Ditto.
4158         (elmo-folder-unmark-read): Ditto.
4159         (elmo-folder-mark-as-read): Ditto.
4160         (elmo-folder-unmark-answered): Ditto.
4161         (elmo-folder-mark-as-answered): Ditto.
4162         (elmo-folder-clear): Likewise.
4163
4164         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4165         instead of `elmo-msgdb-load' (renamed).
4166
4167         * elmo-version.el (elmo-version): Up to 2.11.12.
4168
4169 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4170
4171         * elmo.el (elmo-generic-folder-append-messages): Follow the API
4172         change.
4173         (elmo-message-mark): Abolish.
4174         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4175         instead of `elmo-msgdb-change-mark'.
4176
4177         * elmo-pipe.el (elmo-message-mark): Abolish.
4178
4179         * elmo-multi.el (elmo-message-mark): Ditto.
4180
4181         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4182         (elmo-msgdb-unread-uncached-mark): Ditto.
4183         (elmo-msgdb-unread-cached-mark): Ditto.
4184         (elmo-msgdb-read-uncached-mark): Ditto.
4185         (elmo-msgdb-answered-cached-mark): Ditto.
4186         (elmo-msgdb-answered-uncached-mark): Ditto.
4187         (elmo-msgdb-important-mark): Ditto.
4188         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4189         `use-cache'.
4190         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4191         `flags'.
4192         (elmo-flag-table-load): Changed flag to list of flag.
4193         (elmo-flag-table-set): If flags is nil, set read flag.
4194         (elmo-flag-table-get): Return derived flags from global mark,
4195         cache status and saved flags.
4196         (elmo-msgdb-flag-table): Follow the change above.
4197         (elmo-msgdb-out-of-date-messages): New function.
4198
4199         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4200
4201         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4202
4203         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4204
4205         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4206         (elmo-nntp-msgdb-create-message): Ditto.
4207
4208         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4209
4210         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4211         independent.
4212         (elmo-folder-msgdb-create): Follow the API change.
4213
4214         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4215         (elmo-folder-append-messages): Ditto.
4216
4217         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4218         (elmo-folder-append-buffer): Ditto.
4219
4220         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4221
4222         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4223
4224         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4225         (elmo-archive-parse-mmdf): Ditto.
4226
4227         * elmo-version.el (elmo-version): Up to 2.11.11.
4228
4229 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4230
4231         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4232         `elmo-msgdb-mark'.
4233
4234         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4235
4236         * elmo-pipe.el (elmo-message-flags): Defined.
4237
4238         * elmo-multi.el (elmo-message-flags): Ditto.
4239
4240 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4241
4242         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4243         `elmo-msgdb-delete-msgs'.
4244
4245         * elmo.el (elmo-folder-count-flags): Don't use
4246         `elmo-msgdb-get-mark-alist'.
4247         (elmo-folder-detach-messages): Follow the API change.
4248
4249         * elmo.el (elmo-folder-list-messages): Append killed messages into
4250         result if `visible-only' is nil.
4251
4252         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4253         canceled messages.
4254         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4255         (elmo-folder-update-number): Likewise.
4256
4257         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4258         (elmo-pop3-sort-msgdb-by-original-number): Use
4259         `elmo-msgdb-sort-entities'.
4260
4261         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4262         (elmo-msgdb-sort-by-date): Use it.
4263         (elmo-msgdb-overview-sort-by-date): Abolish.
4264
4265         * elmo-dop.el (elmo-folder-status-dop): Fixed.
4266
4267         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4268         (elmo-msgdb-flags): New function.
4269         (elmo-msgdb-merge): Use elmo-msgdb-append.
4270
4271         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4272         change.
4273
4274         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4275
4276         * elmo-dop.el (elmo-folder-status-dop): Use
4277         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4278
4279 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4280
4281         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4282
4283         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4284
4285         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4286
4287         * elmo-util.el (elmo-with-progress-display): New macro.
4288
4289         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4290
4291 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4292
4293         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4294         `elmo-folder-list-message-entities' instead of
4295         `elmo-msgdb-get-overview'.
4296         (elmo-map-folder-list-message-locations): Ditto.
4297
4298         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4299         methods instead of treat directly).
4300         (elmo-msgdb-clear): Ditto.
4301         (elmo-msgdb-delete-msgs): Ditto.
4302         (elmo-msgdb-sort-by-date): Ditto.
4303
4304         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4305         local variables.
4306         (elmo-nntp-folder-msgdb-create): Follow the API change.
4307
4308         * elmo-version.el (elmo-version): Up to 2.11.10.
4309
4310 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4311
4312         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4313         (elmo-msgdb-flags-to-mark): Ditto.
4314         (elmo-msgdb-append-entity): Ditto.
4315
4316         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4317         Use `elmo-msgdb-append-entity' instead of construct msgdb.
4318         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4319         (elmo-archive-parse-mmdf): Ditto.
4320
4321         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4322
4323         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4324
4325         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4326
4327         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4328
4329         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4330
4331         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4332
4333         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4334
4335         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4336
4337         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4338         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4339         to empty msgdb.
4340
4341         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4342         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4343         instead of directly construction.
4344         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4345         instead of construct msgdb.
4346
4347         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4348         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4349         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4350         instead of construct msgdb.
4351
4352 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4353
4354         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4355         when field is from or subject.
4356
4357 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4358
4359         * elmo-multi.el (elmo-message-entity-parent): Define.
4360         (elmo-folder-search): Rewrite.
4361
4362 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4363
4364         * elmo-multi.el (elmo-message-cached-p): Define.
4365
4366         * elmo.el (elmo-message-cached-p): New method.
4367         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4368         (elmo-message-flags): New method.
4369         (elmo-message-flagged-p): New function.
4370
4371         * elmo-version.el (elmo-version): Up to 2.11.9.
4372
4373 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4374
4375         * elmo-version.el (elmo-version): Up to 2.11.8.
4376
4377         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4378
4379         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4380
4381 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4382
4383         * elmo.el (elmo-folder-detach-messages): Undo last change.
4384
4385 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4386
4387         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4388
4389         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4390         only when src folder type is pop3.
4391
4392 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4393
4394         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4395         elmo-msgdb-overview-entity-get-number instead of
4396         elmo-message-entity-number.
4397
4398 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4399
4400         * elmo-version.el (elmo-version): Up to 2.11.7.
4401
4402 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4403
4404         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4405         function.
4406
4407         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4408         (elmo-msgdb-merge): New function.
4409         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4410         (elmo-msgdb-make-index): Rewrite.
4411
4412         * elmo-version.el (elmo-version): Up to 2.11.6.
4413
4414         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4415         use it as a the path for loading message entities.
4416
4417         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4418
4419 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4420
4421         * elmo-filter.el (elmo-folder-set-message-modified): Set
4422         message-modified slot of itself if it does not require target msgdb.
4423
4424         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4425         if folder length is zero.
4426         (elmo-mime-display-as-is): Ditto.
4427
4428         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4429
4430         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4431
4432 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4433
4434         * elmo.el (elmo-folder-set-message-modified): New method.
4435         (elmo-generic-folder-commit): Use it.
4436         (elmo-folder-synchronize): Ditto.
4437
4438         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4439         (elmo-folder-commit): Remove duplicate definition.
4440
4441 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4442
4443         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4444
4445 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4446
4447         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4448         (elmo-strict-folder-diff): Ditto.
4449         (elmo-folder-set-info-max-by-numdb): Simplify.
4450
4451         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4452         elmo-msgdb-list-messages.
4453
4454         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4455         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4456
4457 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4458
4459         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4460         visible-only is non-nil.
4461         (elmo-folder-confirm-appends): Changed message.
4462         (elmo-folder-synchronize): Added argument disable-killed.
4463
4464         * elmo-multi.el (elmo-folder-synchronize): Added argument
4465         disable-killed.
4466
4467         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4468
4469         * elmo-version.el (elmo-version): Up to 2.11.5.
4470
4471         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4472         elmo-list-filter.
4473
4474         * elmo-util.el (elmo-list-filter): Simplify.
4475
4476         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4477         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4478         (elmo-generic-folder-diff): Abolish argument.
4479         (elmo-msgdb-load): Don't use number-alist.
4480
4481         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4482
4483         * elmo-pipe.el (elmo-folder-diff): Ditto.
4484
4485         * elmo-nmz.el (elmo-folder-diff): Ditto.
4486
4487         * elmo-net.el (elmo-folder-diff): Ditto.
4488
4489         * elmo-maildir.el (elmo-folder-diff): Ditto.
4490
4491         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4492
4493         * elmo-multi.el (elmo-folder-diff): Ditto
4494         (elmo-multi-folder-diff): Rewrite.
4495
4496 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4497
4498         * elmo-pipe.el (elmo-folder-msgdb): Define.
4499
4500 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4501
4502         * elmo.el (elmo-message-set-cached): Define as a method.
4503
4504         * elmo-pipe.el (elmo-message-set-cached): Define.
4505         (elmo-find-fetch-strategy): Ditto.
4506
4507         * elmo-multi.el (elmo-message-set-cached): Define.
4508         (elmo-find-fetch-strategy): Rewrite.
4509
4510         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4511
4512         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4513
4514 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4515
4516         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4517         instead of number-alist.
4518
4519         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4520         mark nor message-id when msgdb of source folder is not loaded.
4521
4522         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4523
4524         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4525
4526 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4527
4528         * elmo.el (elmo-folder-length): Don't require msgdb.
4529
4530 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4531
4532         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4533         (elmo-message-field): Ditto.
4534
4535         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4536         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4537         slot.
4538         (elmo-map-folder-list-answereds): Define.
4539         (elmo-maildir-list-location): Treat 'R' info.
4540         (elmo-folder-msgdb-create): Treat flag-table.
4541         (elmo-folder-append-messages): Save flag-table.
4542
4543 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4544
4545         * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4546         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4547
4548 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4549
4550         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4551
4552         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4553         'read when mark is null.
4554
4555 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4556
4557         * elmo-version.el (elmo-version): Up to 2.11.4.
4558
4559 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4560
4561         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4562         (elmo-folder-mark-as-answered): Ditto.
4563
4564 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4565
4566         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4567         (elmo-pop3-get-session): Make msgdb directory after session.
4568         (elmo-folder-exists-p): Check exactly at the first time even when the
4569         elmo-pop3-exists-exactly is nil.
4570
4571         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4572         (elmo-folder-list-messages): Define instead of
4573         elmo-folder-list-messages-internal.
4574         (elmo-folder-check): Check destination folder.
4575         (elmo-folder-synchronize): Drain the pipe.
4576
4577         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4578         when msgdb is not loaded.
4579
4580         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4581
4582         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4583         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4584         messages.
4585
4586         * elmo.el (elmo-folder-kill-messages-before): New function.
4587         (elmo-folder-kill-messages): Ditto.
4588         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4589
4590         * elmo-imap4.el (elmo-folder-list-messages-plugged):
4591         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4592         killed not by synchronize (e.g. scoring).
4593
4594 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4595
4596         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4597         treated.
4598         (elmo-folder-search): Follow the change above.
4599
4600         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4601         into the candidates of search field.
4602
4603 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4604
4605         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4606         (elmo-msgdb-unset-flag): Ditto.
4607
4608         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4609
4610 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4611
4612         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4613         (elmo-folder-commit): Define.
4614         (elmo-folder-synchronize): Ditto.
4615         (elmo-folder-list-flagged): Ditto.
4616         (elmo-folder-commit): Ditto.
4617         (elmo-folder-length): Ditto.
4618         (elmo-folder-count-flags): Ditto.
4619         (elmo-message-mark): Ditto.
4620         (elmo-message-field): Ditto.
4621         (elmo-message-entity): Ditto.
4622         (elmo-message-folder): Ditto.
4623
4624 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4625
4626         * elmo.el (elmo-message-field): Define as a method.
4627
4628         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4629         (elmo-message-field): Define.
4630
4631         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4632         (elmo-folder-list-importants): Ditto.
4633         (elmo-folder-list-answereds): Ditto.
4634
4635         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4636         qualifier.
4637         (elmo-folder-mark-as-read): Ditto.
4638         (elmo-folder-unmark-read): Ditto.
4639         (elmo-folder-mark-as-answered): Ditto.
4640         (elmo-folder-unmark-answered): Ditto.
4641         (elmo-folder-list-flagged): Define.
4642         (elmo-folder-commit): Ditto.
4643         (elmo-folder-length): Ditto.
4644         (elmo-folder-count-flags): Ditto.
4645
4646 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4647
4648         * elmo.el (elmo-folder-detach-messages): New method.
4649         (elmo-folder-move-messages): Use it.
4650         (elmo-folder-synchronize): Ditto.
4651
4652         * elmo-multi.el (elmo-folder-detach-messages): Define.
4653
4654         * elmo.el (elmo-message-copy-entity): New function.
4655         (elmo-message-entity-set-number): Ditto.
4656         (elmo-message-mark): Define as method.
4657
4658         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4659         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4660         (elmo-message-entity): Fixed last change.
4661         (elmo-message-mark): Define.
4662         (elmo-folder-msgdb-create): Abolish.
4663         (elmo-multi-folder-append-msgdb): Ditto.
4664         (elmo-multi-folder-diff): Fixed.
4665         (elmo-multi-split-number-alist): Removed.
4666         (elmo-multi-split-mark-alist): Removed.
4667         (elmo-folder-list-messages): Define.
4668         (elmo-folder-list-messages-internal): Removed.
4669
4670         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4671         local file messages.
4672         (elmo-folder-msgdb-create): Fixed read mark.
4673
4674 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4675
4676         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4677         if mark is nil.
4678
4679 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4680
4681         * elmo.el (elmo-folder-list-message-entities): Define as inline
4682         function.
4683         (elmo-folder-messages): Abolish.
4684
4685         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4686         folder.
4687         (elmo-folder-synchronize): Define.
4688         (elmo-message-entity): Define.
4689
4690 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4691
4692         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4693         elmo-imap4-session-select-mailbox.
4694
4695         * elmo.el (elmo-folder-move-messages): Don't display any message.
4696
4697         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4698         parsing.
4699         (elmo-imap4-session-check): Don't wait CHECK response.
4700         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4701
4702 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4703
4704         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4705
4706 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4707
4708         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4709         API.
4710         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4711
4712
4713         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4714         (elmo-folder-list-message-entities): Added argument in-msgdb and
4715         numbers.
4716         (elmo-folder-synchronize): Define as a method.
4717
4718         * elmo-nntp.el (elmo-folder-initialize): Don't use
4719         elmo-nntp-default-user if zero-length username is specified
4720         explicitly.
4721
4722 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4723
4724         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4725         server name in case with username.
4726         (XXX: this is ad-hoc fix against username includes "@", it
4727         should be solved fundamentally)
4728
4729 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4730
4731         * elmo-nntp.el (elmo-nntp-debug): New function.
4732         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4733         (elmo-network-authenticate-session): Hide auth-info from the log.
4734
4735         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4736         user name if it is equal to elmo-nntp-default-user.
4737
4738 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4739
4740         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4741         instead of shimbun-server-internal;
4742         Use shimbun-current-group instead of shimbun-current-group-internal.
4743         (elmo-folder-plugged-p): Use shimbun-server instead of
4744         shimbun-server-internal.
4745         (elmo-folder-set-plugged): Ditto.
4746         (elmo-net-port-info): Ditto.
4747         (elmo-folder-check): Ditto.
4748         (elmo-folder-expand-msgdb-path): Ditto.
4749         (elmo-folder-list-subfolders): Ditto.
4750
4751 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4752
4753         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4754         Convert field-name to lower case.
4755         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4756
4757 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4758
4759         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4760         `message' and `error' take format string.
4761
4762 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4763
4764         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4765
4766 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4767
4768         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4769         recursive call (can't byte compile on emacs 20.7).
4770
4771 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4772
4773         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4774         (elmo-folder-list-message-entities): New API.
4775         (elmo-message-entity): Ditto.
4776         (elmo-message-entity-parent): Ditto.
4777         (elmo-folder-do-each-message-entity): Ditto.
4778         (elmo-message-entity-number): Ditto.
4779         (elmo-message-entity-field): Ditto.
4780         (elmo-message-entity-set-field): Ditto.
4781         (elmo-folder-count-flags): Ditto.
4782         (elmo-folder-length): Ditto.
4783
4784         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4785         not.
4786
4787         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4788         (elmo-msgdb-count-marks): Abolish.
4789         (elmo-msgdb-make-entity): Ditto.
4790         (elmo-msgdb-do-each-entity): Ditto.
4791         (elmo-msgdb-message-entity): New inline function.
4792         (elmo-msgdb-message-entity-field): Ditto.
4793         (elmo-msgdb-message-entity-set-field): Ditto.
4794         (elmo-msgdb-make-message-entity): New function.
4795
4796 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4797
4798         * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4799         to flag. (All other related portions are changed.)
4800         (elmo-folder-msgdb-create): Likewise.
4801         (elmo-generic-folder-append-messages): Use flag-table instead of
4802         seen-list.
4803         (elmo-folder-move-messages): Removed redundant process.
4804         (elmo-folder-synchronize): Likewise.
4805
4806         * elmo-msgdb.el (elmo-flag-table-get): New function.
4807         (elmo-flag-table-save): Fixed.
4808         (elmo-msgdb-length): New inline function.
4809         (elmo-msgdb-flag-table): New function.
4810         (elmo-msgdb-mark): Add optional argument new.
4811         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4812         (elmo-msgdb-seen-list): Ditto.
4813         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4814
4815
4816 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4817
4818         * elmo.el (elmo-message-set-mark): Abolish.
4819         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4820         (All related portions are changed.)
4821
4822         * elmo-msgdb.el (toplevel): Added comment.
4823         (elmo-load-msgdb): Added 4th element `path'.
4824         (elmo-msgdb-append): Follow the change above.
4825         (elmo-msgdb-clear): Ditto.
4826         (elmo-msgdb-delete-msgs): Ditto.
4827         (elmo-msgdb-get-path): New inline function.
4828         (elmo-msgdb-set-path): Ditto.
4829         (elmo-flag-table-filename): New variable.
4830         (elmo-flag-table-load): New function.
4831         (elmo-flag-table-set): Ditto.
4832         (elmo-flag-table-save): Ditto.
4833         (elmo-msgdb-get-field-value): Abolish.
4834         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4835
4836 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4837
4838         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4839         the folder has been deleted successfully.
4840         * elmo-imap4.el (elmo-folder-delete): Ditto.
4841         * elmo-archive.el (elmo-folder-delete): Ditto.
4842         * elmo-localdir.el (elmo-folder-delete): Ditto.
4843         * elmo-maildir.el (elmo-folder-delete): Ditto.
4844
4845 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4846
4847         * elmo-util.el (elmo-string-member-ignore-case): New function.
4848         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4849         (elmo-imap4-fetch-callback-1-subr): Likewise.
4850
4851 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4852
4853         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4854         the case of the name attribute "\Noselect".
4855
4856 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4857
4858         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4859
4860         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4861         flist, is not always a member of onum-alist.
4862
4863 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4864
4865         * elmo-version.el (elmo-version): Up to 2.11.3.
4866
4867 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4868
4869         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4870         copied from localdir's one.
4871
4872         * elmo-pipe.el (elmo-folder-rename): New method, rename
4873         destination folder with leaving source folder as it is.
4874
4875 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4876
4877         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4878         replace-regexp.
4879
4880 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4881
4882         * elmo-version.el (elmo-version): Up to 2.11.2.
4883
4884 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4885
4886         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4887         shimbun-open in case of "@".
4888         (elmo-folder-open-internal): Cope with shimbun = nil case.
4889         (elmo-folder-plugged-p): Ditto.
4890         (elmo-folder-list-subfolders): Make list for "@/" group.
4891
4892 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4893
4894         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4895         mailbox (e.g. for %~/something).
4896
4897 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4898
4899         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4900         Replace nested conditional with guard clauses.
4901
4902 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4903
4904         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4905         error [wl:11327].
4906
4907         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4908         print-depth.
4909
4910 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4911
4912         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4913         Replace nested conditional with guard clauses.
4914
4915 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4916
4917         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4918         (elmo-passwd-alist-save): Ditto.
4919         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4920
4921 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4922
4923         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4924         dir-name only if it is absolute path.
4925         (TODO: distinguish +/something and +something)
4926
4927 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4928
4929         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4930         path for "+~/something".
4931
4932 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4933
4934         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4935         as non-directory, cause error before rename-file.
4936         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4937         apropriately, mimic localdir's one.
4938         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4939
4940 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4941
4942         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4943
4944 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4945
4946         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4947
4948         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4949
4950         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4951         is included in the global-mark or not.
4952
4953 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4954
4955         * utf7.el (toplevel): Avoid error when the function
4956         find-coding-system does not exist.
4957
4958 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4959
4960         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4961         cache even if the folder is plugged.
4962         (elmo-nntp-search-primitive): Do nothing when body search is
4963         invoked (although it is not used by the change above).
4964         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4965
4966 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4967
4968         * elmo-version.el (elmo-version): Up to 2.11.1.
4969
4970 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4971
4972         * elmo-archive.el: Specify charset.
4973
4974 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4975
4976         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4977         process buffer lives or not.
4978
4979         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4980         while flushing queues (It causes infinite loop).
4981
4982 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4983
4984         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4985
4986 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4987
4988         * utf7.el (toplevel): Check the ucs features dynamically.
4989         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4990
4991         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4992         folder is creatabe or not if it already exists.
4993
4994 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4995
4996         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4997
4998         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4999
5000         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
5001         (elmo-imap4-read-response): Take care of garbage response.
5002
5003 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5004
5005         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
5006         just return nil instead of error.
5007
5008 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5009
5010         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
5011         search-key is "body".
5012
5013 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5014
5015         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
5016         of elmo-string-matched-assoc to use match-data.
5017         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
5018
5019 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5020
5021         * elmo-split.el (elmo-split->): New function.
5022         (elmo-split-<): Ditto.
5023
5024 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
5025
5026         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
5027         workaround for invalid message-id.
5028
5029 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
5030
5031         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
5032         return normal pop3 session or pop3 biff session.
5033
5034 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5035
5036         * elmo-maildir.el (elmo-maildir-update-current): Don't append
5037         info part to the cur files when the new files already have it.
5038         (Adviced by Jared Rhine <jared@wordzoo.com>)
5039
5040 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5041
5042         * elmo-split.el (elmo-split-default-action): New variable.
5043         (elmo-split-subr): Use it if all other conditions are passed.
5044         Extend `fname' and rename it as `action'. (implemented
5045         Teranishi-san's idea in [wl:10800])
5046
5047 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5048
5049         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
5050         * elmo-util.el: Ditto.
5051
5052 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
5053
5054         * elmo.el (elmo-message-accessible-p): Renamed from
5055         elmo-message-cached-p and rewritten.
5056
5057 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5058
5059         * elmo.el (elmo-folder-list-flagged): New generic function.
5060         (elmo-folder-list-importants): New implementation.
5061         (elmo-folder-list-answereds): Ditto.
5062         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
5063         Added 'digest'.
5064         (elmo-message-cached-p): New function.
5065         (elmo-message-set-flag): Ditto (no content).
5066         (elmo-message-unset-flag): Ditto.
5067         (elmo-folder-list-messages-mark-match): Abolish.
5068
5069         * elmo-util.el (elmo-regexp-opt): New function.
5070
5071         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
5072         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
5073         Added 'digest'.
5074         (elmo-msgdb-list-flagged): New function.
5075
5076         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
5077         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
5078         Added 'digest'.
5079
5080         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
5081
5082 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5083
5084         * elmo-version.el (elmo-version): Up to 2.11.0.
5085
5086 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5087
5088         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
5089         `elmo-file-cache-exists-p'; use proper mark that depends on
5090         `use-cache'.
5091         (elmo-msgdb-unset-flag): Ditto.
5092         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5093
5094         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5095         with 4th argument `use-cache'.
5096
5097 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5098
5099         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5100         (elmo-folder-mark-as-important): Ditto.
5101         (elmo-folder-unmark-read): Ditto.
5102         (elmo-folder-mark-as-read): Ditto.
5103         (elmo-folder-unmark-answered): Ditto.
5104         (elmo-folder-mark-as-answered): Ditto.
5105
5106         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5107         message status.
5108         (elmo-msgdb-mark): Likewise.
5109         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5110         (elmo-msgdb-unset-flag): Likewise.
5111
5112         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5113
5114 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5115
5116         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5117         `last:' filter.
5118
5119 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5120
5121         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5122         set spool-length to 0.
5123
5124 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5125
5126         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5127         (elmo-dop-queue-flush): Fixed last change.
5128
5129 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5130
5131         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5132         if require-msgdb slot is nil.
5133         (elmo-folder-list-importants): Likewise.
5134
5135 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5136
5137         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5138         mark is changed.
5139
5140         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5141         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5142         is changed.
5143
5144 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
5145
5146         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5147
5148 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
5149
5150         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5151
5152         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5153
5154 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5155
5156         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5157         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5158
5159 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5160
5161         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5162         the problem reported by Sean Rima [wl-en:180].
5163
5164 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
5165
5166         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5167
5168         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5169
5170         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5171
5172         * elmo-map.el (elmo-folder-unmark-read): Ditto.
5173
5174         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5175
5176         * elmo-net.el (elmo-folder-unmark-read): Ditto.
5177
5178         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5179
5180 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
5181
5182         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5183         status number.
5184
5185 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5186
5187         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5188         (elmo-folder-mark-as-read): Follow the API change.
5189         (elmo-message-set-cached): New function.
5190
5191         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5192
5193         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5194
5195         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5196         (elmo-folder-mark-as-important): Ditto.
5197         (elmo-folder-unmark-read): Ditto.
5198         (elmo-folder-mark-as-read): Ditto.
5199         (elmo-folder-unmark-answered): Ditto.
5200         (elmo-folder-mark-as-answered): Ditto.
5201
5202         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5203         (elmo-folder-unmark-important): Ditto.
5204         (elmo-folder-mark-as-read): Ditto.
5205         (elmo-folder-unmark-read): Ditto.
5206         (elmo-folder-mark-as-answered): Ditto.
5207         (elmo-folder-unmark-answered): Ditto.
5208
5209         * elmo-mark.el (toplevel): Removed some mark method definitions.
5210
5211         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5212         (elmo-map-folder-mark-as-answered): Ditto.
5213         (elmo-folder-unmark-important): Add :before qualifier.
5214         (elmo-folder-mark-as-important): Ditto.
5215         (elmo-folder-unmark-read): Ditto.
5216         (elmo-folder-mark-as-read): Ditto.
5217         (elmo-folder-unmark-answered): Define.
5218         (elmo-folder-mark-as-answered): Ditto.
5219
5220         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5221         (elmo-map-folder-unmark-answered): Ditto.
5222
5223         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5224
5225         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5226         (elmo-folder-mark-as-important): Ditto.
5227         (elmo-folder-unmark-read): Ditto.
5228         (elmo-folder-mark-as-read): Ditto.
5229         (elmo-folder-unmark-answered): Ditto.
5230         (elmo-folder-mark-as-answered): Ditto.
5231
5232         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5233         `mark'; evaluate mark condition.
5234         (elmo-msgdb-match-condition-internal): New function.
5235         (elmo-msgdb-match-condition): Call it; changed argument.
5236
5237         * elmo.el (elmo-folder-search): Follow the API change on
5238         `elmo-msgdb-match-condition'.
5239
5240 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5241
5242         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5243         original mark is non-nil.
5244
5245 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
5246
5247         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5248         (elmo-map-folder-list-answereds): New method.
5249         (elmo-folder-list-unreads): Add :around qualifier.
5250         (elmo-folder-list-importants): Ditto.
5251         (elmo-folder-list-answereds): Ditto.
5252
5253 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
5254
5255         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5256
5257         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5258         method if msgdb is not required.
5259         (elmo-filter-folder-list-importants): Don't treat global-mark.
5260
5261         * elmo.el (elmo-folder-list-importants): Ditto.
5262
5263         * elmo-net.el (elmo-folder-list-importants): Ditto.
5264
5265         * elmo-map.el (elmo-folder-list-importants): Ditto.
5266
5267         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5268
5269         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5270         (elmo-imap4-folder-list-any-plugged): New function.
5271         (elmo-imap4-search-internal-primitive): Use it.
5272
5273         * elmo-filter.el (elmo-folder-check): Synchronize original folder
5274         only when require-msgdb slot is non-nil.
5275         (elmo-folder-close): Clear target folder's msgdb.
5276
5277 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
5278
5279         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5280         (elmo-pop3-msgdb-create-by-header): Ditto.
5281         (elmo-pop3-msgdb-create-message): Ditto.
5282
5283         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5284
5285         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5286
5287         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5288
5289         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5290         (elmo-folder-msgdb-create): Ditto.
5291         (elmo-nntp-folder-msgdb-create): Ditto.
5292         (elmo-nntp-msgdb-create-by-header): Ditto.
5293         (elmo-nntp-msgdb-create-message): Ditto.
5294         (elmo-folder-list-unreads): Define.
5295
5296         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5297         (elmo-folder-append-messages): Ditto.
5298         (elmo-folder-list-unreads): Define.
5299         (elmo-folder-list-importants): Ditto.
5300         (elmo-folder-list-answereds): Ditto.
5301
5302         * elmo-net.el (elmo-folder-list-unreads): Define.
5303         (elmo-folder-list-importants): Ditto.
5304         (elmo-folder-list-answereds): Ditto.
5305         (elmo-folder-list-answereds-plugged): Ditto.
5306         (elmo-folder-msgdb-create): Follow the API change.
5307         (elmo-folder-msgdb-create-unplugged): Ditto.
5308         (elmo-folder-unmark-answered): Define.
5309         (elmo-folder-mark-as-answered-unplugged): Ditto.
5310         (elmo-folder-unmark-answered-unplugged): Ditto.
5311
5312         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5313         (elmo-msgdb-unread-uncached-mark): Ditto.
5314         (elmo-msgdb-unread-cached-mark): Ditto.
5315         (elmo-msgdb-read-uncached-mark): Ditto.
5316         (elmo-msgdb-answered-cached-mark): Ditto.
5317         (elmo-msgdb-answered-uncached-mark): Ditto.
5318         (elmo-msgdb-important-mark): Ditto.
5319         (elmo-msgdb-set-mark): Rewrite.
5320         (elmo-msgdb-count-marks): Rewrite.
5321         (elmo-msgdb-mark-alist-set): Abolish.
5322         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5323         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5324
5325         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5326         (elmo-folder-close): Define.
5327         (elmo-folder-msgdb-create): Follow the API change.
5328         (elmo-folder-list-unreads): Rewrite.
5329         (elmo-folder-mark-as-important): Ditto.
5330         (elmo-folder-unmark-important): Ditto.
5331         (elmo-folder-mark-as-read): Ditto.
5332         (elmo-folder-unmark-read): Ditto.
5333         (elmo-folder-mark-as-answered): Define.
5334         (elmo-folder-unmark-answered): Ditto.
5335
5336         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5337         (elmo-folder-append-messages): Ditto.
5338
5339         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5340
5341         * elmo-map.el (elmo-folder-list-unreads): Ditto.
5342         (elmo-folder-list-importants): Ditto.
5343
5344         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5345         (elmo-folder-append-messages): Ditto.
5346
5347         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5348         change.
5349         (elmo-folder-msgdb-create-plugged): Ditto.
5350         (elmo-folder-append-messages): Ditto.
5351         (elmo-folder-list-answereds-plugged): Define.
5352         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5353         (elmo-folder-unmark-answered-plugged): Define.
5354         (elmo-folder-mark-as-answered-plugged): Ditto.
5355         (elmo-folder-search-requires-msgdb-p): Ditto.
5356
5357         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5358         (elmo-folder-initialize): Set it.
5359         (elmo-folder-msgdb): Define.
5360         (elmo-folder-check): Call elmo-folder-synchronize.
5361         (elmo-folder-close): Define.
5362         (elmo-folder-commit): Ditto.
5363         (elmo-folder-msgdb-create): Rewrite.
5364         (elmo-folder-list-unreads): Ditto.
5365         (elmo-folder-list-importants): Ditto.
5366         (elmo-folder-mark-as-read): Ditto.
5367         (elmo-folder-unmark-read): Ditto.
5368         (elmo-folder-mark-as-important): Ditto.
5369         (elmo-folder-unmark-important): Ditto.
5370         (elmo-folder-mark-as-answered): Define.
5371         (elmo-folder-unmark-answered): Ditto.
5372
5373         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5374         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5375         (elmo-dop-queue-method-name-alist): Likewise.
5376         (elmo-folder-mark-as-answered-dop): New inline function.
5377         (elmo-folder-unmark-answered-dop): Ditto.
5378         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5379
5380         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5381         (elmo-folder-msgdb-create): Ditto.
5382         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5383         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5384         (elmo-archive-parse-mmdf): Ditto.
5385
5386         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5387         (elmo-folder-list-unreads-internal): Ditto.
5388
5389         * elmo.el (elmo-folder-msgdb): Define as generic function.
5390         (elmo-folder-list-messages): Added argument `in-msgdb'.
5391         (elmo-folder-list-unreads): Define as generic function.
5392         (elmo-folder-list-importants): Ditto.
5393         (elmo-folder-list-answereds): Ditto.
5394         (elmo-folder-list-messages-with-global-mark): New function.
5395         (elmo-folder-msgdb-create): Removed mark arguments.
5396         (elmo-folder-unmark-answered): New generic function.
5397         (elmo-folder-mark-as-answered): Ditto.
5398         (elmo-folder-append-messages): Removed argunment `unread-marks'
5399         (elmo-folder-list-unreads-internal): Abolish.
5400         (elmo-folder-list-importants-internal): Ditto.
5401         (elmo-folder-search-requires-msgdb-p): New generic function.
5402         (elmo-folder-search-requires-msgdb-p-internal): New function.
5403         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5404         elmo-msgdb-load.
5405         (elmo-folder-search-fast): Added key 'mark'.
5406         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5407         instead of unread-marks argument.
5408         (elmo-folder-move-messages): Removed argunment `unread-marks'
5409         (elmo-folder-unmark-important): Define.
5410         (elmo-folder-mark-as-important): Ditto.
5411         (elmo-folder-unmark-read): Ditto.
5412         (elmo-folder-mark-as-read): Ditto.
5413         (elmo-folder-unmark-answered): Ditto.
5414         (elmo-folder-mark-as-answered): Ditto.
5415         (elmo-folder-replace-marks): Abolish.
5416         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5417         duplicates.
5418         (elmo-folder-synchronize): Removed mark arguments;
5419         return crosspost only number.
5420
5421 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5422
5423         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5424         Remove redundunt connectivity check.
5425
5426 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5427
5428         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5429         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5430
5431 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5432
5433         * pldap.el (ldap-decode-string): Return string as-is if
5434         `ldap-coding-system' is nil.
5435         (ldap-encode-string): Ditto.
5436         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5437         (ldap-default-host): Fixed docstring.
5438
5439 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5440
5441         * elmo-util.el (elmo-warning): Define as a macro which uses
5442         `display-warning' if it is defined as a function.
5443
5444         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5445         (elmo-split-equal): Use it.
5446         (elmo-split-match): Ditto.
5447         (elmo-split-message-entity): New buffer-local variable.
5448         (elmo-split-subr): Set it.
5449
5450         * elmo-version.el (elmo-version): Up to 2.9.15.
5451
5452 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5453
5454         * elmo-imap4.el (elmo-network-initialize-session):
5455         Check capability after starttls.
5456
5457 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5458
5459         * elmo-util.el (elmo-list-delete): Added optional argument
5460         DELETE-FUNCTION.
5461
5462         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5463
5464         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5465
5466         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5467
5468         * elmo-imap4.el (elmo-folder-initialize): Don't use
5469         elmo-imap4-default-mailbox.
5470
5471 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5472
5473         * elmo-split.el (toplevel): Use `product-provide'.
5474         (elmo-split): Checkdoc.
5475
5476 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5477
5478         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5479         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5480         the function `elmo-imap4-debug-1'.
5481
5482 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5483
5484         * elmo-split.el (elmo-split): Moved to run hooks and to show
5485         message from elmo-split-subr.
5486         (elmo-split-subr): Follow the change above.
5487
5488         * elmo-split.el (elmo-split-subr): New function (renamed from
5489         elmo-split-subr).
5490         (elmo-split): Changed to call elmo-split-subr by element of
5491         elmo-split-folder.
5492         (elmo-split-folder): Changed customization type to choice.
5493
5494 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5495
5496         * elmo-split.el (elmo-split-and): Fixed condition.
5497
5498 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5499
5500         * elmo-split.el: New file.
5501         (elmo-split): Fixed logic.
5502         Display "Test:" instead of "Folder:" when reharsal.
5503
5504         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5505         explicitly.
5506
5507         * elmo-version.el (elmo-version): Up to 2.9.14.
5508
5509         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5510         wl-expand-newtext).
5511
5512 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5513
5514         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5515         message with no message-id field.
5516
5517 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5518
5519         * elmo-version.el (elmo-version): Up to 2.9.13.
5520
5521         * elmo-dop.el (elmo-folder-status-dop): Fix.
5522
5523 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5524
5525         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5526
5527         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5528         changing default value of default-mime-charset.
5529         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5530
5531         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5532
5533         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5534         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5535         instead of elmo-dop-queue-method-name-alist to check merging queue.
5536         (elmo-folder-delete-messages-dop): Delete from queue if negative
5537         message number.
5538         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5539         file is already removed.
5540
5541 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5542
5543         * elmo-vars.el: Bind colon keywords for old Emacsen.
5544
5545 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5546
5547         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5548         against non-exsisting charset.
5549
5550 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5551
5552         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5553         Use eword-decode-and-unfold-unstructured-field-body.
5554
5555         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5556         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5557         exists to decode raw subject string.
5558         (toplevel): Require 'mime.
5559
5560         * elmo-version.el (elmo-version): Up to 2.9.12.
5561
5562 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5563
5564         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5565         (elmo-msgdb-set-mark): Ditto.
5566
5567         * elmo-version.el (elmo-version): Up to 2.9.11.
5568
5569 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5570
5571         * elmo-util.el (elmo-delete-match-files): New function.
5572
5573         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5574         instead of elmo-delete-directory.
5575
5576         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5577         elmo-hash-minimun-size as 63.
5578
5579         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5580         elmo-diff-unread is nil.
5581
5582         * elmo-imap4.el (elmo-folder-open): Fix.
5583
5584         * elmo.el (elmo-message-mark): Rewrite.
5585         (elmo-message-field): Ditto.
5586         (elmo-message-set-mark): Ditto.
5587         (elmo-folder-replace-marks): New function.
5588         (elmo-generic-folder-append-msgdb): Removed third argument for
5589         elmo-msgdb-append.
5590         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5591         (elmo-msgdb-load): New implementation.
5592
5593         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5594
5595         * elmo-util.el (elmo-list-insert): New implementation.
5596
5597         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5598         argument for elmo-msgdb-append.
5599
5600
5601         * elmo-msgdb.el (elmo-load-msgdb): New function.
5602         (elmo-make-msgdb): Ditto.
5603         (elmo-msgdb-get-index): New inline function.
5604         (elmo-msgdb-set-index): Ditto.
5605         (elmo-msgdb-get-entity-hashtb): Ditto.
5606         (elmo-msgdb-get-mark-hashtb): Ditto.
5607         (elmo-msgdb-get-mark): Ditto.
5608         (elmo-msgdb-set-mark): Ditto.
5609         (elmo-msgdb-count-marks): Ditto.
5610         (elmo-msgdb-get-number): Ditto.
5611         (elmo-msgdb-get-field): Ditto.
5612         (elmo-msgdb-seen-list): Ditto.
5613         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5614         (elmo-msgdb-delete-msgs): Follow the changes above.
5615         (elmo-msgdb-overview-get-entity): Ditto.
5616         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5617         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5618         and rewritten.
5619         (elmo-msgdb-make-index): Likewise.
5620         (elmo-msgdb-append): Removed third argument.
5621         (elmo-msgdb-clear): Clear index as nil.
5622         (elmo-folder-set-info-hashtb): Removed.
5623         (elmo-folder-set-info-max-by-numdb): Ditto.
5624         (elmo-folder-info-make-hashtb): Ditto.
5625
5626         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5627
5628         * elmo-map.el (elmo-folder-pack-number): Ditto.
5629
5630 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5631
5632         * elmo-version.el (elmo-version): Up to 2.9.10.
5633
5634         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5635
5636         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5637
5638 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5639
5640         * elmo-utils.el (elmo-make-directory): Add option.
5641         Default file mode is 700.
5642
5643 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5644
5645         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5646
5647 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5648
5649         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5650         mime-charset.
5651
5652         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5653         and "smaller".
5654
5655 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5656
5657         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5658         (elmo-shimbun-folder-entity-hash): New function.
5659         (elmo-shimbun-folder-shimbun-header): Ditto.
5660         (elmo-shimbun-entity-to-header): Ditto.
5661         (elmo-shimbun-msgdb-to-headers): Removed.
5662         (elmo-shimbun-folder-setup): Ditto.
5663         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5664         for hash key.
5665         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5666         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5667         Removed useless local bind.
5668         (elmo-folder-open-internal): Don't call
5669         `elmo-shimbun-folder-setup'.
5670         (elmo-folder-close-internal): Clear entity-hash slot.
5671         (elmo-folder-clear): Ditto.
5672         (elmo-shimbun-msgdb-create-entity): Use
5673         `elmo-shimbun-folder-shimbun-header'.
5674         (elmo-map-message-fetch): Ditto.
5675         (elmo-shimbun-update-overview): Use overview entity instead of
5676         shimbun header to lookup id by references.
5677         (elmo-map-folder-list-message-locations): Use not only headers but
5678         also overviews to list locations.
5679
5680 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5681
5682         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5683         msgdb path.
5684
5685         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5686
5687 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5688
5689         * elmo-util.el (elmo-read-search-condition-internal): Give default
5690         value for date.
5691
5692 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5693
5694         * elmo-util.el (elmo-condition-parse-search-value): Accept
5695         YYYY-MM-DD format to search.
5696         * elmo-date.el (elmo-date-get-datevec): Likewise.
5697
5698 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5699
5700         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5701         debugging code.
5702
5703 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5704
5705         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5706         from t.
5707
5708         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5709
5710         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5711         case from `elmo-folder-exists-p'.
5712         (elmo-folder-exists-p): Removed.
5713         (elmo-folder-creatable-p) Ditto.
5714
5715         * elmo-net.el (elmo-folder-create): Defined.
5716         (elmo-folder-create-unplugged): New function.
5717         (elmo-folder-exists-p): Changed default value to nil from t.
5718
5719         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5720         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5721
5722         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5723         `elmo-create-folder-dop' and append queue
5724         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5725         (elmo-folder-create-dop-delayed): New function.
5726
5727         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5728
5729         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5730
5731         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5732         (elmo-folder-writable-p) : Ditto.
5733
5734         * elmo-version.el (elmo-version): Up to 2.9.9.
5735
5736 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5737
5738         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5739         `elmo-message-use-cache-p' returns nil.
5740         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5741         (ignore cache file and refer the substance in local folders)
5742
5743 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5744
5745         * elmo-version.el (elmo-version): Up to 2.9.8.
5746
5747 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5748
5749         * elmo-version.el (elmo-version): Up to 2.9.7.
5750
5751         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5752
5753 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5754
5755         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5756
5757 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5758
5759         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5760         from --early.
5761         (elmo-map-folder-list-message-locations): Reverse location list.
5762
5763 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5764
5765         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5766
5767 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5768
5769         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5770         as a key.
5771         (elmo-nntp-folder-list-subfolders): Follow the change above.
5772
5773 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5774
5775         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5776         name if authentication type is specified.
5777
5778 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5779
5780         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5781         variable.
5782         (elmo-default-nntp-stream-type): Ditto.
5783         (elmo-default-pop3-stream-type): Ditto.
5784
5785 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5786
5787         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5788
5789 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5790
5791         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5792         elmo-vars.el.
5793         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5794
5795         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5796         (elmo-maildir-folder-path): Ditto.
5797         (elmo-maildir-list): Ditto (abolished).
5798
5799 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5800
5801         * elmo-version.el (elmo-version): Up to 2.9.6.
5802
5803 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5804
5805         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5806         (elmo-maildir-folder-path): Ditto.
5807         (elmo-msgdb-directory): Ditto.
5808         (elmo-passwd-life-time): Ditto.
5809         (elmo-msgdb-extra-fields): Ditto.
5810         (elmo-enable-disconnected-operation): Ditto.
5811
5812 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5813
5814         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5815         other choices.
5816         (elmo-pop3-default-authenticate-type): Ditto.
5817
5818 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5819
5820         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5821         choices for custom.
5822         (elmo-pop3-default-authenticate-type): Ditto.
5823
5824 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5825
5826         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5827         mailbox to new-folder.
5828
5829 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5830
5831         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5832         less than new, set new as unread.
5833
5834         * elmo-util.el (elmo-string): Don't put text-property if nil.
5835
5836 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5837
5838         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5839         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5840
5841 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5842
5843         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5844         is nil on `completing-read'.
5845
5846 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5847
5848         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5849         for namespace part.
5850         (elmo-imap4-parse-namespace-subr): Ditto.
5851         (elmo-folder-list-subfolders): Append a delimiter when the specified
5852         folder path is a root with namespace and does not end with delimiter.
5853
5854 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5855
5856         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5857         was used.
5858
5859 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5860
5861         * elmo-util.el (elmo-save-buffer): The first argument of message
5862         is a format control string.
5863
5864 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5865
5866         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5867         `elmo-folder-diff').
5868         (elmo-diff-unread): Likewise.
5869
5870 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5871
5872         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5873         is t on `completing-read'.
5874
5875 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5876
5877         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5878         method of target folder with self mark-alist if MARK-ALIST is nil.
5879
5880 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5881
5882         * elmo-version.el (elmo-version): Up to 2.9.5.
5883
5884 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5885
5886         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5887         (elmo-dop-merge-funcs): Remove.
5888
5889 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5890
5891         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5892         Return t if PATH is directory, too.
5893         Use `dolist' instead of while loop.
5894
5895 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5896
5897         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5898         is deleted.
5899
5900 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5901
5902         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5903         return value to t.
5904         (elmo-folder-list-messages-unplugged): Return t if
5905         elmo-enable-disconnected-operation is nil.
5906
5907         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5908         `elmo-folder-list-messages-internal'.
5909
5910 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5911
5912         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5913         Change to looking-at `[23][0-9]+'.
5914         (elmo-network-initialize-session): Use 'error-msg'
5915         * elmo-net.el (elmo-network-open-session): Set unplugged
5916         if elmo-network-initialize-session returns 'elmo-open-err.
5917
5918 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5919
5920         * elmo-version.el (elmo-version): Up to 2.9.4.
5921
5922 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5923
5924         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5925         `elmo-folder-list-messages-internal'.
5926
5927 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5928
5929         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5930         (elmo-message-match-condition): New method.
5931         (elmo-folder-search-fast): New inline function.
5932         (elmo-msgdb-search): Removed.
5933
5934         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5935         target folder if it is unplugged.
5936         (elmo-folder-list-messages-internal): Return t if target folder is
5937         unplugged and itself is persistent; In this case, use list be
5938         searched already.
5939
5940         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5941         (elmo-msgdb-search-internal-primitive): Ditto.
5942         (elmo-msgdb-match-condition): New function.
5943         (elmo-msgdb-match-condition-primitive): Ditto.
5944
5945         * elmo-util.el (elmo-filter-condition-p): New macro.
5946
5947         * elmo-cache.el (elmo-folder-search): Removed.
5948
5949         * elmo-localdir.el (elmo-folder-search): Ditto.
5950
5951         * elmo-maildir.el (elmo-folder-search): Ditto.
5952
5953         * elmo-mark.el (elmo-folder-search): Ditto.
5954
5955         * elmo-nmz.el (elmo-folder-search): Ditto.
5956
5957         * elmo-sendlog.el (elmo-folder-search): Ditto.
5958
5959         * elmo-shimbun.el (elmo-folder-search): Ditto.
5960
5961         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5962         if folder is unplugged.
5963
5964         * elmo-nntp.el (elmo-folder-search): Likewise.
5965         (elmo-nntp-search-internal): New function.
5966
5967         * elmo-version.el (elmo-version): Up to 2.9.3.
5968
5969 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5970
5971         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5972
5973 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5974
5975         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5976
5977 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5978
5979         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5980
5981 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5982
5983         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5984         (elmo-map-folder-list-message-locations): Do drive letter conversion
5985         on Windows environment.
5986         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5987         (elmo-map-message-fetch): Ditto.
5988
5989 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5990
5991         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5992         (elmo-network-initialize-session): Ditto.
5993
5994 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5995
5996         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5997
5998         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5999
6000         * elmo-util.el (elmo-progress-clear): Ditto.
6001
6002         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
6003         `DD-Mon-YYYY' type date.
6004
6005 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6006
6007         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
6008         `elmo-date-make-sortable-string' instead of
6009         `timezone-make-date-sortable'.
6010
6011         * elmo-date.el (elmo-date-make-sortable-string): Use
6012         `timezone-make-time-string'.
6013
6014 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
6015
6016         * elmo.el (elmo-folder-synchronize): Delete important messages too.
6017
6018         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
6019         `since'; Fix timezone.
6020
6021         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
6022
6023         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
6024
6025 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6026
6027         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
6028
6029 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6030
6031         * elmo.el (elmo-generic-folder-append-messages): Make
6032         fetch-strategy with `use-cache' as 'maybe. Check return value of
6033         `elmo-message-fetch'.
6034         (elmo-message-fetch): Return return value of
6035         `elmo-message-fetch-with-cache-process'.
6036         (elmo-message-fetch-with-cache-process): Return non-nil if
6037         fetching was succeed. Load cache when fetching was failed and
6038         fetch-strategy-use-cache is 'maybe.
6039
6040         * elmo-util.el (elmo-file-cache-load): New function.
6041
6042         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
6043         defun.
6044
6045         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
6046         non-nil if fetching was succeed.
6047
6048         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
6049
6050         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
6051
6052         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
6053         (elmo-message-fetch-with-cache-process): Likwise.
6054
6055         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
6056
6057         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
6058
6059         * elmo-version.el (elmo-version): Up to 2.9.2.
6060
6061 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
6062
6063         * elmo.el (elmo-folder-delete): Delete msgdb path.
6064
6065         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
6066
6067         * elmo-maildir.el (elmo-folder-delete): Ditto.
6068
6069         * elmo-localdir.el (elmo-folder-delete): Ditto.
6070
6071         * elmo-imap4.el (elmo-folder-delete): Ditto.
6072
6073 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
6074
6075         * elmo.el (luna-define-class): Added `biff' slot.
6076
6077         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
6078         (elmo-pop3-debug-inhibit-logging): Abolished.
6079         (elmo-network-close-session): Eliminated needless let.
6080         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
6081         (elmo-pop3-send-command): Added `no-log' argument.
6082         (elmo-pop3-process-filter): Use `with-current-buffer'.
6083         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
6084         if login failure.
6085         (elmo-pop3-auth-apop): Likewise.
6086         (elmo-network-authenticate-session): Likewise.
6087
6088         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6089         if biff folder.
6090
6091         * elmo-net.el (elmo-network-session-password-key): Use class symbol
6092         string to determine protocol.
6093         (elmo-network-session-name-prefix): Abolished.
6094         (elmo-network-session-cache-key): Follow the change above.
6095         (elmo-network-open-session): Ditto.
6096
6097         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6098         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6099
6100         * elmo-version.el (elmo-version): Up to 2.9.1.
6101
6102         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6103         unmatch condition checking.
6104
6105         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6106         condition.
6107
6108 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6109
6110         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6111
6112 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
6113
6114         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6115         test for while loop to execute at least one SEARCH command.
6116
6117 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
6118
6119         * elmo-version.el (elmo-version): Up to 2.9.0.
6120
6121 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
6122
6123         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6124         (elmo-archive-folder-path): Define.
6125         (elmo-folder-initialize): Setup `dir-name' slot.
6126         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6127         Use `dir-name' as prefix of each subfolders.
6128         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6129
6130 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6131
6132         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6133         (elmo-pipe-folder-list-target-messages): New internal function.
6134         (elmo-pipe-drain): Use new argument `ignore-list' instead of
6135         `killed-list'.
6136         (elmo-pipe-folder-copied-list-load): New function.
6137         (elmo-pipe-folder-copied-list-save): Ditto.
6138         (elmo-folder-open-internal): Follow the change above.
6139         (elmo-folder-status): Fixed for copy.
6140
6141 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
6142
6143         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6144
6145 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
6146
6147         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6148         elmo-copy-file instead of elmo-add-name-to-file.
6149
6150         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6151
6152         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6153         "file://..." index.
6154
6155         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6156         of accept-process-output as 1.
6157         (elmo-pop3-read-contents): Ditto.
6158         (elmo-pop3-read-body): Ditto.
6159
6160 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6161
6162         * elmo-version.el (product-version-as-string): Remove define.
6163
6164 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6165
6166         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6167         (elmo-imap4-copy-messages): Chop number set using
6168         `elmo-imap4-number-set-chop-length'.
6169         (elmo-imap4-set-flag): Ditto.
6170         (elmo-imap4-search-internal-primitive): Ditto.
6171
6172 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6173
6174         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6175         `elmo-folder-make-temp-dir'
6176
6177         * elmo-vars.el (elmo-cache-directory): New variable.
6178         (elmo-cache-dir): Abolished.
6179         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6180
6181         * elmo-version.el (elmo-version): Up to 2.7.7.
6182
6183 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
6184
6185         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6186         defcustom; Set default value as t.
6187
6188 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
6189
6190         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6191         (ldap-search-program-arguments): Changed default value.
6192         (ldap-search-basic): Accept exit status 4.
6193         (ldap/field-body): Parse options.
6194         (ldap/collect-field): Ditto.
6195         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6196
6197         * elmo-imap4.el (elmo-imap4-process-bye): New function.
6198         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6199         (elmo-imap4-accept-ok): Ditto.
6200         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6201         'notify-bye, only BYE error is reported.
6202         (elmo-folder-exists-p-plugged): Set no-error argument of
6203         `elmo-imap4-session-select-mailbox' as 'notify-bye.
6204
6205         * elmo.el (elmo-imap4-bye-error): Changed message.
6206
6207         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6208         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6209         queues (It causes infinite loop).
6210
6211 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6212
6213         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6214         (RECENT UNSEEN MESSAGES) extension.
6215
6216 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
6217
6218         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6219         Check number of overview fields.
6220
6221 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
6222
6223         * elmo.el (elmo-folder-confirm-appends): Changed message.
6224         (elmo-folder-confirm-appends): Ditto.
6225
6226         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6227         `with-temp-buffer'.
6228         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6229
6230 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
6231
6232         * elmo.el (elmo-folder-confirm-appends): Check whether the value
6233         of elmo-folder-update-threshold is nil, which can be set by
6234         wl-summary-update-confirm-threshold.
6235
6236 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
6237
6238         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6239         (elmo-nmz-index-alias-alist): Ditto.
6240         (elmo-map-folder-list-message-locations): Follow the change above.
6241
6242 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6243
6244         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6245
6246         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6247
6248         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6249
6250         * elmo-util.el (elmo-read): Ditto.
6251         (elmo-display-error): Ditto.
6252
6253         * elmo-vars.el (elmo-date-match): Ditto.
6254
6255         * pldap.el (ldap-coding-system): Ditto.
6256
6257         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6258         `elmo-inhibit-number-mapping' as nil.
6259
6260 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
6261
6262         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6263         space delimiter for list response.
6264
6265 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6266
6267         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6268
6269 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6270
6271         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6272         (elmo-map-message-fetch): Fix.
6273         * elmo-map.el (elmo-folder-status): Fix for killed.
6274
6275 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
6276
6277         * elmo-sendlog.el: New file.
6278         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6279
6280 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
6281
6282         * acap.el (acap-logging-out): New buffer local variable.
6283         (acap-close): Set it.
6284         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6285         an error.
6286
6287 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
6288
6289         * acap.el (acap-response-bye-p): New function.
6290         (acap-response-bye-message): Ditto.
6291         (acap-wait-for-response): If bye response is received, cause an error.
6292         (acap-parse-response): Make bye response when 'Bye' is received.
6293
6294 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
6295
6296         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6297
6298 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6299
6300         * elmo-util.el (elmo-copy-file): Added argument
6301         `ok-if-already-exists'.
6302         (elmo-copy-file): Fixed typo.
6303
6304 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6305
6306         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6307
6308 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
6309
6310         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6311
6312 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
6313
6314         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6315         to killed-list.
6316
6317 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
6318
6319         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6320         (elmo-folder-initialize): Fix for `copy'.
6321         (elmo-pipe-drain): Ditto.
6322         (elmo-folder-open-internal): Ditto.
6323         (elmo-folder-newsgroups): Fix.
6324
6325 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
6326
6327         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6328         for each message.
6329
6330         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6331         recent value is returned from imap folder.
6332
6333         * elmo.el (elmo-folder-newsgroups): New generic function.
6334
6335         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6336         (elmo-folder-initialize): Set it.
6337         (elmo-folder-expand-msgdb-path): Use it.
6338         (elmo-folder-newsgroups): Define.
6339
6340         * elmo-filter.el (elmo-folder-newsgroups): Define.
6341
6342         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6343
6344         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6345
6346         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6347
6348 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6349
6350         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6351         user option.
6352         (elmo-shimbun-header-extra-field): New inline function.
6353         (elmo-shimbun-header-set-extra-field): Ditto.
6354         (elmo-shimbun-folder-header-hash-setup): Ditto.
6355         (elmo-shimbun-update-overview): Ditto.
6356         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6357         (elmo-shimbun-folder-setup): Use
6358         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6359         (elmo-shimbun-get-headers): Ditto.
6360         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6361         Insert `X-Shimbun-Id:' header if extra field is set.
6362         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6363         field's value instead of `shimbun-header-id'.
6364
6365         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6366         inline function.
6367         (elmo-msgdb-overview-entity-set-date): Ditto.
6368         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6369
6370 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6371
6372         * mmimap.el (mmimap-entity-section): Changed body node number from
6373         "0" to "1".
6374
6375 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6376
6377         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6378         `elmo-folder-delete-messages'.
6379
6380         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6381         (elmo-folder-initialize): Changed to expand alias into index path.
6382
6383         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6384         `elmo-mime-insert-header-from-buffer' with 6th arg
6385         `sorted-fields'.
6386
6387 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6388
6389         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6390
6391         * elmo.el (elmo-diff-new): New inline function.
6392         (elmo-diff-unread): Ditto.
6393         (elmo-diff-all): Ditto.
6394
6395         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6396         value from responseb.
6397         (elmo-imap4-folder-diff-plugged): Ditto.
6398         (elmo-imap4-server-diff-async): Added recent argument.
6399         (elmo-server-diff-async): Ditto.
6400         (elmo-imap4-folder-diff-plugged): Ditto.
6401
6402         * elmo-version.el (elmo-version): Up to 2.7.6.
6403
6404 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6405
6406         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6407         in quoted-stirng.
6408
6409 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6410
6411         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6412
6413         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6414
6415         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6416
6417         * elmo-multi.el (elmo-folder-initialize): Ditto.
6418
6419         * elmo-util.el (elmo-parse-token): New function.
6420         (elmo-parse-prefixed-element): Ditto.
6421
6422 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6423
6424         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6425         delete process.
6426         (elmo-imap4-accept-ok): Ditto.
6427
6428 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6429
6430         * mmimap.el (mime-imap-entity-header-string): Don't check first
6431         element of node-id is `0' (Follow last change).
6432
6433 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6434
6435         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6436         assigned irregular node-id to nested multipart section.
6437         (initialize-instance): Followed above change.
6438
6439 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6440
6441         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6442         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6443         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6444         `elmo-shimbun-get-headers');
6445         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6446         visible article on summary exists in headers).
6447         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6448
6449 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6450
6451         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6452         definition.
6453
6454 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6455
6456         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6457
6458 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6459
6460         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6461         header separator into loop condition.
6462
6463 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6464
6465         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6466         Return duplicate folder if it has subfolder.
6467
6468 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6469
6470         * elmo.el (elmo-make-folder): Add folder name error check.
6471
6472         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6473         (elmo-nntp-encode-group-string): New inline function.
6474         (elmo-nntp-decode-group-string): Ditto.
6475         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6476         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6477         Use `not' instead of `null';
6478         Use elmo-nntp-decode-group-string.
6479
6480         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6481
6482         * elmo-version.el (elmo-version): Up to 2.7.5.
6483
6484 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6485
6486         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6487         Hide progress gauge if `elmo-folder-move-messages' exits
6488         nonlocally.
6489
6490 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6491
6492         * elmo-imap4.el (elmo-folder-initialize): Use
6493         `elmo-imap4-encode-folder-string' for folder name.
6494
6495 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6496
6497         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6498         `done'.
6499
6500 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6501
6502         * elmo-util.el (elmo-progress-counter-alist): New internal
6503         variable.
6504         (elmo-progress-counter-value): New macro.
6505         (elmo-progress-counter-all-value): Ditto.
6506         (elmo-progress-counter-format): Ditto.
6507         (elmo-progress-counter-set-value): Ditto.
6508         (elmo-progress-set): New function.
6509         (elmo-progress-clear): Ditto.
6510         (elmo-progress-notify): Ditto.
6511
6512         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6513         counter.
6514
6515         * elmo.el (elmo-generic-folder-append-messages): Call
6516         `elmo-progress-notify'.
6517         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6518
6519         * elmo-archive.el (elmo-folder-append-messages): Call
6520         `elmo-progress-notify'.
6521
6522         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6523
6524         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6525
6526         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6527
6528 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6529
6530         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6531         'Create'.
6532         (elmo-message-encache-dop): Added argument `read'.
6533
6534         * elmo-shimbun.el (elmo-message-encache): Ditto.
6535
6536         * elmo-net.el (elmo-message-encache): Ditto.
6537
6538         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6539         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6540         elmo-imap4-seen-messages.
6541         (elmo-folder-msgdb-create-plugged): Initialize
6542         elmo-imap4-seen-messages;
6543         Set seen mark on elmo-imap4-seen-messages.
6544
6545         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6546
6547         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6548         elmo-folder-append-buffer.
6549         (elmo-folder-encache): Added optional argument `read'.
6550         (elmo-message-encache): Ditto.
6551
6552         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6553
6554         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6555
6556         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6557         if append buffer content succeds.
6558
6559 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6560
6561         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6562         elmo-display-progress.
6563
6564         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6565         Set 4th argument of mime-display-message.
6566         (elmo-mime-display-as-is): Ditto.
6567
6568 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6569
6570         * elmo-nmz.el (toplevel): Require 'mime-edit.
6571         (elmo-nmz-content-type-alist): Abolished.
6572         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6573         content is not a message.
6574         (elmo-map-message-fetch): Changed behavior exept for message content;
6575         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6576         content-type, Add From: and Subject: field.
6577
6578 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6579
6580         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6581         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6582         not a message.
6583
6584 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6585
6586         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6587         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6588
6589         * elmo-archive.el (elmo-folder-writable-p): Defined.
6590
6591         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6592
6593         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6594
6595         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6596
6597         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6598
6599         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6600
6601         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6602
6603         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6604
6605         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6606
6607 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6608
6609         * elmo-util.el (elmo-address-quote-specials): New function;
6610         Renamed from `wl-address-quote-specials'.
6611
6612 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6613
6614         * elmo-version.el (elmo-version): Up to 2.7.4.
6615
6616 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6617
6618         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6619
6620 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6621
6622         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6623         both compile-time and run-time to avoid byte-compile warning.
6624
6625 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6626
6627         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6628
6629 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6630
6631         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6632         option.
6633         (elmo-mime-display-as-is-internal): Use it.
6634
6635         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6636         if `read-passwd' is not defined.
6637
6638 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6639
6640         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6641         by original number.
6642         (elmo-folder-status): Call `elmo-folder-open-internal';
6643         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6644         (elmo-folder-close-internal): Set location-alist as nil.
6645         (elmo-folder-clear): Define.
6646         (elmo-folder-check): Don't set location-alist as nil.
6647
6648         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6649
6650 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6651
6652         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6653         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6654
6655         * mmimap.el (mime-imap-entity::requested): New slot.
6656         (mime-imap-location-fetch-entity-p): New generic function.
6657         (mime-decode-parameters): Define using `defun-maybe'.
6658         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6659         content-type structure.
6660         (mime-entity-body): Return empty body if
6661         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6662
6663         * elmo.el (elmo-message-displaying): New variable.
6664
6665         * elmo-mime.el (elmo-mime-message-display): Bind
6666         elmo-message-displaying as t.
6667
6668         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6669
6670 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6671
6672         * acap.el (acap-open): erase buffer before starting network process.
6673         (acap-store): Rewrite.
6674
6675 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6676
6677         * elmo-imap4.el (elmo-imap4-default-mailbox,
6678         elmo-imap4-default-server
6679         elmo-imap4-default-authenticate-type,
6680         elmo-imap4-default-user,
6681         elmo-imap4-default-port,
6682         elmo-imap4-default-stream-type,
6683         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6684
6685         * elmo-pop3.el (elmo-pop3-default-user,
6686         elmo-pop3-default-server,
6687         elmo-pop3-default-authenticate-type,
6688         elmo-pop3-default-port,
6689         elmo-pop3-default-stream-type,
6690         elmo-pop3-stream-type-alist): Ditto.
6691
6692         * elmo-nntp.el (elmo-nntp-default-server,
6693         elmo-nntp-default-user,
6694         elmo-nntp-default-port,
6695         elmo-nntp-default-stream-type,
6696         elmo-nntp-stream-type-alist): Ditto.
6697
6698         * elmo-vars.el: Follow changes above.
6699         (elmo-setting): New custom group; added 'elmo-setting group to
6700         above variables.
6701
6702         * elmo-version.el (elmo-version): Up to 2.7.3.
6703
6704         * acap.el (acap-parse-response): Don't delete process when BYE
6705         response (It causes hang-up on slow network environment).
6706         (toplevel): Added comment.
6707
6708 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6709
6710         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6711
6712         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6713         parsing NIL.
6714         (acap-parse-return-metadata): Ditto.
6715
6716         * slp.el: New file.
6717         (toplevel): Fixed typo.
6718
6719         * acap.el: New file.
6720         (acap-network-stream-open): Show "Connecting..." message.
6721         (acap-parse-response): Fixed problem for BYE untagged response.
6722         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6723         (toplevel): Added tiny comments.
6724
6725 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6726
6727         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6728         space delimiter for uidl response.
6729
6730 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6731
6732         * elmo-vars.el (elmo-use-semi): Eliminated.
6733
6734         * elmo-util.el (elmo-string-assoc-all): New function.
6735
6736 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6737
6738         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6739         property 'mime-preview-situation for `mime-preview-quit'.
6740
6741 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6742
6743         * elmo.el (elmo-message-fetch-with-cache-process): Call
6744         elmo-message-fetch-internal instead of causing an error when fetch
6745         strategy is 'entire but only 'section cache is available.
6746
6747 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6748
6749         * elmo-version.el (elmo-version): Up to 2.7.2.
6750
6751         * elmo.el (elmo-generic-folder-append-messages): Make
6752         fetch-strategy with `use-cache'.
6753
6754         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6755         (elmo-dop-queue-method-name): New macro.
6756
6757 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6758
6759         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6760         unbalanced parenthesis.
6761
6762 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6763
6764         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6765
6766 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6767
6768         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6769         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6770
6771 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6772
6773         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6774         local variables.
6775
6776 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6777
6778         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6779         (elmo-message-use-cache-p): Define.
6780         (elmo-folder-msgdb-create): Treat cache.
6781
6782 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6783
6784         * elmo-nntp.el (elmo-network-initialize-session): Call
6785         `elmo-nntp-send-mode-reader'.
6786         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6787
6788 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6789
6790         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6791         alist.
6792         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6793         assoc.
6794
6795         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6796         for `elmo-plugged-p'.
6797         (elmo-open-network-stream): Fixed stream-type argument.
6798
6799 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6800
6801         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6802         unknown archive type is specified.
6803
6804 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6805
6806         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6807
6808         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6809         while loading msgdb.
6810
6811         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6812         (elmo-folder-open-internal): Rewrite.
6813
6814 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6815
6816         * elmo-mime.el (elmo-mime-display-as-is-internal):
6817         Adjust buffer-multibyte status.
6818
6819 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6820
6821         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6822         of elmo-condition-find-key.
6823
6824         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6825         (elmo-condition-in-msgdb-p): Ditto.
6826         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6827         argument.
6828
6829 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6830
6831         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6832
6833 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6834
6835         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6836         label for elmo-display-progress.
6837
6838 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6839
6840         * elmo.el (elmo-folder-clear): New method.
6841         (elmo-folder-clear): Define.
6842         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6843
6844         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6845         (elmo-folder-clear): Define.
6846
6847         * elmo-map.el (elmo-folder-clear): Define.
6848
6849         * elmo-version.el (elmo-version): Up to 2.7.1.
6850
6851 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6852
6853         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6854         updates.
6855
6856 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6857
6858         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6859         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6860
6861 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6862
6863         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6864
6865         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6866         and re-written.
6867
6868         * elmo-imap4.el (elmo-folder-initialize): Use
6869         elmo-get-network-stream-type.
6870
6871         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6872
6873         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6874
6875 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6876
6877         * elmo.el (elmo-message-encache): Set unread argument for
6878         elmo-message-fetch.
6879
6880         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6881
6882         * elmo.el (elmo-net-port-info): New method.
6883
6884         * elmo-shimbun.el (elmo-net-port-info): Define.
6885         (elmo-message-encache): Ditto.
6886
6887         * elmo-net.el (elmo-net-port-info): Define as method.
6888
6889         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6890         unplugged status when elmo-enable-disconnected-operation is t.
6891
6892         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6893         of spool folder before checking new number.
6894
6895 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6896
6897         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6898         (elmo-network-setup-session): Ditto.
6899         (elmo-message-fetch-plugged): Ditto.
6900         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6901         (elmo-network-initialize-session): Ditto.
6902         (elmo-pop3-read-response): Abolish 3rd argument.
6903         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6904         (elmo-pop3-read-contents): Ditto.
6905         (elmo-pop3-read-body): Ditto.
6906         (elmo-folder-status): Call elmo-folder-close.
6907         (elmo-pop3-lock): Abolish.
6908         (elmo-pop3-unlock): Ditto.
6909         (elmo-pop3-locked-p): Ditto.
6910         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6911
6912 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6913
6914         * elmo-version.el (elmo-version): Up to 2.7.0.
6915
6916         * elmo-pop3.el (elmo-pop3-debug): New variable.
6917         (elmo-pop3-debug-inhibit-logging): Ditto.
6918         (elmo-pop3-debug): New function.
6919         (elmo-pop3-send-command): Call elmo-pop3-debug.
6920         (elmo-pop3-read-response): Added keep-lock optional argument;
6921         Don't unlock if keep-lock is non-nil.
6922         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6923         (elmo-network-authenticate-session): Bind
6924         elmo-pop3-debug-inhibit-logging as t.
6925         (elmo-network-setup-session): Call elmo-pop3-read-response with
6926         keep-lock argument.
6927         (elmo-pop3-read-msg): Ditto.
6928         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6929         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6930         (elmo-network-initialize-session): Call elmo-pop3-lock.
6931         (elmo-folder-close-internal): Don't clear location-alist slot.
6932         (elmo-folder-check): Clear location-alist slot.
6933
6934 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6935
6936         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6937         (elmo-pop3-send-command): Call elmo-pop3-lock.
6938         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6939         (elmo-pop3-read-contents): Ditto.
6940         (elmo-pop3-lock): New function.
6941         (elmo-pop3-unlock): Ditto.
6942         (elmo-pop3-locked-p): Ditto.
6943         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6944         returns t.
6945
6946 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6947
6948         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6949
6950         * elmo-util.el (elmo-file-field-primitive-condition-match):
6951         New inline function (Don't fetch file content if "first" or "last").
6952         (elmo-file-field-condition-match): Use
6953         elmo-file-field-primitive-condition-match.
6954
6955         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6956         "first".
6957
6958         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6959         (elmo-message-fetch-plugged): Fixed.
6960
6961         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6962
6963 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6964
6965         * elmo.el (elmo-folder-move-messages): Bind
6966         elmo-inhibit-display-retrieval-progress as t while moving messages.
6967
6968         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6969         New variable.
6970         (elmo-inhibit-display-retrieval-progress): Ditto.
6971
6972         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6973         for retrieval progress;
6974         Don't display progress when total buffer size is smaller than
6975         elmo-display-retrieval-progress-threshold.
6976         (elmo-message-fetch-plugged): Don't display progress when
6977         elmo-inhibit-display-retrieval-progress is non-nil.
6978
6979         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6980         for retrieval progress;
6981         Don't display progress when literal size is smaller than
6982         elmo-display-retrieval-progress-threshold.
6983         (elmo-imap4-message-fetch): Don't display progress when
6984         elmo-inhibit-display-retrieval-progress is non-nil.
6985
6986 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6987
6988         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6989         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6990         (elmo-imap4-message-fetch): Likewise.
6991
6992         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6993         (elmo-shimbun-index-range-alist): Ditto.
6994         (elmo-shimbun-use-entire-index): Abolish.
6995         (shimbun-mua-use-entire-index): Ditto.
6996         (elmo-shimbun-folder): Added new slot `range'.
6997         (elmo-folder-initialize): Setup slot `range'.
6998
6999 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
7000
7001         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
7002         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
7003         (elmo-shimbun-get-headers): Use return value of
7004         `shimbun-article-expiration-days'.
7005         (elmo-folder-close-internal): Clean up last-check slot.
7006
7007         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
7008         (elmo-pop3-total-size): New variable.
7009         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
7010
7011         * elmo.el (elmo-folder-reserve-status-p): New method.
7012
7013         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
7014         (elmo-shimbun-use-entire-index): New user option.
7015         (shimbun-elmo-mua): New class.
7016         (shimbun-mua-search-id): Define.
7017         (shimbun-mua-use-entire-index): Ditto.
7018         (elmo-shimbun-folder:last-check): New slot.
7019         (elmo-shimbun-headers-cache-header-list): Abolish.
7020         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7021         (elmo-shimbun-headers-cache-header-hash): Ditto.
7022         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7023         (elmo-shimbun-headers-cache-last-check): Ditto.
7024         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7025         (elmo-shimbun-headers-check-p): Rewrite.
7026         (elmo-shimbun-msgdb-to-headers): New function.
7027         (elmo-shimbun-get-headers): Rewrite.
7028         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
7029         (elmo-folder-open-internal): Get headers only if
7030         `elmo-shimbun-headers-check-p' is non-nil.
7031         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
7032         is non-nil.
7033         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
7034         (elmo-quit): Removed.
7035
7036         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
7037         function.
7038         (elmo-msgdb-overview-entity-set-extra): Ditto.
7039         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
7040
7041         * elmo-map.el (elmo-folder-status): Don't call
7042         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
7043         is non-nil.
7044
7045 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7046
7047         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
7048         of `elmo-msgdb-search-internal-primitive' when condition's car is
7049         `and' or `or'.
7050
7051 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
7052
7053         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
7054
7055 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7056
7057         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
7058         call `elmo-pipe-drain'.
7059
7060 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7061
7062         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
7063         typo. (elmo-cache-folder -> elmo-mark-folder)
7064
7065 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7066
7067         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
7068         `elmo-message-fetch'.
7069
7070 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7071
7072         * elmo-net.el (elmo-message-encache): Fixed typo.
7073         (elmo-message-fetch-unplugged): Changed call
7074         `elmo-message-fetch-internal' without argument `outbuf'.
7075
7076 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
7077
7078         * elmo.el (elmo-message-encache): Define as generic function.
7079         (elmo-message-fetch-field): New generic function.
7080         (elmo-message-fetch-with-cache-process): Cause an error when
7081         fetch strategy is 'entire but only 'section cache is available.
7082         (toplevel): Fixed nmz folder definition.
7083
7084         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
7085         (elmo-msgdb-resume-list-filename): Ditto.
7086         (elmo-queue-filename): Ditto.
7087         (elmo-enable-disconnected-operation): Changed default value to t.
7088
7089         * elmo-util.el (elmo-cache-path-section-p): New function.
7090         (elmo-file-cache-get): Use it.
7091         (elmo-dop-queue-filename): Moved from elmo-dop.el.
7092         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7093         (elmo-dop-queue-save): Ditto.
7094
7095         * elmo-net.el (elmo-folder-status-unplugged): Call
7096         elmo-folder-status-dop.
7097         (elmo-folder-list-messages-unplugged): Implemented.
7098         (elmo-folder-delete-messages-unplugged): Define.
7099         (elmo-folder-msgdb-create): Define.
7100         (elmo-folder-msgdb-create-unplugged): Define.
7101         (elmo-folder-mark-as-read-unplugged): Ditto.
7102         (elmo-folder-unmark-read-unplugged): Ditto.
7103         (elmo-folder-mark-as-important-unplugged): Ditto.
7104         (elmo-folder-unmark-important-unplugged): Ditto.
7105         (elmo-message-encache): Ditto.
7106
7107         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7108         (elmo-dop-queue-save): Ditto.
7109
7110         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7111         `elmo-folder-msgdb-create'.
7112         (elmo-folder-append-buffer): Implemented unplugged operation.
7113         (elmo-folder-append-messages): Call parent method in unplugged status.
7114         (elmo-message-fetch-unplugged): Removed definition.
7115         (elmo-message-fetch-field): Implemented.
7116
7117         * elmo-dop.el (toplevel): Require 'elmo-localdir.
7118         (elmo-dop-folder): Removed variable definition.
7119         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7120         (elmo-dop-queue-flush): Implemented.
7121         (elmo-dop-queue-merge): Removed definition (TODO).
7122         (elmo-dop-spool-folder): New function.
7123         (elmo-dop-spool-folder-append-buffer): Ditto.
7124         (elmo-dop-spool-folder-list-messages): Ditto.
7125         (elmo-dop-list-deleting-messages): Ditto.
7126         (elmo-folder-append-buffer-dop): Ditto.
7127         (elmo-folder-delete-messages-dop): Ditto.
7128         (elmo-message-encache-dop): New inline function.
7129         (elmo-create-folder-dop): Ditto.
7130         (elmo-folder-mark-as-read-dop): Ditto.
7131         (elmo-folder-unmark-read-dop): Ditto.
7132         (elmo-folder-mark-as-important-dop): Ditto.
7133         (elmo-folder-unmark-important-dop): Ditto.
7134         (elmo-folder-status-dop): Fixed.
7135         (elmo-folder-append-buffer-dop-delayed): New function.
7136         (elmo-folder-delete-messages-dop-delayed): Ditto.
7137         (elmo-dop-msgdb): Ditto.
7138
7139 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7140
7141         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7142
7143 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7144
7145         * elmo.el (elmo-folder-move-messages): Fixed problem when
7146         `dst-folder' is 'null.
7147
7148 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7149
7150         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7151         instead of current mark.
7152
7153         * elmo-multi.el (elmo-folder-list-importants-internal): No
7154         operation if importants is not list.
7155
7156         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7157         Return t if importants is not list.
7158
7159         * elmo-map.el (elmo-map-folder-list-importants): Define.
7160         (elmo-folder-list-importants-internal): Check return value of
7161         `elmo-map-folder-list-importants-internal'.
7162
7163         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7164
7165         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7166
7167         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7168
7169         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7170
7171 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
7172
7173         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7174         (Patch is provided by <kita@coe.nttdata.co.jp>).
7175
7176 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7177
7178         * elmo.el (elmo-folder-synchronize): Don't check important mark in
7179         mark folder.
7180
7181 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7182
7183         * elmo.el (elmo-message-fetch): Define.
7184         (elmo-message-fetch-with-cache-process): New generic method.
7185         (elmo-message-fetch-internal): New generic method.
7186         (elmo-folder-synchronize):
7187
7188         * elmo-archive.el (elmo-message-fetch-internal): Define.
7189         (elmo-message-fetch): Eliminated.
7190
7191         * elmo-localdir.el (elmo-message-fetch-internal): Define.
7192         (elmo-message-fetch): Eliminated.
7193
7194         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7195         argument OUTBUF.
7196         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7197
7198         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7199         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7200
7201         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7202         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7203
7204         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7205
7206         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7207
7208         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7209
7210         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7211         (elmo-message-fetch-unplugged): New generic method.
7212         (elmo-message-fetch-internal): Remove cache process (Renamed from
7213         `elmo-message-fetch').
7214
7215         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7216         (elmo-message-fetch): Eliminated.
7217         (elmo-message-fetch-unplugged): Ditto.
7218
7219         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7220
7221 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7222
7223         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7224         of `to-be-deleted' from number-alist to number-list.
7225
7226 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7227
7228         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7229         (elmo-folder-mark-as-important): Ditto.
7230
7231 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
7232
7233         * elmo.el (elmo-folder): Added process-duplicates slot.
7234
7235         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7236         (elmo-folder-unmark-read): Ditto.
7237         (elmo-folder-unmark-important): Ditto.
7238         (elmo-folder-mark-as-important): Ditto.
7239
7240         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7241         duplicated message processing.
7242
7243         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7244
7245 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7246
7247         * elmo-util.el (elmo-list-subdirectories-1): New function.
7248         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7249         (elmo-mapcar-list-of-list): New function.
7250
7251         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7252         `elmo-mapcar-list-of-list' instead of `mapcar'.
7253
7254         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7255
7256         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7257         `elmo-have-link-count'. Return the fully qualified folder name.
7258
7259 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
7260
7261         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7262         (elmo-shimbun-headers-cache): New internal variable.
7263         (elmo-shimbun-headers-cache-header-list): New inline function.
7264         (elmo-shimbun-headers-cache-set-header-list): Ditto.
7265         (elmo-shimbun-headers-cache-header-hash): Ditto.
7266         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7267         (elmo-shimbun-headers-cache-last-check): Ditto.
7268         (elmo-shimbun-headers-cache-set-last-check): Ditto.
7269         (elmo-shimbun-lapse-seconds): Ditto.
7270         (elmo-shimbun-headers-cache-check-p): Ditto.
7271         (elmo-shimbun-get-headers): New function.
7272         (elmo-folder-open-internal): Call it.
7273         (elmo-quit): Define (Clear headers-cache).
7274
7275 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
7276
7277         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7278
7279         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7280         (elmo-msgdb-flist-save): Ditto.
7281
7282         * elmo-shimbun.el (elmo-folder-list-subfolders):
7283         Use `shimbun-groups' instead of `shimbun-groups-internal'.
7284         (elmo-folder-exists-p): Ditto.
7285
7286         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7287         argument for `shimbun-header-insert'.
7288
7289 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
7290
7291         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7292         at first time.
7293
7294         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7295         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7296
7297 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
7298
7299         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7300         (elmo-folder-plugged-p): Define.
7301         (elmo-folder-set-plugged): Ditto.
7302         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7303         (elmo-folder-list-messages-internal): Return t if unplugged.
7304         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7305
7306         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7307         when elmo-folder-list-messages-internal method of children returns t.
7308
7309         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7310         pair is nil.
7311         (elmo-folder-open-internal): Don't update if unplugged status.
7312
7313 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
7314
7315         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7316         new message.
7317
7318 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
7319
7320         * elmo-util.el (elmo-file-cache-save): Ignore errors.
7321
7322         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7323         saving.
7324
7325 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
7326
7327         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7328
7329         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7330         (elmo-folder-open-internal): Set up headers slot.
7331         (elmo-folder-check): Call elmo-folder-close-internal and
7332         elmo-folder-open-internal.
7333         (elmo-folder-close-internal): Clean up headers slot.
7334
7335 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7336
7337         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7338         exactly folder list.
7339         (elmo-folder-append-messages): Fixed append archive with prefix.
7340
7341         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7342         make temp files with start-number.
7343
7344         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7345
7346 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7347
7348         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7349         argument `visible-only'.
7350         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7351         instead of `if'.
7352
7353         * elmo-pop3.el (elmo-folder-open-internal): Check
7354         `elmo-inhibit-number-mapping' is non-nil.
7355
7356         * elmo-pipe.el (elmo-folder-status): Fixed.
7357
7358 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7359
7360         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7361
7362         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7363         (elmo-folder-open-internal): Setup `header-hash' slot.
7364         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7365         information.
7366         (elmo-map-message-fetch): Ditto.
7367
7368 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7369
7370         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7371         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7372         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7373         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7374
7375         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7376
7377 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7378
7379         * sb-airs.el: Added footer.
7380
7381         * shimbun.el (shimbun-article): Define as luna-method.
7382
7383         * sb-tcup.el: New file.
7384
7385         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7386         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7387
7388 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7389
7390         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7391         (shimbun-get-headers): Ditto.
7392
7393         * elmo.el: Moved obsolete variable definitions from
7394         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7395
7396         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7397         groups.
7398
7399         * shimbun.el: New file.
7400
7401         * elmo-shimbun.el: New file.
7402
7403         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7404         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7405         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7406         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7407
7408 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7409
7410         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7411         hierarchy is t.
7412
7413 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7414
7415         * elmo.el (elmo-folder-msgdb): Define as macro.
7416         (elmo-folder-open): Added argument `load-msgdb'.
7417         (elmo-generic-folder-open): Ditto.
7418         (elmo-folder-encache): New function.
7419
7420         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7421
7422         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7423
7424         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7425         Eliminated argument FOLDER and added argument MSGDB.
7426         (elmo-dop-queue-load): Moved from elmo-dop.el.
7427         (elmo-dop-queue-save): Ditto.
7428
7429         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7430
7431         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7432
7433         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7434         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7435         (elmo-filter-folder-list-importants-internal): Ditto.
7436
7437         * elmo-map.el (elmo-folder-pack-number): Ditto.
7438
7439         * elmo-mime.el (elmo-mime-message-display): Ditto.
7440
7441         * elmo.el (elmo-generic-folder-commit): Ditto.
7442         (elmo-folder-list-unreads): Ditto.
7443         (elmo-folder-list-importants): Ditto.
7444         (elmo-generic-folder-commit): Ditto.
7445         (elmo-message-set-mark): Ditto.
7446         (elmo-generic-folder-append-msgdb): Ditto.
7447         (elmo-folder-synchronize): Ditto.
7448         (elmo-folder-messages): Ditto.
7449         (elmo-init): Call elmo-dop-queue-load.
7450         (elmo-folder-list-messages): Ditto.
7451
7452         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7453         (elmo-nntp-folder-process-crosspost): Ditto.
7454         (elmo-folder-list-unreads-internal): Ditto.
7455
7456         * elmo-dop.el: Removed old functions.
7457
7458 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7459
7460         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7461         `folder' to `msgdb'.
7462
7463 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7464
7465         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7466         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7467
7468         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7469         case-fold-search.
7470
7471 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7472
7473         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7474         defined.
7475
7476         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7477         (mmimap-parse-parameters-from-list): Define as alias for
7478         `mime-decode-parameter-plist' if it is defined as function.
7479         (mmimap-make-mime-entity): Added argument `number'.
7480         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7481         as 0.
7482         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7483
7484         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7485
7486         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7487
7488         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7489
7490 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7491
7492         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7493
7494         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7495         when elmo-imap4-default-authenticate-type is nil.
7496         (elmo-folder-list-subfolders): Ditto
7497         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7498         (elmo-imap4-fetch-callback-1-subr): Renamed from
7499         `elmo-imap4-fetch-callback-1' and define as inline function.
7500         (elmo-imap4-fetch-callback-1):
7501         Renamed from `elmo-imap4-fetch-callback'.
7502         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7503
7504         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7505         msgdb path (To keep compatibility with main trunk).
7506
7507         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7508
7509         * elmo-util.el (elmo-make-file-cache): Moved position of
7510         some macros.
7511
7512         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7513         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7514         instead of `elmo-pop3-inhibit-uidl'.
7515         (elmo-folder-exists-p): Ditto.
7516         (elmo-pop3-folder-list-messages): Ditto.
7517
7518         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7519         instead of `elmo-pop3-inhibit-uidl'.
7520         (elmo-folder-status): Ditto.
7521
7522         * elmo-dop.el (elmo-dop-folder): New variable.
7523         (elmo-dop-lock-message): Eliminated.
7524         (elmo-dop-unlock-message): Ditto.
7525         (elmo-dop-lock-list-load): Ditto.
7526         (elmo-dop-lock-list-save): Ditto.
7527         (elmo-dop-delete-folder): Ditto.
7528         (elmo-dop-rename-folder): Ditto.
7529
7530         * elmo.el: Removed incomplete commentary.
7531
7532 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7533
7534         * elmo.el (toplevel): Require 'elmo-version first;
7535         for little `recursive-load-depth' settings.
7536         Fix "ends here" comment.
7537
7538 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7539
7540         * elmo-util.el (toplevel): Require 'poem;
7541         Some functions are moved from elmo-cache.el.
7542
7543         * elmo-net.el (toplevel): Require 'elmo-cache.
7544
7545         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7546
7547         * elmo.el (toplevel): Ditto.
7548
7549         * elmo-cache.el: Rewrite with luna;
7550         Some functions are moved to elmo-util.el.
7551
7552         * elmo-internal.el (elmo-internal-folder-list): New variable.
7553         (elmo-internal-folder-initialize): Rewrite.
7554         (elmo-folder-list-subfolders): Ditto.
7555
7556         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7557         (elmo-cache-collect-sub-directories): Ditto.
7558
7559 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7560
7561         * elmo-version.el (elmo-version): Up to 2.5.8.
7562
7563         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7564
7565         * elmo-util.el (elmo-list-insert): New function.
7566
7567 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7568
7569         * elmo.el (elmo-init): New function.
7570         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7571
7572         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7573         (Renamed from `elmo-localdir-header-chop-length').
7574
7575         * elmo-pop3.el (elmo-pop3-use-cache,
7576         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7577
7578         * elmo-nntp.el (elmo-message-fetch): Define.
7579         (elmo-message-fetch-unplugged): Ditto.
7580         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7581         (elmo-nntp-use-cache): Ditto.
7582         (elmo-nntp-max-number-precedes-list-active): Ditto.
7583
7584         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7585
7586         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7587         `elmo-msgdb-insert-file-header'.
7588         Use `elmo-msgdb-file-header-chop-length'.
7589
7590         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7591         `elmo-vars.el'.
7592
7593         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7594         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7595         `elmo-msgdb-insert-file-header'.
7596
7597         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7598         Use new variable;
7599         Define obsolete variables with `elmo-define-obsolete-variable',
7600
7601         * elmo-util.el (elmo-warning-buffer-name): New constant.
7602         (elmo-warning): New function.
7603         (elmo-obsolete-variable-alist): New variable.
7604         (elmo-obsolete-variable-show-warnings): New variable.
7605         (elmo-define-obsolete-variable): New function.
7606         (elmo-resque-obsolete-variable): Ditto.
7607         (elmo-resque-obsolete-variables): Ditto.
7608
7609 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7610
7611         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7612         Eliminated.
7613
7614         * elmo-pop3.el, elmo-nntp.el: Use custom.
7615
7616 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7617
7618         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7619         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7620
7621 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7622
7623         * Luna-fy Kenichi OKADA's following changes.
7624         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7625         `nohide'.
7626         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7627
7628 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7629
7630         * elmo-util.el (elmo-display-progress): Prefer
7631         `progress-feedback-with-label' to `lprogress-display'.
7632
7633 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7634
7635         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7636
7637 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7638
7639         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7640         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7641         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7642         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7643         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7644         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7645         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7646         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7647         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7648         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7649         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7650         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7651         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7652
7653 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7654
7655         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7656         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7657
7658 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7659
7660         * elmo.el (elmo-folder-process-crosspost): New generic method.
7661         (elmo-folder-writable-p): Ditto.
7662         (elmo-folder-message-appendable-p): Eliminated.
7663         (elmo-generic-folder-append-msgdb): Rewrite.
7664         (elmo-newsgroups-hashtb): New internal variable.
7665         (elmo-crosspost-message-set): Eliminated.
7666         (elmo-crosspost-message-delete): Ditto.
7667         (elmo-setup-subscribed-newsgroups): New function.
7668         (elmo-crosspost-message-alist-modified): New internal variable.
7669         (elmo-crosspost-message-alist-load): New function (Renamed from
7670         `wl-crosspost-alist-load').
7671         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7672         `wl-crosspost-alist-save').
7673
7674         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7675
7676         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7677         `unreads'.
7678         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7679         elmo-newsgroups-hashtb).
7680         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7681         `elmo-nntp-folder-update-crosspost-message-alist'.
7682         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7683         `elmo-nntp-groups-hashtb'.
7684         (elmo-nntp-make-groups-hashtb): Eliminated.
7685         (elmo-nntp-parse-newsgroups): New function (Renamed from
7686         `wl-parse-newsgroups').
7687         (elmo-folder-creatable-p, elmo-folder-writable-p,
7688         elmo-folder-close-internal, elmo-folder-mark-as-read,
7689         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7690         Define.
7691         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7692
7693         * elmo-net.el (elmo-message-fetch): Check buffer size.
7694
7695         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7696
7697         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7698
7699         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7700         before `close' command.
7701
7702         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7703         `mark-alist' (All other related portions are changed).
7704
7705 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7706
7707         * elmo-util.el (elmo-create-hash-size): Eliminated.
7708         (elmo-make-hash) Make a hash with `one less than a power of two'
7709         length.
7710
7711         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7712         (elmo-hash-maximum-size): Changed value.
7713
7714 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7715
7716         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7717         (elmo-mime-message-display-as-is): Ditto.
7718
7719 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7720
7721         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7722         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7723
7724 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7725
7726         * elmo-mark.el: New file.
7727
7728         * elmo-internal.el: Rewrite (Almost empty).
7729
7730 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7731
7732         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7733         (mime-imap-entity-header-string): Ditto.
7734         (mmimap-entity-section): Rewrite.
7735
7736 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7737
7738         * elmo-nmz.el: New file.
7739
7740         * elmo-pipe.el: Rewrite with luna.
7741
7742 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7743
7744         * elmo-archive.el: Rewrite with luna.
7745
7746         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7747         (elmo-folder-list-importants-internal): Ditto.
7748
7749 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7750
7751         * elmo-archive.el (elmo-archive-version): Abolish.
7752         (toplevel) Removed `boso' comment.
7753
7754 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7755
7756         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7757         elmo-msgdb-add-msgs-to-seen-list-subr;
7758         Changed argument seen-marks to unread-marks.
7759
7760         * elmo-nntp.el: Rewrite with luna.
7761
7762 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7763
7764         * elmo-filter.el: Rewrite with luna.
7765
7766 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7767
7768         * elmo-pop3.el: Rewrite with luna.
7769
7770 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7771
7772         * elmo-multi.el: Rewrite with luna.
7773
7774         * elmo-vars.el (elmo-use-killed-list): Abolish.
7775         All other related portions are changed.
7776         (elmo-filename-replace-string-alist): Renamed from
7777         elmo-msgid-replace-string-alist.
7778
7779 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7780
7781         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7782
7783         * elmo-map.el: New file.
7784         * elmo-maildir.el: Rewrite with luna.
7785
7786 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7787
7788         * elmo.el: Changed meaning of `elmo-folder-commit'.
7789         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7790
7791 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7792
7793         * elmo.el (elmo-folder-append-buffer): New function.
7794         (Renamed from `elmo-append-msg')
7795
7796 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7797
7798         * elmo-mime.el: New file.
7799
7800 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7801
7802         * elmo-cache.el: Rewrite.
7803
7804 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7805
7806         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7807
7808 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7809
7810         * elmo-vars.el (elmo): New group.
7811         (elmo-strict-diff-folder-regexp): New variable.
7812
7813         * elmo-util.el (elmo-call-func): Abolish.
7814         (elmo-folder-get-type): Ditto.
7815         (elmo-*-get-spec): Ditto.
7816         (elmo-*-spec-*): Ditto.
7817         (elmo-imap4-identical-name-space-p): Ditto.
7818         (elmo-folder-identical-system-p): Ditto.
7819         (elmo-folder-direct-copy-alist): Ditto.
7820         (elmo-folder-direct-copy-p): Ditto.
7821
7822         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7823         (elmo-folder-initialize): Define.
7824         (elmo-folder-get-primitive-list): Ditto.
7825
7826         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7827         (elmo-folder-initialize): Define.
7828         Renamed `elmo-network-session-host-internal' to
7829         `elmo-network-session-server-internal'.
7830
7831         * elmo-multi.el (elmo-multi-folder): New luna class.
7832         (elmo-folder-initialize): Define.
7833         (elmo-folder-get-primitive-list): Ditto.
7834         (elmo-folder-contains-type): Ditto.
7835         (elmo-message-use-cache-p): Ditto.
7836
7837         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7838         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7839
7840         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7841         (elmo-folder-initialize): Define.
7842
7843         * elmo-filter.el (elmo-filter-folder): New luna class.
7844         (elmo-folder-initialize): Define.
7845         (elmo-folder-get-primitive-list): Ditto.
7846         (elmo-folder-contains-type): Ditto.
7847
7848 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7849
7850         * elmo-imap4.el: Rewrite with luna.
7851
7852         * mmimap.el: New file.
7853
7854         * mmelmo.el, mmelmo-imap4.el: Removed.
7855
7856         * elmo-net.el: Ditto.
7857
7858         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7859         (elmo-folder-initialize): Define.
7860
7861         * elmo-archive.el (elmo-archive-folder): New luna class.
7862         (elmo-folder-initialize): Define.
7863
7864         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7865         `elmo-folder-msgdb-path'.
7866         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7867         `elmo-make-folder'.
7868
7869 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7870
7871         * elmo.el: New file.
7872
7873         * elmo2.el: Renamed to elmo.el.
7874
7875 \f
7876 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7877
7878         * elmo-cache.el (elmo-cache-expire-by-size): Count
7879         a disk usage for a cache file entry in KB even when
7880         its kind is a directory.
7881
7882 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7883
7884         * elmo-version.el (elmo-version): Up to 2.5.7.
7885
7886 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7887
7888         * elmo-version.el (elmo-version): Up to 2.5.6.
7889
7890 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7891
7892         * elmo-version.el (elmo-version): Up to 2.5.5.
7893
7894 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7895
7896         * elmo-imap4.el (elmo-network-authenticate-session):
7897         Fixed a logic for response checking.
7898
7899 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7900
7901         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7902         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7903         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7904         `sasl-mechanisms'.
7905
7906         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7907         for `starttls-open-stream' and `starttls-negotiate'.
7908
7909         * elmo-nntp.el: Remove autoload settings for
7910         `starttls-open-stream' and `starttls-negotiate'.
7911
7912         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7913         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7914         `luna-define-class' with `eval-and-compile'.
7915
7916 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7917
7918         * elmo-util.el (elmo-read-search-condition-internal):
7919         Require an element of table for searching field.
7920
7921 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7922
7923         * elmo-version.el (elmo-version): Up to 2.5.4.
7924
7925 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7926
7927         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7928
7929 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7930
7931         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7932
7933 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7934
7935         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7936         before greeting.
7937
7938 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7939
7940         * elmo-imap4.el (elmo-imap4-delete-folder):
7941         Send "close" before "delete" (Use commented out line).
7942         (elmo-imap4-rename-folder): Ditto.
7943
7944         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7945         folder string itself.
7946         (elmo-dop-list-deleted): New function.
7947         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7948         killed.
7949
7950         * elmo-util.el (elmo-string-rassoc-all): New function.
7951
7952 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7953
7954         * elmo-version.el (elmo-version): Up to 2.5.3.
7955
7956         * elmo-net.el (elmo-network-get-session): Changed logic for
7957         checking process status.
7958
7959         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7960         process is nil;
7961         Changed logic for checking process status.
7962
7963 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7964
7965         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7966         before greeting.
7967         (elmo-network-setup-session): Set UIDL hash size according to
7968         the length of list response.
7969         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7970         according to the length of list response;
7971         Return the length of list response.
7972         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7973
7974 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7975
7976         * elmo-imap4.el (toplevel): Require 'ssl.
7977         Add autoload 'starttls.
7978         * elmo-pop3.el (toplevel): Ditto.
7979         * elmo-nntp.el (toplevel): Ditto.
7980
7981 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7982
7983         * elmo-imap4.el (toplevel): defun at compile time.
7984         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7985         sasl-next-step, sasl-step-data, sasl-step-set-data.
7986         * elmo-pop3.el (toplevel): Ditto.
7987
7988 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7989
7990         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7991
7992 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7993
7994         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7995         if error.
7996         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7997         and `elmo-pop-auth-apop'.
7998
7999 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8000
8001         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8002
8003 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8004
8005         * elmo-pop3.el (elmo-network-authenticate-session): Split
8006         encoded response value.
8007
8008 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8009
8010         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8011         `elmo-pop3-force-login'.
8012         Redefine `sasl-mechanisms'.
8013         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8014
8015 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8016
8017         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8018         Delete `elmo-imap4-authenticator-alist'.
8019         (elmo-imap4-auth-cram-md5): Delete.
8020         (elmo-imap4-auth-digest-md5): Delete.
8021
8022 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8023
8024         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8025         (elmo-pop3-auth-scram-md5): Ditto.
8026         (elmo-pop3-auth-cram-md5): Ditto.
8027
8028 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8029
8030         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8031         Delete `elmo-pop3-authenticator-alist'.
8032
8033 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8034
8035         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8036         new SASL API.
8037         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8038
8039 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
8040
8041         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
8042
8043 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
8044
8045         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8046         Fixed problem when `elmo-pop3-use-uidl' is nil.
8047         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
8048
8049 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8050
8051         * elmo-version.el (elmo-version): Up to 2.5.2.
8052
8053 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
8054
8055         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
8056         New function.
8057         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
8058         (elmo-pop3-msgdb-create-as-numlist): Use it.
8059
8060         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
8061         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
8062
8063         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
8064         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
8065
8066 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8067
8068         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
8069         when elmo-mark-as-read is called with second argument nil.
8070
8071 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
8072
8073         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8074         Moved to elmo-util.el.
8075
8076         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
8077         Moved from elmo-pipe.el
8078
8079         * elmo-archive.el (elmo-archive-call-process): Enclose with
8080         static-if.
8081
8082         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
8083         "RFC822" (because RFC822.PEEK is obsolete).
8084         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
8085
8086 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
8087
8088         * elmo-archive.el (elmo-archive-call-process): Don't check for
8089         the exit status when Nemacs is running.
8090
8091 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
8092
8093         * elmo-net.el (elmo-network-session-password-key): Don't set default to
8094         'plain.
8095
8096         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8097         (elmo-pop3-get-spec): Set default of auth to 'user.
8098
8099         * elmo-imap4.el (elmo-imap4-session-check):
8100         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8101         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8102         (elmo-imap4-auth-login): New function; Revival.
8103         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8104         `elmo-imap4-auth-login'.
8105
8106 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8107
8108         * elmo2.el (toplevel): Move `product-provide' declare.
8109         * mmelmo.el (toplevel): Ditto.
8110
8111 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8112
8113         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8114
8115 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
8116
8117         * elmo-util.el (elmo-folder-get-store-type): New function.
8118         (elmo-folder-direct-copy-p): Use it.
8119
8120 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
8121
8122         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8123         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8124         and result of `elmo-imap4-use-flag-p'.
8125         (elmo-imap4-fetch-callback-1): Set mark according to
8126         the result of `elmo-imap4-use-flag-p'.
8127
8128 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
8129
8130         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8131         (elmo-generic-list-folder-unread): Ditto.
8132         (elmo-folder-get-info): Ditto.
8133         (elmo-folder-set-info-max-by-numdb): Ditto.
8134         (elmo-folder-get-info-max): Ditto.
8135         (elmo-folder-get-info-length): Ditto.
8136         (elmo-folder-get-info-unread): Ditto.
8137         (elmo-folder-info-make-hashtb): Ditto.
8138
8139         * elmo2.el: Removed above functions.
8140
8141 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
8142
8143         * elmo-imap4.el (toplevel): Require 'ssl.
8144         Add autoload 'starttls.
8145         * elmo-pop3.el (toplevel): Ditto.
8146         * elmo-nntp.el (toplevel): Ditto.
8147
8148 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8149
8150         * elmo-imap4.el (toplevel): defun at compile time.
8151         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8152         sasl-next-step, sasl-step-data, sasl-step-set-data.
8153         * elmo-pop3.el (toplevel): Ditto.
8154
8155 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8156
8157         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8158
8159 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8160
8161         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8162         if error.
8163         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8164         and `elmo-pop-auth-apop'.
8165
8166 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8167
8168         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8169
8170 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8171
8172         * elmo-pop3.el (elmo-network-authenticate-session): Split
8173         encoded response value.
8174
8175 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8176
8177         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8178         `elmo-pop3-force-login'.
8179         Redefine `sasl-mechanisms'.
8180         * elmo-vars.el (elmo-pop3-force-login): Ditto.
8181
8182 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8183
8184         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8185         Delete `elmo-imap4-authenticator-alist'.
8186         (elmo-imap4-auth-cram-md5): Delete.
8187         (elmo-imap4-auth-digest-md5): Delete.
8188
8189 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
8190
8191         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8192         (elmo-pop3-auth-scram-md5): Ditto.
8193         (elmo-pop3-auth-cram-md5): Ditto.
8194
8195 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8196
8197         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8198         Delete `elmo-pop3-authenticator-alist'.
8199
8200 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
8201
8202         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8203         new SASL API.
8204         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8205
8206 \f
8207 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
8208
8209         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8210
8211 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
8212
8213         * elmo-nntp.el (elmo-nntp-get-folders-info):
8214         Fixed problem when '\' character is contained in user-id.
8215         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8216
8217 \f
8218 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
8219
8220         * elmo-imap4.el (elmo-imap4-delete-folder):
8221         Send "close" before "delete" (Use commented out line).
8222         (elmo-imap4-rename-folder): Ditto.
8223
8224         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8225         folder string itself.
8226         (elmo-dop-list-deleted): New function.
8227         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8228         killed.
8229
8230         * elmo-util.el (elmo-string-rassoc-all): New function.
8231
8232         * elmo-version.el (elmo-version): Up to 2.5.1.
8233
8234 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
8235
8236         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8237
8238         * elmo-internal.el (elmo-internal-search): Fix last change.
8239
8240 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
8241
8242         * elmo-internal.el (elmo-internal-search): Rewrite.
8243         (Fixed problem which is pointed out by Akihiro MOTOKI
8244         <motoki@da.jp.nec.com>)
8245
8246         * elmo-version.el (elmo-version): Up to 2.5.0.
8247
8248 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8249
8250         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8251
8252 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
8253
8254         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8255         non-nil, make hierarchy.
8256
8257 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
8258
8259         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8260         `elmo-pop3-use-uidl' must be bound to nil.
8261         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8262
8263 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
8264
8265         * elmo-util.el (elmo-copy-file): Don't cause an error after
8266         `add-name-to-file' failed.
8267
8268         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8269         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8270
8271 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8272
8273         * elmo-version.el (elmo-version): Up to 2.3.93.
8274
8275 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
8276
8277         * elmo-util.el (elmo-flatten): New function.
8278
8279 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8280
8281         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8282         sync Author header.
8283         * elmo-cache.el (toplevel): Ditto.
8284         * elmo-database.el (toplevel): Ditto.
8285         * elmo-date.el (toplevel): Ditto.
8286         * elmo-dop.el (toplevel): Ditto.
8287         * elmo-filter.el (toplevel): Ditto.
8288         * elmo-imap4.el (toplevel): Ditto.
8289         * elmo-internal.el (toplevel): Ditto.
8290         * elmo-localdir.el (toplevel): Ditto.
8291         * elmo-localnews.el (toplevel): Ditto.
8292         * elmo-maildir.el (toplevel): Ditto.
8293         * elmo-msgdb.el (toplevel): Ditto.
8294         * elmo-multi.el (toplevel): Ditto.
8295         * elmo-net.el (toplevel): Ditto.
8296         * elmo-nntp.el (toplevel): Ditto.
8297         * elmo-pipe.el (toplevel): Ditto.
8298         * elmo-pop3.el (toplevel): Ditto.
8299         * elmo-util.el (toplevel): Ditto.
8300         * elmo-vars.el (toplevel): Ditto.
8301         * elmo2.el (toplevel): Ditto.
8302         * mmelmo-imap4.el (toplevel): Ditto.
8303         * mmelmo.el (toplevel): Ditto.
8304
8305         * elmo-version.el (elmo-version): Move to top.
8306
8307         * elmo-cache.el (toplevel): Fixed multiple Author header format.
8308         * elmo-imap4.el (toplevel): Ditto.
8309         * elmo-localdir.el (toplevel): Ditto.
8310         * elmo-msgdb.el (toplevel): Ditto.
8311         * elmo-nntp.el (toplevel): Ditto.
8312         * elmo-pop3.el (toplevel): Ditto.
8313         * elmo-version.el (toplevel): Ditto.
8314
8315         * elmo-localnews.el (toplevel): Added Keyword header.
8316
8317 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
8318
8319         * elmo-version.el (product-version-as-string): Defined using
8320         `defun-maybe'.
8321         (toplevel): Use it.
8322
8323         * elmo-localdir.el (toplevel): Updated copyright notice.
8324         * elmo-version.el (toplevel): Ditto.
8325         * elmo-msgdb.el (toplevel): Ditto.
8326         * elmo-imap4.el (toplevel): Ditto.
8327         * elmo-nntp.el (toplevel): Ditto.
8328         * elmo-pop3.el (toplevel): Ditto.
8329
8330 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
8331
8332         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8333         messages.
8334
8335         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8336         parameter value (It sometimes contains raw kanji).
8337
8338 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8339
8340         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8341         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8342
8343 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8344
8345         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8346
8347 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8348
8349         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8350         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8351
8352 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8353
8354         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8355         value if selecting folder succceeded.
8356         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8357
8358 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8359
8360         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8361         representation.
8362
8363         * elmo-util.el (elmo-string-matched-member): New function.
8364
8365 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8366
8367         * elmo-util.el (elmo-unintern): New macro.
8368         (elmo-number-set-member): Fixed docstring.
8369
8370         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8371         tag token.
8372
8373 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8374
8375         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8376         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8377
8378 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8379
8380         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8381         `no-error'.
8382         Added docstring.
8383         Return non-nil if selecting folder succeeded.
8384         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8385
8386 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8387
8388         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8389         `file-name-completion' returns t.
8390         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8391         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8392         directory if it does not exist.
8393         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8394         for iteration.
8395
8396 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8397
8398         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8399         enclosure (It's harmful in unplugged status).
8400
8401         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8402
8403         * mmelmo-1.el: Removed.
8404
8405         * mmelmo-2.el: Ditto.
8406
8407         * mmelmo-imap4-1.el: Ditto.
8408
8409         * mmelmo-imap4-2.el: Ditto.
8410
8411         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8412
8413         * mmelmo.el: Merged mmelmo-2.el.
8414
8415         * elmo-version.el (elmo-version): Up to 2.3.92.
8416
8417 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8418
8419         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8420         elmo-update-number): Remove last period in "...done." message.
8421         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8422         Ditto.
8423         * elmo-cache.el (elmo-cache-expire-by-size,
8424         elmo-cache-get-sorted-cache-file-list,
8425         elmo-cache-msgdb-create-as-numlist): Ditto.
8426         * elmo-dop.el (elmo-dop-save-pending-messages,
8427         (elmo-dop-flush-pending-append-operations): Ditto.
8428         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8429         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8430         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8431         (elmo-localdir-pack-number): Ditto.
8432         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8433         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8434         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8435         mime-write-entity-content): Ditto.
8436         * pldap.el (ldap-search-basic): Ditto.
8437
8438 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8439
8440         * elmo-version.el (elmo-version): Up to 2.3.91.
8441
8442         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8443         Only when filter is 'last'.
8444
8445         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8446         (elmo-condition-parse-search-value): Use it.
8447         (elmo-read-search-condition-internal): Quote value only when
8448         it is not an atom.
8449
8450 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8451
8452         * elmo2.el (elmo-generic-folder-diff): Fix.
8453
8454 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8455
8456         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8457         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8458         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8459         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8460         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8461         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8462
8463 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8464
8465         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8466         extra-fields.
8467
8468 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8469
8470         * elmo-version.el (elmo-version): Up to 2.3.90.
8471
8472         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8473         (elmo-imap4-list-folder-important): Ditto.
8474
8475 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8476
8477         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8478
8479 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8480
8481         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8482
8483 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8484
8485         * elmo-nntp.el (elmo-network-initialize-session):
8486         Add starttls negotiation.
8487
8488 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8489
8490         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8491         response.
8492         (elmo-network-setup-session): Define.
8493         Call `elmo-nntp-send-mode-reader' when session opened.
8494
8495 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8496
8497         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8498
8499 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8500
8501         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8502         an invalid SPACE character ahead of `SEARCH' command.  Move
8503         a valid SPACE character following `SEARCH' from conditional
8504         `format' arguments to control-strings.
8505
8506 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8507
8508         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8509         was succeeded.
8510
8511         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8512
8513 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8514
8515         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8516         `w32-get-true-file-link-count' as t.
8517
8518         * elmo-imap4.el (elmo-imap4-read): Abolished.
8519         (Renamed to `elmo-read' and moved to elmo-util.el)
8520         All other related portions are changed.
8521
8522         * elmo-util.el (elmo-read): New function.
8523         (elmo-condition-parse-search-value): Use it.
8524
8525 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8526
8527         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8528
8529         * elmo-nntp.el (elmo-nntp-session): Define.
8530         (elmo-nntp-setting): Abolished.
8531         All other related portions are changed.
8532         (elmo-nntp-get-server-command): Changed argument.
8533         (elmo-nntp-set-server-command): Ditto.
8534         (elmo-nntp-xover-p): Ditto.
8535         (elmo-nntp-set-xover): Ditto.
8536         (elmo-nntp-listgroup-p): Ditto.
8537         (elmo-nntp-set-listgroup): Ditto.
8538         (elmo-nntp-list-active-p): Ditto.
8539         (elmo-nntp-set-list-active): Ditto.
8540         (elmo-nntp-xhdr-p): Ditto.
8541         (elmo-nntp-set-xhdr): Ditto.
8542         (elmo-nntp-flush-connection): Abolished.
8543         (elmo-nntp-get-connection): Abolished.
8544         (elmo-nntp-get-session): New function.
8545         (elmo-network-initialize-session): Defined.
8546         (elmo-network-authenticate-session): Ditto.
8547         (elmo-nntp-send-mode-reader): Changed argument.
8548         (elmo-nntp-send-command): Changed argument.
8549         All other related portions are changed.
8550         (elmo-nntp-read-response): Ditto.
8551         (elmo-nntp-read-raw-response): Ditto.
8552         (elmo-nntp-read-contents): Ditto.
8553         (elmo-nntp-read-body): Ditto.
8554         (elmo-nntp-goto-folder): Abolished.
8555         (elmo-nntp-select-group): New function.
8556         All other related portions are changed.
8557         (This function substitutes `elmo-nntp-goto-folder')
8558         (elmo-nntp-msgdb-create-by-header): Rewrite.
8559         (elmo-nntp-get-overview): Eliminated.
8560         (elmo-nntp-get-message): Ditto.
8561         (elmo-nntp-open-connection) Abolished.
8562         (elmo-nntp-read-msg): Rewrite.
8563         (elmo-nntp-post): Ditto.
8564         (elmo-nntp-send-data): Abolished.
8565         (elmo-nntp-send-buffer): New function.
8566         (elmo-nntp-send-data-line): Define as inline function.
8567         (elmo-nntp-get-folders-info-prepare): Use session as key.
8568         (elmo-nntp-groups-read-response): Changed argument.
8569         (elmo-nntp-retrieve-headers): Ditto.
8570         (elmo-nntp-msgdb-create-message): Ditto.
8571
8572         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8573         when searching by 'since' or 'before'.
8574
8575 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8576
8577         * elmo-version.el (toplevel): Use product-version-as-string for set
8578         verstion-string, if defined.
8579
8580 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8581
8582         * elmo-util.el: Doc fixes.
8583
8584 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8585
8586         * elmo-archive.el (toplevel): Use product-provide.
8587         * elmo-cache.el (toplevel): Ditto.
8588         * elmo-database.el (toplevel): Ditto.
8589         * elmo-date.el (toplevel): Ditto.
8590         * elmo-dop.el (toplevel): Ditto.
8591         * elmo-filter.el (toplevel): Ditto.
8592         * elmo-imap4.el (toplevel): Ditto.
8593         * elmo-internal.el (toplevel): Ditto.
8594         * elmo-localdir.el (toplevel): Ditto.
8595         * elmo-localnews.el (toplevel): Ditto.
8596         * elmo-maildir.el (toplevel): Ditto.
8597         * elmo-msgdb.el (toplevel): Ditto.
8598         * elmo-multi.el (toplevel): Ditto.
8599         * elmo-net.el (toplevel): Ditto.
8600         * elmo-nntp.el (toplevel): Ditto.
8601         * elmo-pipe.el (toplevel): Ditto.
8602         * elmo-pop3.el (toplevel): Ditto.
8603         * elmo-util.el (toplevel): Ditto.
8604         * elmo-vars.el (toplevel): Ditto.
8605         * elmo2.el (toplevel): Ditto.
8606         * mmelmo-1.el (toplevel): Ditto.
8607         * mmelmo-2.el (toplevel): Ditto.
8608         * mmelmo-imap4-1.el (toplevel): Ditto.
8609         * mmelmo-imap4-2.el (toplevel): Ditto.
8610         * mmelmo-imap4.el (toplevel): Ditto.
8611         * mmelmo.el (toplevel): Ditto.
8612
8613 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8614
8615         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8616         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8617
8618 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8619
8620         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8621         before splitting.
8622         (elmo-multi-split-number-alist): Ditto.
8623
8624 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8625
8626         * elmo-version.el: New file.  Use product.el.
8627         * elmo2.el: Add (require 'elmo-version).
8628         * elmo-vars.el (elmo-appname, elmo-version): Move to
8629         elmo-version.el
8630
8631 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8632
8633         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8634         `elmo-msgdb-expand-path'.
8635         (elmo-msgdb-load): Ditto.
8636         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8637         (elmo-generic-list-folder-unread): Rewrite.
8638         (elmo-generic-list-folder-important): Changed argument.
8639         (elmo-list-folder-unread): Ditto.
8640         (elmo-list-folder-important): Ditto.
8641         (elmo-folder-diff): Rewrite.
8642         (elmo-generic-folder-diff): New function.
8643         (elmo-multi-get-number-alist-list): Abolished
8644         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8645         (elmo-multi-folder-diff): Moved to elmo-multi.el
8646         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8647
8648         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8649         `elmo-msgdb-expand-path'.
8650         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8651         (elmo-pop3-read-msg): Ditto.
8652         (elmo-pop3-delete-msgs): Ditto.
8653         (elmo-pop3-folder-diff): New alias.
8654
8655         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8656         `elmo-msgdb-expand-path'.
8657         (elmo-pipe-list-folder-unread): Changed arguments.
8658         (elmo-pipe-list-folder-important): Ditto.
8659         (elmo-pipe-folder-diff): New alias.
8660
8661         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8662         `elmo-msgdb-expand-path'.
8663         (elmo-nntp-max-of-folder): Ditto.
8664         (elmo-nntp-msgdb-create): Ditto.
8665         (elmo-nntp-delete-msgs): Ditto.
8666         (elmo-nntp-folder-diff): New alias.
8667
8668         * elmo-multi.el (elmo-multi-folder-diff): New function.
8669         (elmo-multi-split-mark-alist): Ditto.
8670         (elmo-multi-split-number-alist): Ditto.
8671         (elmo-multi-mark-alist-list): Abolished (Renamed to
8672         elmo-multi-split-mark-alist).
8673         (elmo-multi-list-folder-unread): Rewrite.
8674         (elmo-multi-list-folder-important): Ditto.
8675         (elmo-multi-list-folder): Set `spec' as 1st argument for
8676         `elmo-msgdb-expand-path'.
8677         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8678         instead of `elmo-multi-get-number-alist-list'.
8679
8680         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8681         If 1st argument is not string, treat as spec.
8682         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8683         `elmo-msgdb-expand-path'.
8684         (elmo-msgdb-flist-load): Ditto.
8685         (elmo-msgdb-flist-save): Ditto.
8686         (elmo-msgdb-delete-path): Ditto.
8687         (elmo-msgdb-rename-path): Ditto.
8688
8689         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8690         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8691         (elmo-maildir-delete-mark-msgs): Ditto.
8692         (elmo-maildir-msgdb-create): Ditto.
8693         (elmo-maildir-read-msg): Ditto.
8694         (elmo-maildir-delete-msgs): Ditto.
8695         (elmo-maildir-list-folder-subr): Ditto.
8696         (elmo-maildir-search): Ditto.
8697         (elmo-maildir-get-msg-filename): Ditto.
8698         (elmo-maildir-pack-number): Ditto.
8699         (elmo-maildir-folder-diff): New alias.
8700
8701         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8702
8703         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8704         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8705         (elmo-localdir-folder-diff): New alias.
8706
8707         * elmo-internal.el (elmo-internal-list-folder-subr):
8708         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8709         (elmo-internal-list-folder-by-location): Ditto.
8710         (elmo-internal-msgdb-create): Ditto.
8711         (elmo-internal-delete-msgs): Ditto.
8712         (elmo-internal-read-msg): Ditto.
8713         (elmo-internal-folder-diff): New alias.
8714
8715         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8716         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8717         `elmo-msgdb-expand-path'.
8718         (elmo-imap4-list-folder-unread): Changed arguments.
8719         (elmo-imap4-list-folder-important): Ditto.
8720
8721         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8722         (elmo-filter-list-folder-important): Ditto.
8723         (elmo-filter-folder-diff): New function.
8724
8725         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8726
8727         * elmo-cache.el (elmo-cache-list-folder):
8728         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8729         (elmo-cache-copy-msgs): Ditto.
8730         (elmo-cache-folder-diff): New alias.
8731
8732         * elmo-archive.el (elmo-archive-list-folder-subr):
8733         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8734         (elmo-archive-get-archive-name): Ditto.
8735         (elmo-archive-create-file): Ditto.
8736         (elmo-archive-append-msg): Ditto.
8737         (elmo-archive-copy-msgs): Ditto.
8738         (elmo-archive-copy-msgs-froms): Ditto.
8739         (elmo-archive-get-msg-filename): Ditto.
8740         (elmo-archive-folder-diff): New alias.
8741
8742 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8743
8744         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8745         (elmo-pop3-stream-type-alist): New variable.
8746         (elmo-nntp-stream-type-alist): New variable.
8747
8748         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8749         (elmo-kill-buffer): Ditto.
8750         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8751         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8752         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8753         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8754         (elmo-imap4-get-spec): Take into account
8755         `elmo-imap4-stream-type-alist'.
8756
8757 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8758
8759         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8760         (elmo-nntp-list-folders-get-cache): Ditto.
8761
8762 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8763
8764         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8765         character before 'uid'.
8766
8767 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8768
8769         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8770
8771         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8772
8773         * elmo-util.el (elmo-number-set-member): New function.
8774         (elmo-number-set-append-list): Ditto.
8775         (elmo-number-set-append): Ditto.
8776
8777         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8778         Use `elmo-number-set-member'.
8779         (elmo-living-messages): Ditto.
8780         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8781         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8782
8783         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8784         (elmo-imap4-add-to-cont-list): Abolished.
8785         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8786         instead of elmo-imap4-add-to-cont-list.
8787
8788         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8789         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8790
8791         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8792
8793 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8794
8795         * elmo-util.el (elmo-condition-parse-search-value):
8796         Fixed date parsing.
8797
8798 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8799
8800         * elmo-util.el (elmo-condition-find-key-internal): New function.
8801         (elmo-condition-find-key): Ditto.
8802
8803         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8804         (elmo-msgdb-search-internal): Ditto.
8805         (elmo-msgdb-search): Ditto.
8806
8807 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8808
8809         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8810         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8811
8812         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8813         (elmo-nntp-search-primitive): Fixed problem when condition is
8814         'unmatch'.
8815
8816         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8817
8818         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8819         (elmo-nntp-xhdr-p): New macro.
8820         (elmo-nntp-set-xhdr): Ditto.
8821         (elmo-nntp-parse-xhdr-response): New function.
8822         (elmo-nntp-retrieve-field): Ditto.
8823         (elmo-nntp-search-primitive): Ditto.
8824         (elmo-nntp-search): Implemented.
8825
8826         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8827
8828         * elmo-archive.el (elmo-archive-search): Set all number list to
8829         `elmo-archive-field-condition-match'
8830
8831         * elmo-localdir.el (elmo-localdir-search): Likewise.
8832
8833         * elmo-maildir.el (elmo-maildir-search): Likewise.
8834
8835 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8836
8837         * elmo-msgdb.el (elmo-living-messages): New function.
8838         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8839         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8840         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8841         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8842         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8843         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8844         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8845         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8846         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8847         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8848         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8849
8850 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8851
8852         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8853
8854         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8855
8856         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8857
8858         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8859         arguments for `SEARCH' command.
8860         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8861         All other related portions are changed.
8862
8863         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8864
8865         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8866         (elmo-list-folder-unread): Rewrite.
8867         (elmo-list-folder-important): Ditto.
8868
8869         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8870         (elmo-condition-parse-error): New inline function.
8871         (elmo-read-search-condition): New function.
8872         (elmo-read-search-condition-internal): Ditto.
8873         (elmo-parse-search-condition): Rewrite.
8874         (elmo-condition-parse): New function.
8875         (elmo-condition-parse-or-expr): Ditto.
8876         (elmo-condition-parse-and-expr): Ditto.
8877         (elmo-condition-parse-primitive): Ditto.
8878         (elmo-condition-parse-search-value): Ditto.
8879         (elmo-buffer-field-primitive-condition-match): Ditto.
8880         (elmo-buffer-field-condition-match): Rewrite.
8881         (elmo-file-field-condition-match): Ditto.
8882
8883         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8884         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8885
8886         * elmo-internal.el (elmo-internal-search): Set `number' and
8887         `number-list' argument of `elmo-file-field-condition-match'.
8888
8889         * elmo-maildir.el (elmo-maildir-search): Ditto.
8890
8891         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8892         `msgdb' as argument instead of `mark-alist'.
8893         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8894         `overview'.
8895
8896         * elmo-multi.el: Likewise.
8897
8898         * elmo-pipe.el: Likewise.
8899
8900         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8901         (elmo-imap4-search-internal): Rewrite.
8902         (elmo-imap4-search): Ditto.
8903
8904         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8905         (elmo-filter-list-folder-unread): Ditto.
8906         (elmo-filter-list-folder-important): Ditto.
8907         (elmo-filter-search): Rewrite.
8908
8909         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8910         `number-list' argument of `elmo-file-field-condition-match'.
8911         (elmo-cache-search): Ditto.
8912
8913         * elmo-localdir.el: Likewise.
8914
8915         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8916         number-list and pass it to `elmo-buffer-field-condition-match'.
8917         (elmo-archive-field-condition-match): Pass `number-list' to
8918         `elmo-archive-field-condition-match'
8919
8920 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8921
8922         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8923         `listgroup'.
8924
8925         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8926         (elmo-folder-diff-async-callback-data): Ditto.
8927         (elmo-folder-diff-async): New function.
8928
8929         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8930         (elmo-network-session-cache-key): Use it as a prefix of the session
8931         name.
8932         (elmo-network-open-session): Ditto.
8933
8934         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8935         (elmo-imap4-status-callback-data): Ditto.
8936         (elmo-imap4-server-diff-async-callback): New variable.
8937         (elmo-imap4-server-diff-async-callback-data): Ditto.
8938         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8939         `elmo-imap4-status-callback-data'.
8940         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8941         `elmo-imap4-status-callback-data' as nil.
8942         (elmo-imap4-server-diff): Ditto.
8943         (elmo-imap4-server-diff-async-callback-1): New function.
8944         (elmo-imap4-server-diff-async): Ditto.
8945         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8946
8947 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8948
8949         * elmo-util.el (elmo-list-delete): Doc fix.
8950         (elmo-delete-lists): Abolish.
8951         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8952         instead of `elmo-delete-lists'.
8953
8954 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8955
8956         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8957         before `sort'.
8958
8959 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8960
8961         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8962         `elmo-imap4-literal-subr'.
8963         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8964         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8965
8966 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8967
8968         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8969         (elmo-archive-list-folder): Fix.
8970         (elmo-archive-max-of-folder): Fix.
8971
8972 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8973
8974         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8975          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8976         (elmo-localdir-append-msg): Ditto.
8977         (elmo-localdir-list-folder): Fix for `nonsort'.
8978         (elmo-localdir-list-folder-subr): Fix for `killed'.
8979         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8980         (elmo-maildir-list-folder-subr): Ditto.
8981         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8982         (elmo-archive-list-folder-subr): Ditto.
8983         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8984         (elmo-internal-list-folder-subr): Ditto.
8985
8986 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8987
8988         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8989
8990 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8991
8992         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8993
8994 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8995
8996         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8997         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8998
8999         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
9000         before greeting.
9001         (elmo-imap4-read-part): Use "body.peek" to fetch part.
9002         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
9003
9004 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
9005
9006         * mmelmo-imap4-2.el (mime-entity-children): Defined.
9007
9008         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
9009         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
9010         before STORE command.
9011
9012 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
9013
9014         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
9015
9016         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
9017         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
9018         of `response'.
9019         (elmo-imap4-list-folders): Removed unused local variable.
9020         (elmo-network-initialize-session): Ditto.
9021         (elmo-imap4-delete-msg-by-id): Ditto.
9022         (elmo-imap4-parse-fetch): Ditto.
9023         (elmo-imap4-copy-msgs): Ditto.
9024         Use `dst-spec' instead of `dst-folder'.
9025         (elmo-network-authenticate-session): Check authenticate type `plain'.
9026
9027 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
9028
9029         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
9030         garbage checking.
9031         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
9032         `elmo-imap4-response-value'.
9033         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
9034
9035 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
9036
9037         * elmo-imap4.el (elmo-imap4-send-command):
9038         Cause elmo-imap4-bye-error when current response is BYE.
9039         (elmo-imap4-arrival-filter): Changed greeting response value.
9040
9041         * elmo2.el (elmo-imap4-bye-error): Define.
9042
9043         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
9044         (elmo-imap4-server-diff): Ditto.
9045         (elmo-imap4-response-bye-p): New macro.
9046         (elmo-imap4-response-error-text): Get text from BYE response.
9047         (elmo-imap4-read-response): Return if BYE response.
9048         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
9049         (elmo-imap4-folder-exists-p): Ditto.
9050         (elmo-imap4-commit): Do nothing when different mailbox is selected.
9051         (elmo-imap4-parse-bye): New function.
9052         (elmo-imap4-parse-response): Remove needless let.
9053         Call `elmo-imap4-parse-bye'.
9054
9055 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
9056
9057         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
9058         the mailbox does not exist.
9059         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
9060
9061 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
9062
9063         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
9064
9065 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
9066
9067         * elmo-vars.el (elmo-search-mime-charset): Abolished.
9068
9069         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
9070         (elmo-network-initialize-session-buffer): Defined.
9071
9072         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
9073         Abolished.
9074         (mmelmo-imap4-get-mime-entity): Rewrite.
9075
9076         * elmo2.el (elmo-error): Capitalize error message.
9077
9078         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
9079         (elmo-network-session-buffer): New macro.
9080         (elmo-network-open-session): Use it.
9081
9082         * elmo-imap4.el: Rewrite.
9083
9084 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
9085
9086         * elmo-nntp.el (Toplevel): Require 'elmo-net.
9087
9088 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
9089
9090         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9091         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9092         (elmo-imap4-create-msgdb-from-overview-string): Use
9093         `elmo-msgdb-create-overview-from-buffer'.
9094
9095 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
9096
9097         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9098         (elmo-imap4-default-hierarchy-delimiter): New variable.
9099         (elmo-imap4-list-folders): Use it.
9100
9101 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
9102
9103         * elmo-net.el (elmo-network-open-session): Add user and
9104         stream-type for process-buffer name.
9105
9106         * elmo-pop3.el (elmo-network-initialize-session): Call
9107         buffer-disable-undo.
9108
9109         * elmo-imap4.el (elmo-network-initialize-session):
9110         Set current-buffer as an argument for `buffer-disable-undo'.
9111
9112         * elmo-pop3.el (elmo-network-close-session): Don't use
9113         `process-live-p'.
9114
9115         * elmo-vars.el (elmo-default-pop3-authenticate-type):
9116         Set default as 'user.
9117
9118         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9119
9120         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9121         and `elmo-imap4-flush-connection'.
9122
9123         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9124         (elmo-pop3-get-spec): Assume auth as symbol.
9125         (elmo-open-network-stream): Moved to `elmo-net'.
9126
9127         * elmo-pop3.el (toplevel): Require 'elmo-net.
9128         Define `sasl-cram-md5' to silence byte compilier.
9129         (elmo-pop3-connection-cache) Abolished.
9130         (elmo-pop3-authenticator-alist) New variable.
9131         (elmo-pop3-session): Define.
9132         (elmo-pop3-connection-get-process): Abolished.
9133         (elmo-pop3-connection-get-buffer): Ditto.
9134         (elmo-pop3-close-connection): Ditto.
9135         (elmo-pop3-flush-connection): Ditto.
9136         (elmo-pop3-get-connection): Ditto.
9137         (elmo-pop3-get-session): New function.
9138         (Replacement for `elmo-pop3-get-connection').
9139         All other related modules are changed.
9140         (elmo-network-close-session): Define.
9141         (elmo-pop3-send-command): Abolished argument `buffer'.
9142         All other related modules are changed.
9143         (elmo-pop3-read-response): Likewise.
9144         (elmo-pop3-open-connection): Abolished.
9145         (elmo-pop3-auth-user): New function.
9146         (elmo-pop3-auth-apop): Ditto.
9147         (elmo-pop3-auth-cram-md5): Ditto.
9148         (elmo-pop3-auth-scram-md5): Ditto.
9149         (elmo-pop3-auth-digest-md5): Ditto.
9150         (elmo-network-initialize-session): Define.
9151         (elmo-network-authenticate-session): Ditto.
9152         (elmo-network-setup-session): Ditto.
9153
9154         * elmo-imap4.el (toplevel): Require 'elmo-net.
9155         (elmo-imap4-session): Define.
9156         (elmo-imap4-connection-cache): Abolished.
9157         (elmo-imap4-password-key): Ditto.
9158         (elmo-imap4-flush-connection): Ditto.
9159         (elmo-imap4-get-connection): Ditto.
9160         All other related modules are changed.
9161         (elmo-imap4-get-session): New function
9162         (Replacement for `elmo-imap4-get-connection').
9163         (elmo-imap4-read-response): Abolished argument `buffer'.
9164         All other related modules are changed.
9165         (elmo-imap4-send-command): Likewise.
9166         (elmo-imap4-select-folder): Abolished.
9167         All other related modules are changed.
9168         (elmo-imap4-select-mailbox): New function.
9169         (Replacement for `elmo-imap4-select-folder').
9170         (elmo-imap4-auth-login): Simplify.
9171         (Assume current buffer as process buffer)
9172         (elmo-imap4-auth-cram-md5): Ditto.
9173         (elmo-imap4-auth-digest-md5): Ditto.
9174         (elmo-imap4-login): Ditto.
9175         (elmo-imap4-open-connection): Abolished.
9176         (elmo-imap4-open-connection-1): Abolished.
9177         (elmo-network-initialize-sessoin): Define.
9178         (elmo-network-authenticate-session): Ditto.
9179         (elmo-network-setup-session): Ditto.
9180
9181         * elmo-net.el: New module.
9182
9183 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
9184
9185         * elmo-util.el (elmo-define-error): New function.
9186
9187         * elmo2.el (elmo-error): Define.
9188         (elmo-open-error): Define.
9189         (elmo-authenticate-error): Define.
9190
9191         * elmo-imap4.el (elmo-imap4-error): Abolish.
9192         (elmo-imap4-error-type): Abolish.
9193         (elmo-imap4-error-process): Abolish.
9194         (elmo-imap4-error-message): Abolish
9195         (elmo-imap4-list-folders): Don't quote lambda.
9196         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9197         (elmo-imap4-parse-namespace): Ditto.
9198         (elmo-imap4-open-connection): Rewrite.
9199         (elmo-imap4-open-connection-1): Simplified (authenticate only).
9200         (elmo-imap4-get-connection): Abolish local variable `result'.
9201
9202 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
9203
9204         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9205         wrong-type-argument error when auth is nil.
9206
9207 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
9208
9209         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9210         (elmo-default-nntp-stream-type): Ditto.
9211         (elmo-default-pop3-stream-type): Ditto.
9212         (elmo-network-stream-type-alist): Ditto.
9213         (elmo-default-imap4-ssl): Abolished.
9214         (elmo-default-nntp-ssl): Ditto.
9215         (elmo-default-pop3-ssl): Ditto.
9216
9217         * elmo-util.el: (toplevel): Removed needless requires.
9218         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9219         (elmo-open-network-stream): Open network stream according to
9220         the value of `elmo-network-stream-type-alist'.
9221         (elmo-get-network-stream-type): New function.
9222         (elmo-network-stream-type-spec-string): New macro.
9223         (elmo-network-stream-type-symbol): Ditto.
9224         (elmo-network-stream-type-function): Ditto.
9225
9226         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9227         network-stream-type. All other related portions are changed.
9228         (elmo-pop3-open-connection): Ditto.
9229
9230         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9231         network-stream-type. All other related portions are changed.
9232
9233         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9234         network-stream-type.All other related portions are changed.
9235         (elmo-imap4-error): New macro.
9236         (elmo-imap4-error-type): Ditto.
9237         (elmo-imap4-error-process): Ditto.
9238         (elmo-imap4-error-message): Ditto.
9239         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9240         (elmo-imap4-auth-cram-md5): Ditto.
9241         (elmo-imap4-auth-digest-md5): Ditto.
9242         (elmo-imap4-login): Ditto.
9243         (elmo-imap4-open-connection): Remove password entry if authentication
9244         was in vain.
9245         (elmo-imap4-user-at-host): Abolished.
9246         (elmo-imap4-password-key): New buffer local variable.
9247         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9248         using protocol, port, auth and stream-type.
9249
9250         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9251
9252 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
9253
9254         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9255
9256         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9257
9258         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9259         (elmo-imap4-authenticator-alist): New variable.
9260         (elmo-imap4-open-connection-1): Rename from
9261         elmo-imap4-open-connection.
9262         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9263         only wraps elmo-imap4-open-connection-1.
9264         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9265         user-at-host.
9266         (elmo-imap4-auth-login): New function.
9267         (elmo-imap4-auth-cram-md5): New function.
9268         (elmo-imap4-auth-digest-md5): New function.
9269         (elmo-imap4-login): New function.
9270
9271 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9272
9273         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9274         function `error'.
9275
9276 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
9277
9278         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9279
9280 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
9281
9282         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9283
9284 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
9285
9286         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9287         for server responses, quote `*' regardless of where it appears.
9288
9289 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9290
9291         * elmo-maildir.el (elmo-maildir-commit): New alias.
9292
9293 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
9294
9295         * elmo-util.el (elmo-display-progress):
9296                 Use `progress-feedback-with-label'.
9297
9298 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
9299
9300         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9301         (elmo-imap4-non-atom-char-regex): Ditto.
9302         (elmo-imap4-non-text-char-regex): Ditto.
9303         (elmo-imap4-literal-threshold): Ditto.
9304         (elmo-imap4-atom-p): New function.
9305         (elmo-imap4-quotable-p): Ditto.
9306         (elmo-imap4-nil): Ditto.
9307         (elmo-imap4-atom): Ditto.
9308         (elmo-imap4-quoted): Ditto.
9309         (elmo-imap4-literal-subr): Ditto.
9310         (elmo-imap4-literal): Ditto.
9311         (elmo-imap4-buffer-literal): Ditto.
9312         (elmo-imap4-string-subr): Ditto.
9313         (elmo-imap4-string): Ditto.
9314         (elmo-imap4-buffer-string): Ditto.
9315         (elmo-imap4-astring-subr): Ditto.
9316         (elmo-imap4-astring): Ditto.
9317         (elmo-imap4-buffer-astring): Ditto.
9318         (elmo-imap4-nstring): Ditto.
9319         (elmo-imap4-buffer-nstring): Ditto.
9320         (elmo-imap4-mailbox): New alias.
9321         (elmo-imap4-field-body): Ditto.
9322         (elmo-imap4-userid): Ditto.
9323         (elmo-imap4-password): Ditto.
9324         (elmo-imap4-format-quoted): New function.
9325         (elmo-imap4-send-command): Rewritten.  Accept a list of command
9326         arguments and handle "atom", "quoted" and "literal" string here.
9327         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9328         `elmo-imap4-send-command'.
9329         (elmo-imap4-folder-exists-p): Likewise.
9330         (elmo-imap4-create-folder): Likewise.
9331         (elmo-imap4-delete-folder): Likewise.
9332         (elmo-imap4-rename-folder): Likewise.
9333         (elmo-imap4-max-of-folder): Likewise.
9334         (elmo-imap4-check-validity): Likewise.
9335         (elmo-imap4-sync-validity): Likewise.
9336         (elmo-imap4-server-diff): Likewise.
9337         (elmo-imap4-select-folder): Likewise.
9338         (elmo-imap4-copy-msgs): Likewise.
9339         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9340         (elmo-imap4-mark-set-on-msgs): Likewise.
9341         (elmo-imap4-read-part): Likewise.
9342         (elmo-imap4-read-msg): Likewise.
9343         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9344         `elmo-imap4-password' for `elmo-imap4-send-command'.
9345         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9346         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9347         `elmo-imap4-buffer-literal'.
9348         (elmo-imap4-append-msg): Likewise.
9349
9350         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9351         `delete' for removing dead connection from the connection cache.
9352         Move deletion of the process buffer after that.
9353         (elmo-imap4-list): Change `defsubst' to `defun'.
9354         (elmo-imap4-commit): Make error message verbose.
9355         (elmo-imap4-search): Ditto.
9356         (elmo-imap4-list): Ditto.
9357         (elmo-imap4-select-folder): Ditto.
9358         (elmo-imap4-copy-msgs): Ditto.
9359         (elmo-imap4-delete-msg-by-id): Ditto.
9360         (elmo-imap4-append-msg-by-id): Ditto.
9361         (elmo-imap4-append-msg): Ditto.
9362
9363 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9364
9365         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9366         when dired is used on XEmacs.
9367
9368 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9369
9370         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9371         instead of `append'.
9372         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9373         `elmo-plugged-p' directly.
9374         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9375         of `elmo-plugged-p' directly.
9376
9377         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9378         Eliminate unused variable.  Use `memq' for checking a process status.
9379         Use `cons' instead of `append' for updating the connection cache.
9380         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9381         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9382
9383 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9384
9385         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9386         `elmo-imap4-read-point' exactly.
9387
9388         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9389         the local variable `folder' to `mailbox'.
9390         Rename the argument `fld' to `folder'.
9391
9392 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9393
9394         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9395         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9396
9397 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9398
9399         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9400         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9401         (elmo-pop3-uidl-number-hash): Ditto.
9402         (elmo-pop3-size-hash): Ditto.
9403         (elmo-pop3-uidl-done): Ditto.
9404         (elmo-pop3-list-done): Ditto.
9405         (elmo-pop3-connection-get-process): New defmacro.
9406         (elmo-pop3-connection-get-buffer): Ditto.
9407         (elmo-pop3-close-connection): Delete buffer and process.
9408         (elmo-pop3-flush-connection): Don't delete buffer and process.
9409         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9410         Setup UIDL and size hash.
9411         (elmo-pop3-send-command-no-erase): Deleted
9412         (elmo-pop3-send-command): Added optional argument `no-erase'.
9413         (elmo-pop3-parse-uidl-response): New function.
9414         (elmo-pop3-parse-list-response): Set size hash.
9415         (elmo-pop3-list-location): New function.
9416         (elmo-pop3-list-by-uidl-subr): Ditto.
9417         (elmo-pop3-list-by-list): Ditto.
9418         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9419         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9420         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9421         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9422         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9423         Use uidl.
9424         (elmo-pop3-uidl-to-number): New function.
9425         (elmo-pop3-number-to-uidl): Ditto.
9426         (elmo-pop3-number-to-size): Ditto.
9427         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9428         Set number by use of uidl.
9429         (elmo-pop3-msgdb-create-message): Likewise.
9430         Set size, loc-alist in msgdb.
9431         (elmo-pop3-read-msg): Set number by use of uidl.
9432         Added optional argument `msgdb'.
9433         (elmo-pop3-delete-msg): Ditto.
9434         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9435         (elmo-pop3-commit): Close connection.
9436
9437         * elmo-pipe.el (elmo-pipe-max-of-folder):
9438         Bind `elmo-pop3-use-uidl' as nil.
9439         (elmo-pipe-drain): Ditto.
9440         Call `elmo-commit'.
9441
9442         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9443         (elmo-msgdb-overview-entity-set-size): New defsubst.
9444
9445 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9446
9447         * elmo-vars.el (elmo-use-killed-list): New variable
9448         (Renamed from `elmo-nntp-use-killed-list').
9449         (elmo-nntp-use-killed-list): Eliminated.
9450
9451         * elmo-msgdb.el (elmo-msgdb-expand-path):
9452         Changed expanding msgdb path for elmo-multi.
9453
9454         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9455         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9456         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9457         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9458         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9459         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9460         (toplevel): Deleted time-stamp line.
9461
9462         * elmo2.el (elmo-clear-killed ): Defined as function
9463         (Abolished defining as a backend function).
9464         All other related modules are changed.
9465
9466 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9467
9468         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9469
9470 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9471
9472         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9473
9474 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9475
9476         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9477
9478 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9479
9480         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9481         asynchronous folder check.
9482
9483         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9484
9485         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9486         `elmo-nntp-use-killed-list'.
9487         (elmo-nntp-list-folder): Use killed list.
9488         (elmo-nntp-max-of-folder): Ditto.
9489         (elmo-nntp-msgdb-create): Set killed list.
9490
9491         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9492
9493         * elmo2.el (elmo-clear-killed): New backend function.
9494         All other related modules are changed.
9495
9496 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9497
9498         * elmo-util.el (elmo-imap4-spec-folder): Use
9499         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9500         All callers changed.
9501
9502 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9503
9504         * mmelmo-2.el (initialize-instance):
9505         Use `mime-buffer-entity-buffer-internal' instead of
9506         `mime-entity-buffer'.
9507
9508         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9509         (mime-entity-body): Implemented.
9510         (mime-goto-header-start-point): Deleted.
9511         (mime-goto-body-end-point): Ditto.
9512         (mime-entity-point-min): Ditto.
9513         (mime-entity-point-max): Ditto.
9514         (mime-entity-children): Ditto.
9515         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9516         instead of `mime-entity-buffer'.
9517         (mime-entity-header-buffer): Ditto.
9518         (mime-entity-body-buffer): Ditto.
9519         (mime-write-entity-content): Ditto.
9520
9521         * pldap.el (ldap-static-if): New macro.
9522         (toplevel): Use it instead of `static-if'.
9523
9524 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9525
9526         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9527         included in `attrs' argument.
9528
9529 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9530
9531         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9532
9533         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9534         (ldap-ldif-safe-init-char-regexp): Ditto.
9535         (ldap-ldif-safe-string-regexp): Ditto.
9536         (ldap/ldif-safe-string-p): New macro.
9537         (ldap/ldif-insert-field): Ditto.
9538         (ldap-modify): Use it.
9539         (ldap-add): Ditto.
9540         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9541         (ldap-decode-attribute): Decode only when `attr' is consp.
9542         (ldap-delete): Bind `ret'.
9543         (toplevel): Require 'cl at compile time.
9544         Removed (require 'poe) and (require 'std11).
9545         (pldap-version): Eliminated.
9546         (ldap-search-basic): Removed auth and dn binding.
9547         (ldap-ldif-field-name-regexp): New constant.
9548         (ldap-ldif-field-head-regexp): Ditto.
9549         (ldap-ldif-next-field-head-regexp): Ditto.
9550         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9551         (ldap/field-end): New function.
9552         (ldap/field-body): Use it.
9553         (ldap/collect-field): Ditto.
9554         (ldap-search-basic): Use `ldap/field-body'.
9555
9556 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9557
9558         * pldap.el (ldap-default-attribute-encoder): New user option.
9559         (ldap/field-body): Decode base64 string.
9560         (ldap/collect-field): Ditto.
9561         (ldap-encode-attribute): New function.
9562         (ldap-add-entries): Use it.
9563         (ldap-modify-entries): Ditto.
9564         (ldap-search-entries): Enclosed decoding function with
9565         `with-temp-buffer' and set as unibyte.
9566         (ldap-search-basic): Set process buffer as unibyte.
9567
9568         * elmo-util.el (elmo-folder-identical-system-p):
9569         Eliminated name space checking.
9570
9571         * pldap.el: New module.
9572         toplevel: Changed condition to detect built-in ldap feature.
9573         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9574         (ldap-add): Added error handling.
9575         (ldap-modify): Ditto.
9576         (ldap-delete): Ditto.
9577
9578 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9579
9580         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9581         Initialize local variables with `let'.  Inline a temporary
9582         variable for the progress percentage.  Sort `setq' to reduce
9583         function call in the while-loop.
9584
9585         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9586         into the conditional branch.
9587
9588 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9589
9590         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9591         Move a conditional out of the while-loop.
9592
9593 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9594
9595         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9596         elmo-msgdb-overview-get-entity-by-number.
9597         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9598         throw.
9599
9600 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9601
9602         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9603         the local variable for a packed number self descriptively.
9604
9605 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9606
9607         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9608         * elmo-localdir.el (elmo-localdir-pack-number): Use
9609         `elmo-msgdb-overview-get-entity' instead of
9610         `elmo-msgdb-overview-get-entity-by-number'.
9611         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9612         (elmo-msgdb-search-overview-entity): Removed.
9613         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9614         by message-id or number.
9615         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9616         instead of `elmo-msgdb-overview-get-entity-by-number'.
9617
9618 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9619
9620         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9621         non-nil, use hash table for overview.
9622         (elmo-hash-maximum-size): New variable.
9623         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9624         (elmo-msgdb-make-overview-hashtb): New function.
9625         (elmo-msgdb-clear-overview-hashtb): New function.
9626         (elmo-clear-hash-val): New macro.
9627         All other related modules are changed.
9628
9629 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9630
9631         * elmo2.el (elmo-move-msgs): If there's other message with
9632         same message-id, don't use cache.
9633
9634 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9635
9636         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9637         number is already packed.
9638
9639 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9640
9641         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9642
9643 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9644
9645         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9646         All other related modules are changed.
9647
9648 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9649
9650         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9651         of refiling failure on Maildir.
9652
9653 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9654
9655         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9656         decoded mime-charset with cache.
9657         (elmo-msgdb-overview-entity-get-from): Ditto.
9658         (elmo-msgdb-overview-entity-get-subject): Ditto.
9659         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9660
9661 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9662
9663         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9664         (elmo-remove-passwd): Fill password with 0 before erase.
9665         * elmo-vars.el (elmo-passwd-life-time): New variable.
9666
9667 \f
9668 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9669
9670         * elmo-cache.el (elmo-buffer-cache-add):
9671         Set message cache buffer as unibyte.
9672
9673 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9674
9675         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9676         become nil.
9677
9678 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9679
9680         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9681         when display is finished.
9682         (elmo-nntp-msgdb-create): Ditto.
9683         (elmo-nntp-groups-read-response): Ditto.
9684         (elmo-nntp-retrieve-headers): Ditto.
9685         (elmo-nntp-msgdb-create-message): Ditto.
9686         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9687         (elmo-pop3-msgdb-create-message): Ditto.
9688
9689 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9690
9691         * elmo-maildir.el (elmo-maildir-msgdb-create):
9692         Use `elmo-msgdb-sort-by-date'.
9693
9694 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9695
9696         * elmo2.el (elmo-read-msg-no-cache):
9697         Eliminated arguments after `outbuf'.
9698         Don't use cache even if it exists.
9699         (elmo-read-msg): Don't pass arguments after `outbuf' to
9700         `elmo-read-msg-no-cache'.
9701
9702 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9703
9704         * elmo-archive.el (elmo-archive-list-folders):
9705         Use `file-name-directory' if base folder does not exist.
9706
9707 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9708
9709         * elmo-archive.el (elmo-archive-list-folders): Don't use
9710         `file-name-directory'.
9711
9712 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9713
9714         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9715         If `force' is non-nil, try flushing all operation queues.
9716
9717 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9718
9719         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9720         as-binary-process.
9721
9722 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9723
9724         * elmo-util.el (elmo-display-progress): Fixed.
9725
9726 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9727
9728         * elmo-util.el (elmo-display-progress): New function.
9729         All other related modules are changed.