25fa2c0cd241a1f1cb1d43abb7c4d79d345e5073
[elisp/wanderlust.git] / elmo / ChangeLog
1 2008-02-20  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-util.el: Add (eval-when-compile (require 'static)).
4
5 2008-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6
7         * mmimap.el: Remove (require 'static).
8         * acap.el: Ditto.
9
10         * elmo-flag.el: Move ';;; Code:' comment.
11         * elmo-imap4.el: Ditto.
12         * elmo-net.el: Ditto.
13
14         * elmo-version.el (product-provide): Fix comment.
15
16 2008-02-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
17
18         * slp.el: Add (eval-when-compile (require 'cl)).
19         * elmo-date.el: Ditto.
20         * elmo-pop3.el: Ditto.
21         * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
22
23 2008-02-17  TAKAHASHI Kaoru  <kaoru@kaisei.org>
24
25         * modb.el (elmo-msgdb-match-condition-primitive): Use
26         `string-to-number' instead of `string-to-int'.
27
28         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
29         (elmo-msgdb-message-match-condition)
30         (elmo-msgdb-create-message-entity-from-buffer): Use
31         `string-to-number' instead of `string-to-int'.
32
33         * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
34         instead of `string-to-int'.
35
36         * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
37         instead of `string-to-int'.
38
39         * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
40         `string-to-number' instead of `string-to-int'.
41
42         * elmo-nntp.el (elmo-nntp-make-msglist)
43         (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
44         (elmo-nntp-create-msgdb-from-overview-string)
45         (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
46         (elmo-nntp-search-primitive): Use `string-to-number' instead of
47         `string-to-int'.
48
49         * elmo-net.el (elmo-net-folder-set-parameters): Use
50         `string-to-number' instead of `string-to-int'.
51
52         * elmo-localdir.el (elmo-localdir-list-subr): Use
53         `string-to-number' instead of `string-to-int'.
54
55         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
56         `string-to-number' instead of `string-to-int'.
57
58         * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
59         instead of `string-to-int'.
60
61         * elmo-archive.el (elmo-archive-list-folder-subr): Use
62         `string-to-number' instead of `string-to-int'.
63
64 2008-02-16  TAKAHASHI Kaoru  <kaoru@kaisei.org>
65
66         * elmo-util.el (elmo-get-passwd): Fix typo.
67
68         * elmo-nntp.el (elmo-nntp-get-server-command)
69         (elmo-nntp-set-server-command, elmo-nntp-xover-p)
70         (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
71         (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
72         (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
73
74         * elmo-imap4.el (elmo-imap4-debug)
75         (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
76         (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
77         (elmo-imap4-response-value, elmo-imap4-response-error-text)
78         (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
79         (elmo-imap4-nth, elmo-imap4-detect-search-charset)
80         (elmo-imap4-identical-system-p): New backquote style.
81
82 2008-02-15  TAKAHASHI Kaoru  <kaoru@kaisei.org>
83
84         * elmo-dop.el (elmo-make-dop-queue): New backquote style.
85         (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
86         (elmo-dop-queue-arguments): Ditto.
87
88         * elmo-date.el (elmo-match-substring): New backquote style.
89         (elmo-match-string, elmo-match-buffer): Ditto.
90         (elmo-date-make-sortable-string): Ditto.
91
92         * elmo-archive.el (elmo-archive-get-method):New backquote style.
93         (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
94
95         * elmo-multi.el (elmo-multi-real-folder-number): New backquote
96         style.
97
98         * elmo-net.el (elmo-network-stream-type-spec-string): New
99         backquote style.
100         (elmo-network-stream-type-symbol): Ditto.
101         (elmo-network-stream-type-feature): Ditto.
102         (elmo-network-stream-type-function): Ditto.
103         (elmo-network-session-buffer): Ditto.
104
105         * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
106         (elmo-file-cache-status, elmo-file-cache-path): Ditto.
107         (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
108         (elmo-bind-directory, elmo-set-work-buf): Ditto.
109
110         * elmo.el (elmo-folder-send): New backquote style.
111
112 2008-02-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
113
114         * pldap.el (ldap-static-if): New backquote style.
115         (ldap/ldif-safe-string-p): Ditto.
116         (ldap/ldif-insert-field): Ditto.
117
118         * elmo-version.el (elmo-version): Up to 2.15.6.
119
120 2008-01-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
121
122         * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
123         messages with \Deleted flag.
124         (elmo-folder-delete-messages-plugged): Ask before sending expunge
125         command if there are messages with \Deleted flag.
126
127 2007-04-24  Yoichi NAKAYAMA  <yoichi@geiin.org>
128
129         * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
130         http://seclists.org/bugtraq/2007/Apr/0018.html
131         (Suggested by Tatsuya Kinoshita)
132
133 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
134
135         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
136         with \Noselect attribute.
137
138 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
139
140         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
141         hierarchical folder structure with UW-imapd.
142
143 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
144
145         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
146         when the LOGINDISABLED capability is advertised.
147
148 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
149
150         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
151
152 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
153
154         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
155         `entity'.
156         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
157         if the message entity is exists.
158
159 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
160
161         * elmo-util.el (elmo-msgdb-insert-file-header): Call
162         `elmo-delete-cr-buffer'.
163
164         * elmo-localdir.el (elmo-message-fetch-internal): Use
165         `insert-file-contents-as-raw-text' instead of
166         `insert-file-contents-as-binary'.
167
168         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
169
170 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
171
172         * elmo-imap4.el (elmo-network-initialize-session): Check to
173         retrieve a whole greeting message.
174
175 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
176
177         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
178
179 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
180
181         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
182         (elmo-progress-notify): Use it instead of `plist-get'.
183
184 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
185
186         * elmo.el (elmo-generic-folder-append-messages): Remove unused
187         variable `table'.
188
189 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
190
191         * elmo-pipe.el (elmo-folder-set-plugged): Define.
192
193 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
194
195         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
196         (elmo-spam-list-spam-messages): Check it option.
197
198 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
199
200         * elmo-util.el (elmo-with-progress-display): Return the value
201         of the last form in `body'.
202
203 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
204
205         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
206         `elmo-progress-counter' as t when a query callback returns nil.
207         (elmo-progress-clear): New function.
208         (elmo-progress-done): Split into `elmo-progress-clear'.
209         (elmo-progress-notify): Update a total slot when it is nil.
210         (elmo-with-progress-display): Call `elmo-progress-clear' in
211         unwind-protect and move calling `elmo-progress-done' to outside.
212
213         * elmo-imap4.el (elmo-imap4-find-next-line): Call
214         `elmo-progress-notify' with :total parameter instead of
215         `elmo-progress-counter-set-total'.
216
217 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
218
219         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
220         Make it interactive.
221         (elmo-progress-start): Avoid updating `elmo-progress-counter'
222         when a query callback returns nil.  Return a progress counter
223         instead of t whenever a start callback was called.
224
225 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
226
227         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
228         (elmo-imap4-send-command): Use it.
229         (elmo-network-initialize-session): Ditto.
230         (elmo-network-setup-session): Ditto.
231         (elmo-folder-msgdb-create-plugged): Ditto.
232
233 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
234
235         * elmo-util.el (elmo-progress-done): Fix a miss refer to
236         `elmo-progress-counter'.
237
238 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
241         (elsp-bsfilter-list-spam-filter): New function.
242         (elsp-bsfilter-start-list-spam): Ditto.
243         (elsp-bsfilter-read-list-spam): Ditto.
244         (elmo-spam-list-spam-messages): Use async process to display
245         progress message by each message.
246
247 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
248
249         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
250         of flushing previously inserted message contents.
251
252         * elmo-imap4.el (elmo-folder-search): Fix return value.
253
254 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
255
256         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
257         of reporter is enable or not.
258
259 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
260
261         * elmo-util.el (elmo-list-bigger-diff): Abolish.
262         (elmo-display-progress): Ditto.
263         (elmo-progress-counter-alist): Ditto.
264         (elmo-progress-set): Ditto.
265         (elmo-progress-clear): Ditto.
266         (elmo-progress-counter-all-value): Rename to
267         `elmo-progress-counter-total'.
268         (elmo-progress-counter-format): Rename to
269         `elmo-progress-counter-action'.
270         (elmo-progress-counter): New internal variable.
271         (elmo-progress-callback-function): Ditto.
272         (elmo-progress-counter-label): New function.
273         (elmo-progress-counter-set-total): Ditto.
274         (elmo-progress-counter-set-action): Ditto.
275         (elmo-progress-call-callback): Ditto.
276         (elmo-progress-start): Ditto.
277         (elmo-progress-done): Ditto.
278         (elmo-progress-notify): Rewrite.
279         (elmo-with-progress-display): Remove first argument
280         `condition'. Add optional argument `var' in `spec'.
281
282         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
283         (elmo-display-retrieval-progress-threshold): Ditto.
284         (elmo-inhibit-display-retrieval-progress): Ditto.
285
286         * Replace all pair of `elmo-progress-set' and
287         `elmo-progress-clear' into `elmo-with-progress-display'.
288
289         * Replace to call `elmo-display-progress' into pair of
290         `elmo-progress-notify' and `elmo-with-progress-display'.
291
292         * elmo-version.el (elmo-version): Up to 2.15.5.
293
294 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
295
296         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
297         `cond'.
298
299 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
300
301         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
302         cleanup-forms [wl:14027].
303
304 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
305
306         * elmo-flag.el (elmo-global-flag-set-internal): Use
307         `elmo-copy-file' by priority when the message is a file.
308
309 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
310
311         * elmo.el: Fix typo: disptch -> dispatch.
312
313 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
314
315         * elmo.el (elmo-file-tag): New class.
316         (elmo-append-messages-disptch-table): New constant.
317         (elmo-folder-type-p): New function.
318         (elmo-folder-append-messages): Redefine as function.
319
320         * elmo-null.el (elmo-folder-append-messages): Renamed from
321         `elmo-folder-append-messages'.
322
323         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
324         (elmo-folder-append-messages-*-maildir): Renamed from
325         `elmo-folder-append-messages'.
326
327         * elmo-localdir.el (elmo-localdir-folder): Inherit
328         `elmo-file-tag'.
329         (elmo-folder-append-messages-*-localdir): Renamed from
330         `elmo-folder-append-messages'.
331
332         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
333         from `elmo-folder-append-messages'.
334
335         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
336         `elmo-folder-append-messages'.
337
338         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
339         function.
340         (elmo-folder-append-messages-*-filter): Ditto.
341
342         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
343
344         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
345         (elmo-folder-append-messages-*-pipe): Renamed from
346         `elmo-folder-append-messages'.
347
348         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
349
350         * elmo-file.el (elmo-file-folder): Ditto.
351
352         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
353
354         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
355         from `elmo-folder-append-messages'
356
357 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
358
359         * elmo-map.el (elmo-location-map-setup): Change an argument
360         `locations' to optional.
361         (elmo-location-map-clear): Abolish.
362         (elmo-folder-clear): Follow the API change.
363
364         * elmo-pop3.el (elmo-folder-clear): Ditto.
365
366         * elmo-pop3.el (toplevel): Require elmo-map.
367         (elmo-pop3-folder): Inherit elmo-location-map and abolish
368         location-alist slot (All other related portions are changed).
369         (elmo-pop3-folder-use-uidl): New function.
370         (elmo-folder-msgdb-create): Don't sort message entities.
371         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
372         (elmo-pop3-number-to-size): Convert return value to number.
373         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
374         working buffer.
375
376         * elmo-map.el: Use `location-map' as a variable name for instance
377         instead of `mapper'.
378         (elmo-location-map-setup): Return location alist.
379         (elmo-location-map-update): Ditto.
380
381 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
382
383         * elmo-map.el (elmo-location-map): New class; split location and
384         number mapping from elmo-map-folder (All other related portions
385         are changed).
386
387         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
388         change.
389
390         * elmo-version.el (elmo-version): Up to 2.15.4.
391
392 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
393
394         * elmo-vars.el (elmo-use-hardlink): New user option.
395
396         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
397         `elmo-use-hardlink'.
398
399         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
400         killed-list.
401         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
402         instead of `*-internal'. Use `elmo-with-progress-display'.
403
404 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
405
406         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
407         `elmo-spam-process-messages-as-mbox'.
408
409         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
410
411 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
412
413         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
414         argument BUFFER of `call-process'.
415
416 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
417
418         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
419         args.
420         (elsp-bsfilter-list-spam-files): Ditto.
421
422 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
423
424         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
425         (elmo-spam-bsfilter-max-messages-per-process): New use option.
426         (elmo-spam-bsfilter-debug): Fix a group.
427         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
428         `--homedir'.
429         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
430         (elsp-bsfilter-list-spam-files): New function.
431         (elmo-spam-list-spam-messages): Define.
432         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
433         (elmo-spam-bsfilter-register-messages): New function.
434         (elmo-spam-register-spam-messages): Define.
435         (elmo-spam-register-good-messages): Ditto.
436
437         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
438
439         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
440         `nconc' and `consp'.
441
442 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
443
444         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
445         hash table to test whether a location is exists.
446
447 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
448
449         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
450         even if some error occurred.
451
452         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
453         meaningless unwind-protect.
454
455         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
456         start-number correctly.
457         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
458         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
459
460 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
463         (elmo-folder-initialize): Use it.
464         (elmo-global-flag-replace-referrer): New function.
465
466         * elmo.el (toplevel): Added autoload setting for
467         `elmo-global-flag-replace-referrer'.
468         (elmo-folder-rename): Rewrite the last change use
469         `elmo-global-flag-replace-referrer'.
470
471         * elmo-pipe.el (elmo-folder-rename): Call
472         `elmo-global-flag-replace-referrer'.
473
474 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
475
476         * elmo.el (elmo-folder-rename): Set meta data for global flags
477         follow the rename.
478
479 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
480
481         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
482         as 'not-loaded.
483         (elmo-folder-close): Ditto.
484         (elmo-filter-folder-number-list-loaded-p): New function.
485         (elmo-filter-folder-number-list): Check whether loaded or not.
486         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
487         of `elmo-filter-folder-number-list-internal'.
488         (elmo-folder-delete-messages): Ditto.
489         (elmo-folder-length): Check whether number-list is loaded or not.
490
491 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
492
493         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
494         field `real field' into each element of list.
495         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
496         (elmo-msgdb-message-entity-field): Ditto.
497         (modb-entity-ml-info-real-fields): New function.
498
499         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
500
501         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
502         `elmo-msgdb-extra-fields'.
503
504 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
505
506         * elmo-util.el (elmo-passwd-alist-load): Move point to min
507         position before read.
508
509 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
510
511         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
512         (elmo-global-flags-initialize): Ditto.
513
514 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
515
516         * elmo-archive.el (toplevel): Don't require emu, std11
517         and elmo-localdir.
518
519         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
520         definition.
521
522 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
523
524         * elmo.el (elmo-folder-confirm-appends): Display folder name.
525
526 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
527
528         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
529         literals.
530
531 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
532
533         * elmo-maildir.el (elmo-maildir-list-location): Reduce
534         `elmo-get-last-modification-time' call.
535
536 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
537
538         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
539         expression.
540         (elmo-maildir-set-mark): Ditto.
541         (elmo-maildir-delete-mark): Ditto.
542
543 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
544
545         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
546         optional argument `separators'.
547
548 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
549
550         * elmo.el (cache-changed): Abolish.
551         (status-changed): New signal.
552         (elmo-message-killed-p): New generic function and define for
553         elmo-folder.
554         (elmo-folder-recover-messages): Ditto.
555         (elmo-message-set-cached): Emit signal `status-changed' instead of
556         `cache-changed'.
557         (elmo-message-status): New macro.
558         (elmo-message-status-folder): Ditto.
559         (elmo-message-status-number): Ditto.
560         (elmo-message-status-set-flags): Ditto.
561         (elmo-message-status-set-killed): Ditto.
562         (elmo-message-status-flags): New function.
563         (elmo-message-status-cached-p): Ditto.
564         (elmo-message-status-killed-p): Ditto.
565
566         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
567         `status-changed' instead of `cache-changed'.
568         (elmo-folder-recover-messages): Define.
569         (elmo-message-killed-p): Ditto.
570
571         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
572         `status-changed' instead of `cache-changed'.
573
574         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
575         (elmo-message-killed-p): Define.
576         (elmo-folder-recover-messages): Ditto.
577
578         * elmo-version.el (elmo-version): Up to 2.15.3.
579
580 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
581
582         * elmo-signal.el (elmo-signal-bindings): Use cons to append
583         element into list.
584         (elmo-define-signal-handler): Add docstring.
585         (elmo-define-signal-filter): Ditto.
586
587         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
588
589 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
590
591         * elmo-util.el (elmo-flatten): Don't use recursive call.
592
593         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
594         assignment.
595         (elmo-folder-message-make-temp-files): Use `number-to-string'
596         instead of `int-to-string'.
597
598 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
599
600         * elmo-search.el (elmo-folder-delete-messages): Define.
601
602 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
603
604         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
605         customization type.
606         (elmo-mailing-list-count-spec-list): Ditto.
607
608         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
609         for `list-id'.
610
611 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
612
613         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
614         handling.
615
616 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
617
618         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
619         (elmo-mailing-list-count-spec-list): Ditto.
620
621         * elmo-util.el (elmo-map-until-success): New function.
622         (elmo-string-match-substring): Ditto.
623         (elmo-find-list-match-value): Ditto.
624
625         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
626         Removed.
627         (modb-entity-extract-ml-info-from-subject): Ditto.
628         (modb-entity-extract-ml-info-from-return-path): Ditto.
629         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
630         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
631         (modb-entity-extract-ml-info-from-mailman): Ditto.
632         (modb-entity-extract-mailing-list-info-functions): Ditto.
633         (modb-entity-extract-mailing-list-info): Rewrite with
634         `elmo-find-list-match-value'.
635
636 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
637
638         * elmo-net.el (elmo-network-session-retry-count): New user option.
639         (elmo-network-session-buffer-name): New internal function.
640         (elmo-network-session-buffer-create): Ditto.
641         (elmo-network-open-session): Retry open network session
642         `elmo-network-session-retry-count' times.
643
644 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
645
646         * elmo-util.el (elmo-list-filter): Rewritten.
647
648 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
649
650         * elmo-util.el (elmo-string-member): Allow symbol element in list.
651
652 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
653
654         * elmo-search.el (elmo-make-search-engine): Use prefix
655         `elmo-search-' for require symbol instead of `else-'.
656         (elmo-search-engine-extprog): New class.
657         (elmo-search-engine-do-search): Remove nil from argument
658         list. Added argument pattern to evaluate element as function.
659         (elmo-search-engine-local-file): Derived from
660         `elmo-search-engine-extprog'.
661         (elmo-search-engine-create-message-entity): Check existance of file.
662         (elmo-search-engine-fetch-message): Ditto.
663         (elmo-search-namazu-index): Follow the API change.
664         (elmo-search-grep-target): Ditto.
665
666 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
667
668         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
669         characters of working buffer.
670
671         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
672         Does not bind `default-mime-charset'.
673         (elmo-msgdb-create-message-entity-from-buffer): Removed
674         unnecessary local bind.
675
676         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
677         function.
678         (modb-entity-extract-mailing-list-info-functions): Added it.
679
680 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
681
682         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
683         when number and message-id are non-nil.
684
685         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
686
687         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
688         conditional steatment.
689         (elmo-pop3-auth-apop): Likewise.
690         (elmo-network-authenticate-session): Likewise.
691
692 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
693
694         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
695         symbol `fill-column'.
696         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
697         decode field value.
698
699         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
700         (elmo-decoded-field-body): Ditto.
701
702 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
703
704         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
705         `tokens' to `params'.
706
707 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
708
709         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
710         working buffer.
711
712 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
713
714         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
715         decide index.
716
717 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
718
719         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
720         Set default value as nil.
721         (toplevel): Register search engines by
722         `elmo-search-register-engine' if there are not defined.
723
724         * elmo.el (autoload): Added autoload setting for
725         `elmo-search-register-engine'.
726
727 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
728
729         * elmo.el (toplevel): `[' is redefined as the prefix of the search
730         folder instead of nmz folder.
731         (elmo-nmz-default-index-path): Added obsolete variable setting.
732         (elmo-nmz-index-alias-alist): Ditto.
733         (elmo-nmz-use-drive-letter): Ditto.
734
735         * elmo-search.el (elmo-search-register-engine): New function.
736
737         * elmo-nmz.el: Removed.
738
739         * elmo-version.el (elmo-version): Up to 2.15.2.
740
741 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
742
743         * elmo-search.el: New file.
744
745 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
746
747         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
748         condition `larger' and `smaller'.
749
750 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
751
752         * elmo-util.el (elmo-safe-filename): Rewrite to replace
753         `"' (double quote) into "_Q_".
754
755 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
756
757         * elmo-net.el (elmo-net-quote-chars): Abolish.
758         (elmo-net-format-quoted): Ditto.
759
760 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
761
762         * elmo.el (elmo-get-folder-function): New variable.
763         (elmo-get-folder): New function.
764         (elmo-folder-rename): Call `elmo-make-folder' with specified
765         mime-charset.
766
767         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
768         `elmo-make-folder'.
769         (elmo-split-subr): Ditto.
770
771         * elmo-multi.el (elmo-folder-initialize): Ditto.
772
773         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
774
775         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
776         (elmo-flag-get-folder): Ditto.
777
778         * elmo-filter.el (elmo-folder-initialize): Ditto.
779
780         * elmo-access.el (elmo-folder-initialize): Ditto.
781         (elmo-access-folder-update-children): Ditto.
782
783         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
784         (elmo-dop-queue-flush): Ditto.
785         (elmo-folder-append-buffer-dop-delayed): Ditto.
786         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
787         mime-charset.
788
789         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
790         instead of `elmo-make-folder'.
791         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
792         destination folder instead of send `elmo-folder-rename-internal'.
793
794         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
795         slot of subfolder instead of create it.
796
797 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
798
799         * elmo-util.el (elmo-collect-separators): New function.
800         (elmo-collect-separators-internal): Ditto.
801         (elmo-collect-trail-separators): Ditto.
802         (elmo-parse-separated-tokens): Ditto.
803         (elmo-parse-separated-tokens-internal): Ditto.
804         (elmo-quote-syntactical-element): Ditto.
805
806         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
807         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
808
809         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
810         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
811         (elmo-nntp-folder-list-subfolders): Quote a user name.
812
813         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
814         (elmo-net-parse-network): Abolish.
815         (elmo-net-folder-set-parameters): New function.
816         (elmo-folder-initialize): Follow the above change.
817
818         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
819         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
820         (elmo-folder-list-subfolders): Use
821         `elmo-quote-syntactical-element' instead of
822         `elmo-net-format-quoted' to quote mailbox and user name.
823
824 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
825
826         * elmo-util.el (elmo-token-valid-p): New function.
827         (elmo-parse-token): Add optional argument `requirement'.
828         (elmo-parse-prefixed-element): Likewise.
829
830         * elmo-net.el (elmo-net-quote-chars): Renamed from
831         `elmo-net-quote-chars-regexp'.
832         (elmo-net-format-quoted): Add optional argument `extra-chars'.
833
834         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
835         by info document. Check token `uidl' is started an alphabet.
836
837         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
838         by info document. Check token `user' is started an alphabet.
839
840         * elmo-imap4.el (elmo-folder-initialize): Ditto.
841         (elmo-folder-list-subfolders): Quote user.
842
843 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
844
845         * elmo-util.el (elmo-quoted-specials-list): New constant.
846         (elmo-quoted-token): New function.
847
848         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
849         (elmo-net-format-quoted): New function.
850         (elmo-net-parse-network): Ditto.
851         (elmo-folder-initialize): Use it.
852
853         * elmo-nntp.el (elmo-folder-initialize): Use
854         `elmo-net-parse-network' to parse network specification instead of
855         `elmo-folder-initialize#elmo-net'.
856
857         * elmo-pop3.el (elmo-folder-initialize): Ditto.
858
859         * elmo-imap4.el (elmo-folder-initialize): Ditto.
860         (elmo-folder-list-subfolders): Quote folder name by
861         `elmo-net-format-quoted'.
862
863 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
864
865         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
866         (elmo-folder-search): Use it.
867
868 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
869
870         * modb-standard.el (modb-standard-loaded-message-id): Use
871         `elmo-msgdb-message-entity-field'.
872
873 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
874
875         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
876         without filename.
877
878 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
879
880         * elmo-util.el (elmo-set-auto-coding): New function.
881         (elmo-object-load): Use it.
882
883 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
884
885         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
886         (elmo-time<): Define as alias of `elmo-time-less-p'.
887         (elmo-time-to-datevec): New function.
888
889         * elmo-date.el (elmo-time-to-days): New function.
890
891 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
892
893         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
894         is not cons cell.
895
896 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
897
898         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
899         parenthesis.
900
901         * elmo-util.el (elmo-map-recursive): New function.
902
903         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
904         (modb-entity-encode-string-recursive): Ditto.
905
906 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
907
908         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
909         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
910         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
911         compare sequence number when last modified time is nil.
912
913 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
914
915         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
916
917         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
918
919 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
920
921         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
922         modification time of the file.
923
924 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
925
926         * elmo-util.el (elmo-condition-optimize): Discriminated against
927         preserved fields, extra fields and the other weight.
928
929 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
930
931         * modb-entity.el (initialize-instance): Define.
932         (modb-entity-handler-mime-charset): New internal function.
933         (modb-standard-entity-set-field): Use it.
934         (elmo-msgdb-message-entity-field): Ditto.
935         (elmo-msgdb-message-entity-field): Ditto.
936
937         * modb.el (elmo-msgdb-match-condition): Rewrite with
938         `elmo-condition-match'.
939         (elmo-msgdb-match-condition-primitive): New function.
940
941         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
942         arguments `flags' and `numbers'.
943         (elmo-msgdb-match-condition-primitive): Abolished (merged to
944         `elmo-msgdb-message-match-condition').
945         (modb-buffer-entity-handler): New class.
946
947         * elmo.el (elmo-folder-search): Optimize condition to use
948         `elmo-condition-optimize'.
949         (elmo-message-buffer-match-condition): New function.
950         (elmo-message-match-condition): Use
951         `elmo-message-buffer-match-condition' instead of
952         `elmo-buffer-field-condition-match'.
953
954         * elmo-util.el (elmo-condition-match): New function.
955         (elmo-condition-optimize): Ditto.
956         (elmo-buffer-field-primitive-condition-match): Abolish.
957         (elmo-buffer-field-condition-match): Ditto.
958
959         * elmo-archive.el (elmo-archive-field-condition-match): Use
960         `elmo-message-buffer-match-condition' instead of
961         `elmo-buffer-field-condition-match'.
962
963 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
964
965         * elmo-flag.el (elmo-global-flags-initialize): Check the
966         existence of the flag directory.
967
968 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
969
970         * elmo-access.el (elmo-folder-initialize): Call
971         `elmo-multi-connect-signals'.
972
973         * elmo-pipe.el (elmo-folder-close): Define.
974
975         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
976         children folders.
977
978         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
979         with target folder.
980
981         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
982         `number'.
983
984         * elmo-multi.el (elmo-message-entity): Don't use return value of
985         `elmo-message-entity-set-number'.
986
987 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
988
989         * modb.el (modb-generic): Added slot `mime-charset'.
990
991         * modb-standard.el (modb-standard): Added slot `overview-handler'.
992         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
993         and `modb-entity-handler-dump-parameters'.
994         (modb-standard-default-entity-handler): Abolish.
995         (elmo-msgdb-message-entity-handler): Save created handler by
996         instance slot.
997
998         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
999         (modb-entity-handler-list-parameters): New method.
1000         (modb-entity-handler-equal-p): New function.
1001         (modb-entity-handler-dump-parameters): Ditto.
1002         (modb-entity-parse-address-string): Encode return value.
1003         (modb-entity-make-address-string): Decode argument value.
1004         (modb-entity-decode-string-recursive): New function.
1005         (modb-entity-encode-string-recursive): Ditto.
1006         (modb-standard-entity-normalizer): Set to encode field value.
1007         (modb-standard-entity-specializer): Follow the above change.
1008         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1009         mime-charset of handler.
1010         (elmo-msgdb-message-entity-field): Ditto.
1011         (elmo-msgdb-copy-message-entity): Fixed reference to internal
1012         structure.
1013         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1014
1015         * elmo.el (elmo-folder): Added slot `mime-charset'.
1016         (elmo-make-folder): Added argument `mime-charset'.
1017         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1018         `mime-charest'.
1019
1020         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1021         (elmo-make-msgdb): Likewise.
1022
1023         * elmo-internal.el (elmo-internal-folder-initialize): Call
1024         `luna-make-entity' with :mime-charset parameter.
1025
1026 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
1027
1028         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1029         encoded words in `from' and `subject' field.
1030
1031 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1032
1033         * modb.el (elmo-msgdb-message-field): Add argument `type'.
1034         (elmo-msgdb-match-condition): Get handler from entity instead of
1035         msgdb.
1036
1037         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1038         (modb-standard-load-entity): Treat new file format.
1039         (modb-standard-save-entity-1): Save as new file format.
1040         (modb-standard-save-entity): Split messages into section here.
1041         (elmo-msgdb-message-field): Follow the API change.
1042         (modb-standard-default-entity-handler): New internal variable.
1043         (elmo-msgdb-message-entity-handler): Define.
1044
1045         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1046         to `elmo-vars.el'.
1047         (modb-entity-field-extractor-alist): New user option.
1048         (elmo-msgdb-message-entity-field): Removed argument `decode' and
1049         added argument `type'.
1050         (elmo-msgdb-copy-message-entity): Add optional argument
1051         `make-handler'.
1052         (modb-set-field-converter): New function.
1053         (modb-convert-field-value): Ditto.
1054         (modb-entity-string-decoder): Ditto.
1055         (modb-entity-string-encoder): Ditto.
1056         (modb-entity-parse-date-string): Ditto.
1057         (modb-entity-make-date-string): Ditto.
1058         (modb-entity-mime-decoder): Ditto.
1059         (modb-entity-mime-encoder): Ditto.
1060         (modb-entity-address-list-decoder): Ditto.
1061         (modb-entity-address-list-encoder): Ditto.
1062         (modb-entity-parse-address-string): Ditto.
1063         (modb-entity-make-address-string): Ditto.
1064         (modb-entity-create-field-indices): Ditto.
1065         (modb-legacy-entity-field-slots): New constant.
1066         (modb-legacy-entity-field-indices): Ditto.
1067         (modb-legacy-entity-normalizer): New variable.
1068         (modb-legacy-entity-specializer): Ditto.
1069         (modb-legacy-entity-field-index): New macro.
1070         (modb-legacy-entity-set-field): New function.
1071         (modb-legacy-make-message-entity): Rewrite.
1072         (elmo-msgdb-create-message-entity-from-buffer): Use
1073         `elmo-msgdb-get-references-from-buffer'. Use
1074         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1075         Use `modb-legacy-entity-set-field' instead of
1076         `elmo-msgdb-message-entity-set-field'.
1077         (elmo-msgdb-message-entity-field): Rewrite.
1078         (elmo-msgdb-message-entity-set-field): Ditto.
1079         (elmo-msgdb-copy-message-entity): Make new entity by
1080         `make-handler' if it specified.
1081         (elmo-msgdb-message-match-condition): Define a method of
1082         `modb-entity-handler' and follow the API change.
1083         (modb-standard-entity-handler): New class.
1084         (modb-entity-extract-ml-info-from-x-sequence): New function.
1085         (modb-entity-extract-ml-info-from-subject): Ditto.
1086         (modb-entity-extract-ml-info-from-return-path): Ditto.
1087         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1088         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1089         (modb-entity-extract-mailing-list-info): Ditto.
1090         (modb-entity-extract-mailing-list-info-functions): New variable.
1091
1092         * elmo.el (elmo-message-field): Add optional argument `type'.
1093
1094         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1095         from `modb-entity.el'.
1096
1097         * elmo-util.el (elmo-object-load): Decode by coding-system from
1098         `set-auto-coding-function'.
1099         (elmo-object-save): Use `detect-mime-charset-region' and add
1100         coding cookie if encode.
1101         (elmo-msgdb-get-references-from-buffer): New function.
1102         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1103
1104         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1105
1106         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1107         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1108         instead of `shimbun-make-header' and follow the API change.
1109         (elmo-shimbun-update-overview): Follow the API change.
1110         (elmo-map-folder-list-message-locations): Ditto.
1111
1112         * elmo-pipe.el (elmo-message-field): Ditto.
1113
1114         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1115         Ditto.
1116
1117         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1118
1119         * elmo-multi.el (elmo-message-field): Ditto.
1120
1121         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1122         (elmo-msgdb-sort-by-date): Ditto.
1123         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1124         `elmo-message-entity-field'.
1125         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1126         change.
1127         (elmo-msgdb-overview-entity-get-from): Ditto.
1128         (elmo-msgdb-overview-entity-get-subject): Ditto.
1129         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1130         (elmo-msgdb-overview-entity-get-date): Ditto.
1131         (elmo-msgdb-overview-entity-get-to): Ditto.
1132         (elmo-msgdb-overview-entity-get-cc): Ditto.
1133
1134         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1135         (elmo-mime-collect-message/partial-pieces): Ditto.
1136
1137         * elmo-filter.el (elmo-message-field): Ditto.
1138
1139         * elmo-date.el (elmo-datevec-to-time): New function.
1140         (elmo-time-parse-date-string): Ditto.
1141         (elmo-time-make-date-string): Ditto.
1142         (elmo-time<): Ditto.
1143
1144         * elmo-version.el (elmo-version): Up to 2.15.1.
1145
1146 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1147
1148         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1149         member of elmo-local-flags.
1150
1151 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1152
1153         * elmo-version.el (elmo-version): Up to 2.15.0.
1154
1155 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1156
1157         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1158         `ignore-msgdb' is non-nil.
1159
1160 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1161
1162         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1163         (elmo-condition-in-msgdb-p): Ditto.
1164         (elmo-file-field-primitive-condition-match): Ditto.
1165         (elmo-file-field-condition-match): Ditto.
1166
1167         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1168
1169 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1170
1171         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1172         subdirectories here.
1173         (elmo-global-flags-initialize): New function.
1174
1175         * elmo.el (toplevel): Added autoload setting for
1176         `elmo-global-flags-initialize'.
1177
1178 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1179
1180         * elmo.el (message-number-changed): Define new signal.
1181         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1182         message-number-changed signal.
1183         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1184         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1185         Respect `elmo-pack-number-check-strict'.
1186
1187 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1188
1189         * elmo-signal.el (elmo-connect-signal): Document.
1190         (elmo-emit-signal): Ditto.
1191         (elmo-emit-signal): It should pass source argument to filter and
1192         handler, not slot-source.
1193
1194 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1195
1196         * modb.el (elmo-msgdb-update-entity): New API and define generic
1197         implement.
1198
1199         * modb-standard.el (elmo-msgdb-update-entity): Define.
1200
1201         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1202         API and define generic implement.
1203
1204         * elmo.el (update-overview): New singnal.
1205
1206         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1207         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1208         (elmo-message-entity-parent): Define.
1209
1210         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1211         `update-overview'.
1212
1213         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1214
1215         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1216
1217 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1218
1219         * elmo.el (elmo-folder-synchronize): Sort the return value of
1220         `elmo-list-diff'.
1221
1222         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1223         list.
1224
1225 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1226
1227         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1228         `default-enable-multibyte-characters'.
1229         (elmo-object-load): Use `with-temp-buffer' instead of
1230         `elmo-set-work-buf'.
1231         (elmo-object-save): Ditto.
1232         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1233         `elmo-set-work-buf'.
1234         (elmo-decoded-field-body): Ditto.
1235
1236         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1237
1238         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1239         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1240
1241         * elmo-version.el (elmo-version): Up to 2.13.3.
1242
1243 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1244
1245         * elmo-util.el (elmo-list-diff): Fix the last change.
1246         Reverse order of result lists.
1247
1248 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1249
1250         * modb-standard.el (elmo-msgdb-set-flag): Use
1251         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1252         (elmo-msgdb-unset-flag): Ditto.
1253
1254         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1255         `elmo-list-diff'.
1256
1257         * elmo-util.el (elmo-list-diff): Rewrite.
1258         (elmo-list-diff-nonsortable): New function.
1259
1260 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1261
1262         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1263         `elmo-multibypte-buffer-name'.  All referers are updated.
1264
1265 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1266
1267         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1268         (elmo-mime-entity-fragment-p): New function.
1269         (mime-elmo-buffer-entity): Added slot `reassembled'.
1270         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1271         (elmo-message-mime-entity-internal): New function (renamed from
1272         `elmo-message-mime-entity').
1273         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1274         (elmo-mime-make-reassembled-mime-entity): New function.
1275         (elmo-message-reassembled-mime-entity): Ditto.
1276         (elmo-mime-collect-message/partial-pieces): Ditto.
1277
1278 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1279
1280         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1281
1282         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1283         (elmo-with-enable-multibyte): New macro.
1284
1285         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1286
1287 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1288
1289         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1290         argument `number'.
1291         (elmo-filter-connect-signals): Follow the above change.
1292
1293 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1294
1295         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1296
1297         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1298         that only the first flag is used.
1299
1300 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1301
1302         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1303         if available.
1304
1305 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1306
1307         * elmo-signal.el: New file.
1308
1309         * elmo.el (toplevel): Require elmo-signal.
1310         (flag-changing, flag-changed, cache-changed): New signal.
1311         (elmo-folder): Remove slog `handlers'.
1312         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1313         `elmo-folder-notify-event'.
1314         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1315         (elmo-folder-unset-flag): Ditto.
1316         (elmo-event-handler): Abolish.
1317         (elmo-event-handler-flag-changed): Ditto.
1318         (elmo-event-handler-cache-changed): Ditto.
1319         (elmo-folder-add-handler): Ditto.
1320         (elmo-folder-remove-handler): Ditto.
1321         (elmo-folder-notify-event): Ditto.
1322
1323         * elmo-pipe.el (toplevel): Require elmo-signal.
1324         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1325         (elmo-pipe-connect-signals): New function.
1326         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1327         (elmo-folder-set-flag): Ditto.
1328         (elmo-folder-unset-flag): Ditto.
1329         (elmo-message-set-cached): Ditto.
1330
1331         * elmo-multi.el (toplevel): Require elmo-signal.
1332         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1333         (elmo-multi-connect-signals): New function.
1334         (elmo-multi-map-numbers): Ditto.
1335         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1336         (elmo-message-fetch): Ditto.
1337         (elmo-folder-set-flag): Ditto.
1338         (elmo-folder-unset-flag): Ditto.
1339
1340         * elmo-filter.el (toplevel): Require elmo-signal.
1341         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1342         (elmo-filter-connect-signals): New function.
1343         (elmo-filter-add-flag-count): Ditto.
1344         (elmo-message-fetch): Does not call
1345         `elmo-filter-folder-countup-message-flags' and
1346         `elmo-folder-notify-event'.
1347         (elmo-message-set-cached): Ditto.
1348         (elmo-folder-set-flag): Ditto.
1349         (elmo-folder-unset-flag): Ditto.
1350
1351         * elmo-version.el (elmo-version): Up to 2.13.2.
1352
1353 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1354
1355         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1356         `flags'.
1357
1358 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1359
1360         * elmo-filter.el (elmo-message-set-cached): Call
1361         `elmo-folder-notify-event' with event `cache-changed'.
1362
1363         * elmo-multi.el (elmo-message-set-cached): Ditto.
1364
1365         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1366
1367 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1368
1369         * elmo.el (elmo-folder-encache): Abolish.
1370
1371 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1372
1373         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1374         (elmo-folder-next-message-number-dop): Return appropriate negative
1375         integer.
1376
1377 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1378
1379         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1380         clearing pending operations.
1381         (elmo-folder-next-message-number-dop): Return appropriate negative
1382         integer.
1383
1384 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1385
1386         * elmo.el (toplevel): Added autoload setting for `md5'.
1387         (elmo-msgdb-path-encode-threshold): New user option.
1388         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1389         longer than `elmo-msgdb-path-encode-threshold'.
1390
1391         * elmo-flag.el (elmo-global-mark-migrate): Use
1392         `elmo-folder-expand-msgdb-path' instead of
1393         `elmo-folder-msgdb-path'.
1394
1395 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1396
1397         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1398         element of the difference is nil.
1399
1400 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1401
1402         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1403         to the check logic of file systems which are weak in colon character.
1404
1405 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1406
1407         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1408
1409 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1410
1411         * elmo-maildir.el (elmo-maildir-move-file): New function.
1412         (elmo-folder-append-buffer): Use it.
1413         (elmo-folder-append-messages): Ditto.
1414         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1415
1416         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1417         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1418
1419         * elmo-maildir.el (elmo-maildir-separator): New user option.
1420         (elmo-maildir-adjust-separator): New macro.
1421         (elmo-maildir-list-location): Use it.
1422         (elmo-maildir-update-current): Ditto.
1423         (elmo-maildir-set-mark): Ditto.
1424         (elmo-maildir-delete-mark): Ditto.
1425         (These changes are based on Hiroya Murata's patch [wl: 13437])
1426
1427 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1428
1429         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1430
1431 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1432
1433         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1434         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1435         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1436
1437 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1438
1439         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1440         Use `with-temp-buffer'.
1441
1442 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1443
1444         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1445
1446         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1447         `wl-read-search-condition').
1448         (elmo-read-search-condition-internal): Likewise.
1449
1450         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1451         (elmo-flag-valid-p): New function.
1452         (elmo-folder-initialize): Check flag name is valid.
1453
1454 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1455
1456         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1457         delimiter to obtain root mailbox itself.
1458
1459 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1460
1461         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1462         type mismatch.
1463
1464 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1465
1466         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1467         as t.
1468
1469 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1470
1471         * elmo-shimbun.el (toplevel): Require cl at compile.
1472
1473         * elmo-nntp.el (toplevel): Ditto.
1474
1475         * elmo-nmz.el (toplevel): Ditto.
1476
1477         * elmo-multi.el (toplevel): Ditto.
1478
1479         * elmo-file.el (toplevel): Ditto.
1480
1481         * elmo-dop.el (toplevel): Ditto.
1482
1483         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1484
1485 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1486
1487         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1488         as nil.
1489
1490         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1491         size of elmo-message-fetch-internal is 0 byte.
1492
1493 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1494
1495         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1496
1497 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1498
1499         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1500         always plugged.
1501
1502 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1503
1504         * elmo-maildir.el (elmo-map-message-fetch): Call
1505         `elmo-map-folder-set-flag'.
1506
1507         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1508         (elmo-message-fetch): Merge from
1509         `elmo-message-fetch-with-cache-process'.
1510
1511         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1512         (elmo-message-fetch): Define.
1513
1514         * elmo-nntp.el (elmo-message-fetch): Renamed from
1515         `elmo-message-fetch-with-cache-process'.
1516
1517         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1518         (elmo-message-fetch): Define.
1519
1520         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1521         search-key.
1522
1523         * elmo-shimbun.el (shimbun-mua-search-id): Use
1524         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1525         (elmo-shimbun-folder-shimbun-header): Ditto.
1526         (elmo-shimbun-get-headers): Ditto.
1527         (elmo-shimbun-update-overview): Ditto.
1528
1529         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1530
1531         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1532         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1533
1534 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1535
1536         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1537         message is cached.
1538         (elmo-message-fetch-string): Fixed argument.
1539
1540 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1541
1542         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1543         exchange order of arguments `section' and `unread'.
1544         (elmo-message-encache): Follow the API change.
1545         (elmo-message-match-condition): Ditto.
1546         (elmo-generic-folder-append-messages): Ditto.
1547         (elmo-message-fetch-string): New function.
1548
1549         * elmo-split.el (elmo-split-subr): Ditto.
1550
1551         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1552
1553         * elmo-pipe.el (elmo-message-fetch): Ditto.
1554
1555         * elmo-multi.el (elmo-message-fetch): Ditto.
1556
1557         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1558
1559         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1560
1561         * elmo-filter.el (elmo-message-fetch): Ditto.
1562
1563         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1564
1565         * elmo-imap4.el (mime-imap-location-section-body): Use
1566         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1567         follow the API change.
1568
1569 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1570
1571         * elmo-access.el: New file.
1572
1573         * elmo-null.el: Ditto.
1574
1575         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1576
1577 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1578
1579         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1580         (elmo-network-session): New attribute `last-accessed'.
1581         (elmo-network-get-session): Discard network cache if elapsed time
1582         since last-accessed is larger than elmo-network-session-idle-timeout.
1583
1584 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1585
1586         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1587         and added `number', `require-entireness'.
1588         (elmo-find-fetch-strategy): Rewrite.
1589         (elmo-message-fetch): Unset `unread' flag when argument unread is
1590         non-nil.
1591
1592         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1593
1594         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1595         (elmo-message-fetch): Notify event `flag-changed'.
1596
1597         * elmo-pipe.el: Likewise.
1598
1599         * elmo-mime.el (elmo-mime-entity): New class.
1600         (elmo-mime-entity-display-p): New generic function.
1601         (elmo-mime-entity-display): Ditto.
1602         (elmo-mime-entity-display-as-is): Ditto.
1603         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1604         elmo-mime-entity.
1605         (elmo-make-mime-message-location): Removed.
1606         (elmo-mime-message-display): Ditto.
1607         (elmo-mime-display-as-is): Ditto.
1608         (elmo-message-mime-entity): New function.
1609
1610         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1611
1612         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1613         change.
1614         (elmo-message-fetch): Re-count flagged message number and notify
1615         event `flag-changed'.
1616
1617         * elmo-version.el (elmo-version): Up to 2.13.1.
1618
1619 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1620
1621         * elmo-filter.el (elmo-message-field): Define.
1622         (elmo-message-set-field): Ditto.
1623
1624 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1625
1626         * elmo.el (elmo-message-set-cached): Call
1627         `elmo-folder-notify-event' with cache-changed.
1628         (elmo-event-handler-cache-changed): New generic function.
1629
1630 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1631
1632         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1633         instead of elmo-add-name-to-file.
1634         (elmo-folder-append-messages): Ditto.
1635
1636 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1637
1638         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1639
1640 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1641
1642         * elmo-version.el (elmo-version): Up to 2.13.0.
1643
1644         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1645         `auto'.
1646
1647         * modb-standard.el (modb-standard-economize-entity-size): Changed
1648         default value to `t'.
1649
1650         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1651         `standard'.
1652
1653         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1654         after parsing greeting string.
1655
1656 2004-11-23  Daishi Kato <daishi@axlight.com>
1657
1658         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1659         New user option.
1660         (elmo-spam-spamoracle-call): Use it.
1661
1662 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1663
1664         * elmo.el (elmo-message-accessible-p): Message in dop spool
1665         is accessible.
1666
1667 2004-11-23  Daishi Kato <daishi@axlight.com>
1668
1669         * elsp-spamoracle.el: New file.
1670
1671 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1672
1673         * elmo.el (elmo-message-flags-for-append): New function.
1674         (elmo-generic-folder-append-messages): Use it.
1675
1676         * elmo-split.el (elmo-split-subr): Ditto.
1677
1678         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1679         `flags' and use elmo-folder-append-buffer instead of
1680         write-region-as-binary.
1681         (elmo-dop-filter-pending-messages): New function.
1682         (elmo-folder-append-buffer-dop): Call
1683         elmo-dop-spool-folder-append-buffer with `flag'.
1684         (elmo-folder-set-flag-dop): Filter messages by
1685         elmo-dop-filter-pending-messages.
1686         (elmo-folder-unset-flag-dop): Ditto.
1687         (elmo-folder-append-buffer-dop-delayed): Use
1688         elmo-message-flags-for-append to get flags of the message and
1689         simplify.
1690
1691 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1692
1693         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1694
1695 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1696
1697         * elmo.el (elmo-folder): Added handlers slot.
1698         (elmo-event-handler): New class.
1699         (elmo-event-handler-flag-changed): New API.
1700         (elmo-folder-add-handler): New function.
1701         (elmo-folder-remove-handler): Ditto.
1702         (elmo-folder-notify-event): Ditto.
1703         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1704         `flag-changed'.
1705         (elmo-folder-unset-flag): Ditto.
1706
1707         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1708         (elmo-folder-unset-flag): Ditto.
1709
1710         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1711         (elmo-folder-unset-flag): Ditto.
1712
1713         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1714         (elmo-folder-unset-flag): Ditto.
1715
1716         * elmo-version.el (elmo-version): Up to 2.11.33.
1717
1718 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1719
1720         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1721
1722 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1723
1724         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1725
1726         * elmo-flag.el (elmo-folder-unset-flag): Define.
1727         (elmo-global-flag-detach): Do process when the flag is not target
1728         flag.
1729
1730 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1731
1732         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1733         variable.
1734         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1735
1736 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1737
1738         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1739         function.
1740         (elmo-folder-delete-messages): Detach messages before delete
1741         messages from target folder.
1742         (elmo-folder-detach-messages): Set updated number-list to slot.
1743
1744 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1745
1746         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1747
1748 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1749
1750         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1751
1752 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1753
1754         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1755         internal use only).
1756         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1757         not modified.
1758         (elmo-folder-delete-messages): Define.
1759         (elmo-folder-move-messages): Don't call
1760         `elmo-folder-detach-messages'.
1761         (elmo-folder-synchronize): Rewrite.
1762         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1763
1764         * elmo-util.el (elmo-last): New function.
1765         (elmo-set-list): Ditto.
1766         (elmo-number-set-delete-list): Ditto.
1767         (elmo-number-set-delete): Ditto.
1768
1769         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1770
1771         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1772         `elmo-folder-delete-messages' and don't delete location map.
1773         (elmo-folder-detach-messages): Define.
1774
1775         * elmo-imap4.el (elmo-folder-delete): Use
1776         `elmo-folder-delete-messages-internal' instead of
1777         `elmo-folder-delete-messages'.
1778
1779         * elmo-filter.el (elmo-folder-delete-messages): Call
1780         `elmo-folder-detach-messages'.
1781         (elmo-folder-detach-messages): Don't call
1782         `elmo-folder-detach-messages' for target folder.
1783
1784         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1785         message deletion is succeeded.
1786
1787         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1788
1789         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1790         from `elmo-folder-delete-messages'.
1791
1792         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1793
1794         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1795
1796         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1797
1798         * elmo-version.el (elmo-version): Up to 2.11.32.
1799
1800 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1801
1802         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1803         (elmo-global-flag-list): Added obsolete variable setting.
1804
1805         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1806
1807         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1808         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1809         `elmo-mime-display-header-analysis' is nil.
1810
1811         * elmo-flag.el (elmo-global-flags): Renamed from
1812         `elmo-global-flag-list' (All other related portions are changed).
1813         (elmo-local-flags): New variable.
1814         (elmo-local-flag-p): New function.
1815         (elmo-global-flag-set-internal): Cause an error when flag is not
1816         global.
1817
1818 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1819
1820         * elmo-util.el (elmo-concat-path): Treat empty path.
1821
1822 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1823
1824         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1825         field-or-fields).
1826         (elmo-split-address-match): Ditto.
1827         (elmo-split-equal): Ditto.
1828         (elmo-split-match): Ditto.
1829
1830 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1831
1832         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1833         (elmo-generic-folder-append-messages): If src message exists but
1834         has no flag, pass (read) for the FLAG argument of
1835         `elmo-folder-append-buffer'. Otherwise, pass nil.
1836
1837         * elmo-split.el (elmo-split-subr): Likewise.
1838
1839         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1840
1841         * elmo-multi.el (elmo-message-flags): Ditto.
1842
1843         * elmo-filter.el (elmo-message-flags): Ditto.
1844
1845         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1846         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1847         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1848         
1849 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1850
1851         * elmo-split.el (elmo-split-rule): Update comment.
1852         (elmo-split-address-equal): Allow 2nd argument to be a list.
1853         (elmo-split-address-match): Ditto.
1854         (elmo-split-equal): Ditto.
1855         (elmo-split-match): Ditto.
1856
1857 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1858
1859         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1860         (elmo-folder-append-msgdb): Don't treat `read'.
1861         (elmo-message-flags): Don't return `read'.
1862
1863         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1864         (elmo-folder-unset-read-delayed): Ditto.
1865
1866         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1867
1868 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1869
1870         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1871         deletion.
1872
1873 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1874
1875         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1876         header.
1877
1878 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1879
1880         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1881         here.
1882         (elmo-msgdb-save): Bind inhibit-quit.
1883         (modb-standard-message-entity): Ditto.
1884
1885 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1886
1887         * elmo-database.el: No need to require elmo-msgdb.
1888
1889 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1890
1891         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1892         instead of `elmo-list-subdirectories'.
1893
1894 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1895
1896         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1897         group entry.
1898         (elmo-folder-exists-p): "[" is empty.
1899         (elmo-folder-list-subfolders): Define.
1900         (elmo-folder-have-subfolder-p): Ditto.
1901
1902 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1903
1904         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1905
1906 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1907
1908         * elmo-filter.el (elmo-folder-local-p): Define.
1909
1910 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1911
1912         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1913         when entity is garbaged.
1914         (modb-standard-save-entity-1): Don't modify the original entity.
1915
1916 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1917
1918         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1919
1920 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1921
1922         * elmo.el (elmo-strict-folder-diff): Use
1923         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1924
1925 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1926
1927         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1928         (elmo-msgdb-message-number): Ditto.
1929         (elmo-msgdb-message-field): Ditto.
1930
1931         * modb-standard.el (modb-standard-economize-entity-size): New user
1932         option.
1933         (modb-standard-loaded-message-id): New inline function.
1934         (modb-standard-load-entity): Use it.
1935         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1936         throw message-id string away.
1937         (elmo-msgdb-flag-available-p): Define.
1938         (elmo-msgdb-message-number): Ditto.
1939         (elmo-msgdb-message-field): Ditto.
1940
1941         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1942         (suppoted -> supported).
1943         (modb-legacy-supported-flag-p): Ditto.
1944         (elmo-msgdb-set-flag): Ditto.
1945         (elmo-msgdb-unset-flag): Ditto.
1946         (elmo-msgdb-flag-available-p): Define.
1947
1948         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1949         is `t', treat it as legacy entity.
1950         
1951         * elmo.el (elmo-message-flag-available-p): New generic function.
1952         (elmo-message-number): Ditto.
1953         (elmo-message-field): Use `elmo-msgdb-message-field'.
1954
1955         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1956
1957         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1958         (elmo-message-number): Ditto.
1959
1960         * elmo-multi.el (elmo-message-number): Define.
1961         (elmo-message-flag-available-p): Ditto.
1962
1963         * elmo-filter.el (elmo-message-flag-available-p): Define.
1964         (elmo-message-number): Ditto.
1965
1966         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1967         (elmo-folder-initialize): Load `max-number'.
1968         (elmo-folder-commit): Save it.
1969         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1970         (elmo-global-flag-set-internal): Set up max-number slot.
1971
1972 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1973
1974         * elmo-version.el (elmo-version): Up to 2.11.31.
1975
1976 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1977
1978         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1979         unibyte string of the current buffer for the argument of `md5'
1980         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1981
1982 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1983
1984         * modb-legacy.el (modb-legacy-flag-list): New constant.
1985         (modb-legacy-suppoted-flag-p): New internal function.
1986         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1987         (elmo-msgdb-unset-flag): Ditto.
1988
1989 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1990
1991         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1992
1993         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1994         from msgdb.
1995
1996 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1997
1998         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1999         (follow the API change).
2000
2001         * elmo-filter.el (elmo-folder-count-flags): Ditto.
2002
2003 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2004
2005         * modb-standard.el (modb-standard-digest-flags): Abolish.
2006         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2007
2008         * elmo-vars.el (elmo-digest-flags): New variable.
2009         (elmo-preserved-flags): Moved from elmo-flag.el.
2010
2011         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2012         (elmo-imap4-flag-to-imap-criteria): Ditto.
2013         (elmo-imap4-folder-list-flagged): Use it.
2014
2015         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2016
2017         * elmo.el (elmo-folder-count-flags): Changed return value.
2018
2019         * elmo-flag.el (elmo-preserved-flags): New variable.
2020         (elmo-get-global-flags): Use it.
2021
2022         * modb-standard.el (modb-standard-digest-flags): New variable.
2023         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2024         Changed behavior of `any'.
2025
2026         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2027         which are defined the Internet draft
2028         (draft-melnikov-imap-keywords-03.txt).
2029         (elmo-imap4-flags-to-imap): New function.
2030         (elmo-folder-append-buffer): Use it.
2031
2032         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2033         in the docstring.
2034
2035         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2036         avoid the bug of Emacs 21.3.
2037
2038 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
2039
2040         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2041         function find-coding-system does not exist.
2042
2043 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2044
2045         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2046         parsing.
2047
2048 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2049
2050         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2051         response codes.
2052
2053 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
2054
2055         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2056         (elmo-network-close-session): Follow the changes in
2057         `elmo-pop3-read-response'.
2058         (elmo-pop3-auth-user): Ditto.
2059         (elmo-pop3-auth-apop): Ditto.
2060         (elmo-network-initialize-session): Ditto.
2061         (elmo-network-authenticate-session): Ditto.
2062         (elmo-network-setup-session): Ditto.
2063         (elmo-folder-status): Ditto.
2064         (elmo-message-fetch-plugged): Ditto.
2065         (elmo-pop3-delete-msg): Ditto.
2066
2067 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
2068
2069         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2070         on failure.
2071
2072 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2073
2074         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2075         style.
2076         (elmo-bind-directory): Ditto.
2077
2078 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2079
2080         * elmo.el (elmo-folder-append-messages): Note on return value.
2081         * elmo-archive.el (elmo-folder-append-messages): Don't return
2082         message numbers which could not be appended.
2083
2084 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2085
2086         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2087
2088 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2089
2090         * elmo-version.el (elmo-version): Up to 2.11.30.
2091
2092 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2093
2094         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2095         `mask'.
2096
2097         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2098
2099         * elmo-multi.el (elmo-folder-synchronize): Likewise.
2100         (elmo-multi-split-numbers): Add elmo-folder object into each
2101         element of return value at first.
2102         (elmo-folder-delete-messages): Follow the above change.
2103         (elmo-folder-detach-messages): Ditto.
2104
2105         * elmo-filter.el (elmo-folder-synchronize): Minimize message
2106         number which is synchronized in target folder.
2107
2108 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2109
2110         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2111         Change default value to symbol `all'.
2112         (elmo-map-message-fetch): Change condition to update overview
2113         follow the above.
2114
2115 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2116
2117         * elmo-shimbun.el (elmo-map-message-fetch): Change default
2118         behavior to update overview.
2119         (elmo-shimbun-update-overview-folder-list): Note it.
2120
2121 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2122
2123         * modb-standard.el (modb-standard-message-entity): Avoid infinite
2124         recursive call.
2125
2126 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2127
2128         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2129         buffer-disable-undo, it is unnecessary.
2130         (elmo-spam-register-good-messages): Ditto.
2131
2132         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2133         Ditto.
2134
2135         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2136
2137 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2138
2139         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2140         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2141         elmo-set-buffer-multibyte.
2142         (elmo-object-load): Ditto.
2143         (elmo-save-buffer): Ditto.
2144         (elmo-delete-char): Ditto.
2145         (elmo-file-field-primitive-condition-match): Ditto.
2146         (elmo-mime-string): Ditto.
2147
2148         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2149         (elmo-archive-field-condition-match): Ditto.
2150
2151         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2152
2153         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2154
2155         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2156         (elmo-nntp-msgdb-create-message): Ditto.
2157
2158         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2159
2160         * elmo.el (elmo-message-match-condition): Ditto.
2161         (elmo-message-match-condition): Ditto.
2162
2163         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2164         Ditto.
2165
2166         * elmo-version.el (elmo-version): Up to 2.11.29.
2167
2168         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2169         (elsp-header): New backend.
2170
2171         * elmo-util.el (elmo-decoded-field-body): New function.
2172
2173 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2174
2175         * elmo-version.el (elmo-version): Up to 2.11.28.
2176
2177 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2178
2179         * elmo-filter.el: Rewrite.
2180
2181         * elmo-version.el (elmo-version): Up to 2.11.27.
2182
2183 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2184
2185         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2186         msgdb path for the localdir folder with absolute path.
2187
2188         * utf7.el: Synch up with latest gnus/utf7.el;
2189         Modified for latest Emacs.
2190
2191 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2192
2193         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2194         shimbun backend couldn't open.
2195
2196 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2197
2198         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2199         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2200         when a destination folder is a filter folder.
2201
2202 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2203
2204         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2205         (elmo-generic-folder-append-messages): Call elmo-message-flags
2206         with argument `msgid'.
2207
2208         * elmo-split.el (elmo-split-subr): Ditto.
2209
2210         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2211
2212         * elmo-multi.el (elmo-message-flags): Ditto.
2213
2214 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2215
2216         * elmo.el (elmo-folder): Add new slot `flag-table'.
2217         (elmo-folder-flag-table): New API.
2218         (elmo-folder-close-flag-table): Ditto.
2219         (elmo-folder-preserve-flags): New function.
2220         (elmo-generic-folder-append-messages): Use
2221         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2222         Flag of a non-registered message, it sets to nil.
2223         Does not set flag to flag-table.
2224
2225         * elmo-maildir.el (elmo-folder-append-buffer): Use
2226         `elmo-folder-preserve-flags'.
2227         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2228         `elmo-folder-close-flag-table'.
2229
2230         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2231         (elmo-archive-folder-append-buffer): Use
2232         `elmo-folder-preserve-flags'.
2233
2234         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2235
2236         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2237
2238         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2239         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2240         `elmo-folder-close-flag-table'.
2241
2242         * elmo-version.el (elmo-version): Up to 2.11.26.
2243
2244 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2245
2246         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2247
2248         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2249         md5's 4th and 5th argument (non-existent in flim one).
2250
2251 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2252
2253         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2254         message, It sets to nil.
2255
2256 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2257
2258         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2259         list is non-nil.
2260
2261 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2262
2263         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2264
2265         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2266
2267         * elmo-util.el (elmo-uniq-sorted-list): New function.
2268         (elmo-make-number-list): Ditto.
2269         (elmo-number-set-to-number-list): Use elmo-make-number-list
2270         and don't use nreverse.
2271
2272 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2273
2274         * elmo-version.el (elmo-version): Up to 2.11.25.
2275
2276 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2277
2278         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2279         field not exists in message, Use md5 message digest of header.
2280
2281 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2282
2283         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2284         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2285         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2286         * elmo-split.el (elmo-split-subr): Check return value of
2287         elmo-folder-append-buffer.
2288
2289         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2290         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2291
2292         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2293         message-id.
2294
2295 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2296
2297         * elmo-split.el (elmo-split-subr): Append message with flag.
2298
2299         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2300         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2301         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2302
2303 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2304
2305         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2306         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2307         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2308
2309 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2310
2311         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2312         with a function call of `process-buffer'.  All callers are updated.
2313         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2314         Remove redundant `set-buffer' in a while loop.
2315
2316 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2317
2318         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2319         calls.
2320
2321 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2322
2323         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2324         elsp-spamfilter-register-buffer-internal with current buffer.
2325         (elmo-spam-register-spam-buffer): Ditto.
2326         (elmo-spam-register-good-buffer): Ditto.
2327
2328 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2329
2330         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2331         if it is not contained in the response(A workaround for courier-imap).
2332
2333 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2334
2335         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2336         parenthesis.
2337
2338 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2339
2340         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2341         range.
2342
2343 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2344
2345         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2346         of nconc.
2347
2348         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2349         argument handler.
2350         (elmo-msgdb-message-match-condition): Follow the change above.
2351
2352 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2353
2354         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2355         folder name.
2356
2357 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2358
2359         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2360
2361 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2362
2363         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2364
2365 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2366
2367         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2368         not found.
2369
2370 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2371
2372         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2373         value.
2374         (elmo-file-command-argument): Undo last change for cygwin.
2375         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2376         Don't return nil.
2377         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2378
2379 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2380
2381         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2382         value returned from elmo-file-find is nil.
2383
2384 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2385
2386         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2387         to elmo-vars.el.
2388
2389         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2390         instead of insert-file-contents-as-binary.
2391         (elmo-message-set-field): New generic function.
2392
2393         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2394         behavior change on `split-string'.
2395
2396         * elmo-file.el (elmo-file-find): New function.
2397         (elmo-file-command): New user option.
2398         (elmo-file-command-argument): Ditto.
2399         (elmo-file-fetch-max-size): Ditto.
2400         (elmo-file-detect-format): New function.
2401         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2402         Use elmo-file-detect-format.
2403         (elmo-map-folder-list-message-locations): Don't treat directories.
2404
2405 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2406
2407         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2408         (elmo-passwd-alist-clear): Shred password before clear.
2409         (elmo-remove-passwd): Remove all mached pair.
2410
2411 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2412
2413         * elmo.el (elmo-folder-synchronize): Fix description of the return
2414         value.
2415
2416 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2417
2418         * elmo.el (elmo-message-fetch-bodystructure): New method.
2419         (elmo-message-fetch-bodystructure): Define default.
2420
2421         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2422         elmo-message-fetch-bodystructure.
2423         (elmo-message-fetch-bodystructure): Define.
2424
2425         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2426
2427 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2428
2429         * elmo-filter.el (elmo-message-folder): Define.
2430
2431 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2432
2433         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2434         elmo-delete-cr-buffer.
2435
2436         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2437
2438         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2439
2440         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2441
2442         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2443         type seems to be a text.
2444
2445 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2446
2447         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2448         (elmo-spam-register-good-buffer): Ditto.
2449         (elmo-spam-spamassassin-register-messages): Ditto.
2450
2451         * elmo-util.el (elmo-string-member-ignore-case): Define with
2452         static-cond.
2453
2454 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2455
2456         * elmo.el (elmo-folder-type): Undo last change.
2457
2458         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2459
2460         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2461         warnings.
2462
2463         * elmo-file.el: New file.
2464         
2465         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2466
2467         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2468         variable.
2469         (elmo-spam-spamassassin-register-messages): New inline function.
2470         (elmo-spam-register-spam-messages): Define.
2471         (elmo-spam-register-good-messages): Ditto.
2472
2473         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2474         Fixed typo.
2475
2476         * elmo.el (toplevel): Added autoload setting for
2477         `elmo-get-global-flags'.
2478         (elmo-message-has-global-flag-p): New function.
2479         (elmo-message-set-global-flags): Ditto.
2480         (elmo-folder-type): Improvement for name: format.
2481
2482         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2483         availability of keyword flags.
2484         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2485         (elmo-folder-list-flagged-plugged): Renamed from
2486         elmo-folder-list-flagged-unplugged.
2487         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2488         accept any flag as keyword flag.
2489         (elmo-folder-set-flag-plugged): Accept keyword flags.
2490         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2491
2492         * elmo-flag.el (elmo-get-global-flags): New function.
2493
2494         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2495         folders.
2496
2497         * elmo-version.el (elmo-version): Up to 2.11.24.
2498
2499 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2500
2501         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2502         elmo-multiple-field-body instead of std11-field-body to check all
2503         headers.
2504
2505 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2506
2507         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2508         or "size".
2509
2510 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2511
2512         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2513         unintern is unbound.
2514
2515 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2516
2517         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2518         Protect from infinite loop.
2519
2520 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2521
2522         * elsp-bogofilter.el
2523         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2524         (elmo-spam-bogofilter-register-messages): New internal function.
2525         (elmo-spam-register-spam-messages): Define.
2526         (elmo-spam-register-good-messages): Ditto.
2527
2528 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2529
2530         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2531         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2532         (elmo-spam-bogofilter-call): Fixed the last change.
2533         (elmo-spam-bogofilter-arguments): Ditto.
2534
2535         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2536         Follow the options change of latest bogofilter.
2537
2538         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2539         (elmo-spam-bogofilter-good-switch): Ditto.
2540         (elmo-spam-bogofilter-arguments-alist): New user option.
2541         (elmo-spam-bogofilter-debug): Ditto.
2542         (elmo-spam-bogofilter-call): Renamed from
2543         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2544         is non-nil, insert output in buffer for debug.
2545         (elmo-spam-bogofilter-arguments): New macro.
2546         (elmo-spam-buffer-spam-p): Use it.
2547         (elsp-bogofilter-register-buffer): Ditto.
2548
2549 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2550
2551         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2552         regexp.
2553
2554 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2555
2556         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2557         value as "ruby".
2558         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2559         (elmo-spam-bsfilter-program): Set default value as full path for
2560         `bsfilter'.
2561         (elmo-spam-bsfilter-debug): New user option.
2562         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2563         non-nil, insert output in buffer for debug. Fix treating of
2564         argument.
2565
2566 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2567
2568         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2569         `elmo-maildir-flag-specs' element instead of one.
2570         (elmo-map-folder-unset-flag): Ditto.
2571         (Reported by Ken Makimura <macky@astem.or.jp>)
2572
2573         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2574         (elmo-folder-unset-flag-plugged): Ditto.
2575
2576 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2577
2578         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2579         to `reads' slot only if `in-msgdb' is nil.
2580
2581 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2582
2583         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2584         and complement argument list.
2585
2586 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2587
2588         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2589         instead of elmo-folder-list-flagged.
2590
2591 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2592
2593         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2594
2595         * elsp-bsfilter.el: New file.
2596
2597         * elmo-pipe.el (elmo-folder-list-unreads,
2598         elmo-folder-list-answereds,
2599         elmo-folder-list-importants,
2600         elmo-folder-flag-as-important,
2601         elmo-folder-unflag-important,
2602         elmo-folder-flag-as-read,
2603         elmo-folder-unflag-read,
2604         elmo-folder-flag-as-answered,
2605         elmo-folder-unflag-answered): Remove.
2606         (elmo-folder-set-flag): Define.
2607         (elmo-folder-unset-flag): Ditto.
2608
2609         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2610         (elmo-folder-set-flag): Define.
2611         (elmo-folder-unset-flag): Ditto.
2612         (elmo-folder-list-unreads): Remove.
2613         (elmo-folder-list-flagged): Define.
2614
2615         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2616         (elmo-folder-list-unreads,
2617         elmo-folder-list-importants,
2618         elmo-folder-list-answereds,
2619         elmo-folder-list-unreads-plugged,
2620         elmo-folder-list-importants-plugged,
2621         elmo-folder-list-answereds-plugged): Remove.
2622         (elmo-folder-list-flagged-plugged): New method.
2623         (elmo-folder-unflag-important,
2624         elmo-folder-flag-as-important,
2625         elmo-folder-unflag-read,
2626         elmo-folder-flag-as-read,
2627         elmo-folder-unflag-answered,
2628         elmo-folder-flag-as-answered,
2629         elmo-folder-flag-as-read-unplugged,
2630         elmo-folder-unflag-read-unplugged,
2631         elmo-folder-flag-as-important-unplugged,
2632         elmo-folder-unflag-important-unplugged,
2633         elmo-folder-flag-as-answered-unplugged,
2634         elmo-folder-unflag-answered-unplugged): Remove.
2635         (elmo-folder-set-flag): Define.
2636         (elmo-folder-unset-flag): Ditto.
2637         (elmo-folder-set-flag-unplugged): Ditto.
2638         (elmo-folder-unset-flag-unplugged): Ditto.
2639
2640         * elmo-multi.el (elmo-folder-list-unreads,
2641         elmo-folder-list-answereds,
2642         elmo-folder-list-importants,
2643         elmo-folder-flag-as-important,
2644         elmo-folder-unflag-important,
2645         elmo-folder-flag-as-read,
2646         elmo-folder-unflag-read,
2647         elmo-folder-flag-as-answered,
2648         elmo-folder-unflag-answered): Remove.
2649         (elmo-folder-set-flag): Define.
2650         (elmo-folder-unset-flag): Ditto.
2651
2652         * elmo-map.el (elmo-map-folder-unflag-important,
2653         elmo-map-folder-flag-as-important,
2654         elmo-map-folder-unflag-read,
2655         elmo-map-folder-flag-as-read,
2656         elmo-map-folder-unflag-answered,
2657         elmo-map-folder-flag-as-answered): Remove.
2658         (elmo-map-folder-set-flag): New method.
2659         (elmo-map-folder-unset-flag): Ditto.
2660         (elmo-map-folder-list-unreads,
2661         elmo-map-folder-list-importants,
2662         elmo-map-folder-list-answereds): Remove.
2663         (elmo-folder-list-flagged-internal): Define.
2664         (elmo-map-folder-list-flagged): New method.
2665
2666         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2667         (elmo-map-folder-list-unreads,
2668         elmo-map-folder-list-importants,
2669         elmo-map-folder-list-flagged): Remove.
2670         (elmo-map-folder-list-flagged): Define.
2671         (elmo-map-folder-flag-as-important,
2672         elmo-map-folder-unflag-important,
2673         elmo-map-folder-flag-as-read,
2674         elmo-map-folder-unflag-read,
2675         elmo-map-folder-flag-as-answered,
2676         elmo-map-folder-unflag-answered): Remove.
2677         (elmo-maildir-set-mark-messages): New internal function.
2678         (elmo-map-folder-set-flag): Define.
2679         (elmo-map-folder-unset-flag): Ditto.
2680
2681         * elmo.el (toplevel): Added autoload setting for
2682         `elmo-folder-list-global-flag-messages'.
2683         (elmo-folder-list-unreads,
2684         elmo-folder-list-importants,
2685         elmo-folder-list-answereds): Remove.
2686         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2687         Return a list whitch merged with messages have global flag.
2688         (elmo-folder-list-flagged-internal): New method.
2689         (elmo-folder-unflag-important,
2690         elmo-folder-flag-as-important,
2691         elmo-folder-unflag-read,
2692         elmo-folder-flag-as-read,
2693         elmo-folder-unflag-answered,
2694         elmo-folder-flag-as-answered): Remove.
2695         (elmo-folder-set-flag): New method.
2696         (elmo-folder-unset-flag): Ditto.
2697         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2698         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2699
2700         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2701         (elmo-folder-list-unreads-plugged,
2702         elmo-folder-list-importants-plugged,
2703         elmo-folder-list-answereds-plugged,
2704         elmo-folder-list-flagged-unplugged,
2705         elmo-folder-unflag-important-plugged,
2706         elmo-folder-flag-as-important-plugged,
2707         elmo-folder-unflag-read-plugged,
2708         elmo-folder-flag-as-read-plugged,
2709         elmo-folder-unflag-answered-plugged,
2710         elmo-folder-flag-as-answered-plugged): Remove.
2711         (elmo-folder-set-flag-plugged,
2712         elmo-folder-unset-flag-plugged): Define.
2713
2714         * elmo-flag.el (elmo-folder-initialize): Register to
2715         `elmo-global-flag-list' if flag is not global.
2716         (elmo-folder-append-messages): Set flag to source messages.
2717
2718         * elmo-filter.el (elmo-filter-folder-list-unreads,
2719         elmo-folder-list-unreads,
2720         elmo-filter-folder-list-importants,
2721         elmo-folder-list-importants,
2722         elmo-folder-flag-as-read,
2723         elmo-folder-unflag-read,
2724         elmo-folder-flag-as-important,
2725         elmo-folder-unflag-important,
2726         elmo-folder-flag-as-answered,
2727         elmo-folder-unflag-answered): Remove.
2728         (elmo-folder-set-flag): Define.
2729         (elmo-folder-unset-flag): Ditto.
2730
2731         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2732         elmo-folder-unflag-read-dop,
2733         elmo-folder-flag-as-important-dop,
2734         elmo-folder-unflag-important-dop,
2735         elmo-folder-flag-as-answered-dop,
2736         elmo-folder-unflag-answered-dop): Remove.
2737         (elmo-folder-set-flag-dop,
2738         elmo-folder-unset-flag-dop,
2739         elmo-folder-set-important-delayed,
2740         elmo-folder-unset-important-delayed,
2741         elmo-folder-set-read-delayed,
2742         elmo-folder-unset-read-delayed,
2743         elmo-folder-set-answered-delayed,
2744         elmo-folder-unset-answered-delayed): New function.
2745         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2746         (elmo-dop-queue-method-name-alist): Ditto.
2747
2748         * elmo-version.el (elmo-version): Up to 2.11.23.
2749
2750 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2751
2752         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2753
2754         * elsp-sa.el: New file.
2755
2756 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2757
2758         * modb-standard.el (modb-standard-message-entity): New function.
2759         (elmo-msgdb-message-entity): Use it.
2760
2761 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2762
2763         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2764         behavior when one-level is nil.
2765
2766         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2767
2768         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2769
2770 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2771
2772         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2773         get max number.
2774         (elmo-generic-folder-diff): Ditto.
2775
2776         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2777         (elmo-folder-update-number): Ditto.
2778
2779         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2780         (elmo-folder-next-message-number-dop): Ditto.
2781
2782 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2783
2784         * elmo-filter.el (elmo-folder-msgdb-create): Use
2785         `elmo-message-entity' and `elmo-message-flags' instead of
2786         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2787
2788 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2789
2790         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2791         `if-exists'.
2792
2793 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2794
2795         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2796
2797         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2798
2799         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2800
2801 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2802
2803         * elmo-version.el (elmo-version): Up to 2.11.22.
2804
2805 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2806
2807         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2808
2809 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2810
2811         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2812         if the message dose not exist.
2813
2814 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2815
2816         * elmo-version.el (elmo-version): Up to 2.11.21.
2817
2818 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2819
2820         * modb-standard.el (toplevel): Don't require mime.
2821
2822 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2823
2824         * elsp-bogofilter.el (toplevel): Don't require path-util.
2825         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2826         (elmo-spam-bogofilter-header): Abolish.
2827         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2828         (elmo-spam-bogofilter-args): New user option.
2829         (elsp-bogofilter-call-bogofilter): New internal function.
2830         (elmo-spam-buffer-spam-p): Use it.
2831         (elsp-bogofilter-register-buffer): Renamed from
2832         `elmo-spam-bogofilter-register-buffer';
2833         Use `elsp-bogofilter-call-bogofilter'.
2834         (elmo-spam-register-spam-buffer): Follow the change above.
2835         (elmo-spam-register-good-buffer): Ditto.
2836
2837 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2838
2839         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2840         message-id is nil do nothing.
2841
2842 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2843
2844         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2845         Revival.
2846         (elmo-imap4-session): Removed use-flag slot.
2847         (elmo-imap4-session-select-mailbox): Undo last change.
2848         (elmo-folder-use-flag-p): Use
2849         elmo-imap4-disuse-server-flag-mailbox-regexp.
2850
2851 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2852
2853         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2854         (elmo-imap4-session-select-mailbox): Set it up.
2855         (elmo-folder-use-flag-p): Return value of use-flag slot.
2856
2857 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2858
2859         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2860         message-id is nil.
2861         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2862
2863         * modb-entity.el (elmo-message-entity-handler): Likewise.
2864
2865 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2866
2867         * elmo.el (toplevel): Remove setting of autoloding for
2868         elmo-global-flag-initialize.
2869         (elmo-init): Don't call elmo-global-flag-initialize.
2870         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2871
2872         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2873         (elmo-global-mark-migrate): Don't call it.
2874         (elmo-global-mark-upgrade): Ditto.
2875
2876 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2877
2878         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2879         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2880
2881         * elmo-vars.el (elmo-init-hook): New user option.
2882
2883         * elmo.el (elmo-init): Run the elmo-init-hook.
2884
2885         * elmo-flag.el (elmo-global-mark-migrate): New function.
2886
2887 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2888
2889         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2890         Undo last change (move to elmo-msgdb-unset-flag).
2891         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2892         flag is unset.
2893
2894 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2895
2896         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2897         read flag is set.
2898         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2899         (elmo-msgdb-unset-flag): Ditto.
2900
2901 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2902
2903         * elmo-split.el (elmo-split): Return split message count.
2904
2905 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2906
2907         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2908         is nil.
2909
2910 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2911
2912         * elmo.el (elmo-folder-unflag-important): Call
2913         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2914         a symbol `always'.
2915
2916         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2917         before unset flag.
2918         (elmo-global-flag-detach): Delete the message from flag folder, if
2919         `delete-if-none' is a symbol `always'.
2920
2921 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2922
2923         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2924         `elmo-spam-spamfilter-decode-buffer'.
2925         (elsp-spamfilter-register-buffer-internal): New internal function.
2926         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2927         (elmo-spam-register-spam-buffer): Ditto.
2928         (elmo-spam-register-good-buffer): Ditto.
2929
2930         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2931         change.
2932         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2933         (elmo-spam-register-spam-buffer): Follow the API change.
2934         (elmo-spam-register-good-buffer): Ditto.
2935
2936         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2937         (elmo-split-spam-p): Added argument plist; Call
2938         `elmo-spam-buffer-spam-p' with new argument register.
2939
2940         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2941         `register'.
2942         (elmo-spam-message-spam-p): Ditto.
2943         (elmo-spam-register-spam-buffer): Added optional argument
2944         `restore'.
2945         (elmo-spam-register-good-buffer): Ditto.
2946         (elmo-spam-register-spam-messages): Ditto.
2947         (elmo-spam-register-good-messages): Ditto.
2948
2949 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2950
2951         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2952         register into good corpus.
2953         (elmo-spam-register-good-buffer): Fixed to register into bad
2954         corpus.
2955
2956 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2957
2958         * elmo-version.el (elmo-version): Up to 2.11.20.
2959
2960         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2961         change.
2962
2963         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2964         flag without depending on \Recent flag.
2965
2966 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2967
2968         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2969         (elmo-spam-modified-p): Defined.
2970         (elmo-spam-save-status): Set `modified' slot to nil.
2971         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2972         (elmo-spam-register-good-buffer): Ditto.
2973
2974         * elmo-spam.el (elmo-spam-modified-p): New API.
2975
2976 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2977
2978         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2979         duplicate definition.
2980
2981         * elmo-util.el (elmo-unfold-field-body): New function.
2982         (elmo-msgdb-get-message-id-from-buffer): Use it.
2983
2984         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2985         Fixed the last change; Use elmo-unfold-field-body.
2986
2987 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2988
2989         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2990         Unfold date value.
2991
2992 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2993
2994         * elmo-spam.el (elmo-spam-save-status): New API.
2995
2996         * elsp-spamfilter.el: New file.
2997
2998 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2999
3000         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3001
3002 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3003
3004         * elmo-split.el (elmo-split-spam-p): New function.
3005
3006         * elmo-spam.el: New file.
3007
3008         * elsp-bogofilter.el: Ditto.
3009
3010 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
3011
3012         * elmo.el (elmo-folder-next-message-number): New API.
3013         (elmo-folder-next-message-number): Define.
3014         (elmo-message-field): Don't check folder length.
3015
3016         * elmo-net.el (elmo-folder-next-message-number): Define.
3017         (elmo-folder-next-message-number-unplugged): Define.
3018
3019         * elmo-map.el (elmo-folder-next-message-number): Define.
3020         (elmo-folder-delete-messages): Clear hash value.
3021
3022         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3023
3024         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3025         (elmo-folder-delete-messages-dop-delayed): Always return t.
3026
3027         * elmo-version.el (elmo-version): Up to 2.11.19.
3028
3029 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3030
3031         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3032         change.
3033
3034         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3035         identical cons cell into the mark-alist and the hash table.
3036
3037 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
3038
3039         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3040         elmo-folder-list-messages with argument `visible-only' as t.
3041
3042         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3043         (elmo-folder-msgdb-create): Check the target folder.
3044
3045 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
3046
3047         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3048         `permanentflag' instead of `flags'.
3049         (elmo-folder-open): Ditto.
3050         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3051         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3052         (elmo-folder-use-flag-p): Always return t.
3053         (elmo-imap4-session-select-mailbox): Use value of `flags' if
3054         `permanentflags' does not exist.
3055         (elmo-folder-open): Ditto.
3056
3057 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
3058
3059         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3060         is nil.
3061         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3062
3063         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3064         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3065         response.
3066         (elmo-folder-open): Ditto.
3067         (elmo-imap4-set-flag): Send store flag command only when the `flags'
3068         slot of the session includes the flag.
3069         (elmo-imap4-session-flag-available-p): New function.
3070         (elmo-imap4-folder-list-flagged): Ditto.
3071         (elmo-folder-list-unreads-plugged): Use it.
3072         (elmo-folder-list-importants-plugged): Ditto.
3073         (elmo-folder-list-answereds-plugged): Ditto.
3074         (elmo-imap4-search-internal-primitive): Ditto.
3075         (elmo-imap4-folder-list-any-plugged,
3076         elmo-imap4-folder-list-digest-plugged): Abolish.
3077
3078         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3079         if numbers is nil.
3080
3081 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
3082
3083         * elmo-util.el (toplevel): Require emu for char-list-to-string.
3084
3085 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3086
3087         * elmo-util.el (elmo-get-hash-val): Simplify.
3088         (elmo-set-hash-val): Rewrite.
3089
3090 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3091
3092         * elmo.el (elmo-folder-list-messages): Append killed messages into
3093         result if `visible-only' is nil and `in-msgdb' is non-nil.
3094
3095         * elmo-util.el (elmo-uniq-list): Added optional argument
3096         `delete-function'.
3097
3098         * modb.el (elmo-msgdb-flag-count): New API.
3099
3100         * modb-standard.el (modb-standard): Added slot flag-count.
3101         (modb-standard-countup-flags): New function.
3102         (modb-standard-load-flag): Call it.
3103         (elmo-msgdb-append): Ditto.
3104         (elmo-msgdb-clear): Clear slot flag-count.
3105         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3106         (elmo-msgdb-unset-flag): Treat `all' flag and call
3107         modb-standard-countup-flags.
3108         (elmo-msgdb-flag-count): Define.
3109         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3110         (elmo-msgdb-delete-messages): Ditto.
3111
3112         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3113         (elmo-msgdb-flag-count): Define.
3114
3115         * elmo.el (elmo-folder-list-messages): Undo last change.
3116         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3117         (elmo-folder-kill-messages): Unset all flags to numbers.
3118
3119         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3120         elmo-folder-kill-messages.
3121
3122         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3123         (elmo-nntp-folder-delete-messages): Abolish.
3124
3125         * elmo-version.el (elmo-version): Up to 2.11.18.
3126
3127 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3128
3129         * elmo.el (elmo-folder-kill-messages-before): Abolish.
3130         (elmo-folder-kill-messages-range): New function.
3131         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3132         instead of elmo-folder-kill-messages-before.
3133
3134 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3135
3136         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3137         elmo-imap4-current-msgdb to decide entity handler.
3138
3139 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3140
3141         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3142
3143         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3144         inline function.
3145         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3146         (elmo-msgdb-overview-entity-set-number,
3147         elmo-msgdb-overview-entity-get-references,
3148         elmo-msgdb-overview-entity-set-references,
3149         elmo-msgdb-overview-entity-get-from-no-decode,
3150         elmo-msgdb-overview-entity-get-from,
3151         elmo-msgdb-overview-entity-set-from,
3152         elmo-msgdb-overview-entity-get-subject,
3153         elmo-msgdb-overview-entity-get-subject-no-decode,
3154         elmo-msgdb-overview-entity-set-subject,
3155         elmo-msgdb-overview-entity-get-date,
3156         elmo-msgdb-overview-entity-set-date,
3157         elmo-msgdb-overview-entity-get-to,
3158         elmo-msgdb-overview-entity-get-cc,
3159         elmo-msgdb-overview-entity-get-size,
3160         elmo-msgdb-overview-entity-set-size,
3161         elmo-msgdb-overview-entity-get-extra,
3162         elmo-msgdb-overview-entity-set-extra,
3163         elmo-msgdb-overview-entity-get-extra-field,
3164         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3165         (elmo-msgdb-make-index): Use
3166         `elmo-msgdb-overview-entity-get-number-internal'.
3167         (elmo-msgdb-clear-index): Ditto.
3168         (elmo-msgdb-append-entity): Ditto;
3169         Use `elmo-msgdb-overview-entity-get-id-internal'.
3170
3171         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3172         elmo-msgdb-overview-entity-set-number,
3173         elmo-msgdb-overview-entity-get-references,
3174         elmo-msgdb-overview-entity-set-references,
3175         elmo-msgdb-overview-entity-get-from-no-decode,
3176         elmo-msgdb-overview-entity-get-from,
3177         elmo-msgdb-overview-entity-set-from,
3178         elmo-msgdb-overview-entity-get-subject,
3179         elmo-msgdb-overview-entity-get-subject-no-decode,
3180         elmo-msgdb-overview-entity-set-subject,
3181         elmo-msgdb-overview-entity-get-date,
3182         elmo-msgdb-overview-entity-set-date,
3183         elmo-msgdb-overview-entity-get-to,
3184         elmo-msgdb-overview-entity-get-cc,
3185         elmo-msgdb-overview-entity-get-size,
3186         elmo-msgdb-overview-entity-set-size,
3187         elmo-msgdb-overview-entity-get-extra,
3188         elmo-msgdb-overview-entity-set-extra,
3189         elmo-msgdb-overview-entity-get-extra-field,
3190         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3191         and rewrote for backward compatibility.
3192
3193 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3194
3195         * elmo.el (elmo-message-entity-number,
3196         elmo-message-entity-set-number,
3197         elmo-message-entity-field,
3198         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3199
3200         * elmo-msgdb.el (elmo-message-entity-number,
3201         elmo-message-entity-set-number,
3202         elmo-message-entity-field,
3203         elmo-message-entity-set-field): Moved from elmo.el.
3204
3205 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3206
3207         * elmo.el (toplevel): Changed definition orders.
3208
3209 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3210
3211         * modb.el (elmo-msgdb-search): New API .
3212         (elmo-msgdb-match-condition): Ditto.
3213
3214         * modb-standard.el (elmo-msgdb-search): Define.
3215
3216         * modb-legacy.el (elmo-msgdb-search): Ditto.
3217
3218         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3219         from elmo-msgdb-match-condition-internal.
3220
3221         * elmo.el (elmo-folder-search-fast): Abolish.
3222         (elmo-folder-search): Use elmo-msgdb-search and
3223         elmo-with-progress-display.
3224
3225         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3226         as msgdb API.
3227
3228         * elmo.el (elmo-folder): Remove slot message-modified and
3229         flag-modified.
3230         (elmo-folder-set-message-modified): Abolish.
3231         (elmo-generic-folder-commit): Follow the change above.
3232         (elmo-folder-synchronize): Ditto.
3233
3234         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3235
3236         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3237
3238         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3239
3240 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3241
3242         * modb-standard.el (modb-standard-make-message-entity,
3243         elmo-msgdb-make-message-entity,
3244         elmo-msgdb-create-message-entity-from-buffer,
3245         elmo-msgdb-message-entity-number,
3246         elmo-msgdb-message-entity-set-number,
3247         elmo-msgdb-message-entity-field,
3248         elmo-msgdb-message-entity-set-field,
3249         elmo-msgdb-copy-message-entity,
3250         elmo-msgdb-match-condition-internal): Remove.
3251
3252         * modb-entity.el: New file (again).
3253
3254         * modb.el (toplevel): Require modb-entity.
3255         (elmo-msgdb-message-entity-handler): New method.
3256
3257         * modb-standard.el (modb-standard-entity-id): Use
3258         elmo-message-entity-handler.
3259         (modb-standard-load-entity): Ditto.
3260         (elmo-msgdb-append-entity): Ditto.
3261         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3262
3263         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3264         elmo-msgdb-decoded-cache-hashtb,
3265         (modb-legacy-make-message-entity,
3266         elmo-msgdb-make-message-entity,
3267         elmo-msgdb-create-message-entity-from-buffer,
3268         elmo-msgdb-message-entity-number,
3269         elmo-msgdb-message-entity-set-number,
3270         elmo-msgdb-message-entity-field,
3271         elmo-msgdb-message-entity-set-field,
3272         elmo-msgdb-copy-message-entity,
3273         elmo-msgdb-match-condition-internal,
3274         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3275
3276         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3277         (elmo-message-entity-set-number): Ditto.
3278         (elmo-message-entity-field): Ditto.
3279         (elmo-message-entity-set-field): Ditto.
3280
3281         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3282
3283         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3284
3285         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3286
3287         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3288         (elmo-nntp-msgdb-create-message): Ditto.
3289
3290         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3291         (elmo-folder-msgdb-create): Add unread flag.
3292
3293         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3294
3295         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3296
3297         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3298
3299         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3300
3301         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3302         elmo-msgdb-messge-entity-handler.
3303         * elmo-version.el (elmo-version): Up to 2.11.17.
3304
3305 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3306
3307         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3308         change.
3309
3310 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3311
3312         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3313
3314         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3315         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3316         (elmo-msgdb-flag-table): Ditto.
3317         (elmo-msgdb-sort-by-date): Ditto.
3318
3319         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3320
3321         * modb-standard.el (toplevel): Require mime.
3322         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3323         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3324         elmo-msgdb-message-entity-number.
3325         (elmo-msgdb-append-entity): Ditto.
3326         (elmo-msgdb-create-message-entity-from-file): Remove.
3327         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3328         corresponds to the entity.
3329         (elmo-msgdb-message-entity-number): Do nothing currently.
3330         (elmo-msgdb-message-entity-field): Ditto.
3331         (elmo-msgdb-message-entity-set-field): Ditto.
3332         (elmo-msgdb-copy-message-entity): Ditto.
3333         (elmo-msgdb-match-condition-internal): Ditto.
3334
3335         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3336         elmo-util.el.
3337         (elmo-msgdb-create-message-entity-from-file): Remove.
3338
3339         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3340         modb-legacy.el.
3341         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3342
3343         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3344
3345 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3346
3347         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3348         (elmo-msgdb-message-entity-field): Ditto.
3349         (elmo-msgdb-message-entity-number): Ditto.
3350
3351 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3352
3353         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3354         Fixed how to set extra field into entity.
3355         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3356         symbol.
3357
3358         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3359         Fixed how to set extra field into entity.
3360         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3361         symbol.
3362
3363 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3364
3365         * modb.el (elmo-message-entity-db): New function.
3366         (elmo-msgdb-make-message-entity): New API.
3367         (elmo-msgdb-message-entity-number): Ditto.
3368         (elmo-msgdb-message-entity-set-number): Ditto.
3369         (elmo-msgdb-message-entity-field): Ditto.
3370         (elmo-msgdb-message-entity-set-field): Ditto.
3371         (elmo-msgdb-copy-message-entity): Ditto.
3372         (elmo-msgdb-create-message-entity-from-file): Ditto.
3373         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3374         (elmo-msgdb-match-condition-internal): Ditto.
3375
3376         * modb-standard.el (modb-legacy): Require modb-legacy.
3377         (modb-standard-make-message-entity): New inline function.
3378         (elmo-msgdb-make-message-entity): Define.
3379         (elmo-msgdb-create-message-entity-from-file): Ditto.
3380         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3381         (elmo-msgdb-message-entity-field): Ditto.
3382         (elmo-msgdb-message-entity-set-field): Ditto.
3383         (elmo-msgdb-copy-message-entity): Ditto.
3384         (elmo-msgdb-match-condition-internal): Ditto.
3385
3386         * modb-legacy.el: Don't require modb-entity.
3387         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3388         (elmo-msgdb-match-condition-primitive): Ditto.
3389         (elmo-msgdb-get-decoded-cache): Ditto.
3390         (elmo-msgdb-overview-entity-get-id): Ditto.
3391         (elmo-msgdb-overview-entity-get-number): Ditto.
3392         (elmo-msgdb-overview-entity-set-number): Ditto.
3393         (elmo-msgdb-overview-entity-get-references): Ditto.
3394         (elmo-msgdb-overview-entity-set-references): Ditto.
3395         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3396         (elmo-msgdb-overview-entity-get-from): Ditto.
3397         (elmo-msgdb-overview-entity-set-from): Ditto.
3398         (elmo-msgdb-overview-entity-get-subject): Ditto.
3399         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3400         (elmo-msgdb-overview-entity-set-subject): Ditto.
3401         (elmo-msgdb-overview-entity-get-date): Ditto.
3402         (elmo-msgdb-overview-entity-set-date): Ditto.
3403         (elmo-msgdb-overview-entity-get-to): Ditto.
3404         (elmo-msgdb-overview-entity-get-cc): Ditto.
3405         (elmo-msgdb-overview-entity-get-size): Ditto.
3406         (elmo-msgdb-overview-entity-set-size): Ditto.
3407         (elmo-msgdb-overview-entity-get-extra): Ditto.
3408         (elmo-msgdb-overview-entity-set-extra): Ditto.
3409         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3410         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3411         (elmo-msgdb-number-load): Ditto.
3412         (elmo-msgdb-overview-load): Ditto.
3413         (elmo-msgdb-mark-load): Ditto.
3414         (elmo-msgdb-number-save): Ditto.
3415         (elmo-msgdb-mark-save): Ditto.
3416         (elmo-msgdb-overview-save): Ditto.
3417         (modb-legacy-make-message-entity): New inline function.
3418         (elmo-msgdb-insert-file-header): Ditto.
3419         (elmo-msgdb-make-message-entity): Define.
3420         (elmo-msgdb-create-message-entity-from-file): Ditto.
3421         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3422         (elmo-msgdb-message-entity-number): Ditto.
3423         (elmo-msgdb-message-entity-set-number): Ditto.
3424         (elmo-msgdb-message-entity-field): Ditto.
3425         (elmo-msgdb-message-entity-set-field): Ditto.
3426         (elmo-msgdb-copy-message-entity): Ditto.
3427         (elmo-msgdb-match-condition-internal): Ditto.
3428
3429         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3430         (elmo-message-copy-entity): Rewrite.
3431         (elmo-message-entity-number): Ditto.
3432         (elmo-message-entity-set-number): Ditto.
3433         (elmo-message-entity-field): Use elmo-message-entity-db.
3434         (elmo-message-entity-set-field): Ditto.
3435         (elmo-message-field): Rewrite.
3436
3437         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3438         elmo-msgdb.el
3439         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3440
3441         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3442         elmo-message-entity-field.
3443         (elmo-shimbun-folder-shimbun-header): Ditto.
3444         (elmo-shimbun-entity-to-header): Ditto.
3445         (elmo-folder-msgdb-create): Ditto.
3446         (elmo-shimbun-msgdb-create-entity): Ditto;
3447         Use elmo-msgdb-create-message-entity-from-buffer.
3448         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3449         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3450
3451         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3452         elmo-msgdb-create-message-entity-from-file and 
3453         elmo-message-entity-field.
3454
3455         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3456         elmo-message-entity-number.
3457         (elmo-pop3-msgdb-create-message): Use
3458         elmo-msgdb-create-message-entity-from-buffer,
3459         elmo-message-entity-set-field, elmo-message-entity-number and
3460         elmo-message-entity-set-number.
3461
3462         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3463         the API change in elmo-msgdb-make-message-entity.
3464         (elmo-nntp-msgdb-create-message): Use
3465         elmo-msgdb-create-message-entity-from-buffer.
3466
3467         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3468         elmo-message-entity-field and
3469         elmo-msgdb-create-message-entity-from-file.
3470
3471         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3472         (elmo-msgdb-get-field): Abolish.
3473         (elmo-msgdb-get-number): Rewrite.
3474         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3475         (elmo-msgdb-flag-table): Ditto.
3476         (elmo-msgdb-get-last-message-id,
3477         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3478         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3479         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3480         (elmo-msgdb-create-overview-from-buffer,
3481         elmo-msgdb-overview-get-parent-entity): Abolish.
3482
3483         * elmo-mime.el (elmo-mime-display-as-is): Use
3484         elmo-message-entity-field.
3485
3486         * elmo-map.el (elmo-folder-pack-numbers): Use
3487         elmo-message-entity-set-number.
3488
3489         * elmo-maildir.el (elmo-folder-msgdb-create): 
3490         elmo-msgdb-create-message-entity-from-file instead of
3491         elmo-msgdb-create-overview-entity-from-file.
3492
3493         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3494         msgdb.
3495         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3496         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3497
3498         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3499         elmo-messge-entity-field and elmo-message-entity-number.
3500         (elmo-imap4-fetch-callback-1): Call
3501         elmo-msgdb-create-message-entity-from-buffer instead of
3502         elmo-msgdb-create-overview-from-buffer. 
3503         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3504         (elmo-find-fetch-strategy): Likewise.
3505
3506         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3507         elmo-localdir-msgdb-create-entity with argument msgdb.
3508
3509         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3510         and elmo-message-entity-set-number.
3511
3512         * elmo-cache.el (elmo-folder-msgdb-create): Use
3513         elmo-message-entity-field.
3514         (elmo-folder-msgdb-create): Call
3515         elmo-msgdb-create-message-entity-from-file instead of
3516         elmo-msgdb-create-overview-entity-from-file.
3517
3518         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3519         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3520         instead of elmo-msgdb-create-overview-from-buffer.
3521         (elmo-archive-msgdb-create-entity): Ditto.
3522         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3523         elmo-message-entity-field.
3524         (elmo-archive-parse-mmdf): Ditto.
3525
3526         * modb-entity.el: Removed.
3527
3528         * elmo-version.el (elmo-version): Up to 2.11.16.
3529
3530 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3531
3532         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3533         `is-local'.
3534         (elmo-folder-flag-as-answered): Ditto.
3535
3536 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3537
3538         * modb-standard.el: New file.
3539
3540         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3541         elmo-msgdb-convert-type is `sync'.
3542
3543         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3544         (elmo-msgdb-convert-type): New user option.
3545
3546         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3547         (elmo-load-msgdb): Auto detect saved type.
3548
3549         * elmo-version.el (elmo-version): Up to 2.11.15.
3550
3551 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3552
3553         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3554
3555         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3556         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3557         with argument `delete-if-none' when dst-folder is 'null.
3558
3559         * elmo-flag.el (elmo-folder-append-messages): Defined.
3560         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3561
3562 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3563
3564         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3565
3566 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3567
3568         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3569         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3570         (elmo-folder-commit): Ditto.
3571
3572 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3573
3574         * elmo-flag.el: New file.
3575
3576         * elmo-mark.el: Removed.
3577
3578         * modb-legacy.el (modb-legacy-new-mark,
3579         modb-legacy-unread-uncached-mark,
3580         modb-legacy-unread-cached-mark,
3581         modb-legacy-read-uncached-mark,
3582         modb-legacy-answered-cached-mark,
3583         modb-legacy-answered-uncached-mark,
3584         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3585         All other related portions are changed.
3586
3587         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3588         (elmo-folder-list-messages-with-global-mark): Abolish.
3589         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3590         (elmo-folder-flag-as-important): Ditto.
3591         (elmo-folder-unflag-read): Ditto.
3592         (elmo-folder-flag-as-read): Ditto.
3593         (elmo-folder-unflag-answered): Ditto.
3594         (elmo-folder-flag-as-answered): Ditto.
3595         (elmo-message-encache): Return the cache path.
3596         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3597         (elmo-message-set-flag): Transitional implementation.
3598         (elmo-message-unset-flag): Ditto.
3599         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3600         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3601         (elmo-init): Call elmo-global-flag-initialize.
3602         (toplevel): Added autoload settings for elmo-flag.
3603
3604         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3605
3606         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3607         (elmo-file-cache-delete): Don't treat global-mark.
3608
3609         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3610
3611         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3612
3613         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3614         `elmo-global-flags-set'.
3615
3616         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3617         `flag'.
3618         (elmo-folder-unflag-read): Ditto.
3619         (elmo-folder-unflag-important): Ditto.
3620         (elmo-folder-flag-as-important): Ditto.
3621         (elmo-folder-unflag-answered): Ditto.
3622         (elmo-folder-flag-as-answered): Ditto.
3623
3624         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3625         `elmo-global-flags-set'.
3626         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3627
3628         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3629
3630         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3631         `flag'.
3632         (elmo-folder-flag-as-important): Ditto.
3633         (elmo-folder-unflag-important): Ditto.
3634         (elmo-folder-flag-as-important): Ditto.
3635         (elmo-folder-unflag-read): Ditto.
3636         (elmo-folder-flag-as-read): Ditto.
3637         (elmo-folder-unflag-answered): Ditto.
3638         (elmo-folder-flag-as-answered): Ditto.
3639
3640         * elmo-multi.el (elmo-folder-list-importants): Don't call
3641         elmo-folder-list-messages-with-global-mark.
3642         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3643         (elmo-folder-unflag-important): Ditto.
3644         (elmo-folder-flag-as-read): Ditto.
3645         (elmo-folder-unflag-read): Ditto.
3646         (elmo-folder-flag-as-answered): Ditto.
3647         (elmo-folder-unflag-answered): Ditto.
3648
3649         * elmo-msgdb.el (elmo-msgdb-new-mark,
3650         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3651         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3652         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3653         (Moved to modb-legacy.el).
3654         (elmo-flag-table-get): Treat important flag too.
3655
3656         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3657         `mark' to `flag'.
3658         (elmo-map-folder-flag-as-important): Ditto.
3659         (elmo-map-folder-unflag-read): Ditto.
3660         (elmo-map-folder-flag-as-read): Ditto.
3661         (elmo-map-folder-unflag-answered): Ditto.
3662         (elmo-map-folder-flag-as-answered): Ditto.
3663         (elmo-folder-unflag-important): Ditto.
3664         (elmo-folder-flag-as-important): Ditto.
3665         (elmo-folder-unflag-read): Ditto.
3666         (elmo-folder-flag-as-read): Ditto.
3667         (elmo-folder-unflag-answered): Ditto.
3668         (elmo-folder-flag-as-answered): Ditto.
3669
3670         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3671         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3672         `flag'.
3673         (elmo-map-folder-unflag-important): Ditto.
3674         (elmo-map-folder-flag-as-read): Ditto.
3675         (elmo-map-folder-unflag-read): Ditto.
3676         (elmo-map-folder-flag-as-answered): Ditto.
3677         (elmo-map-folder-unflag-answered): Ditto.
3678
3679         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3680         `elmo-global-flags-set'.
3681         (elmo-global-flags-set): Added autoload setting.
3682
3683         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3684         `flag'.
3685
3686         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3687         `elmo-msgdb-global-mark-set'.
3688         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3689         Call `elmo-global-flags-set'.
3690         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3691         `flag'.
3692         (elmo-folder-flag-as-important-plugged): Ditto.
3693         (elmo-folder-unflag-read-plugged): Ditto.
3694         (elmo-folder-flag-as-read-plugged): Ditto.
3695         (elmo-folder-unflag-answered-plugged): Ditto.
3696         (elmo-folder-flag-as-answered-plugged): Ditto.
3697         (elmo-global-flags-set): Added autoload setting.
3698
3699         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3700         `flag'.
3701         (elmo-folder-unflag-read): Ditto.
3702         (elmo-folder-flag-as-important): Ditto.
3703         (elmo-folder-unflag-important): Ditto.
3704         (elmo-folder-flag-as-answered): Ditto.
3705         (elmo-folder-unflag-answered): Ditto.
3706
3707         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3708         change of `mark'->`flag'.
3709         (elmo-dop-queue-method-name-alist): Ditto.
3710         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3711         (elmo-folder-unflag-read-dop): Ditto.
3712         (elmo-folder-flag-as-important-dop): Ditto.
3713         (elmo-folder-unflag-important-dop): Ditto.
3714         (elmo-folder-flag-as-answered-dop): Ditto.
3715         (elmo-folder-unflag-answered-dop): Ditto.
3716
3717         * elmo-cache.el (elmo-folder-msgdb-create): Call
3718         `elmo-global-flags-set'.
3719
3720         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3721         Call `elmo-global-flags-set'.
3722         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3723         elmo-archive-parse-mmdf with argument `folder'.
3724         (elmo-archive-parse-mmdf): Added argument `folder';
3725         Call `elmo-global-flags-set'.
3726
3727         * elmo-version.el (elmo-version): Up to 2.11.14.
3728
3729 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3730
3731         * modb.el (elmo-msgdb-length): Define.
3732
3733         * elmo.el (elmo-make-folder): Fixed.
3734         (elmo-generic-folder-append-messages): Follow the API change.
3735
3736         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3737         API change.
3738
3739 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3740
3741         * modb.el: New file.
3742
3743         * modb-entity.el: Ditto.
3744
3745         * modb-legacy.el: Ditto.
3746
3747         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3748         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3749         of `elmo-msgdb-overview-get-entity'.
3750         (elmo-msgdb-get-field): Ditto.
3751         (elmo-msgdb-merge): Moved to `elmo.el'.
3752         (elmo-msgdb-length): Removed; redefine as modb method.
3753         (elmo-msgdb-change-mark): Abolish.
3754         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3755         (elmo-msgdb-match-condition): Don't use mark.
3756         (elmo-msgdb-overview-get-entity): Abolish.
3757         Split modb part into `modb*.el'.
3758
3759         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3760
3761         * elmo-shimbun.el (shimbun-mua-search-id): Use
3762         `elmo-msgdb-message-entity' instead of
3763         `elmo-msgdb-overview-get-entity'.
3764         (elmo-shimbun-folder-shimbun-header): Ditto.
3765         (elmo-shimbun-get-headers): Ditto.
3766         (elmo-shimbun-update-overview): Ditto.
3767
3768         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3769
3770         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3771
3772         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3773         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3774
3775         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3776         `elmo-msgdb-mark-to-flags'.
3777
3778         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3779         `elmo-msgdb-set-path'.
3780
3781         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3782  
3783         * elmo-version.el (elmo-version): Up to 2.11.13.
3784
3785         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3786
3787         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3788         of mark.
3789
3790 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3791
3792         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3793         mismatch.
3794
3795 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3796
3797         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3798         instead of `elmo-msgdb-get-cached'.
3799         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3800
3801         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3802         (elmo-msgdb-set-cached): Ditto.
3803         (elmo-msgdb-set-flag): Rewrite.
3804         (elmo-msgdb-unset-flag): Ditto.
3805
3806         * elmo-msgdb.el: Rewrite with luna.
3807
3808         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3809         (elmo-folder-msgdb): Follow the change above.
3810         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3811         (elmo-folder-unmark-important): Follow the API change.
3812         (elmo-folder-mark-as-important): Ditto.
3813         (elmo-folder-unmark-read): Ditto.
3814         (elmo-folder-mark-as-read): Ditto.
3815         (elmo-folder-unmark-answered): Ditto.
3816         (elmo-folder-mark-as-answered): Ditto.
3817         (elmo-folder-clear): Likewise.
3818
3819         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3820         instead of `elmo-msgdb-load' (renamed).
3821
3822         * elmo-version.el (elmo-version): Up to 2.11.12.
3823
3824 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3825
3826         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3827         change.
3828         (elmo-message-mark): Abolish.
3829         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3830         instead of `elmo-msgdb-change-mark'.
3831
3832         * elmo-pipe.el (elmo-message-mark): Abolish.
3833
3834         * elmo-multi.el (elmo-message-mark): Ditto.
3835
3836         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3837         (elmo-msgdb-unread-uncached-mark): Ditto.
3838         (elmo-msgdb-unread-cached-mark): Ditto.
3839         (elmo-msgdb-read-uncached-mark): Ditto.
3840         (elmo-msgdb-answered-cached-mark): Ditto.
3841         (elmo-msgdb-answered-uncached-mark): Ditto.
3842         (elmo-msgdb-important-mark): Ditto.
3843         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3844         `use-cache'.
3845         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3846         `flags'.
3847         (elmo-flag-table-load): Changed flag to list of flag.
3848         (elmo-flag-table-set): If flags is nil, set read flag.
3849         (elmo-flag-table-get): Return derived flags from global mark,
3850         cache status and saved flags.
3851         (elmo-msgdb-flag-table): Follow the change above.
3852         (elmo-msgdb-out-of-date-messages): New function.
3853
3854         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3855
3856         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3857
3858         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3859
3860         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3861         (elmo-nntp-msgdb-create-message): Ditto.
3862
3863         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3864
3865         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3866         independent.
3867         (elmo-folder-msgdb-create): Follow the API change.
3868
3869         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3870         (elmo-folder-append-messages): Ditto.
3871
3872         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3873         (elmo-folder-append-buffer): Ditto.
3874
3875         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3876
3877         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3878
3879         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3880         (elmo-archive-parse-mmdf): Ditto.
3881
3882         * elmo-version.el (elmo-version): Up to 2.11.11.
3883
3884 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3885
3886         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3887         `elmo-msgdb-mark'.
3888
3889         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3890
3891         * elmo-pipe.el (elmo-message-flags): Defined.
3892
3893         * elmo-multi.el (elmo-message-flags): Ditto.
3894
3895 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3896
3897         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3898         `elmo-msgdb-delete-msgs'.
3899
3900         * elmo.el (elmo-folder-count-flags): Don't use
3901         `elmo-msgdb-get-mark-alist'.
3902         (elmo-folder-detach-messages): Follow the API change.
3903
3904         * elmo.el (elmo-folder-list-messages): Append killed messages into
3905         result if `visible-only' is nil.
3906
3907         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3908         canceled messages.
3909         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3910         (elmo-folder-update-number): Likewise.
3911
3912         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3913         (elmo-pop3-sort-msgdb-by-original-number): Use
3914         `elmo-msgdb-sort-entities'.
3915
3916         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3917         (elmo-msgdb-sort-by-date): Use it.
3918         (elmo-msgdb-overview-sort-by-date): Abolish.
3919
3920         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3921
3922         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3923         (elmo-msgdb-flags): New function.
3924         (elmo-msgdb-merge): Use elmo-msgdb-append.
3925
3926         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3927         change.
3928
3929         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3930
3931         * elmo-dop.el (elmo-folder-status-dop): Use
3932         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3933
3934 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3935
3936         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3937
3938         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3939
3940         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3941
3942         * elmo-util.el (elmo-with-progress-display): New macro.
3943
3944         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3945
3946 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3947
3948         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3949         `elmo-folder-list-message-entities' instead of
3950         `elmo-msgdb-get-overview'.
3951         (elmo-map-folder-list-message-locations): Ditto.
3952
3953         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3954         methods instead of treat directly).
3955         (elmo-msgdb-clear): Ditto.
3956         (elmo-msgdb-delete-msgs): Ditto.
3957         (elmo-msgdb-sort-by-date): Ditto.
3958
3959         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3960         local variables.
3961         (elmo-nntp-folder-msgdb-create): Follow the API change.
3962
3963         * elmo-version.el (elmo-version): Up to 2.11.10.
3964
3965 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3966
3967         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3968         (elmo-msgdb-flags-to-mark): Ditto.
3969         (elmo-msgdb-append-entity): Ditto.
3970
3971         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3972         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3973         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3974         (elmo-archive-parse-mmdf): Ditto.
3975
3976         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3977
3978         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3979
3980         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3981
3982         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3983
3984         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3985
3986         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3987
3988         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3989
3990         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3991
3992         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3993         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3994         to empty msgdb.
3995
3996         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3997         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3998         instead of directly construction.
3999         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4000         instead of construct msgdb.
4001
4002         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4003         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4004         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4005         instead of construct msgdb.
4006
4007 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4008
4009         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4010         when field is from or subject.
4011
4012 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4013
4014         * elmo-multi.el (elmo-message-entity-parent): Define.
4015         (elmo-folder-search): Rewrite.
4016
4017 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4018
4019         * elmo-multi.el (elmo-message-cached-p): Define.
4020
4021         * elmo.el (elmo-message-cached-p): New method.
4022         (elmo-message-accessible-p): Use it instead of msgdb API directly.
4023         (elmo-message-flags): New method.
4024         (elmo-message-flagged-p): New function.
4025
4026         * elmo-version.el (elmo-version): Up to 2.11.9.
4027
4028 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4029
4030         * elmo-version.el (elmo-version): Up to 2.11.8.
4031
4032         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4033
4034         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4035
4036 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
4037
4038         * elmo.el (elmo-folder-detach-messages): Undo last change.
4039
4040 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
4041
4042         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4043
4044         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4045         only when src folder type is pop3.
4046
4047 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
4048
4049         * elmo-msgdb.el (elmo-msgdb-make-index): Use
4050         elmo-msgdb-overview-entity-get-number instead of
4051         elmo-message-entity-number.
4052
4053 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4054
4055         * elmo-version.el (elmo-version): Up to 2.11.7.
4056
4057 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
4058
4059         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4060         function.
4061
4062         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4063         (elmo-msgdb-merge): New function.
4064         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4065         (elmo-msgdb-make-index): Rewrite.
4066
4067         * elmo-version.el (elmo-version): Up to 2.11.6.
4068
4069         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4070         use it as a the path for loading message entities.
4071
4072         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4073
4074 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
4075
4076         * elmo-filter.el (elmo-folder-set-message-modified): Set 
4077         message-modified slot of itself if it does not require target msgdb.
4078
4079         * elmo-mime.el (elmo-mime-message-display): Display message entirely
4080         if folder length is zero.
4081         (elmo-mime-display-as-is): Ditto.
4082
4083         * elmo-filter.el (elmo-folder-set-message-modified): Define.
4084
4085         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4086
4087 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4088
4089         * elmo.el (elmo-folder-set-message-modified): New method.
4090         (elmo-generic-folder-commit): Use it.
4091         (elmo-folder-synchronize): Ditto.
4092
4093         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4094         (elmo-folder-commit): Remove duplicate definition.
4095
4096 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4097
4098         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4099
4100 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4101
4102         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4103         (elmo-strict-folder-diff): Ditto.
4104         (elmo-folder-set-info-max-by-numdb): Simplify.
4105
4106         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4107         elmo-msgdb-list-messages.
4108
4109         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4110         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4111
4112 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
4113
4114         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4115         visible-only is non-nil.
4116         (elmo-folder-confirm-appends): Changed message.
4117         (elmo-folder-synchronize): Added argument disable-killed.
4118
4119         * elmo-multi.el (elmo-folder-synchronize): Added argument
4120         disable-killed.
4121
4122         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4123
4124         * elmo-version.el (elmo-version): Up to 2.11.5.
4125
4126         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4127         elmo-list-filter.
4128
4129         * elmo-util.el (elmo-list-filter): Simplify.
4130
4131         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4132         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4133         (elmo-generic-folder-diff): Abolish argument.
4134         (elmo-msgdb-load): Don't use number-alist.
4135
4136         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4137
4138         * elmo-pipe.el (elmo-folder-diff): Ditto.
4139
4140         * elmo-nmz.el (elmo-folder-diff): Ditto.
4141
4142         * elmo-net.el (elmo-folder-diff): Ditto.
4143
4144         * elmo-maildir.el (elmo-folder-diff): Ditto.
4145
4146         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4147
4148         * elmo-multi.el (elmo-folder-diff): Ditto
4149         (elmo-multi-folder-diff): Rewrite.
4150
4151 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4152
4153         * elmo-pipe.el (elmo-folder-msgdb): Define.
4154
4155 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4156
4157         * elmo.el (elmo-message-set-cached): Define as a method.
4158
4159         * elmo-pipe.el (elmo-message-set-cached): Define.
4160         (elmo-find-fetch-strategy): Ditto.
4161
4162         * elmo-multi.el (elmo-message-set-cached): Define.
4163         (elmo-find-fetch-strategy): Rewrite.
4164
4165         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4166
4167         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4168
4169 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4170
4171         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4172         instead of number-alist.
4173
4174         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4175         mark nor message-id when msgdb of source folder is not loaded.
4176
4177         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4178
4179         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4180
4181 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4182
4183         * elmo.el (elmo-folder-length): Don't require msgdb.
4184
4185 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4186
4187         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4188         (elmo-message-field): Ditto.
4189
4190         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4191         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4192         slot.
4193         (elmo-map-folder-list-answereds): Define.
4194         (elmo-maildir-list-location): Treat 'R' info.
4195         (elmo-folder-msgdb-create): Treat flag-table.
4196         (elmo-folder-append-messages): Save flag-table.
4197
4198 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4199
4200         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4201         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4202
4203 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4204
4205         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4206
4207         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4208         'read when mark is null.
4209
4210 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4211
4212         * elmo-version.el (elmo-version): Up to 2.11.4.
4213
4214 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4215
4216         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4217         (elmo-folder-mark-as-answered): Ditto.
4218
4219 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4220
4221         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4222         (elmo-pop3-get-session): Make msgdb directory after session.
4223         (elmo-folder-exists-p): Check exactly at the first time even when the
4224         elmo-pop3-exists-exactly is nil.
4225
4226         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4227         (elmo-folder-list-messages): Define instead of
4228         elmo-folder-list-messages-internal.
4229         (elmo-folder-check): Check destination folder.
4230         (elmo-folder-synchronize): Drain the pipe.
4231
4232         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4233         when msgdb is not loaded.
4234
4235         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4236
4237         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4238         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4239         messages.
4240
4241         * elmo.el (elmo-folder-kill-messages-before): New function.
4242         (elmo-folder-kill-messages): Ditto.
4243         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4244
4245         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4246         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4247         killed not by synchronize (e.g. scoring).
4248
4249 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4250
4251         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4252         treated.
4253         (elmo-folder-search): Follow the change above.
4254
4255         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4256         into the candidates of search field.
4257
4258 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4259
4260         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4261         (elmo-msgdb-unset-flag): Ditto.
4262
4263         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4264
4265 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4266
4267         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4268         (elmo-folder-commit): Define.
4269         (elmo-folder-synchronize): Ditto.
4270         (elmo-folder-list-flagged): Ditto.
4271         (elmo-folder-commit): Ditto.
4272         (elmo-folder-length): Ditto.
4273         (elmo-folder-count-flags): Ditto.
4274         (elmo-message-mark): Ditto.
4275         (elmo-message-field): Ditto.
4276         (elmo-message-entity): Ditto.
4277         (elmo-message-folder): Ditto.
4278
4279 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4280
4281         * elmo.el (elmo-message-field): Define as a method.
4282
4283         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4284         (elmo-message-field): Define.
4285
4286         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4287         (elmo-folder-list-importants): Ditto.
4288         (elmo-folder-list-answereds): Ditto.
4289
4290         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4291         qualifier.
4292         (elmo-folder-mark-as-read): Ditto.
4293         (elmo-folder-unmark-read): Ditto.
4294         (elmo-folder-mark-as-answered): Ditto.
4295         (elmo-folder-unmark-answered): Ditto.
4296         (elmo-folder-list-flagged): Define.
4297         (elmo-folder-commit): Ditto.
4298         (elmo-folder-length): Ditto.
4299         (elmo-folder-count-flags): Ditto.
4300
4301 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4302
4303         * elmo.el (elmo-folder-detach-messages): New method.
4304         (elmo-folder-move-messages): Use it.
4305         (elmo-folder-synchronize): Ditto.
4306
4307         * elmo-multi.el (elmo-folder-detach-messages): Define.
4308
4309         * elmo.el (elmo-message-copy-entity): New function.
4310         (elmo-message-entity-set-number): Ditto.
4311         (elmo-message-mark): Define as method.
4312
4313         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4314         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4315         (elmo-message-entity): Fixed last change.
4316         (elmo-message-mark): Define.
4317         (elmo-folder-msgdb-create): Abolish.
4318         (elmo-multi-folder-append-msgdb): Ditto.
4319         (elmo-multi-folder-diff): Fixed.
4320         (elmo-multi-split-number-alist): Removed.
4321         (elmo-multi-split-mark-alist): Removed.
4322         (elmo-folder-list-messages): Define.
4323         (elmo-folder-list-messages-internal): Removed.
4324
4325         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4326         local file messages.
4327         (elmo-folder-msgdb-create): Fixed read mark.
4328
4329 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4330
4331         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4332         if mark is nil.
4333
4334 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4335
4336         * elmo.el (elmo-folder-list-message-entities): Define as inline
4337         function.
4338         (elmo-folder-messages): Abolish.
4339
4340         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4341         folder.
4342         (elmo-folder-synchronize): Define.
4343         (elmo-message-entity): Define.
4344
4345 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4346
4347         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4348         elmo-imap4-session-select-mailbox.
4349
4350         * elmo.el (elmo-folder-move-messages): Don't display any message.
4351
4352         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4353         parsing.
4354         (elmo-imap4-session-check): Don't wait CHECK response.
4355         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4356
4357 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4358
4359         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4360
4361 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4362
4363         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4364         API.
4365         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4366
4367
4368         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4369         (elmo-folder-list-message-entities): Added argument in-msgdb and
4370         numbers.
4371         (elmo-folder-synchronize): Define as a method.
4372
4373         * elmo-nntp.el (elmo-folder-initialize): Don't use
4374         elmo-nntp-default-user if zero-length username is specified
4375         explicitly.
4376
4377 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4378
4379         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4380         server name in case with username.
4381         (XXX: this is ad-hoc fix against username includes "@", it
4382         should be solved fundamentally)
4383
4384 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4385
4386         * elmo-nntp.el (elmo-nntp-debug): New function.
4387         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4388         (elmo-network-authenticate-session): Hide auth-info from the log.
4389
4390         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4391         user name if it is equal to elmo-nntp-default-user.
4392
4393 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4394
4395         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4396         instead of shimbun-server-internal;
4397         Use shimbun-current-group instead of shimbun-current-group-internal.
4398         (elmo-folder-plugged-p): Use shimbun-server instead of
4399         shimbun-server-internal.
4400         (elmo-folder-set-plugged): Ditto.
4401         (elmo-net-port-info): Ditto.
4402         (elmo-folder-check): Ditto.
4403         (elmo-folder-expand-msgdb-path): Ditto.
4404         (elmo-folder-list-subfolders): Ditto.
4405
4406 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4407
4408         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4409         Convert field-name to lower case.
4410         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4411
4412 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4413
4414         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4415         `message' and `error' take format string.
4416
4417 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4418
4419         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4420
4421 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4422
4423         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4424         recursive call (can't byte compile on emacs 20.7).
4425
4426 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4427
4428         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4429         (elmo-folder-list-message-entities): New API.
4430         (elmo-message-entity): Ditto.
4431         (elmo-message-entity-parent): Ditto.
4432         (elmo-folder-do-each-message-entity): Ditto.
4433         (elmo-message-entity-number): Ditto.
4434         (elmo-message-entity-field): Ditto.
4435         (elmo-message-entity-set-field): Ditto.
4436         (elmo-folder-count-flags): Ditto.
4437         (elmo-folder-length): Ditto.
4438
4439         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4440         not.
4441
4442         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4443         (elmo-msgdb-count-marks): Abolish.
4444         (elmo-msgdb-make-entity): Ditto.
4445         (elmo-msgdb-do-each-entity): Ditto.
4446         (elmo-msgdb-message-entity): New inline function.
4447         (elmo-msgdb-message-entity-field): Ditto.
4448         (elmo-msgdb-message-entity-set-field): Ditto.
4449         (elmo-msgdb-make-message-entity): New function.
4450
4451 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4452
4453         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4454         to flag. (All other related portions are changed.)
4455         (elmo-folder-msgdb-create): Likewise.
4456         (elmo-generic-folder-append-messages): Use flag-table instead of
4457         seen-list.
4458         (elmo-folder-move-messages): Removed redundant process.
4459         (elmo-folder-synchronize): Likewise.
4460
4461         * elmo-msgdb.el (elmo-flag-table-get): New function.
4462         (elmo-flag-table-save): Fixed.
4463         (elmo-msgdb-length): New inline function.
4464         (elmo-msgdb-flag-table): New function.
4465         (elmo-msgdb-mark): Add optional argument new.
4466         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4467         (elmo-msgdb-seen-list): Ditto.
4468         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4469
4470
4471 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4472
4473         * elmo.el (elmo-message-set-mark): Abolish.
4474         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4475         (All related portions are changed.)
4476
4477         * elmo-msgdb.el (toplevel): Added comment.
4478         (elmo-load-msgdb): Added 4th element `path'.
4479         (elmo-msgdb-append): Follow the change above.
4480         (elmo-msgdb-clear): Ditto.
4481         (elmo-msgdb-delete-msgs): Ditto.
4482         (elmo-msgdb-get-path): New inline function.
4483         (elmo-msgdb-set-path): Ditto.
4484         (elmo-flag-table-filename): New variable.
4485         (elmo-flag-table-load): New function.
4486         (elmo-flag-table-set): Ditto.
4487         (elmo-flag-table-save): Ditto.
4488         (elmo-msgdb-get-field-value): Abolish.
4489         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4490
4491 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4492
4493         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4494         the folder has been deleted successfully.
4495         * elmo-imap4.el (elmo-folder-delete): Ditto.
4496         * elmo-archive.el (elmo-folder-delete): Ditto.
4497         * elmo-localdir.el (elmo-folder-delete): Ditto.
4498         * elmo-maildir.el (elmo-folder-delete): Ditto.
4499
4500 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4501
4502         * elmo-util.el (elmo-string-member-ignore-case): New function.
4503         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4504         (elmo-imap4-fetch-callback-1-subr): Likewise.
4505
4506 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4507
4508         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4509         the case of the name attribute "\Noselect".
4510
4511 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4512
4513         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4514
4515         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4516         flist, is not always a member of onum-alist.
4517
4518 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4519
4520         * elmo-version.el (elmo-version): Up to 2.11.3.
4521
4522 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4523
4524         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4525         copied from localdir's one.
4526
4527         * elmo-pipe.el (elmo-folder-rename): New method, rename
4528         destination folder with leaving source folder as it is.
4529
4530 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4531
4532         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4533         replace-regexp.
4534
4535 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4536
4537         * elmo-version.el (elmo-version): Up to 2.11.2.
4538
4539 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4540
4541         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4542         shimbun-open in case of "@".
4543         (elmo-folder-open-internal): Cope with shimbun = nil case.
4544         (elmo-folder-plugged-p): Ditto.
4545         (elmo-folder-list-subfolders): Make list for "@/" group.
4546
4547 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4548
4549         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4550         mailbox (e.g. for %~/something).
4551
4552 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4553
4554         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4555         Replace nested conditional with guard clauses.
4556
4557 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4558
4559         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4560         error [wl:11327].
4561
4562         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4563         print-depth.
4564
4565 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4566
4567         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4568         Replace nested conditional with guard clauses.
4569
4570 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4571
4572         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4573         (elmo-passwd-alist-save): Ditto.
4574         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4575
4576 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4577
4578         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4579         dir-name only if it is absolute path.
4580         (TODO: distinguish +/something and +something)
4581
4582 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4583
4584         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4585         path for "+~/something".
4586
4587 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4588
4589         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4590         as non-directory, cause error before rename-file.
4591         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4592         apropriately, mimic localdir's one.
4593         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4594
4595 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4596
4597         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4598
4599 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4600
4601         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4602
4603         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4604         
4605         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4606         is included in the global-mark or not.
4607
4608 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4609
4610         * utf7.el (toplevel): Avoid error when the function
4611         find-coding-system does not exist.
4612
4613 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4614
4615         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4616         cache even if the folder is plugged.
4617         (elmo-nntp-search-primitive): Do nothing when body search is
4618         invoked (although it is not used by the change above).
4619         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4620
4621 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4622
4623         * elmo-version.el (elmo-version): Up to 2.11.1.
4624
4625 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4626
4627         * elmo-archive.el: Specify charset.
4628
4629 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4630
4631         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4632         process buffer lives or not.
4633
4634         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4635         while flushing queues (It causes infinite loop).
4636
4637 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4638
4639         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4640
4641 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4642
4643         * utf7.el (toplevel): Check the ucs features dynamically.
4644         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4645
4646         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4647         folder is creatabe or not if it already exists.
4648
4649 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4650
4651         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4652
4653         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4654
4655         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4656         (elmo-imap4-read-response): Take care of garbage response.
4657
4658 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4659
4660         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4661         just return nil instead of error.
4662
4663 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4664
4665         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4666         search-key is "body".
4667
4668 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4669
4670         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4671         of elmo-string-matched-assoc to use match-data.
4672         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4673
4674 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4675
4676         * elmo-split.el (elmo-split->): New function.
4677         (elmo-split-<): Ditto.
4678
4679 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4680
4681         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4682         workaround for invalid message-id.
4683
4684 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4685
4686         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4687         return normal pop3 session or pop3 biff session.
4688
4689 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4690
4691         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4692         info part to the cur files when the new files already have it.
4693         (Adviced by Jared Rhine <jared@wordzoo.com>)
4694
4695 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4696
4697         * elmo-split.el (elmo-split-default-action): New variable.
4698         (elmo-split-subr): Use it if all other conditions are passed.
4699         Extend `fname' and rename it as `action'. (implemented
4700         Teranishi-san's idea in [wl:10800])
4701
4702 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4703
4704         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4705         * elmo-util.el: Ditto.
4706
4707 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4708
4709         * elmo.el (elmo-message-accessible-p): Renamed from
4710         elmo-message-cached-p and rewritten.
4711
4712 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4713
4714         * elmo.el (elmo-folder-list-flagged): New generic function.
4715         (elmo-folder-list-importants): New implementation.
4716         (elmo-folder-list-answereds): Ditto.
4717         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4718         Added 'digest'.
4719         (elmo-message-cached-p): New function.
4720         (elmo-message-set-flag): Ditto (no content).
4721         (elmo-message-unset-flag): Ditto.
4722         (elmo-folder-list-messages-mark-match): Abolish.
4723
4724         * elmo-util.el (elmo-regexp-opt): New function.
4725
4726         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4727         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4728         Added 'digest'.
4729         (elmo-msgdb-list-flagged): New function.
4730
4731         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4732         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4733         Added 'digest'.
4734
4735         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4736
4737 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4738
4739         * elmo-version.el (elmo-version): Up to 2.11.0.
4740
4741 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4742
4743         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4744         `elmo-file-cache-exists-p'; use proper mark that depends on
4745         `use-cache'.
4746         (elmo-msgdb-unset-flag): Ditto.
4747         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4748
4749         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4750         with 4th argument `use-cache'.
4751
4752 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4753
4754         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4755         (elmo-folder-mark-as-important): Ditto.
4756         (elmo-folder-unmark-read): Ditto.
4757         (elmo-folder-mark-as-read): Ditto.
4758         (elmo-folder-unmark-answered): Ditto.
4759         (elmo-folder-mark-as-answered): Ditto.
4760
4761         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4762         message status.
4763         (elmo-msgdb-mark): Likewise.
4764         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4765         (elmo-msgdb-unset-flag): Likewise.
4766
4767         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4768
4769 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4770
4771         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4772         `last:' filter.
4773
4774 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4775
4776         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4777         set spool-length to 0.
4778
4779 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4780
4781         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4782         (elmo-dop-queue-flush): Fixed last change.
4783
4784 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4785
4786         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4787         if require-msgdb slot is nil.
4788         (elmo-folder-list-importants): Likewise.
4789
4790 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4791
4792         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4793         mark is changed.
4794
4795         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4796         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4797         is changed.
4798
4799 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4800
4801         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4802
4803 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4804
4805         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4806
4807         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4808
4809 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4810
4811         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4812         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4813
4814 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4815
4816         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4817         the problem reported by Sean Rima [wl-en:180].
4818
4819 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4820
4821         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4822
4823         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4824
4825         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4826
4827         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4828
4829         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4830
4831         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4832
4833         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4834
4835 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4836
4837         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4838         status number.
4839
4840 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4841
4842         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4843         (elmo-folder-mark-as-read): Follow the API change.
4844         (elmo-message-set-cached): New function.
4845
4846         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4847
4848         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4849
4850         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4851         (elmo-folder-mark-as-important): Ditto.
4852         (elmo-folder-unmark-read): Ditto.
4853         (elmo-folder-mark-as-read): Ditto.
4854         (elmo-folder-unmark-answered): Ditto.
4855         (elmo-folder-mark-as-answered): Ditto.
4856
4857         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4858         (elmo-folder-unmark-important): Ditto.
4859         (elmo-folder-mark-as-read): Ditto.
4860         (elmo-folder-unmark-read): Ditto.
4861         (elmo-folder-mark-as-answered): Ditto.
4862         (elmo-folder-unmark-answered): Ditto.
4863
4864         * elmo-mark.el (toplevel): Removed some mark method definitions.
4865
4866         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4867         (elmo-map-folder-mark-as-answered): Ditto.
4868         (elmo-folder-unmark-important): Add :before qualifier.
4869         (elmo-folder-mark-as-important): Ditto.
4870         (elmo-folder-unmark-read): Ditto.
4871         (elmo-folder-mark-as-read): Ditto.
4872         (elmo-folder-unmark-answered): Define.
4873         (elmo-folder-mark-as-answered): Ditto.
4874
4875         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4876         (elmo-map-folder-unmark-answered): Ditto.
4877
4878         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4879
4880         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4881         (elmo-folder-mark-as-important): Ditto.
4882         (elmo-folder-unmark-read): Ditto.
4883         (elmo-folder-mark-as-read): Ditto.
4884         (elmo-folder-unmark-answered): Ditto.
4885         (elmo-folder-mark-as-answered): Ditto.
4886
4887         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4888         `mark'; evaluate mark condition.
4889         (elmo-msgdb-match-condition-internal): New function.
4890         (elmo-msgdb-match-condition): Call it; changed argument.
4891
4892         * elmo.el (elmo-folder-search): Follow the API change on
4893         `elmo-msgdb-match-condition'.
4894
4895 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4896
4897         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4898         original mark is non-nil.
4899
4900 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4901
4902         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4903         (elmo-map-folder-list-answereds): New method.
4904         (elmo-folder-list-unreads): Add :around qualifier.
4905         (elmo-folder-list-importants): Ditto.
4906         (elmo-folder-list-answereds): Ditto.
4907
4908 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4909
4910         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4911
4912         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4913         method if msgdb is not required.
4914         (elmo-filter-folder-list-importants): Don't treat global-mark.
4915
4916         * elmo.el (elmo-folder-list-importants): Ditto.
4917
4918         * elmo-net.el (elmo-folder-list-importants): Ditto.
4919
4920         * elmo-map.el (elmo-folder-list-importants): Ditto.
4921
4922         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4923
4924         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4925         (elmo-imap4-folder-list-any-plugged): New function.
4926         (elmo-imap4-search-internal-primitive): Use it.
4927
4928         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4929         only when require-msgdb slot is non-nil.
4930         (elmo-folder-close): Clear target folder's msgdb.
4931
4932 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4933
4934         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4935         (elmo-pop3-msgdb-create-by-header): Ditto.
4936         (elmo-pop3-msgdb-create-message): Ditto.
4937
4938         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4939
4940         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4941
4942         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4943
4944         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4945         (elmo-folder-msgdb-create): Ditto.
4946         (elmo-nntp-folder-msgdb-create): Ditto.
4947         (elmo-nntp-msgdb-create-by-header): Ditto.
4948         (elmo-nntp-msgdb-create-message): Ditto.
4949         (elmo-folder-list-unreads): Define.
4950
4951         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4952         (elmo-folder-append-messages): Ditto.
4953         (elmo-folder-list-unreads): Define.
4954         (elmo-folder-list-importants): Ditto.
4955         (elmo-folder-list-answereds): Ditto.
4956
4957         * elmo-net.el (elmo-folder-list-unreads): Define.
4958         (elmo-folder-list-importants): Ditto.
4959         (elmo-folder-list-answereds): Ditto.
4960         (elmo-folder-list-answereds-plugged): Ditto.
4961         (elmo-folder-msgdb-create): Follow the API change.
4962         (elmo-folder-msgdb-create-unplugged): Ditto.
4963         (elmo-folder-unmark-answered): Define.
4964         (elmo-folder-mark-as-answered-unplugged): Ditto.
4965         (elmo-folder-unmark-answered-unplugged): Ditto.
4966
4967         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4968         (elmo-msgdb-unread-uncached-mark): Ditto.
4969         (elmo-msgdb-unread-cached-mark): Ditto.
4970         (elmo-msgdb-read-uncached-mark): Ditto.
4971         (elmo-msgdb-answered-cached-mark): Ditto.
4972         (elmo-msgdb-answered-uncached-mark): Ditto.
4973         (elmo-msgdb-important-mark): Ditto.
4974         (elmo-msgdb-set-mark): Rewrite.
4975         (elmo-msgdb-count-marks): Rewrite.
4976         (elmo-msgdb-mark-alist-set): Abolish.
4977         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4978         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4979
4980         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4981         (elmo-folder-close): Define.
4982         (elmo-folder-msgdb-create): Follow the API change.
4983         (elmo-folder-list-unreads): Rewrite.
4984         (elmo-folder-mark-as-important): Ditto.
4985         (elmo-folder-unmark-important): Ditto.
4986         (elmo-folder-mark-as-read): Ditto.
4987         (elmo-folder-unmark-read): Ditto.
4988         (elmo-folder-mark-as-answered): Define.
4989         (elmo-folder-unmark-answered): Ditto.
4990
4991         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4992         (elmo-folder-append-messages): Ditto.
4993
4994         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4995
4996         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4997         (elmo-folder-list-importants): Ditto.
4998
4999         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5000         (elmo-folder-append-messages): Ditto.
5001
5002         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5003         change.
5004         (elmo-folder-msgdb-create-plugged): Ditto.
5005         (elmo-folder-append-messages): Ditto.
5006         (elmo-folder-list-answereds-plugged): Define.
5007         (elmo-imap4-search-internal-primitive): Add `mark' processing.
5008         (elmo-folder-unmark-answered-plugged): Define.
5009         (elmo-folder-mark-as-answered-plugged): Ditto.
5010         (elmo-folder-search-requires-msgdb-p): Ditto.
5011
5012         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5013         (elmo-folder-initialize): Set it.
5014         (elmo-folder-msgdb): Define.
5015         (elmo-folder-check): Call elmo-folder-synchronize.
5016         (elmo-folder-close): Define.
5017         (elmo-folder-commit): Ditto.
5018         (elmo-folder-msgdb-create): Rewrite.
5019         (elmo-folder-list-unreads): Ditto.
5020         (elmo-folder-list-importants): Ditto.
5021         (elmo-folder-mark-as-read): Ditto.
5022         (elmo-folder-unmark-read): Ditto.
5023         (elmo-folder-mark-as-important): Ditto.
5024         (elmo-folder-unmark-important): Ditto.
5025         (elmo-folder-mark-as-answered): Define.
5026         (elmo-folder-unmark-answered): Ditto.
5027
5028         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5029         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5030         (elmo-dop-queue-method-name-alist): Likewise.
5031         (elmo-folder-mark-as-answered-dop): New inline function.
5032         (elmo-folder-unmark-answered-dop): Ditto.
5033         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5034
5035         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5036         (elmo-folder-msgdb-create): Ditto.
5037         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5038         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5039         (elmo-archive-parse-mmdf): Ditto.
5040
5041         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5042         (elmo-folder-list-unreads-internal): Ditto.
5043
5044         * elmo.el (elmo-folder-msgdb): Define as generic function.
5045         (elmo-folder-list-messages): Added argument `in-msgdb'.
5046         (elmo-folder-list-unreads): Define as generic function.
5047         (elmo-folder-list-importants): Ditto.
5048         (elmo-folder-list-answereds): Ditto.
5049         (elmo-folder-list-messages-with-global-mark): New function.
5050         (elmo-folder-msgdb-create): Removed mark arguments.
5051         (elmo-folder-unmark-answered): New generic function.
5052         (elmo-folder-mark-as-answered): Ditto.
5053         (elmo-folder-append-messages): Removed argunment `unread-marks'
5054         (elmo-folder-list-unreads-internal): Abolish.
5055         (elmo-folder-list-importants-internal): Ditto.
5056         (elmo-folder-search-requires-msgdb-p): New generic function.
5057         (elmo-folder-search-requires-msgdb-p-internal): New function.
5058         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5059         elmo-msgdb-load.
5060         (elmo-folder-search-fast): Added key 'mark'.
5061         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5062         instead of unread-marks argument.
5063         (elmo-folder-move-messages): Removed argunment `unread-marks'
5064         (elmo-folder-unmark-important): Define.
5065         (elmo-folder-mark-as-important): Ditto.
5066         (elmo-folder-unmark-read): Ditto.
5067         (elmo-folder-mark-as-read): Ditto.
5068         (elmo-folder-unmark-answered): Ditto.
5069         (elmo-folder-mark-as-answered): Ditto.
5070         (elmo-folder-replace-marks): Abolish.
5071         (elmo-generic-folder-append-msgdb): Append msgdb before checking
5072         duplicates.
5073         (elmo-folder-synchronize): Removed mark arguments;
5074         return crosspost only number.
5075
5076 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5077
5078         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5079         Remove redundunt connectivity check.
5080
5081 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5082
5083         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5084         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5085
5086 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
5087
5088         * pldap.el (ldap-decode-string): Return string as-is if
5089         `ldap-coding-system' is nil.
5090         (ldap-encode-string): Ditto.
5091         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5092         (ldap-default-host): Fixed docstring.
5093
5094 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
5095
5096         * elmo-util.el (elmo-warning): Define as a macro which uses
5097         `display-warning' if it is defined as a function.
5098
5099         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5100         (elmo-split-equal): Use it.
5101         (elmo-split-match): Ditto.
5102         (elmo-split-message-entity): New buffer-local variable.
5103         (elmo-split-subr): Set it.
5104
5105         * elmo-version.el (elmo-version): Up to 2.9.15.
5106
5107 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
5108
5109         * elmo-imap4.el (elmo-network-initialize-session):
5110         Check capability after starttls.
5111
5112 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
5113
5114         * elmo-util.el (elmo-list-delete): Added optional argument
5115         DELETE-FUNCTION.
5116
5117         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5118
5119         * elmo-util.el (elmo-warning): Ignore errors while recenter.
5120
5121         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5122
5123         * elmo-imap4.el (elmo-folder-initialize): Don't use
5124         elmo-imap4-default-mailbox.
5125
5126 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5127
5128         * elmo-split.el (toplevel): Use `product-provide'.
5129         (elmo-split): Checkdoc.
5130
5131 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5132
5133         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5134         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5135         the function `elmo-imap4-debug-1'.
5136
5137 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5138
5139         * elmo-split.el (elmo-split): Moved to run hooks and to show
5140         message from elmo-split-subr.
5141         (elmo-split-subr): Follow the change above.
5142
5143         * elmo-split.el (elmo-split-subr): New function (renamed from
5144         elmo-split-subr).
5145         (elmo-split): Changed to call elmo-split-subr by element of
5146         elmo-split-folder.
5147         (elmo-split-folder): Changed customization type to choice.
5148
5149 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5150
5151         * elmo-split.el (elmo-split-and): Fixed condition.
5152
5153 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5154
5155         * elmo-split.el: New file.
5156         (elmo-split): Fixed logic.
5157         Display "Test:" instead of "Folder:" when reharsal.
5158
5159         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5160         explicitly.
5161
5162         * elmo-version.el (elmo-version): Up to 2.9.14.
5163
5164         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5165         wl-expand-newtext).
5166
5167 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5168
5169         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5170         message with no message-id field.
5171
5172 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5173
5174         * elmo-version.el (elmo-version): Up to 2.9.13.
5175
5176         * elmo-dop.el (elmo-folder-status-dop): Fix.
5177
5178 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5179
5180         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5181
5182         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5183         changing default value of default-mime-charset.
5184         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5185
5186         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5187
5188         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5189         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5190         instead of elmo-dop-queue-method-name-alist to check merging queue.
5191         (elmo-folder-delete-messages-dop): Delete from queue if negative
5192         message number.
5193         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5194         file is already removed.
5195
5196 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5197
5198         * elmo-vars.el: Bind colon keywords for old Emacsen.
5199
5200 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5201
5202         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5203         against non-exsisting charset.
5204
5205 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5206
5207         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5208         Use eword-decode-and-unfold-unstructured-field-body.
5209
5210         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5211         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5212         exists to decode raw subject string.
5213         (toplevel): Require 'mime.
5214
5215         * elmo-version.el (elmo-version): Up to 2.9.12.
5216
5217 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5218
5219         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5220         (elmo-msgdb-set-mark): Ditto.
5221
5222         * elmo-version.el (elmo-version): Up to 2.9.11.
5223
5224 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5225
5226         * elmo-util.el (elmo-delete-match-files): New function.
5227
5228         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5229         instead of elmo-delete-directory.
5230
5231         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5232         elmo-hash-minimun-size as 63.
5233
5234         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5235         elmo-diff-unread is nil.
5236
5237         * elmo-imap4.el (elmo-folder-open): Fix.
5238
5239         * elmo.el (elmo-message-mark): Rewrite.
5240         (elmo-message-field): Ditto.
5241         (elmo-message-set-mark): Ditto.
5242         (elmo-folder-replace-marks): New function.
5243         (elmo-generic-folder-append-msgdb): Removed third argument for
5244         elmo-msgdb-append.
5245         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5246         (elmo-msgdb-load): New implementation.
5247
5248         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5249
5250         * elmo-util.el (elmo-list-insert): New implementation.
5251
5252         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5253         argument for elmo-msgdb-append.
5254         
5255
5256         * elmo-msgdb.el (elmo-load-msgdb): New function.
5257         (elmo-make-msgdb): Ditto.
5258         (elmo-msgdb-get-index): New inline function.
5259         (elmo-msgdb-set-index): Ditto.
5260         (elmo-msgdb-get-entity-hashtb): Ditto.
5261         (elmo-msgdb-get-mark-hashtb): Ditto.
5262         (elmo-msgdb-get-mark): Ditto.
5263         (elmo-msgdb-set-mark): Ditto.
5264         (elmo-msgdb-count-marks): Ditto.
5265         (elmo-msgdb-get-number): Ditto.
5266         (elmo-msgdb-get-field): Ditto.
5267         (elmo-msgdb-seen-list): Ditto.
5268         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5269         (elmo-msgdb-delete-msgs): Follow the changes above.
5270         (elmo-msgdb-overview-get-entity): Ditto.
5271         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5272         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5273         and rewritten.
5274         (elmo-msgdb-make-index): Likewise.
5275         (elmo-msgdb-append): Removed third argument.
5276         (elmo-msgdb-clear): Clear index as nil.
5277         (elmo-folder-set-info-hashtb): Removed.
5278         (elmo-folder-set-info-max-by-numdb): Ditto.
5279         (elmo-folder-info-make-hashtb): Ditto.
5280
5281         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5282
5283         * elmo-map.el (elmo-folder-pack-number): Ditto.
5284
5285 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5286
5287         * elmo-version.el (elmo-version): Up to 2.9.10.
5288
5289         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5290
5291         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5292
5293 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5294
5295         * elmo-utils.el (elmo-make-directory): Add option.
5296         Default file mode is 700.
5297
5298 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5299
5300         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5301
5302 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5303
5304         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5305         mime-charset.
5306
5307         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5308         and "smaller".
5309
5310 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5311
5312         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5313         (elmo-shimbun-folder-entity-hash): New function.
5314         (elmo-shimbun-folder-shimbun-header): Ditto.
5315         (elmo-shimbun-entity-to-header): Ditto.
5316         (elmo-shimbun-msgdb-to-headers): Removed.
5317         (elmo-shimbun-folder-setup): Ditto.
5318         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5319         for hash key.
5320         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5321         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5322         Removed useless local bind.
5323         (elmo-folder-open-internal): Don't call
5324         `elmo-shimbun-folder-setup'.
5325         (elmo-folder-close-internal): Clear entity-hash slot.
5326         (elmo-folder-clear): Ditto.
5327         (elmo-shimbun-msgdb-create-entity): Use
5328         `elmo-shimbun-folder-shimbun-header'.
5329         (elmo-map-message-fetch): Ditto.
5330         (elmo-shimbun-update-overview): Use overview entity instead of
5331         shimbun header to lookup id by references.
5332         (elmo-map-folder-list-message-locations): Use not only headers but
5333         also overviews to list locations.
5334
5335 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5336
5337         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5338         msgdb path.
5339
5340         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5341
5342 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5343
5344         * elmo-util.el (elmo-read-search-condition-internal): Give default
5345         value for date.
5346
5347 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5348
5349         * elmo-util.el (elmo-condition-parse-search-value): Accept
5350         YYYY-MM-DD format to search.
5351         * elmo-date.el (elmo-date-get-datevec): Likewise.
5352
5353 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5354
5355         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5356         debugging code.
5357
5358 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5359
5360         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5361         from t.
5362
5363         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5364
5365         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5366         case from `elmo-folder-exists-p'.
5367         (elmo-folder-exists-p): Removed.
5368         (elmo-folder-creatable-p) Ditto.
5369
5370         * elmo-net.el (elmo-folder-create): Defined.
5371         (elmo-folder-create-unplugged): New function.
5372         (elmo-folder-exists-p): Changed default value to nil from t.
5373
5374         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5375         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5376
5377         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5378         `elmo-create-folder-dop' and append queue
5379         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5380         (elmo-folder-create-dop-delayed): New function.
5381
5382         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5383
5384         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5385
5386         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5387         (elmo-folder-writable-p) : Ditto.
5388
5389         * elmo-version.el (elmo-version): Up to 2.9.9.
5390
5391 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5392
5393         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5394         `elmo-message-use-cache-p' returns nil.
5395         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5396         (ignore cache file and refer the substance in local folders)
5397
5398 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5399
5400         * elmo-version.el (elmo-version): Up to 2.9.8.
5401
5402 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5403
5404         * elmo-version.el (elmo-version): Up to 2.9.7.
5405
5406         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5407
5408 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5409
5410         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5411
5412 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5413
5414         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5415         from --early.
5416         (elmo-map-folder-list-message-locations): Reverse location list.
5417
5418 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5419
5420         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5421
5422 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5423
5424         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5425         as a key.
5426         (elmo-nntp-folder-list-subfolders): Follow the change above.
5427
5428 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5429
5430         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5431         name if authentication type is specified.
5432
5433 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5434
5435         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5436         variable.
5437         (elmo-default-nntp-stream-type): Ditto.
5438         (elmo-default-pop3-stream-type): Ditto.
5439
5440 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5441
5442         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5443
5444 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5445
5446         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5447         elmo-vars.el.
5448         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5449
5450         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5451         (elmo-maildir-folder-path): Ditto.
5452         (elmo-maildir-list): Ditto (abolished).
5453
5454 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5455
5456         * elmo-version.el (elmo-version): Up to 2.9.6.
5457
5458 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5459
5460         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5461         (elmo-maildir-folder-path): Ditto.
5462         (elmo-msgdb-directory): Ditto.
5463         (elmo-passwd-life-time): Ditto.
5464         (elmo-msgdb-extra-fields): Ditto.
5465         (elmo-enable-disconnected-operation): Ditto.
5466
5467 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5468
5469         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5470         other choices.
5471         (elmo-pop3-default-authenticate-type): Ditto.
5472
5473 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5474
5475         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5476         choices for custom.
5477         (elmo-pop3-default-authenticate-type): Ditto.
5478
5479 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5480
5481         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5482         mailbox to new-folder.
5483
5484 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5485
5486         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5487         less than new, set new as unread.
5488
5489         * elmo-util.el (elmo-string): Don't put text-property if nil.
5490
5491 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5492
5493         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5494         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5495
5496 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5497
5498         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5499         is nil on `completing-read'.
5500
5501 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5502
5503         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5504         for namespace part.
5505         (elmo-imap4-parse-namespace-subr): Ditto.
5506         (elmo-folder-list-subfolders): Append a delimiter when the specified
5507         folder path is a root with namespace and does not end with delimiter.
5508
5509 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5510
5511         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5512         was used.
5513
5514 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5515
5516         * elmo-util.el (elmo-save-buffer): The first argument of message
5517         is a format control string.
5518
5519 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5520
5521         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5522         `elmo-folder-diff').
5523         (elmo-diff-unread): Likewise.
5524
5525 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5526
5527         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5528         is t on `completing-read'.
5529
5530 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5531
5532         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5533         method of target folder with self mark-alist if MARK-ALIST is nil.
5534
5535 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5536
5537         * elmo-version.el (elmo-version): Up to 2.9.5.
5538
5539 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5540
5541         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5542         (elmo-dop-merge-funcs): Remove.
5543
5544 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5545
5546         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5547         Return t if PATH is directory, too.
5548         Use `dolist' instead of while loop.
5549
5550 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5551
5552         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5553         is deleted.
5554
5555 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5556
5557         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5558         return value to t.
5559         (elmo-folder-list-messages-unplugged): Return t if
5560         elmo-enable-disconnected-operation is nil.
5561
5562         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5563         `elmo-folder-list-messages-internal'.
5564
5565 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5566
5567         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5568         Change to looking-at `[23][0-9]+'.
5569         (elmo-network-initialize-session): Use 'error-msg'
5570         * elmo-net.el (elmo-network-open-session): Set unplugged
5571         if elmo-network-initialize-session returns 'elmo-open-err.
5572
5573 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5574
5575         * elmo-version.el (elmo-version): Up to 2.9.4.
5576
5577 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5578
5579         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5580         `elmo-folder-list-messages-internal'.
5581
5582 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5583
5584         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5585         (elmo-message-match-condition): New method.
5586         (elmo-folder-search-fast): New inline function.
5587         (elmo-msgdb-search): Removed.
5588
5589         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5590         target folder if it is unplugged.
5591         (elmo-folder-list-messages-internal): Return t if target folder is
5592         unplugged and itself is persistent; In this case, use list be
5593         searched already.
5594
5595         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5596         (elmo-msgdb-search-internal-primitive): Ditto.
5597         (elmo-msgdb-match-condition): New function.
5598         (elmo-msgdb-match-condition-primitive): Ditto.
5599
5600         * elmo-util.el (elmo-filter-condition-p): New macro.
5601
5602         * elmo-cache.el (elmo-folder-search): Removed.
5603
5604         * elmo-localdir.el (elmo-folder-search): Ditto.
5605
5606         * elmo-maildir.el (elmo-folder-search): Ditto.
5607
5608         * elmo-mark.el (elmo-folder-search): Ditto.
5609
5610         * elmo-nmz.el (elmo-folder-search): Ditto.
5611
5612         * elmo-sendlog.el (elmo-folder-search): Ditto.
5613
5614         * elmo-shimbun.el (elmo-folder-search): Ditto.
5615
5616         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5617         if folder is unplugged.
5618
5619         * elmo-nntp.el (elmo-folder-search): Likewise.
5620         (elmo-nntp-search-internal): New function.
5621
5622         * elmo-version.el (elmo-version): Up to 2.9.3.
5623
5624 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5625
5626         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5627
5628 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5629
5630         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5631
5632 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5633
5634         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5635
5636 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5637
5638         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5639         (elmo-map-folder-list-message-locations): Do drive letter conversion
5640         on Windows environment.
5641         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5642         (elmo-map-message-fetch): Ditto.
5643
5644 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5645
5646         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5647         (elmo-network-initialize-session): Ditto.
5648
5649 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5650
5651         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5652
5653         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5654
5655         * elmo-util.el (elmo-progress-clear): Ditto.
5656
5657         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5658         `DD-Mon-YYYY' type date.
5659
5660 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5661
5662         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5663         `elmo-date-make-sortable-string' instead of
5664         `timezone-make-date-sortable'.
5665
5666         * elmo-date.el (elmo-date-make-sortable-string): Use
5667         `timezone-make-time-string'.
5668
5669 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5670
5671         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5672
5673         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5674         `since'; Fix timezone.
5675
5676         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5677
5678         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5679
5680 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5681
5682         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5683
5684 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5685
5686         * elmo.el (elmo-generic-folder-append-messages): Make
5687         fetch-strategy with `use-cache' as 'maybe. Check return value of
5688         `elmo-message-fetch'.
5689         (elmo-message-fetch): Return return value of
5690         `elmo-message-fetch-with-cache-process'.
5691         (elmo-message-fetch-with-cache-process): Return non-nil if
5692         fetching was succeed. Load cache when fetching was failed and
5693         fetch-strategy-use-cache is 'maybe.
5694
5695         * elmo-util.el (elmo-file-cache-load): New function.
5696
5697         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5698         defun.
5699
5700         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5701         non-nil if fetching was succeed.
5702
5703         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5704
5705         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5706
5707         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5708         (elmo-message-fetch-with-cache-process): Likwise.
5709
5710         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5711
5712         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5713
5714         * elmo-version.el (elmo-version): Up to 2.9.2.
5715
5716 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5717
5718         * elmo.el (elmo-folder-delete): Delete msgdb path.
5719
5720         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5721
5722         * elmo-maildir.el (elmo-folder-delete): Ditto.
5723
5724         * elmo-localdir.el (elmo-folder-delete): Ditto.
5725
5726         * elmo-imap4.el (elmo-folder-delete): Ditto.
5727
5728 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5729
5730         * elmo.el (luna-define-class): Added `biff' slot.
5731
5732         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5733         (elmo-pop3-debug-inhibit-logging): Abolished.
5734         (elmo-network-close-session): Eliminated needless let.
5735         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5736         (elmo-pop3-send-command): Added `no-log' argument.
5737         (elmo-pop3-process-filter): Use `with-current-buffer'.
5738         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5739         if login failure.
5740         (elmo-pop3-auth-apop): Likewise.
5741         (elmo-network-authenticate-session): Likewise.
5742
5743         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5744         if biff folder.
5745
5746         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5747         string to determine protocol.
5748         (elmo-network-session-name-prefix): Abolished.
5749         (elmo-network-session-cache-key): Follow the change above.
5750         (elmo-network-open-session): Ditto.
5751
5752         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5753         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5754
5755         * elmo-version.el (elmo-version): Up to 2.9.1.
5756
5757         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5758         unmatch condition checking.
5759
5760         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5761         condition.
5762
5763 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5764
5765         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5766
5767 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5768
5769         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5770         test for while loop to execute at least one SEARCH command.
5771
5772 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5773
5774         * elmo-version.el (elmo-version): Up to 2.9.0.
5775
5776 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5777
5778         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5779         (elmo-archive-folder-path): Define.
5780         (elmo-folder-initialize): Setup `dir-name' slot.
5781         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5782         Use `dir-name' as prefix of each subfolders.
5783         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5784
5785 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5786
5787         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5788         (elmo-pipe-folder-list-target-messages): New internal function.
5789         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5790         `killed-list'.
5791         (elmo-pipe-folder-copied-list-load): New function.
5792         (elmo-pipe-folder-copied-list-save): Ditto.
5793         (elmo-folder-open-internal): Follow the change above.
5794         (elmo-folder-status): Fixed for copy.
5795
5796 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5797
5798         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5799
5800 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5801
5802         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5803         elmo-copy-file instead of elmo-add-name-to-file.
5804
5805         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5806
5807         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5808         "file://..." index.
5809
5810         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5811         of accept-process-output as 1.
5812         (elmo-pop3-read-contents): Ditto.
5813         (elmo-pop3-read-body): Ditto.
5814
5815 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5816
5817         * elmo-version.el (product-version-as-string): Remove define.
5818
5819 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5820
5821         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5822         (elmo-imap4-copy-messages): Chop number set using
5823         `elmo-imap4-number-set-chop-length'.
5824         (elmo-imap4-set-flag): Ditto.
5825         (elmo-imap4-search-internal-primitive): Ditto.
5826
5827 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5828
5829         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5830         `elmo-folder-make-temp-dir'
5831
5832         * elmo-vars.el (elmo-cache-directory): New variable.
5833         (elmo-cache-dir): Abolished.
5834         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5835
5836         * elmo-version.el (elmo-version): Up to 2.7.7.
5837
5838 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5839
5840         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5841         defcustom; Set default value as t.
5842
5843 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5844
5845         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5846         (ldap-search-program-arguments): Changed default value.
5847         (ldap-search-basic): Accept exit status 4.
5848         (ldap/field-body): Parse options.
5849         (ldap/collect-field): Ditto.
5850         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5851
5852         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5853         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5854         (elmo-imap4-accept-ok): Ditto.
5855         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5856         'notify-bye, only BYE error is reported.
5857         (elmo-folder-exists-p-plugged): Set no-error argument of
5858         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5859
5860         * elmo.el (elmo-imap4-bye-error): Changed message.
5861
5862         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5863         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5864         queues (It causes infinite loop).
5865
5866 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5867
5868         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5869         (RECENT UNSEEN MESSAGES) extension.
5870
5871 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5872
5873         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5874         Check number of overview fields.
5875
5876 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5877
5878         * elmo.el (elmo-folder-confirm-appends): Changed message.
5879         (elmo-folder-confirm-appends): Ditto.
5880
5881         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5882         `with-temp-buffer'.
5883         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5884
5885 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5886
5887         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5888         of elmo-folder-update-threshold is nil, which can be set by
5889         wl-summary-update-confirm-threshold.
5890
5891 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5892
5893         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5894         (elmo-nmz-index-alias-alist): Ditto.
5895         (elmo-map-folder-list-message-locations): Follow the change above.
5896
5897 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5898
5899         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5900
5901         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5902
5903         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5904
5905         * elmo-util.el (elmo-read): Ditto.
5906         (elmo-display-error): Ditto.
5907
5908         * elmo-vars.el (elmo-date-match): Ditto.
5909
5910         * pldap.el (ldap-coding-system): Ditto.
5911
5912         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5913         `elmo-inhibit-number-mapping' as nil.
5914
5915 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5916
5917         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5918         space delimiter for list response.
5919
5920 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5921
5922         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5923
5924 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5925
5926         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5927         (elmo-map-message-fetch): Fix.
5928         * elmo-map.el (elmo-folder-status): Fix for killed.
5929
5930 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5931
5932         * elmo-sendlog.el: New file.
5933         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5934
5935 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5936
5937         * acap.el (acap-logging-out): New buffer local variable.
5938         (acap-close): Set it.
5939         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5940         an error.
5941
5942 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5943
5944         * acap.el (acap-response-bye-p): New function.
5945         (acap-response-bye-message): Ditto.
5946         (acap-wait-for-response): If bye response is received, cause an error.
5947         (acap-parse-response): Make bye response when 'Bye' is received.
5948
5949 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5950
5951         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5952
5953 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5954
5955         * elmo-util.el (elmo-copy-file): Added argument
5956         `ok-if-already-exists'.
5957         (elmo-copy-file): Fixed typo.
5958
5959 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5960
5961         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5962
5963 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5964
5965         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5966
5967 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5968
5969         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5970         to killed-list.
5971
5972 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5973
5974         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5975         (elmo-folder-initialize): Fix for `copy'.
5976         (elmo-pipe-drain): Ditto.
5977         (elmo-folder-open-internal): Ditto.
5978         (elmo-folder-newsgroups): Fix.
5979
5980 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5981
5982         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5983         for each message.
5984
5985         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5986         recent value is returned from imap folder.
5987
5988         * elmo.el (elmo-folder-newsgroups): New generic function.
5989
5990         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5991         (elmo-folder-initialize): Set it.
5992         (elmo-folder-expand-msgdb-path): Use it.
5993         (elmo-folder-newsgroups): Define.
5994
5995         * elmo-filter.el (elmo-folder-newsgroups): Define.
5996
5997         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5998
5999         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6000
6001         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6002
6003 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6004
6005         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6006         user option.
6007         (elmo-shimbun-header-extra-field): New inline function.
6008         (elmo-shimbun-header-set-extra-field): Ditto.
6009         (elmo-shimbun-folder-header-hash-setup): Ditto.
6010         (elmo-shimbun-update-overview): Ditto.
6011         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6012         (elmo-shimbun-folder-setup): Use
6013         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6014         (elmo-shimbun-get-headers): Ditto.
6015         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6016         Insert `X-Shimbun-Id:' header if extra field is set.
6017         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6018         field's value instead of `shimbun-header-id'.
6019
6020         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6021         inline function.
6022         (elmo-msgdb-overview-entity-set-date): Ditto.
6023         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6024
6025 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
6026
6027         * mmimap.el (mmimap-entity-section): Changed body node number from
6028         "0" to "1".
6029
6030 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6031
6032         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6033         `elmo-folder-delete-messages'.
6034
6035         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6036         (elmo-folder-initialize): Changed to expand alias into index path.
6037
6038         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6039         `elmo-mime-insert-header-from-buffer' with 6th arg
6040         `sorted-fields'.
6041
6042 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
6043
6044         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6045
6046         * elmo.el (elmo-diff-new): New inline function.
6047         (elmo-diff-unread): Ditto.
6048         (elmo-diff-all): Ditto.
6049
6050         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6051         value from responseb.
6052         (elmo-imap4-folder-diff-plugged): Ditto.
6053         (elmo-imap4-server-diff-async): Added recent argument.
6054         (elmo-server-diff-async): Ditto.
6055         (elmo-imap4-folder-diff-plugged): Ditto.
6056
6057         * elmo-version.el (elmo-version): Up to 2.7.6.
6058
6059 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6060
6061         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6062         in quoted-stirng.
6063
6064 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
6065
6066         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6067
6068         * elmo-imap4.el (elmo-folder-initialize): Ditto.
6069
6070         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6071
6072         * elmo-multi.el (elmo-folder-initialize): Ditto.
6073
6074         * elmo-util.el (elmo-parse-token): New function.
6075         (elmo-parse-prefixed-element): Ditto.
6076
6077 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6080         delete process.
6081         (elmo-imap4-accept-ok): Ditto.
6082
6083 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6084
6085         * mmimap.el (mime-imap-entity-header-string): Don't check first
6086         element of node-id is `0' (Follow last change).
6087
6088 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6089
6090         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6091         assigned irregular node-id to nested multipart section.
6092         (initialize-instance): Followed above change.
6093
6094 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6095
6096         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6097         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6098         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6099         `elmo-shimbun-get-headers');
6100         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6101         visible article on summary exists in headers).
6102         (elmo-map-message-fetch): Cause an error when folder is unplugged.
6103
6104 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
6105
6106         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6107         definition.
6108
6109 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
6110
6111         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6112
6113 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6114
6115         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6116         header separator into loop condition.
6117
6118 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6119
6120         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6121         Return duplicate folder if it has subfolder.
6122
6123 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
6124
6125         * elmo.el (elmo-make-folder): Add folder name error check.
6126
6127         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6128         (elmo-nntp-encode-group-string): New inline function.
6129         (elmo-nntp-decode-group-string): Ditto.
6130         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6131         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6132         Use `not' instead of `null';
6133         Use elmo-nntp-decode-group-string.
6134
6135         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6136
6137         * elmo-version.el (elmo-version): Up to 2.7.5.
6138
6139 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6140
6141         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6142         Hide progress gauge if `elmo-folder-move-messages' exits
6143         nonlocally.
6144
6145 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6146
6147         * elmo-imap4.el (elmo-folder-initialize): Use
6148         `elmo-imap4-encode-folder-string' for folder name.
6149
6150 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6151
6152         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6153         `done'.
6154
6155 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6156
6157         * elmo-util.el (elmo-progress-counter-alist): New internal
6158         variable.
6159         (elmo-progress-counter-value): New macro.
6160         (elmo-progress-counter-all-value): Ditto.
6161         (elmo-progress-counter-format): Ditto.
6162         (elmo-progress-counter-set-value): Ditto.
6163         (elmo-progress-set): New function.
6164         (elmo-progress-clear): Ditto.
6165         (elmo-progress-notify): Ditto.
6166
6167         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6168         counter.
6169
6170         * elmo.el (elmo-generic-folder-append-messages): Call
6171         `elmo-progress-notify'.
6172         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6173
6174         * elmo-archive.el (elmo-folder-append-messages): Call
6175         `elmo-progress-notify'.
6176
6177         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6178
6179         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6180
6181         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6182
6183 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6184
6185         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6186         'Create'.
6187         (elmo-message-encache-dop): Added argument `read'.
6188
6189         * elmo-shimbun.el (elmo-message-encache): Ditto.
6190
6191         * elmo-net.el (elmo-message-encache): Ditto.
6192
6193         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6194         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6195         elmo-imap4-seen-messages.
6196         (elmo-folder-msgdb-create-plugged): Initialize
6197         elmo-imap4-seen-messages;
6198         Set seen mark on elmo-imap4-seen-messages.
6199
6200         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6201
6202         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6203         elmo-folder-append-buffer.
6204         (elmo-folder-encache): Added optional argument `read'.
6205         (elmo-message-encache): Ditto.
6206
6207         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6208
6209         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6210
6211         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6212         if append buffer content succeds.
6213
6214 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6215
6216         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6217         elmo-display-progress.
6218
6219         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6220         Set 4th argument of mime-display-message.
6221         (elmo-mime-display-as-is): Ditto.
6222
6223 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6224
6225         * elmo-nmz.el (toplevel): Require 'mime-edit.
6226         (elmo-nmz-content-type-alist): Abolished.
6227         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6228         content is not a message.
6229         (elmo-map-message-fetch): Changed behavior exept for message content;
6230         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6231         content-type, Add From: and Subject: field.
6232
6233 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6234
6235         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6236         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6237         not a message.
6238
6239 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6240
6241         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6242         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6243
6244         * elmo-archive.el (elmo-folder-writable-p): Defined.
6245
6246         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6247
6248         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6249
6250         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6251
6252         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6253
6254         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6255
6256         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6257
6258         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6259
6260         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6261
6262 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6263
6264         * elmo-util.el (elmo-address-quote-specials): New function;
6265         Renamed from `wl-address-quote-specials'.
6266
6267 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6268
6269         * elmo-version.el (elmo-version): Up to 2.7.4.
6270
6271 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6272
6273         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6274
6275 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6276
6277         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6278         both compile-time and run-time to avoid byte-compile warning.
6279
6280 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6281
6282         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6283
6284 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6285
6286         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6287         option.
6288         (elmo-mime-display-as-is-internal): Use it.
6289
6290         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6291         if `read-passwd' is not defined.
6292
6293 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6294
6295         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6296         by original number.
6297         (elmo-folder-status): Call `elmo-folder-open-internal';
6298         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6299         (elmo-folder-close-internal): Set location-alist as nil.
6300         (elmo-folder-clear): Define.
6301         (elmo-folder-check): Don't set location-alist as nil.
6302
6303         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6304
6305 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6306
6307         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6308         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6309
6310         * mmimap.el (mime-imap-entity::requested): New slot.
6311         (mime-imap-location-fetch-entity-p): New generic function.
6312         (mime-decode-parameters): Define using `defun-maybe'.
6313         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6314         content-type structure.
6315         (mime-entity-body): Return empty body if
6316         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6317
6318         * elmo.el (elmo-message-displaying): New variable.
6319
6320         * elmo-mime.el (elmo-mime-message-display): Bind
6321         elmo-message-displaying as t.
6322
6323         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6324
6325 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6326
6327         * acap.el (acap-open): erase buffer before starting network process.
6328         (acap-store): Rewrite.
6329
6330 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6331
6332         * elmo-imap4.el (elmo-imap4-default-mailbox,
6333         elmo-imap4-default-server
6334         elmo-imap4-default-authenticate-type,
6335         elmo-imap4-default-user,
6336         elmo-imap4-default-port,
6337         elmo-imap4-default-stream-type,
6338         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6339
6340         * elmo-pop3.el (elmo-pop3-default-user,
6341         elmo-pop3-default-server,
6342         elmo-pop3-default-authenticate-type,
6343         elmo-pop3-default-port,
6344         elmo-pop3-default-stream-type,
6345         elmo-pop3-stream-type-alist): Ditto.
6346
6347         * elmo-nntp.el (elmo-nntp-default-server,
6348         elmo-nntp-default-user,
6349         elmo-nntp-default-port,
6350         elmo-nntp-default-stream-type,
6351         elmo-nntp-stream-type-alist): Ditto.
6352
6353         * elmo-vars.el: Follow changes above.
6354         (elmo-setting): New custom group; added 'elmo-setting group to
6355         above variables.
6356
6357         * elmo-version.el (elmo-version): Up to 2.7.3.
6358
6359         * acap.el (acap-parse-response): Don't delete process when BYE
6360         response (It causes hang-up on slow network environment).
6361         (toplevel): Added comment.
6362
6363 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6364
6365         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6366
6367         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6368         parsing NIL.
6369         (acap-parse-return-metadata): Ditto.
6370
6371         * slp.el: New file.
6372         (toplevel): Fixed typo.
6373
6374         * acap.el: New file.
6375         (acap-network-stream-open): Show "Connecting..." message.
6376         (acap-parse-response): Fixed problem for BYE untagged response.
6377         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6378         (toplevel): Added tiny comments.
6379
6380 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6381
6382         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6383         space delimiter for uidl response.
6384
6385 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6386
6387         * elmo-vars.el (elmo-use-semi): Eliminated.
6388
6389         * elmo-util.el (elmo-string-assoc-all): New function.
6390
6391 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6392
6393         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6394         property 'mime-preview-situation for `mime-preview-quit'.
6395
6396 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6397
6398         * elmo.el (elmo-message-fetch-with-cache-process): Call
6399         elmo-message-fetch-internal instead of causing an error when fetch
6400         strategy is 'entire but only 'section cache is available.
6401
6402 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6403
6404         * elmo-version.el (elmo-version): Up to 2.7.2.
6405
6406         * elmo.el (elmo-generic-folder-append-messages): Make
6407         fetch-strategy with `use-cache'.
6408
6409         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6410         (elmo-dop-queue-method-name): New macro.
6411
6412 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6413
6414         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6415         unbalanced parenthesis.
6416
6417 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6418
6419         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6420
6421 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6422
6423         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6424         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6425
6426 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6427
6428         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6429         local variables.
6430
6431 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6432
6433         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6434         (elmo-message-use-cache-p): Define.
6435         (elmo-folder-msgdb-create): Treat cache.
6436
6437 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6438
6439         * elmo-nntp.el (elmo-network-initialize-session): Call
6440         `elmo-nntp-send-mode-reader'.
6441         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6442
6443 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6444
6445         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6446         alist.
6447         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6448         assoc.
6449
6450         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6451         for `elmo-plugged-p'.
6452         (elmo-open-network-stream): Fixed stream-type argument.
6453
6454 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6455
6456         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6457         unknown archive type is specified.
6458
6459 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6460
6461         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6462
6463         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6464         while loading msgdb.
6465
6466         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6467         (elmo-folder-open-internal): Rewrite.
6468
6469 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6470
6471         * elmo-mime.el (elmo-mime-display-as-is-internal):
6472         Adjust buffer-multibyte status.
6473
6474 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6475
6476         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6477         of elmo-condition-find-key.
6478
6479         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6480         (elmo-condition-in-msgdb-p): Ditto.
6481         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6482         argument.
6483
6484 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6485
6486         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6487
6488 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6489
6490         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6491         label for elmo-display-progress.
6492
6493 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6494
6495         * elmo.el (elmo-folder-clear): New method.
6496         (elmo-folder-clear): Define.
6497         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6498
6499         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6500         (elmo-folder-clear): Define.
6501
6502         * elmo-map.el (elmo-folder-clear): Define.
6503
6504         * elmo-version.el (elmo-version): Up to 2.7.1.
6505
6506 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6507
6508         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6509         updates.
6510
6511 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6512
6513         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6514         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6515
6516 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6517
6518         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6519
6520         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6521         and re-written.
6522
6523         * elmo-imap4.el (elmo-folder-initialize): Use
6524         elmo-get-network-stream-type.
6525
6526         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6527
6528         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6529
6530 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6531
6532         * elmo.el (elmo-message-encache): Set unread argument for
6533         elmo-message-fetch.
6534
6535         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6536
6537         * elmo.el (elmo-net-port-info): New method.
6538
6539         * elmo-shimbun.el (elmo-net-port-info): Define.
6540         (elmo-message-encache): Ditto.
6541
6542         * elmo-net.el (elmo-net-port-info): Define as method.
6543
6544         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6545         unplugged status when elmo-enable-disconnected-operation is t.
6546
6547         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6548         of spool folder before checking new number.
6549
6550 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6551
6552         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6553         (elmo-network-setup-session): Ditto.
6554         (elmo-message-fetch-plugged): Ditto.
6555         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6556         (elmo-network-initialize-session): Ditto.
6557         (elmo-pop3-read-response): Abolish 3rd argument.
6558         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6559         (elmo-pop3-read-contents): Ditto.
6560         (elmo-pop3-read-body): Ditto.
6561         (elmo-folder-status): Call elmo-folder-close.
6562         (elmo-pop3-lock): Abolish.
6563         (elmo-pop3-unlock): Ditto.
6564         (elmo-pop3-locked-p): Ditto.
6565         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6566
6567 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6568
6569         * elmo-version.el (elmo-version): Up to 2.7.0.
6570
6571         * elmo-pop3.el (elmo-pop3-debug): New variable.
6572         (elmo-pop3-debug-inhibit-logging): Ditto.
6573         (elmo-pop3-debug): New function.
6574         (elmo-pop3-send-command): Call elmo-pop3-debug.
6575         (elmo-pop3-read-response): Added keep-lock optional argument;
6576         Don't unlock if keep-lock is non-nil.
6577         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6578         (elmo-network-authenticate-session): Bind
6579         elmo-pop3-debug-inhibit-logging as t.
6580         (elmo-network-setup-session): Call elmo-pop3-read-response with
6581         keep-lock argument.
6582         (elmo-pop3-read-msg): Ditto.
6583         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6584         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6585         (elmo-network-initialize-session): Call elmo-pop3-lock.
6586         (elmo-folder-close-internal): Don't clear location-alist slot.
6587         (elmo-folder-check): Clear location-alist slot.
6588
6589 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6590
6591         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6592         (elmo-pop3-send-command): Call elmo-pop3-lock.
6593         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6594         (elmo-pop3-read-contents): Ditto.
6595         (elmo-pop3-lock): New function.
6596         (elmo-pop3-unlock): Ditto.
6597         (elmo-pop3-locked-p): Ditto.
6598         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6599         returns t.
6600
6601 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6602
6603         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6604
6605         * elmo-util.el (elmo-file-field-primitive-condition-match):
6606         New inline function (Don't fetch file content if "first" or "last").
6607         (elmo-file-field-condition-match): Use
6608         elmo-file-field-primitive-condition-match.
6609
6610         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6611         "first".
6612
6613         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6614         (elmo-message-fetch-plugged): Fixed.
6615
6616         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6617
6618 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6619
6620         * elmo.el (elmo-folder-move-messages): Bind
6621         elmo-inhibit-display-retrieval-progress as t while moving messages.
6622
6623         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6624         New variable.
6625         (elmo-inhibit-display-retrieval-progress): Ditto.
6626
6627         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6628         for retrieval progress;
6629         Don't display progress when total buffer size is smaller than
6630         elmo-display-retrieval-progress-threshold.
6631         (elmo-message-fetch-plugged): Don't display progress when
6632         elmo-inhibit-display-retrieval-progress is non-nil.
6633
6634         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6635         for retrieval progress;
6636         Don't display progress when literal size is smaller than
6637         elmo-display-retrieval-progress-threshold.
6638         (elmo-imap4-message-fetch): Don't display progress when
6639         elmo-inhibit-display-retrieval-progress is non-nil.
6640
6641 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6642
6643         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6644         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6645         (elmo-imap4-message-fetch): Likewise.
6646
6647         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6648         (elmo-shimbun-index-range-alist): Ditto.
6649         (elmo-shimbun-use-entire-index): Abolish.
6650         (shimbun-mua-use-entire-index): Ditto.
6651         (elmo-shimbun-folder): Added new slot `range'.
6652         (elmo-folder-initialize): Setup slot `range'.
6653
6654 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6655
6656         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6657         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6658         (elmo-shimbun-get-headers): Use return value of
6659         `shimbun-article-expiration-days'.
6660         (elmo-folder-close-internal): Clean up last-check slot.
6661
6662         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6663         (elmo-pop3-total-size): New variable.
6664         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6665
6666         * elmo.el (elmo-folder-reserve-status-p): New method.
6667
6668         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6669         (elmo-shimbun-use-entire-index): New user option.
6670         (shimbun-elmo-mua): New class.
6671         (shimbun-mua-search-id): Define.
6672         (shimbun-mua-use-entire-index): Ditto.
6673         (elmo-shimbun-folder:last-check): New slot.
6674         (elmo-shimbun-headers-cache-header-list): Abolish.
6675         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6676         (elmo-shimbun-headers-cache-header-hash): Ditto.
6677         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6678         (elmo-shimbun-headers-cache-last-check): Ditto.
6679         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6680         (elmo-shimbun-headers-check-p): Rewrite.
6681         (elmo-shimbun-msgdb-to-headers): New function.
6682         (elmo-shimbun-get-headers): Rewrite.
6683         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6684         (elmo-folder-open-internal): Get headers only if
6685         `elmo-shimbun-headers-check-p' is non-nil.
6686         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6687         is non-nil.
6688         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6689         (elmo-quit): Removed.
6690
6691         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6692         function.
6693         (elmo-msgdb-overview-entity-set-extra): Ditto.
6694         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6695
6696         * elmo-map.el (elmo-folder-status): Don't call
6697         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6698         is non-nil.
6699
6700 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6701
6702         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6703         of `elmo-msgdb-search-internal-primitive' when condition's car is
6704         `and' or `or'.
6705
6706 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6707
6708         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6709
6710 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6711
6712         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6713         call `elmo-pipe-drain'.
6714
6715 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6716
6717         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6718         typo. (elmo-cache-folder -> elmo-mark-folder)
6719
6720 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6721
6722         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6723         `elmo-message-fetch'.
6724
6725 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6726
6727         * elmo-net.el (elmo-message-encache): Fixed typo.
6728         (elmo-message-fetch-unplugged): Changed call
6729         `elmo-message-fetch-internal' without argument `outbuf'.
6730
6731 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6732
6733         * elmo.el (elmo-message-encache): Define as generic function.
6734         (elmo-message-fetch-field): New generic function.
6735         (elmo-message-fetch-with-cache-process): Cause an error when
6736         fetch strategy is 'entire but only 'section cache is available.
6737         (toplevel): Fixed nmz folder definition.
6738
6739         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6740         (elmo-msgdb-resume-list-filename): Ditto.
6741         (elmo-queue-filename): Ditto.
6742         (elmo-enable-disconnected-operation): Changed default value to t.
6743
6744         * elmo-util.el (elmo-cache-path-section-p): New function.
6745         (elmo-file-cache-get): Use it.
6746         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6747         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6748         (elmo-dop-queue-save): Ditto.
6749
6750         * elmo-net.el (elmo-folder-status-unplugged): Call
6751         elmo-folder-status-dop.
6752         (elmo-folder-list-messages-unplugged): Implemented.
6753         (elmo-folder-delete-messages-unplugged): Define.
6754         (elmo-folder-msgdb-create): Define.
6755         (elmo-folder-msgdb-create-unplugged): Define.
6756         (elmo-folder-mark-as-read-unplugged): Ditto.
6757         (elmo-folder-unmark-read-unplugged): Ditto.
6758         (elmo-folder-mark-as-important-unplugged): Ditto.
6759         (elmo-folder-unmark-important-unplugged): Ditto.
6760         (elmo-message-encache): Ditto.
6761
6762         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6763         (elmo-dop-queue-save): Ditto.
6764
6765         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6766         `elmo-folder-msgdb-create'.
6767         (elmo-folder-append-buffer): Implemented unplugged operation.
6768         (elmo-folder-append-messages): Call parent method in unplugged status.
6769         (elmo-message-fetch-unplugged): Removed definition.
6770         (elmo-message-fetch-field): Implemented.
6771
6772         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6773         (elmo-dop-folder): Removed variable definition.
6774         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6775         (elmo-dop-queue-flush): Implemented.
6776         (elmo-dop-queue-merge): Removed definition (TODO).
6777         (elmo-dop-spool-folder): New function.
6778         (elmo-dop-spool-folder-append-buffer): Ditto.
6779         (elmo-dop-spool-folder-list-messages): Ditto.
6780         (elmo-dop-list-deleting-messages): Ditto.
6781         (elmo-folder-append-buffer-dop): Ditto.
6782         (elmo-folder-delete-messages-dop): Ditto.
6783         (elmo-message-encache-dop): New inline function.
6784         (elmo-create-folder-dop): Ditto.
6785         (elmo-folder-mark-as-read-dop): Ditto.
6786         (elmo-folder-unmark-read-dop): Ditto.
6787         (elmo-folder-mark-as-important-dop): Ditto.
6788         (elmo-folder-unmark-important-dop): Ditto.
6789         (elmo-folder-status-dop): Fixed.
6790         (elmo-folder-append-buffer-dop-delayed): New function.
6791         (elmo-folder-delete-messages-dop-delayed): Ditto.
6792         (elmo-dop-msgdb): Ditto.
6793
6794 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6795
6796         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6797
6798 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6799
6800         * elmo.el (elmo-folder-move-messages): Fixed problem when
6801         `dst-folder' is 'null.
6802
6803 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6804
6805         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6806         instead of current mark.
6807
6808         * elmo-multi.el (elmo-folder-list-importants-internal): No
6809         operation if importants is not list.
6810
6811         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6812         Return t if importants is not list.
6813
6814         * elmo-map.el (elmo-map-folder-list-importants): Define.
6815         (elmo-folder-list-importants-internal): Check return value of
6816         `elmo-map-folder-list-importants-internal'.
6817
6818         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6819
6820         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6821
6822         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6823
6824         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6825
6826 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6827
6828         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6829         (Patch is provided by <kita@coe.nttdata.co.jp>).
6830
6831 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6832
6833         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6834         mark folder.
6835
6836 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6837
6838         * elmo.el (elmo-message-fetch): Define.
6839         (elmo-message-fetch-with-cache-process): New generic method.
6840         (elmo-message-fetch-internal): New generic method.
6841         (elmo-folder-synchronize):
6842
6843         * elmo-archive.el (elmo-message-fetch-internal): Define.
6844         (elmo-message-fetch): Eliminated.
6845
6846         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6847         (elmo-message-fetch): Eliminated.
6848
6849         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6850         argument OUTBUF.
6851         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6852
6853         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6854         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6855
6856         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6857         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6858
6859         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6860
6861         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6862
6863         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6864
6865         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6866         (elmo-message-fetch-unplugged): New generic method.
6867         (elmo-message-fetch-internal): Remove cache process (Renamed from
6868         `elmo-message-fetch').
6869
6870         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6871         (elmo-message-fetch): Eliminated.
6872         (elmo-message-fetch-unplugged): Ditto.
6873
6874         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6875
6876 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6877
6878         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6879         of `to-be-deleted' from number-alist to number-list.
6880
6881 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6882
6883         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6884         (elmo-folder-mark-as-important): Ditto.
6885
6886 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6887
6888         * elmo.el (elmo-folder): Added process-duplicates slot.
6889
6890         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6891         (elmo-folder-unmark-read): Ditto.
6892         (elmo-folder-unmark-important): Ditto.
6893         (elmo-folder-mark-as-important): Ditto.
6894
6895         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6896         duplicated message processing.
6897
6898         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6899
6900 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6901
6902         * elmo-util.el (elmo-list-subdirectories-1): New function.
6903         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6904         (elmo-mapcar-list-of-list): New function.
6905
6906         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6907         `elmo-mapcar-list-of-list' instead of `mapcar'.
6908
6909         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6910
6911         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6912         `elmo-have-link-count'. Return the fully qualified folder name.
6913
6914 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6915
6916         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6917         (elmo-shimbun-headers-cache): New internal variable.
6918         (elmo-shimbun-headers-cache-header-list): New inline function.
6919         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6920         (elmo-shimbun-headers-cache-header-hash): Ditto.
6921         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6922         (elmo-shimbun-headers-cache-last-check): Ditto.
6923         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6924         (elmo-shimbun-lapse-seconds): Ditto.
6925         (elmo-shimbun-headers-cache-check-p): Ditto.
6926         (elmo-shimbun-get-headers): New function.
6927         (elmo-folder-open-internal): Call it.
6928         (elmo-quit): Define (Clear headers-cache).
6929
6930 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6931
6932         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6933
6934         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6935         (elmo-msgdb-flist-save): Ditto.
6936
6937         * elmo-shimbun.el (elmo-folder-list-subfolders):
6938         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6939         (elmo-folder-exists-p): Ditto.
6940
6941         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6942         argument for `shimbun-header-insert'.
6943
6944 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6945
6946         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6947         at first time.
6948
6949         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6950         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6951
6952 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6953
6954         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6955         (elmo-folder-plugged-p): Define.
6956         (elmo-folder-set-plugged): Ditto.
6957         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6958         (elmo-folder-list-messages-internal): Return t if unplugged.
6959         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6960
6961         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6962         when elmo-folder-list-messages-internal method of children returns t.
6963
6964         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6965         pair is nil.
6966         (elmo-folder-open-internal): Don't update if unplugged status.
6967
6968 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6969
6970         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6971         new message.
6972
6973 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6974
6975         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6976
6977         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6978         saving.
6979
6980 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6981
6982         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6983
6984         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6985         (elmo-folder-open-internal): Set up headers slot.
6986         (elmo-folder-check): Call elmo-folder-close-internal and
6987         elmo-folder-open-internal.
6988         (elmo-folder-close-internal): Clean up headers slot.
6989
6990 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6991
6992         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6993         exactly folder list.
6994         (elmo-folder-append-messages): Fixed append archive with prefix.
6995
6996         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6997         make temp files with start-number.
6998
6999         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7000
7001 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7002
7003         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7004         argument `visible-only'.
7005         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7006         instead of `if'.
7007
7008         * elmo-pop3.el (elmo-folder-open-internal): Check
7009         `elmo-inhibit-number-mapping' is non-nil.
7010
7011         * elmo-pipe.el (elmo-folder-status): Fixed.
7012
7013 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
7014
7015         * elmo.el (elmo-dop-queue-flush): Added autload setting.
7016
7017         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7018         (elmo-folder-open-internal): Setup `header-hash' slot.
7019         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7020         information.
7021         (elmo-map-message-fetch): Ditto.
7022
7023 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
7024
7025         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7026         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7027         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7028         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7029
7030         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7031
7032 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
7033
7034         * sb-airs.el: Added footer.
7035
7036         * shimbun.el (shimbun-article): Define as luna-method.
7037
7038         * sb-tcup.el: New file.
7039
7040         * sb-airs.el (toplevel): Require 'sb-mhonarc.
7041         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7042
7043 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
7044
7045         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7046         (shimbun-get-headers): Ditto.
7047
7048         * elmo.el: Moved obsolete variable definitions from
7049         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7050
7051         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7052         groups.
7053
7054         * shimbun.el: New file.
7055
7056         * elmo-shimbun.el: New file.
7057
7058         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7059         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7060         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7061         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7062
7063 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
7064
7065         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7066         hierarchy is t.
7067
7068 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
7069
7070         * elmo.el (elmo-folder-msgdb): Define as macro.
7071         (elmo-folder-open): Added argument `load-msgdb'.
7072         (elmo-generic-folder-open): Ditto.
7073         (elmo-folder-encache): New function.
7074
7075         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7076
7077         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7078
7079         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7080         Eliminated argument FOLDER and added argument MSGDB.
7081         (elmo-dop-queue-load): Moved from elmo-dop.el.
7082         (elmo-dop-queue-save): Ditto.
7083
7084         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7085
7086         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7087
7088         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7089         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7090         (elmo-filter-folder-list-importants-internal): Ditto.
7091
7092         * elmo-map.el (elmo-folder-pack-number): Ditto.
7093
7094         * elmo-mime.el (elmo-mime-message-display): Ditto.
7095
7096         * elmo.el (elmo-generic-folder-commit): Ditto.
7097         (elmo-folder-list-unreads): Ditto.
7098         (elmo-folder-list-importants): Ditto.
7099         (elmo-generic-folder-commit): Ditto.
7100         (elmo-message-set-mark): Ditto.
7101         (elmo-generic-folder-append-msgdb): Ditto.
7102         (elmo-folder-synchronize): Ditto.
7103         (elmo-folder-messages): Ditto.
7104         (elmo-init): Call elmo-dop-queue-load.
7105         (elmo-folder-list-messages): Ditto.
7106
7107         * elmo-nntp.el (elmo-folder-update-number): Ditto.
7108         (elmo-nntp-folder-process-crosspost): Ditto.
7109         (elmo-folder-list-unreads-internal): Ditto.
7110
7111         * elmo-dop.el: Removed old functions.
7112
7113 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
7114
7115         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7116         `folder' to `msgdb'.
7117
7118 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
7119
7120         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7121         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7122
7123         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7124         case-fold-search.
7125
7126 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
7127
7128         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7129         defined.
7130
7131         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7132         (mmimap-parse-parameters-from-list): Define as alias for
7133         `mime-decode-parameter-plist' if it is defined as function.
7134         (mmimap-make-mime-entity): Added argument `number'.
7135         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7136         as 0.
7137         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7138
7139         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7140
7141         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7142
7143         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7144
7145 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7146
7147         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7148
7149         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7150         when elmo-imap4-default-authenticate-type is nil.
7151         (elmo-folder-list-subfolders): Ditto
7152         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7153         (elmo-imap4-fetch-callback-1-subr): Renamed from
7154         `elmo-imap4-fetch-callback-1' and define as inline function.
7155         (elmo-imap4-fetch-callback-1):
7156         Renamed from `elmo-imap4-fetch-callback'.
7157         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7158
7159         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7160         msgdb path (To keep compatibility with main trunk).
7161
7162         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7163
7164         * elmo-util.el (elmo-make-file-cache): Moved position of
7165         some macros.
7166
7167         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7168         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7169         instead of `elmo-pop3-inhibit-uidl'.
7170         (elmo-folder-exists-p): Ditto.
7171         (elmo-pop3-folder-list-messages): Ditto.
7172
7173         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7174         instead of `elmo-pop3-inhibit-uidl'.
7175         (elmo-folder-status): Ditto.
7176
7177         * elmo-dop.el (elmo-dop-folder): New variable.
7178         (elmo-dop-lock-message): Eliminated.
7179         (elmo-dop-unlock-message): Ditto.
7180         (elmo-dop-lock-list-load): Ditto.
7181         (elmo-dop-lock-list-save): Ditto.
7182         (elmo-dop-delete-folder): Ditto.
7183         (elmo-dop-rename-folder): Ditto.
7184
7185         * elmo.el: Removed incomplete commentary.
7186
7187 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7188
7189         * elmo.el (toplevel): Require 'elmo-version first;
7190         for little `recursive-load-depth' settings.
7191         Fix "ends here" comment.
7192
7193 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7194
7195         * elmo-util.el (toplevel): Require 'poem;
7196         Some functions are moved from elmo-cache.el.
7197
7198         * elmo-net.el (toplevel): Require 'elmo-cache.
7199
7200         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7201
7202         * elmo.el (toplevel): Ditto.
7203
7204         * elmo-cache.el: Rewrite with luna;
7205         Some functions are moved to elmo-util.el.
7206
7207         * elmo-internal.el (elmo-internal-folder-list): New variable.
7208         (elmo-internal-folder-initialize): Rewrite.
7209         (elmo-folder-list-subfolders): Ditto.
7210
7211         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7212         (elmo-cache-collect-sub-directories): Ditto.
7213
7214 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7215
7216         * elmo-version.el (elmo-version): Up to 2.5.8.
7217
7218         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7219
7220         * elmo-util.el (elmo-list-insert): New function.
7221
7222 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7223
7224         * elmo.el (elmo-init): New function.
7225         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7226
7227         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7228         (Renamed from `elmo-localdir-header-chop-length').
7229
7230         * elmo-pop3.el (elmo-pop3-use-cache,
7231         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7232
7233         * elmo-nntp.el (elmo-message-fetch): Define.
7234         (elmo-message-fetch-unplugged): Ditto.
7235         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7236         (elmo-nntp-use-cache): Ditto.
7237         (elmo-nntp-max-number-precedes-list-active): Ditto.
7238
7239         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7240
7241         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7242         `elmo-msgdb-insert-file-header'.
7243         Use `elmo-msgdb-file-header-chop-length'.
7244
7245         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7246         `elmo-vars.el'.
7247
7248         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7249         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7250         `elmo-msgdb-insert-file-header'.
7251
7252         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7253         Use new variable;
7254         Define obsolete variables with `elmo-define-obsolete-variable',
7255
7256         * elmo-util.el (elmo-warning-buffer-name): New constant.
7257         (elmo-warning): New function.
7258         (elmo-obsolete-variable-alist): New variable.
7259         (elmo-obsolete-variable-show-warnings): New variable.
7260         (elmo-define-obsolete-variable): New function.
7261         (elmo-resque-obsolete-variable): Ditto.
7262         (elmo-resque-obsolete-variables): Ditto.
7263
7264 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7265
7266         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7267         Eliminated.
7268
7269         * elmo-pop3.el, elmo-nntp.el: Use custom.
7270
7271 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7272
7273         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7274         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7275
7276 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7277
7278         * Luna-fy Kenichi OKADA's following changes.
7279         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7280         `nohide'.
7281         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7282
7283 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7284
7285         * elmo-util.el (elmo-display-progress): Prefer
7286         `progress-feedback-with-label' to `lprogress-display'.
7287
7288 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7289
7290         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7291
7292 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7293
7294         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7295         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7296         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7297         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7298         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7299         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7300         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7301         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7302         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7303         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7304         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7305         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7306         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7307
7308 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7309
7310         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7311         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7312
7313 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7314
7315         * elmo.el (elmo-folder-process-crosspost): New generic method.
7316         (elmo-folder-writable-p): Ditto.
7317         (elmo-folder-message-appendable-p): Eliminated.
7318         (elmo-generic-folder-append-msgdb): Rewrite.
7319         (elmo-newsgroups-hashtb): New internal variable.
7320         (elmo-crosspost-message-set): Eliminated.
7321         (elmo-crosspost-message-delete): Ditto.
7322         (elmo-setup-subscribed-newsgroups): New function.
7323         (elmo-crosspost-message-alist-modified): New internal variable.
7324         (elmo-crosspost-message-alist-load): New function (Renamed from
7325         `wl-crosspost-alist-load').
7326         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7327         `wl-crosspost-alist-save').
7328
7329         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7330
7331         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7332         `unreads'.
7333         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7334         elmo-newsgroups-hashtb).
7335         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7336         `elmo-nntp-folder-update-crosspost-message-alist'.
7337         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7338         `elmo-nntp-groups-hashtb'.
7339         (elmo-nntp-make-groups-hashtb): Eliminated.
7340         (elmo-nntp-parse-newsgroups): New function (Renamed from
7341         `wl-parse-newsgroups').
7342         (elmo-folder-creatable-p, elmo-folder-writable-p,
7343         elmo-folder-close-internal, elmo-folder-mark-as-read,
7344         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7345         Define.
7346         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7347
7348         * elmo-net.el (elmo-message-fetch): Check buffer size.
7349
7350         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7351
7352         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7353
7354         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7355         before `close' command.
7356
7357         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7358         `mark-alist' (All other related portions are changed).
7359
7360 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7361
7362         * elmo-util.el (elmo-create-hash-size): Eliminated.
7363         (elmo-make-hash) Make a hash with `one less than a power of two'
7364         length.
7365
7366         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7367         (elmo-hash-maximum-size): Changed value.
7368
7369 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7370
7371         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7372         (elmo-mime-message-display-as-is): Ditto.
7373
7374 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7375
7376         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7377         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7378
7379 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7380
7381         * elmo-mark.el: New file.
7382
7383         * elmo-internal.el: Rewrite (Almost empty).
7384
7385 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7386
7387         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7388         (mime-imap-entity-header-string): Ditto.
7389         (mmimap-entity-section): Rewrite.
7390
7391 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7392
7393         * elmo-nmz.el: New file.
7394
7395         * elmo-pipe.el: Rewrite with luna.
7396
7397 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7398
7399         * elmo-archive.el: Rewrite with luna.
7400
7401         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7402         (elmo-folder-list-importants-internal): Ditto.
7403
7404 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7405
7406         * elmo-archive.el (elmo-archive-version): Abolish.
7407         (toplevel) Removed `boso' comment.
7408
7409 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7410
7411         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7412         elmo-msgdb-add-msgs-to-seen-list-subr;
7413         Changed argument seen-marks to unread-marks.
7414
7415         * elmo-nntp.el: Rewrite with luna.
7416
7417 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7418
7419         * elmo-filter.el: Rewrite with luna.
7420
7421 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7422
7423         * elmo-pop3.el: Rewrite with luna.
7424
7425 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7426
7427         * elmo-multi.el: Rewrite with luna.
7428
7429         * elmo-vars.el (elmo-use-killed-list): Abolish.
7430         All other related portions are changed.
7431         (elmo-filename-replace-string-alist): Renamed from
7432         elmo-msgid-replace-string-alist.
7433
7434 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7435
7436         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7437
7438         * elmo-map.el: New file.
7439         * elmo-maildir.el: Rewrite with luna.
7440
7441 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7442
7443         * elmo.el: Changed meaning of `elmo-folder-commit'.
7444         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7445
7446 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7447
7448         * elmo.el (elmo-folder-append-buffer): New function.
7449         (Renamed from `elmo-append-msg')
7450
7451 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7452
7453         * elmo-mime.el: New file.
7454
7455 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7456
7457         * elmo-cache.el: Rewrite.
7458
7459 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7460
7461         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7462
7463 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7464
7465         * elmo-vars.el (elmo): New group.
7466         (elmo-strict-diff-folder-regexp): New variable.
7467
7468         * elmo-util.el (elmo-call-func): Abolish.
7469         (elmo-folder-get-type): Ditto.
7470         (elmo-*-get-spec): Ditto.
7471         (elmo-*-spec-*): Ditto.
7472         (elmo-imap4-identical-name-space-p): Ditto.
7473         (elmo-folder-identical-system-p): Ditto.
7474         (elmo-folder-direct-copy-alist): Ditto.
7475         (elmo-folder-direct-copy-p): Ditto.
7476
7477         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7478         (elmo-folder-initialize): Define.
7479         (elmo-folder-get-primitive-list): Ditto.
7480
7481         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7482         (elmo-folder-initialize): Define.
7483         Renamed `elmo-network-session-host-internal' to
7484         `elmo-network-session-server-internal'.
7485
7486         * elmo-multi.el (elmo-multi-folder): New luna class.
7487         (elmo-folder-initialize): Define.
7488         (elmo-folder-get-primitive-list): Ditto.
7489         (elmo-folder-contains-type): Ditto.
7490         (elmo-message-use-cache-p): Ditto.
7491
7492         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7493         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7494
7495         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7496         (elmo-folder-initialize): Define.
7497
7498         * elmo-filter.el (elmo-filter-folder): New luna class.
7499         (elmo-folder-initialize): Define.
7500         (elmo-folder-get-primitive-list): Ditto.
7501         (elmo-folder-contains-type): Ditto.
7502
7503 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7504
7505         * elmo-imap4.el: Rewrite with luna.
7506
7507         * mmimap.el: New file.
7508
7509         * mmelmo.el, mmelmo-imap4.el: Removed.
7510
7511         * elmo-net.el: Ditto.
7512
7513         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7514         (elmo-folder-initialize): Define.
7515
7516         * elmo-archive.el (elmo-archive-folder): New luna class.
7517         (elmo-folder-initialize): Define.
7518
7519         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7520         `elmo-folder-msgdb-path'.
7521         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7522         `elmo-make-folder'.
7523
7524 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7525
7526         * elmo.el: New file.
7527
7528         * elmo2.el: Renamed to elmo.el.
7529
7530 \f
7531 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7532
7533         * elmo-cache.el (elmo-cache-expire-by-size): Count
7534         a disk usage for a cache file entry in KB even when
7535         its kind is a directory.
7536
7537 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7538
7539         * elmo-version.el (elmo-version): Up to 2.5.7.
7540
7541 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7542
7543         * elmo-version.el (elmo-version): Up to 2.5.6.
7544
7545 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7546
7547         * elmo-version.el (elmo-version): Up to 2.5.5.
7548
7549 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7550
7551         * elmo-imap4.el (elmo-network-authenticate-session):
7552         Fixed a logic for response checking.
7553
7554 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7555
7556         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7557         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7558         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7559         `sasl-mechanisms'.
7560
7561         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7562         for `starttls-open-stream' and `starttls-negotiate'.
7563
7564         * elmo-nntp.el: Remove autoload settings for
7565         `starttls-open-stream' and `starttls-negotiate'.
7566
7567         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7568         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7569         `luna-define-class' with `eval-and-compile'.
7570
7571 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7572
7573         * elmo-util.el (elmo-read-search-condition-internal):
7574         Require an element of table for searching field.
7575
7576 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7577
7578         * elmo-version.el (elmo-version): Up to 2.5.4.
7579
7580 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7581
7582         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7583
7584 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7585
7586         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7587
7588 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7589
7590         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7591         before greeting.
7592
7593 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7594
7595         * elmo-imap4.el (elmo-imap4-delete-folder):
7596         Send "close" before "delete" (Use commented out line).
7597         (elmo-imap4-rename-folder): Ditto.
7598
7599         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7600         folder string itself.
7601         (elmo-dop-list-deleted): New function.
7602         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7603         killed.
7604
7605         * elmo-util.el (elmo-string-rassoc-all): New function.
7606
7607 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7608
7609         * elmo-version.el (elmo-version): Up to 2.5.3.
7610
7611         * elmo-net.el (elmo-network-get-session): Changed logic for
7612         checking process status.
7613
7614         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7615         process is nil;
7616         Changed logic for checking process status.
7617
7618 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7619
7620         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7621         before greeting.
7622         (elmo-network-setup-session): Set UIDL hash size according to
7623         the length of list response.
7624         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7625         according to the length of list response;
7626         Return the length of list response.
7627         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7628
7629 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7630
7631         * elmo-imap4.el (toplevel): Require 'ssl.
7632         Add autoload 'starttls.
7633         * elmo-pop3.el (toplevel): Ditto.
7634         * elmo-nntp.el (toplevel): Ditto.
7635
7636 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7637
7638         * elmo-imap4.el (toplevel): defun at compile time.
7639         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7640         sasl-next-step, sasl-step-data, sasl-step-set-data.
7641         * elmo-pop3.el (toplevel): Ditto.
7642
7643 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7644
7645         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7646
7647 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7648
7649         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7650         if error.
7651         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7652         and `elmo-pop-auth-apop'.
7653
7654 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7655
7656         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7657
7658 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7659
7660         * elmo-pop3.el (elmo-network-authenticate-session): Split
7661         encoded response value.
7662
7663 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7664
7665         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7666         `elmo-pop3-force-login'.
7667         Redefine `sasl-mechanisms'.
7668         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7669
7670 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7671
7672         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7673         Delete `elmo-imap4-authenticator-alist'.
7674         (elmo-imap4-auth-cram-md5): Delete.
7675         (elmo-imap4-auth-digest-md5): Delete.
7676
7677 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7678
7679         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7680         (elmo-pop3-auth-scram-md5): Ditto.
7681         (elmo-pop3-auth-cram-md5): Ditto.
7682
7683 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7684
7685         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7686         Delete `elmo-pop3-authenticator-alist'.
7687
7688 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7689
7690         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7691         new SASL API.
7692         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7693
7694 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7695
7696         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7697
7698 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7699
7700         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7701         Fixed problem when `elmo-pop3-use-uidl' is nil.
7702         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7703
7704 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7705
7706         * elmo-version.el (elmo-version): Up to 2.5.2.
7707
7708 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7709
7710         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7711         New function.
7712         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7713         (elmo-pop3-msgdb-create-as-numlist): Use it.
7714
7715         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7716         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7717
7718         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7719         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7720
7721 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7722
7723         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7724         when elmo-mark-as-read is called with second argument nil.
7725
7726 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7727
7728         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7729         Moved to elmo-util.el.
7730
7731         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7732         Moved from elmo-pipe.el
7733
7734         * elmo-archive.el (elmo-archive-call-process): Enclose with
7735         static-if.
7736
7737         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7738         "RFC822" (because RFC822.PEEK is obsolete).
7739         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7740
7741 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7742
7743         * elmo-archive.el (elmo-archive-call-process): Don't check for
7744         the exit status when Nemacs is running.
7745
7746 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7747
7748         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7749         'plain.
7750
7751         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7752         (elmo-pop3-get-spec): Set default of auth to 'user.
7753
7754         * elmo-imap4.el (elmo-imap4-session-check):
7755         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7756         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7757         (elmo-imap4-auth-login): New function; Revival.
7758         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7759         `elmo-imap4-auth-login'.
7760
7761 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7762
7763         * elmo2.el (toplevel): Move `product-provide' declare.
7764         * mmelmo.el (toplevel): Ditto.
7765
7766 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7767
7768         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7769
7770 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7771
7772         * elmo-util.el (elmo-folder-get-store-type): New function.
7773         (elmo-folder-direct-copy-p): Use it.
7774
7775 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7776
7777         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7778         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7779         and result of `elmo-imap4-use-flag-p'.
7780         (elmo-imap4-fetch-callback-1): Set mark according to
7781         the result of `elmo-imap4-use-flag-p'.
7782
7783 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7784
7785         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7786         (elmo-generic-list-folder-unread): Ditto.
7787         (elmo-folder-get-info): Ditto.
7788         (elmo-folder-set-info-max-by-numdb): Ditto.
7789         (elmo-folder-get-info-max): Ditto.
7790         (elmo-folder-get-info-length): Ditto.
7791         (elmo-folder-get-info-unread): Ditto.
7792         (elmo-folder-info-make-hashtb): Ditto.
7793
7794         * elmo2.el: Removed above functions.
7795
7796 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7797
7798         * elmo-imap4.el (toplevel): Require 'ssl.
7799         Add autoload 'starttls.
7800         * elmo-pop3.el (toplevel): Ditto.
7801         * elmo-nntp.el (toplevel): Ditto.
7802
7803 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7804
7805         * elmo-imap4.el (toplevel): defun at compile time.
7806         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7807         sasl-next-step, sasl-step-data, sasl-step-set-data.
7808         * elmo-pop3.el (toplevel): Ditto.
7809
7810 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7811
7812         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7813
7814 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7815
7816         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7817         if error.
7818         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7819         and `elmo-pop-auth-apop'.
7820
7821 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7822
7823         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7824
7825 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7826
7827         * elmo-pop3.el (elmo-network-authenticate-session): Split
7828         encoded response value.
7829
7830 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7831
7832         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7833         `elmo-pop3-force-login'.
7834         Redefine `sasl-mechanisms'.
7835         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7836
7837 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7838
7839         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7840         Delete `elmo-imap4-authenticator-alist'.
7841         (elmo-imap4-auth-cram-md5): Delete.
7842         (elmo-imap4-auth-digest-md5): Delete.
7843
7844 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7845
7846         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7847         (elmo-pop3-auth-scram-md5): Ditto.
7848         (elmo-pop3-auth-cram-md5): Ditto.
7849
7850 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7851
7852         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7853         Delete `elmo-pop3-authenticator-alist'.
7854
7855 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7856
7857         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7858         new SASL API.
7859         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7860
7861 \f
7862 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7863
7864         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7865
7866 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7867
7868         * elmo-nntp.el (elmo-nntp-get-folders-info):
7869         Fixed problem when '\' character is contained in user-id.
7870         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7871
7872 \f
7873 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7874
7875         * elmo-imap4.el (elmo-imap4-delete-folder):
7876         Send "close" before "delete" (Use commented out line).
7877         (elmo-imap4-rename-folder): Ditto.
7878
7879         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7880         folder string itself.
7881         (elmo-dop-list-deleted): New function.
7882         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7883         killed.
7884
7885         * elmo-util.el (elmo-string-rassoc-all): New function.
7886
7887         * elmo-version.el (elmo-version): Up to 2.5.1.
7888
7889 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7890
7891         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7892
7893         * elmo-internal.el (elmo-internal-search): Fix last change.
7894
7895 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7896
7897         * elmo-internal.el (elmo-internal-search): Rewrite.
7898         (Fixed problem which is pointed out by Akihiro MOTOKI
7899         <motoki@da.jp.nec.com>)
7900
7901         * elmo-version.el (elmo-version): Up to 2.5.0.
7902
7903 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7904
7905         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7906
7907 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7908
7909         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7910         non-nil, make hierarchy.
7911
7912 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7913
7914         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7915         `elmo-pop3-use-uidl' must be bound to nil.
7916         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7917
7918 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7919
7920         * elmo-util.el (elmo-copy-file): Don't cause an error after
7921         `add-name-to-file' failed.
7922
7923         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7924         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7925
7926 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7927
7928         * elmo-version.el (elmo-version): Up to 2.3.93.
7929
7930 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7931
7932         * elmo-util.el (elmo-flatten): New function.
7933
7934 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7935
7936         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7937         sync Author header.
7938         * elmo-cache.el (toplevel): Ditto.
7939         * elmo-database.el (toplevel): Ditto.
7940         * elmo-date.el (toplevel): Ditto.
7941         * elmo-dop.el (toplevel): Ditto.
7942         * elmo-filter.el (toplevel): Ditto.
7943         * elmo-imap4.el (toplevel): Ditto.
7944         * elmo-internal.el (toplevel): Ditto.
7945         * elmo-localdir.el (toplevel): Ditto.
7946         * elmo-localnews.el (toplevel): Ditto.
7947         * elmo-maildir.el (toplevel): Ditto.
7948         * elmo-msgdb.el (toplevel): Ditto.
7949         * elmo-multi.el (toplevel): Ditto.
7950         * elmo-net.el (toplevel): Ditto.
7951         * elmo-nntp.el (toplevel): Ditto.
7952         * elmo-pipe.el (toplevel): Ditto.
7953         * elmo-pop3.el (toplevel): Ditto.
7954         * elmo-util.el (toplevel): Ditto.
7955         * elmo-vars.el (toplevel): Ditto.
7956         * elmo2.el (toplevel): Ditto.
7957         * mmelmo-imap4.el (toplevel): Ditto.
7958         * mmelmo.el (toplevel): Ditto.
7959
7960         * elmo-version.el (elmo-version): Move to top.
7961
7962         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7963         * elmo-imap4.el (toplevel): Ditto.
7964         * elmo-localdir.el (toplevel): Ditto.
7965         * elmo-msgdb.el (toplevel): Ditto.
7966         * elmo-nntp.el (toplevel): Ditto.
7967         * elmo-pop3.el (toplevel): Ditto.
7968         * elmo-version.el (toplevel): Ditto.
7969
7970         * elmo-localnews.el (toplevel): Added Keyword header.
7971
7972 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7973
7974         * elmo-version.el (product-version-as-string): Defined using
7975         `defun-maybe'.
7976         (toplevel): Use it.
7977
7978         * elmo-localdir.el (toplevel): Updated copyright notice.
7979         * elmo-version.el (toplevel): Ditto.
7980         * elmo-msgdb.el (toplevel): Ditto.
7981         * elmo-imap4.el (toplevel): Ditto.
7982         * elmo-nntp.el (toplevel): Ditto.
7983         * elmo-pop3.el (toplevel): Ditto.
7984
7985 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7986
7987         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7988         messages.
7989
7990         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7991         parameter value (It sometimes contains raw kanji).
7992
7993 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7994
7995         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7996         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7997
7998 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7999
8000         * elmo-imap4.el (elmo-network-initialize-session): Fix.
8001
8002 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
8003
8004         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8005         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8006
8007 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
8008
8009         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8010         value if selecting folder succceeded.
8011         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8012
8013 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8014
8015         * elmo-util.el (elmo-make-directory): Fixed permission lateral
8016         representation.
8017
8018         * elmo-util.el (elmo-string-matched-member): New function.
8019
8020 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
8021
8022         * elmo-util.el (elmo-unintern): New macro.
8023         (elmo-number-set-member): Fixed docstring.
8024
8025         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8026         tag token.
8027
8028 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
8029
8030         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8031         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8032
8033 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
8034
8035         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8036         `no-error'.
8037         Added docstring.
8038         Return non-nil if selecting folder succeeded.
8039         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8040
8041 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
8042
8043         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8044         `file-name-completion' returns t.
8045         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8046         (elmo-maildir-set-mark): Put `info' part to the files in the cur
8047         directory if it does not exist.
8048         (elmo-maildir-update-current): Use `while' instead of `mapcar'
8049         for iteration.
8050
8051 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
8052
8053         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8054         enclosure (It's harmful in unplugged status).
8055
8056         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8057
8058         * mmelmo-1.el: Removed.
8059
8060         * mmelmo-2.el: Ditto.
8061
8062         * mmelmo-imap4-1.el: Ditto.
8063
8064         * mmelmo-imap4-2.el: Ditto.
8065
8066         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8067
8068         * mmelmo.el: Merged mmelmo-2.el.
8069
8070         * elmo-version.el (elmo-version): Up to 2.3.92.
8071
8072 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8073
8074         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8075         elmo-update-number): Remove last period in "...done." message.
8076         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8077         Ditto.
8078         * elmo-cache.el (elmo-cache-expire-by-size,
8079         elmo-cache-get-sorted-cache-file-list,
8080         elmo-cache-msgdb-create-as-numlist): Ditto.
8081         * elmo-dop.el (elmo-dop-save-pending-messages,
8082         (elmo-dop-flush-pending-append-operations): Ditto.
8083         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8084         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8085         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8086         (elmo-localdir-pack-number): Ditto.
8087         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8088         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8089         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8090         mime-write-entity-content): Ditto.
8091         * pldap.el (ldap-search-basic): Ditto.
8092
8093 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
8094
8095         * elmo-version.el (elmo-version): Up to 2.3.91.
8096
8097         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8098         Only when filter is 'last'.
8099
8100         * elmo-util.el (elmo-condition-atom-regexp): New constant.
8101         (elmo-condition-parse-search-value): Use it.
8102         (elmo-read-search-condition-internal): Quote value only when
8103         it is not an atom.
8104
8105 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
8106
8107         * elmo2.el (elmo-generic-folder-diff): Fix.
8108
8109 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
8110
8111         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8112         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8113         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8114         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8115         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8116         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8117
8118 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
8119
8120         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8121         extra-fields.
8122
8123 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
8124
8125         * elmo-version.el (elmo-version): Up to 2.3.90.
8126
8127         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8128         (elmo-imap4-list-folder-important): Ditto.
8129
8130 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8131
8132         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8133
8134 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8135
8136         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8137
8138 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8139
8140         * elmo-nntp.el (elmo-network-initialize-session):
8141         Add starttls negotiation.
8142
8143 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8144
8145         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8146         response.
8147         (elmo-network-setup-session): Define.
8148         Call `elmo-nntp-send-mode-reader' when session opened.
8149
8150 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8151
8152         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8153
8154 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8155
8156         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8157         an invalid SPACE character ahead of `SEARCH' command.  Move
8158         a valid SPACE character following `SEARCH' from conditional
8159         `format' arguments to control-strings.
8160
8161 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8162
8163         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8164         was succeeded.
8165
8166         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8167
8168 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8169
8170         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8171         `w32-get-true-file-link-count' as t.
8172
8173         * elmo-imap4.el (elmo-imap4-read): Abolished.
8174         (Renamed to `elmo-read' and moved to elmo-util.el)
8175         All other related portions are changed.
8176
8177         * elmo-util.el (elmo-read): New function.
8178         (elmo-condition-parse-search-value): Use it.
8179
8180 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8181
8182         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8183
8184         * elmo-nntp.el (elmo-nntp-session): Define.
8185         (elmo-nntp-setting): Abolished.
8186         All other related portions are changed.
8187         (elmo-nntp-get-server-command): Changed argument.
8188         (elmo-nntp-set-server-command): Ditto.
8189         (elmo-nntp-xover-p): Ditto.
8190         (elmo-nntp-set-xover): Ditto.
8191         (elmo-nntp-listgroup-p): Ditto.
8192         (elmo-nntp-set-listgroup): Ditto.
8193         (elmo-nntp-list-active-p): Ditto.
8194         (elmo-nntp-set-list-active): Ditto.
8195         (elmo-nntp-xhdr-p): Ditto.
8196         (elmo-nntp-set-xhdr): Ditto.
8197         (elmo-nntp-flush-connection): Abolished.
8198         (elmo-nntp-get-connection): Abolished.
8199         (elmo-nntp-get-session): New function.
8200         (elmo-network-initialize-session): Defined.
8201         (elmo-network-authenticate-session): Ditto.
8202         (elmo-nntp-send-mode-reader): Changed argument.
8203         (elmo-nntp-send-command): Changed argument.
8204         All other related portions are changed.
8205         (elmo-nntp-read-response): Ditto.
8206         (elmo-nntp-read-raw-response): Ditto.
8207         (elmo-nntp-read-contents): Ditto.
8208         (elmo-nntp-read-body): Ditto.
8209         (elmo-nntp-goto-folder): Abolished.
8210         (elmo-nntp-select-group): New function.
8211         All other related portions are changed.
8212         (This function substitutes `elmo-nntp-goto-folder')
8213         (elmo-nntp-msgdb-create-by-header): Rewrite.
8214         (elmo-nntp-get-overview): Eliminated.
8215         (elmo-nntp-get-message): Ditto.
8216         (elmo-nntp-open-connection) Abolished.
8217         (elmo-nntp-read-msg): Rewrite.
8218         (elmo-nntp-post): Ditto.
8219         (elmo-nntp-send-data): Abolished.
8220         (elmo-nntp-send-buffer): New function.
8221         (elmo-nntp-send-data-line): Define as inline function.
8222         (elmo-nntp-get-folders-info-prepare): Use session as key.
8223         (elmo-nntp-groups-read-response): Changed argument.
8224         (elmo-nntp-retrieve-headers): Ditto.
8225         (elmo-nntp-msgdb-create-message): Ditto.
8226
8227         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8228         when searching by 'since' or 'before'.
8229
8230 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8231
8232         * elmo-version.el (toplevel): Use product-version-as-string for set
8233         verstion-string, if defined.
8234
8235 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8236
8237         * elmo-util.el: Doc fixes.
8238
8239 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8240
8241         * elmo-archive.el (toplevel): Use product-provide.
8242         * elmo-cache.el (toplevel): Ditto.
8243         * elmo-database.el (toplevel): Ditto.
8244         * elmo-date.el (toplevel): Ditto.
8245         * elmo-dop.el (toplevel): Ditto.
8246         * elmo-filter.el (toplevel): Ditto.
8247         * elmo-imap4.el (toplevel): Ditto.
8248         * elmo-internal.el (toplevel): Ditto.
8249         * elmo-localdir.el (toplevel): Ditto.
8250         * elmo-localnews.el (toplevel): Ditto.
8251         * elmo-maildir.el (toplevel): Ditto.
8252         * elmo-msgdb.el (toplevel): Ditto.
8253         * elmo-multi.el (toplevel): Ditto.
8254         * elmo-net.el (toplevel): Ditto.
8255         * elmo-nntp.el (toplevel): Ditto.
8256         * elmo-pipe.el (toplevel): Ditto.
8257         * elmo-pop3.el (toplevel): Ditto.
8258         * elmo-util.el (toplevel): Ditto.
8259         * elmo-vars.el (toplevel): Ditto.
8260         * elmo2.el (toplevel): Ditto.
8261         * mmelmo-1.el (toplevel): Ditto.
8262         * mmelmo-2.el (toplevel): Ditto.
8263         * mmelmo-imap4-1.el (toplevel): Ditto.
8264         * mmelmo-imap4-2.el (toplevel): Ditto.
8265         * mmelmo-imap4.el (toplevel): Ditto.
8266         * mmelmo.el (toplevel): Ditto.
8267
8268 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8269
8270         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8271         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8272
8273 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8274
8275         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8276         before splitting.
8277         (elmo-multi-split-number-alist): Ditto.
8278
8279 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8280
8281         * elmo-version.el: New file.  Use product.el.
8282         * elmo2.el: Add (require 'elmo-version).
8283         * elmo-vars.el (elmo-appname, elmo-version): Move to
8284         elmo-version.el
8285
8286 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8287
8288         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8289         `elmo-msgdb-expand-path'.
8290         (elmo-msgdb-load): Ditto.
8291         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8292         (elmo-generic-list-folder-unread): Rewrite.
8293         (elmo-generic-list-folder-important): Changed argument.
8294         (elmo-list-folder-unread): Ditto.
8295         (elmo-list-folder-important): Ditto.
8296         (elmo-folder-diff): Rewrite.
8297         (elmo-generic-folder-diff): New function.
8298         (elmo-multi-get-number-alist-list): Abolished
8299         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8300         (elmo-multi-folder-diff): Moved to elmo-multi.el
8301         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8302
8303         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8304         `elmo-msgdb-expand-path'.
8305         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8306         (elmo-pop3-read-msg): Ditto.
8307         (elmo-pop3-delete-msgs): Ditto.
8308         (elmo-pop3-folder-diff): New alias.
8309
8310         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8311         `elmo-msgdb-expand-path'.
8312         (elmo-pipe-list-folder-unread): Changed arguments.
8313         (elmo-pipe-list-folder-important): Ditto.
8314         (elmo-pipe-folder-diff): New alias.
8315
8316         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8317         `elmo-msgdb-expand-path'.
8318         (elmo-nntp-max-of-folder): Ditto.
8319         (elmo-nntp-msgdb-create): Ditto.
8320         (elmo-nntp-delete-msgs): Ditto.
8321         (elmo-nntp-folder-diff): New alias.
8322
8323         * elmo-multi.el (elmo-multi-folder-diff): New function.
8324         (elmo-multi-split-mark-alist): Ditto.
8325         (elmo-multi-split-number-alist): Ditto.
8326         (elmo-multi-mark-alist-list): Abolished (Renamed to
8327         elmo-multi-split-mark-alist).
8328         (elmo-multi-list-folder-unread): Rewrite.
8329         (elmo-multi-list-folder-important): Ditto.
8330         (elmo-multi-list-folder): Set `spec' as 1st argument for
8331         `elmo-msgdb-expand-path'.
8332         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8333         instead of `elmo-multi-get-number-alist-list'.
8334
8335         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8336         If 1st argument is not string, treat as spec.
8337         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8338         `elmo-msgdb-expand-path'.
8339         (elmo-msgdb-flist-load): Ditto.
8340         (elmo-msgdb-flist-save): Ditto.
8341         (elmo-msgdb-delete-path): Ditto.
8342         (elmo-msgdb-rename-path): Ditto.
8343
8344         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8345         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8346         (elmo-maildir-delete-mark-msgs): Ditto.
8347         (elmo-maildir-msgdb-create): Ditto.
8348         (elmo-maildir-read-msg): Ditto.
8349         (elmo-maildir-delete-msgs): Ditto.
8350         (elmo-maildir-list-folder-subr): Ditto.
8351         (elmo-maildir-search): Ditto.
8352         (elmo-maildir-get-msg-filename): Ditto.
8353         (elmo-maildir-pack-number): Ditto.
8354         (elmo-maildir-folder-diff): New alias.
8355
8356         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8357
8358         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8359         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8360         (elmo-localdir-folder-diff): New alias.
8361
8362         * elmo-internal.el (elmo-internal-list-folder-subr):
8363         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8364         (elmo-internal-list-folder-by-location): Ditto.
8365         (elmo-internal-msgdb-create): Ditto.
8366         (elmo-internal-delete-msgs): Ditto.
8367         (elmo-internal-read-msg): Ditto.
8368         (elmo-internal-folder-diff): New alias.
8369
8370         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8371         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8372         `elmo-msgdb-expand-path'.
8373         (elmo-imap4-list-folder-unread): Changed arguments.
8374         (elmo-imap4-list-folder-important): Ditto.
8375
8376         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8377         (elmo-filter-list-folder-important): Ditto.
8378         (elmo-filter-folder-diff): New function.
8379
8380         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8381
8382         * elmo-cache.el (elmo-cache-list-folder):
8383         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8384         (elmo-cache-copy-msgs): Ditto.
8385         (elmo-cache-folder-diff): New alias.
8386
8387         * elmo-archive.el (elmo-archive-list-folder-subr):
8388         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8389         (elmo-archive-get-archive-name): Ditto.
8390         (elmo-archive-create-file): Ditto.
8391         (elmo-archive-append-msg): Ditto.
8392         (elmo-archive-copy-msgs): Ditto.
8393         (elmo-archive-copy-msgs-froms): Ditto.
8394         (elmo-archive-get-msg-filename): Ditto.
8395         (elmo-archive-folder-diff): New alias.
8396
8397 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8398
8399         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8400         (elmo-pop3-stream-type-alist): New variable.
8401         (elmo-nntp-stream-type-alist): New variable.
8402
8403         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8404         (elmo-kill-buffer): Ditto.
8405         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8406         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8407         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8408         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8409         (elmo-imap4-get-spec): Take into account
8410         `elmo-imap4-stream-type-alist'.
8411
8412 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8413
8414         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8415         (elmo-nntp-list-folders-get-cache): Ditto.
8416
8417 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8418
8419         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8420         character before 'uid'.
8421
8422 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8423
8424         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8425
8426         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8427
8428         * elmo-util.el (elmo-number-set-member): New function.
8429         (elmo-number-set-append-list): Ditto.
8430         (elmo-number-set-append): Ditto.
8431
8432         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8433         Use `elmo-number-set-member'.
8434         (elmo-living-messages): Ditto.
8435         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8436         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8437
8438         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8439         (elmo-imap4-add-to-cont-list): Abolished.
8440         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8441         instead of elmo-imap4-add-to-cont-list.
8442
8443         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8444         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8445
8446         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8447
8448 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8449
8450         * elmo-util.el (elmo-condition-parse-search-value):
8451         Fixed date parsing.
8452
8453 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8454
8455         * elmo-util.el (elmo-condition-find-key-internal): New function.
8456         (elmo-condition-find-key): Ditto.
8457
8458         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8459         (elmo-msgdb-search-internal): Ditto.
8460         (elmo-msgdb-search): Ditto.
8461
8462 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8463
8464         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8465         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8466
8467         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8468         (elmo-nntp-search-primitive): Fixed problem when condition is
8469         'unmatch'.
8470
8471         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8472
8473         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8474         (elmo-nntp-xhdr-p): New macro.
8475         (elmo-nntp-set-xhdr): Ditto.
8476         (elmo-nntp-parse-xhdr-response): New function.
8477         (elmo-nntp-retrieve-field): Ditto.
8478         (elmo-nntp-search-primitive): Ditto.
8479         (elmo-nntp-search): Implemented.
8480
8481         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8482
8483         * elmo-archive.el (elmo-archive-search): Set all number list to
8484         `elmo-archive-field-condition-match'
8485
8486         * elmo-localdir.el (elmo-localdir-search): Likewise.
8487
8488         * elmo-maildir.el (elmo-maildir-search): Likewise.
8489
8490 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8491
8492         * elmo-msgdb.el (elmo-living-messages): New function.
8493         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8494         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8495         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8496         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8497         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8498         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8499         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8500         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8501         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8502         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8503         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8504
8505 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8506
8507         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8508
8509         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8510
8511         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8512
8513         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8514         arguments for `SEARCH' command.
8515         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8516         All other related portions are changed.
8517
8518         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8519
8520         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8521         (elmo-list-folder-unread): Rewrite.
8522         (elmo-list-folder-important): Ditto.
8523
8524         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8525         (elmo-condition-parse-error): New inline function.
8526         (elmo-read-search-condition): New function.
8527         (elmo-read-search-condition-internal): Ditto.
8528         (elmo-parse-search-condition): Rewrite.
8529         (elmo-condition-parse): New function.
8530         (elmo-condition-parse-or-expr): Ditto.
8531         (elmo-condition-parse-and-expr): Ditto.
8532         (elmo-condition-parse-primitive): Ditto.
8533         (elmo-condition-parse-search-value): Ditto.
8534         (elmo-buffer-field-primitive-condition-match): Ditto.
8535         (elmo-buffer-field-condition-match): Rewrite.
8536         (elmo-file-field-condition-match): Ditto.
8537
8538         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8539         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8540
8541         * elmo-internal.el (elmo-internal-search): Set `number' and
8542         `number-list' argument of `elmo-file-field-condition-match'.
8543
8544         * elmo-maildir.el (elmo-maildir-search): Ditto.
8545
8546         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8547         `msgdb' as argument instead of `mark-alist'.
8548         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8549         `overview'.
8550
8551         * elmo-multi.el: Likewise.
8552
8553         * elmo-pipe.el: Likewise.
8554
8555         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8556         (elmo-imap4-search-internal): Rewrite.
8557         (elmo-imap4-search): Ditto.
8558
8559         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8560         (elmo-filter-list-folder-unread): Ditto.
8561         (elmo-filter-list-folder-important): Ditto.
8562         (elmo-filter-search): Rewrite.
8563
8564         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8565         `number-list' argument of `elmo-file-field-condition-match'.
8566         (elmo-cache-search): Ditto.
8567
8568         * elmo-localdir.el: Likewise.
8569
8570         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8571         number-list and pass it to `elmo-buffer-field-condition-match'.
8572         (elmo-archive-field-condition-match): Pass `number-list' to
8573         `elmo-archive-field-condition-match'
8574
8575 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8576
8577         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8578         `listgroup'.
8579
8580         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8581         (elmo-folder-diff-async-callback-data): Ditto.
8582         (elmo-folder-diff-async): New function.
8583
8584         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8585         (elmo-network-session-cache-key): Use it as a prefix of the session
8586         name.
8587         (elmo-network-open-session): Ditto.
8588
8589         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8590         (elmo-imap4-status-callback-data): Ditto.
8591         (elmo-imap4-server-diff-async-callback): New variable.
8592         (elmo-imap4-server-diff-async-callback-data): Ditto.
8593         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8594         `elmo-imap4-status-callback-data'.
8595         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8596         `elmo-imap4-status-callback-data' as nil.
8597         (elmo-imap4-server-diff): Ditto.
8598         (elmo-imap4-server-diff-async-callback-1): New function.
8599         (elmo-imap4-server-diff-async): Ditto.
8600         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8601
8602 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8603
8604         * elmo-util.el (elmo-list-delete): Doc fix.
8605         (elmo-delete-lists): Abolish.
8606         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8607         instead of `elmo-delete-lists'.
8608
8609 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8610
8611         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8612         before `sort'.
8613
8614 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8615
8616         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8617         `elmo-imap4-literal-subr'.
8618         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8619         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8620
8621 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8622
8623         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8624         (elmo-archive-list-folder): Fix.
8625         (elmo-archive-max-of-folder): Fix.
8626
8627 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8628
8629         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8630          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8631         (elmo-localdir-append-msg): Ditto.
8632         (elmo-localdir-list-folder): Fix for `nonsort'.
8633         (elmo-localdir-list-folder-subr): Fix for `killed'.
8634         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8635         (elmo-maildir-list-folder-subr): Ditto.
8636         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8637         (elmo-archive-list-folder-subr): Ditto.
8638         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8639         (elmo-internal-list-folder-subr): Ditto.
8640
8641 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8642
8643         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8644
8645 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8646
8647         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8648
8649 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8650
8651         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8652         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8653
8654         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8655         before greeting.
8656         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8657         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8658
8659 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8660
8661         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8662
8663         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8664         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8665         before STORE command.
8666
8667 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8668
8669         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8670
8671         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8672         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8673         of `response'.
8674         (elmo-imap4-list-folders): Removed unused local variable.
8675         (elmo-network-initialize-session): Ditto.
8676         (elmo-imap4-delete-msg-by-id): Ditto.
8677         (elmo-imap4-parse-fetch): Ditto.
8678         (elmo-imap4-copy-msgs): Ditto.
8679         Use `dst-spec' instead of `dst-folder'.
8680         (elmo-network-authenticate-session): Check authenticate type `plain'.
8681
8682 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8683
8684         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8685         garbage checking.
8686         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8687         `elmo-imap4-response-value'.
8688         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8689
8690 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8691
8692         * elmo-imap4.el (elmo-imap4-send-command):
8693         Cause elmo-imap4-bye-error when current response is BYE.
8694         (elmo-imap4-arrival-filter): Changed greeting response value.
8695
8696         * elmo2.el (elmo-imap4-bye-error): Define.
8697
8698         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8699         (elmo-imap4-server-diff): Ditto.
8700         (elmo-imap4-response-bye-p): New macro.
8701         (elmo-imap4-response-error-text): Get text from BYE response.
8702         (elmo-imap4-read-response): Return if BYE response.
8703         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8704         (elmo-imap4-folder-exists-p): Ditto.
8705         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8706         (elmo-imap4-parse-bye): New function.
8707         (elmo-imap4-parse-response): Remove needless let.
8708         Call `elmo-imap4-parse-bye'.
8709
8710 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8711
8712         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8713         the mailbox does not exist.
8714         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8715
8716 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8717
8718         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8719
8720 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8721
8722         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8723
8724         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8725         (elmo-network-initialize-session-buffer): Defined.
8726
8727         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8728         Abolished.
8729         (mmelmo-imap4-get-mime-entity): Rewrite.
8730
8731         * elmo2.el (elmo-error): Capitalize error message.
8732
8733         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8734         (elmo-network-session-buffer): New macro.
8735         (elmo-network-open-session): Use it.
8736
8737         * elmo-imap4.el: Rewrite.
8738
8739 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8740
8741         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8742
8743 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8744
8745         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8746         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8747         (elmo-imap4-create-msgdb-from-overview-string): Use
8748         `elmo-msgdb-create-overview-from-buffer'.
8749
8750 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8751
8752         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8753         (elmo-imap4-default-hierarchy-delimiter): New variable.
8754         (elmo-imap4-list-folders): Use it.
8755
8756 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8757
8758         * elmo-net.el (elmo-network-open-session): Add user and
8759         stream-type for process-buffer name.
8760
8761         * elmo-pop3.el (elmo-network-initialize-session): Call
8762         buffer-disable-undo.
8763
8764         * elmo-imap4.el (elmo-network-initialize-session):
8765         Set current-buffer as an argument for `buffer-disable-undo'.
8766
8767         * elmo-pop3.el (elmo-network-close-session): Don't use
8768         `process-live-p'.
8769
8770         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8771         Set default as 'user.
8772
8773         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8774
8775         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8776         and `elmo-imap4-flush-connection'.
8777
8778         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8779         (elmo-pop3-get-spec): Assume auth as symbol.
8780         (elmo-open-network-stream): Moved to `elmo-net'.
8781
8782         * elmo-pop3.el (toplevel): Require 'elmo-net.
8783         Define `sasl-cram-md5' to silence byte compilier.
8784         (elmo-pop3-connection-cache) Abolished.
8785         (elmo-pop3-authenticator-alist) New variable.
8786         (elmo-pop3-session): Define.
8787         (elmo-pop3-connection-get-process): Abolished.
8788         (elmo-pop3-connection-get-buffer): Ditto.
8789         (elmo-pop3-close-connection): Ditto.
8790         (elmo-pop3-flush-connection): Ditto.
8791         (elmo-pop3-get-connection): Ditto.
8792         (elmo-pop3-get-session): New function.
8793         (Replacement for `elmo-pop3-get-connection').
8794         All other related modules are changed.
8795         (elmo-network-close-session): Define.
8796         (elmo-pop3-send-command): Abolished argument `buffer'.
8797         All other related modules are changed.
8798         (elmo-pop3-read-response): Likewise.
8799         (elmo-pop3-open-connection): Abolished.
8800         (elmo-pop3-auth-user): New function.
8801         (elmo-pop3-auth-apop): Ditto.
8802         (elmo-pop3-auth-cram-md5): Ditto.
8803         (elmo-pop3-auth-scram-md5): Ditto.
8804         (elmo-pop3-auth-digest-md5): Ditto.
8805         (elmo-network-initialize-session): Define.
8806         (elmo-network-authenticate-session): Ditto.
8807         (elmo-network-setup-session): Ditto.
8808
8809         * elmo-imap4.el (toplevel): Require 'elmo-net.
8810         (elmo-imap4-session): Define.
8811         (elmo-imap4-connection-cache): Abolished.
8812         (elmo-imap4-password-key): Ditto.
8813         (elmo-imap4-flush-connection): Ditto.
8814         (elmo-imap4-get-connection): Ditto.
8815         All other related modules are changed.
8816         (elmo-imap4-get-session): New function
8817         (Replacement for `elmo-imap4-get-connection').
8818         (elmo-imap4-read-response): Abolished argument `buffer'.
8819         All other related modules are changed.
8820         (elmo-imap4-send-command): Likewise.
8821         (elmo-imap4-select-folder): Abolished.
8822         All other related modules are changed.
8823         (elmo-imap4-select-mailbox): New function.
8824         (Replacement for `elmo-imap4-select-folder').
8825         (elmo-imap4-auth-login): Simplify.
8826         (Assume current buffer as process buffer)
8827         (elmo-imap4-auth-cram-md5): Ditto.
8828         (elmo-imap4-auth-digest-md5): Ditto.
8829         (elmo-imap4-login): Ditto.
8830         (elmo-imap4-open-connection): Abolished.
8831         (elmo-imap4-open-connection-1): Abolished.
8832         (elmo-network-initialize-sessoin): Define.
8833         (elmo-network-authenticate-session): Ditto.
8834         (elmo-network-setup-session): Ditto.
8835
8836         * elmo-net.el: New module.
8837
8838 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8839
8840         * elmo-util.el (elmo-define-error): New function.
8841
8842         * elmo2.el (elmo-error): Define.
8843         (elmo-open-error): Define.
8844         (elmo-authenticate-error): Define.
8845
8846         * elmo-imap4.el (elmo-imap4-error): Abolish.
8847         (elmo-imap4-error-type): Abolish.
8848         (elmo-imap4-error-process): Abolish.
8849         (elmo-imap4-error-message): Abolish
8850         (elmo-imap4-list-folders): Don't quote lambda.
8851         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8852         (elmo-imap4-parse-namespace): Ditto.
8853         (elmo-imap4-open-connection): Rewrite.
8854         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8855         (elmo-imap4-get-connection): Abolish local variable `result'.
8856
8857 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8858
8859         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8860         wrong-type-argument error when auth is nil.
8861
8862 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8863
8864         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8865         (elmo-default-nntp-stream-type): Ditto.
8866         (elmo-default-pop3-stream-type): Ditto.
8867         (elmo-network-stream-type-alist): Ditto.
8868         (elmo-default-imap4-ssl): Abolished.
8869         (elmo-default-nntp-ssl): Ditto.
8870         (elmo-default-pop3-ssl): Ditto.
8871
8872         * elmo-util.el: (toplevel): Removed needless requires.
8873         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8874         (elmo-open-network-stream): Open network stream according to
8875         the value of `elmo-network-stream-type-alist'.
8876         (elmo-get-network-stream-type): New function.
8877         (elmo-network-stream-type-spec-string): New macro.
8878         (elmo-network-stream-type-symbol): Ditto.
8879         (elmo-network-stream-type-function): Ditto.
8880
8881         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8882         network-stream-type. All other related portions are changed.
8883         (elmo-pop3-open-connection): Ditto.
8884
8885         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8886         network-stream-type. All other related portions are changed.
8887
8888         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8889         network-stream-type.All other related portions are changed.
8890         (elmo-imap4-error): New macro.
8891         (elmo-imap4-error-type): Ditto.
8892         (elmo-imap4-error-process): Ditto.
8893         (elmo-imap4-error-message): Ditto.
8894         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8895         (elmo-imap4-auth-cram-md5): Ditto.
8896         (elmo-imap4-auth-digest-md5): Ditto.
8897         (elmo-imap4-login): Ditto.
8898         (elmo-imap4-open-connection): Remove password entry if authentication
8899         was in vain.
8900         (elmo-imap4-user-at-host): Abolished.
8901         (elmo-imap4-password-key): New buffer local variable.
8902         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8903         using protocol, port, auth and stream-type.
8904
8905         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8906
8907 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8908
8909         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8910
8911         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8912
8913         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8914         (elmo-imap4-authenticator-alist): New variable.
8915         (elmo-imap4-open-connection-1): Rename from
8916         elmo-imap4-open-connection.
8917         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8918         only wraps elmo-imap4-open-connection-1.
8919         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8920         user-at-host.
8921         (elmo-imap4-auth-login): New function.
8922         (elmo-imap4-auth-cram-md5): New function.
8923         (elmo-imap4-auth-digest-md5): New function.
8924         (elmo-imap4-login): New function.
8925
8926 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8927
8928         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8929         function `error'.
8930
8931 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8932
8933         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8934
8935 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8936
8937         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8938
8939 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8940
8941         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8942         for server responses, quote `*' regardless of where it appears.
8943
8944 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8945
8946         * elmo-maildir.el (elmo-maildir-commit): New alias.
8947
8948 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8949
8950         * elmo-util.el (elmo-display-progress):
8951                 Use `progress-feedback-with-label'.
8952
8953 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8954
8955         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8956         (elmo-imap4-non-atom-char-regex): Ditto.
8957         (elmo-imap4-non-text-char-regex): Ditto.
8958         (elmo-imap4-literal-threshold): Ditto.
8959         (elmo-imap4-atom-p): New function.
8960         (elmo-imap4-quotable-p): Ditto.
8961         (elmo-imap4-nil): Ditto.
8962         (elmo-imap4-atom): Ditto.
8963         (elmo-imap4-quoted): Ditto.
8964         (elmo-imap4-literal-subr): Ditto.
8965         (elmo-imap4-literal): Ditto.
8966         (elmo-imap4-buffer-literal): Ditto.
8967         (elmo-imap4-string-subr): Ditto.
8968         (elmo-imap4-string): Ditto.
8969         (elmo-imap4-buffer-string): Ditto.
8970         (elmo-imap4-astring-subr): Ditto.
8971         (elmo-imap4-astring): Ditto.
8972         (elmo-imap4-buffer-astring): Ditto.
8973         (elmo-imap4-nstring): Ditto.
8974         (elmo-imap4-buffer-nstring): Ditto.
8975         (elmo-imap4-mailbox): New alias.
8976         (elmo-imap4-field-body): Ditto.
8977         (elmo-imap4-userid): Ditto.
8978         (elmo-imap4-password): Ditto.
8979         (elmo-imap4-format-quoted): New function.
8980         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8981         arguments and handle "atom", "quoted" and "literal" string here.
8982         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8983         `elmo-imap4-send-command'.
8984         (elmo-imap4-folder-exists-p): Likewise.
8985         (elmo-imap4-create-folder): Likewise.
8986         (elmo-imap4-delete-folder): Likewise.
8987         (elmo-imap4-rename-folder): Likewise.
8988         (elmo-imap4-max-of-folder): Likewise.
8989         (elmo-imap4-check-validity): Likewise.
8990         (elmo-imap4-sync-validity): Likewise.
8991         (elmo-imap4-server-diff): Likewise.
8992         (elmo-imap4-select-folder): Likewise.
8993         (elmo-imap4-copy-msgs): Likewise.
8994         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8995         (elmo-imap4-mark-set-on-msgs): Likewise.
8996         (elmo-imap4-read-part): Likewise.
8997         (elmo-imap4-read-msg): Likewise.
8998         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8999         `elmo-imap4-password' for `elmo-imap4-send-command'.
9000         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9001         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9002         `elmo-imap4-buffer-literal'.
9003         (elmo-imap4-append-msg): Likewise.
9004
9005         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9006         `delete' for removing dead connection from the connection cache.
9007         Move deletion of the process buffer after that.
9008         (elmo-imap4-list): Change `defsubst' to `defun'.
9009         (elmo-imap4-commit): Make error message verbose.
9010         (elmo-imap4-search): Ditto.
9011         (elmo-imap4-list): Ditto.
9012         (elmo-imap4-select-folder): Ditto.
9013         (elmo-imap4-copy-msgs): Ditto.
9014         (elmo-imap4-delete-msg-by-id): Ditto.
9015         (elmo-imap4-append-msg-by-id): Ditto.
9016         (elmo-imap4-append-msg): Ditto.
9017
9018 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9019
9020         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9021         when dired is used on XEmacs.
9022
9023 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
9024
9025         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9026         instead of `append'.
9027         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9028         `elmo-plugged-p' directly.
9029         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9030         of `elmo-plugged-p' directly.
9031
9032         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9033         Eliminate unused variable.  Use `memq' for checking a process status.
9034         Use `cons' instead of `append' for updating the connection cache.
9035         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9036         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9037
9038 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
9039
9040         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9041         `elmo-imap4-read-point' exactly.
9042
9043         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9044         the local variable `folder' to `mailbox'.
9045         Rename the argument `fld' to `folder'.
9046
9047 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
9048
9049         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9050         * elmo-imap4.el (elmo-imap4-commit): Ditto.
9051
9052 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
9053
9054         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9055         (elmo-pop3-number-uidl-hash): New buffer-local variable.
9056         (elmo-pop3-uidl-number-hash): Ditto.
9057         (elmo-pop3-size-hash): Ditto.
9058         (elmo-pop3-uidl-done): Ditto.
9059         (elmo-pop3-list-done): Ditto.
9060         (elmo-pop3-connection-get-process): New defmacro.
9061         (elmo-pop3-connection-get-buffer): Ditto.
9062         (elmo-pop3-close-connection): Delete buffer and process.
9063         (elmo-pop3-flush-connection): Don't delete buffer and process.
9064         (elmo-pop3-get-connection): Added optional argument `if-exists'.
9065         Setup UIDL and size hash.
9066         (elmo-pop3-send-command-no-erase): Deleted
9067         (elmo-pop3-send-command): Added optional argument `no-erase'.
9068         (elmo-pop3-parse-uidl-response): New function.
9069         (elmo-pop3-parse-list-response): Set size hash.
9070         (elmo-pop3-list-location): New function.
9071         (elmo-pop3-list-by-uidl-subr): Ditto.
9072         (elmo-pop3-list-by-list): Ditto.
9073         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9074         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9075         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9076         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9077         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9078         Use uidl.
9079         (elmo-pop3-uidl-to-number): New function.
9080         (elmo-pop3-number-to-uidl): Ditto.
9081         (elmo-pop3-number-to-size): Ditto.
9082         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9083         Set number by use of uidl.
9084         (elmo-pop3-msgdb-create-message): Likewise.
9085         Set size, loc-alist in msgdb.
9086         (elmo-pop3-read-msg): Set number by use of uidl.
9087         Added optional argument `msgdb'.
9088         (elmo-pop3-delete-msg): Ditto.
9089         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9090         (elmo-pop3-commit): Close connection.
9091
9092         * elmo-pipe.el (elmo-pipe-max-of-folder):
9093         Bind `elmo-pop3-use-uidl' as nil.
9094         (elmo-pipe-drain): Ditto.
9095         Call `elmo-commit'.
9096
9097         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9098         (elmo-msgdb-overview-entity-set-size): New defsubst.
9099
9100 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
9101
9102         * elmo-vars.el (elmo-use-killed-list): New variable
9103         (Renamed from `elmo-nntp-use-killed-list').
9104         (elmo-nntp-use-killed-list): Eliminated.
9105
9106         * elmo-msgdb.el (elmo-msgdb-expand-path):
9107         Changed expanding msgdb path for elmo-multi.
9108
9109         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9110         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9111         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9112         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9113         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9114         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9115         (toplevel): Deleted time-stamp line.
9116
9117         * elmo2.el (elmo-clear-killed ): Defined as function
9118         (Abolished defining as a backend function).
9119         All other related modules are changed.
9120
9121 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9122
9123         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9124
9125 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
9126
9127         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9128
9129 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
9130
9131         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9132
9133 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9134
9135         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9136         asynchronous folder check.
9137
9138         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9139
9140         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9141         `elmo-nntp-use-killed-list'.
9142         (elmo-nntp-list-folder): Use killed list.
9143         (elmo-nntp-max-of-folder): Ditto.
9144         (elmo-nntp-msgdb-create): Set killed list.
9145
9146         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9147
9148         * elmo2.el (elmo-clear-killed): New backend function.
9149         All other related modules are changed.
9150
9151 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9152
9153         * elmo-util.el (elmo-imap4-spec-folder): Use
9154         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9155         All callers changed.
9156
9157 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9158
9159         * mmelmo-2.el (initialize-instance):
9160         Use `mime-buffer-entity-buffer-internal' instead of
9161         `mime-entity-buffer'.
9162
9163         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9164         (mime-entity-body): Implemented.
9165         (mime-goto-header-start-point): Deleted.
9166         (mime-goto-body-end-point): Ditto.
9167         (mime-entity-point-min): Ditto.
9168         (mime-entity-point-max): Ditto.
9169         (mime-entity-children): Ditto.
9170         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9171         instead of `mime-entity-buffer'.
9172         (mime-entity-header-buffer): Ditto.
9173         (mime-entity-body-buffer): Ditto.
9174         (mime-write-entity-content): Ditto.
9175
9176         * pldap.el (ldap-static-if): New macro.
9177         (toplevel): Use it instead of `static-if'.
9178
9179 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9180
9181         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9182         included in `attrs' argument.
9183
9184 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9185
9186         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9187
9188         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9189         (ldap-ldif-safe-init-char-regexp): Ditto.
9190         (ldap-ldif-safe-string-regexp): Ditto.
9191         (ldap/ldif-safe-string-p): New macro.
9192         (ldap/ldif-insert-field): Ditto.
9193         (ldap-modify): Use it.
9194         (ldap-add): Ditto.
9195         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9196         (ldap-decode-attribute): Decode only when `attr' is consp.
9197         (ldap-delete): Bind `ret'.
9198         (toplevel): Require 'cl at compile time.
9199         Removed (require 'poe) and (require 'std11).
9200         (pldap-version): Eliminated.
9201         (ldap-search-basic): Removed auth and dn binding.
9202         (ldap-ldif-field-name-regexp): New constant.
9203         (ldap-ldif-field-head-regexp): Ditto.
9204         (ldap-ldif-next-field-head-regexp): Ditto.
9205         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9206         (ldap/field-end): New function.
9207         (ldap/field-body): Use it.
9208         (ldap/collect-field): Ditto.
9209         (ldap-search-basic): Use `ldap/field-body'.
9210
9211 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9212
9213         * pldap.el (ldap-default-attribute-encoder): New user option.
9214         (ldap/field-body): Decode base64 string.
9215         (ldap/collect-field): Ditto.
9216         (ldap-encode-attribute): New function.
9217         (ldap-add-entries): Use it.
9218         (ldap-modify-entries): Ditto.
9219         (ldap-search-entries): Enclosed decoding function with
9220         `with-temp-buffer' and set as unibyte.
9221         (ldap-search-basic): Set process buffer as unibyte.
9222
9223         * elmo-util.el (elmo-folder-identical-system-p):
9224         Eliminated name space checking.
9225
9226         * pldap.el: New module.
9227         toplevel: Changed condition to detect built-in ldap feature.
9228         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9229         (ldap-add): Added error handling.
9230         (ldap-modify): Ditto.
9231         (ldap-delete): Ditto.
9232
9233 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9234
9235         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9236         Initialize local variables with `let'.  Inline a temporary
9237         variable for the progress percentage.  Sort `setq' to reduce
9238         function call in the while-loop.
9239
9240         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9241         into the conditional branch.
9242
9243 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9244
9245         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9246         Move a conditional out of the while-loop.
9247
9248 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9249
9250         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9251         elmo-msgdb-overview-get-entity-by-number.
9252         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9253         throw.
9254
9255 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9256
9257         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9258         the local variable for a packed number self descriptively.
9259
9260 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9261
9262         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9263         * elmo-localdir.el (elmo-localdir-pack-number): Use
9264         `elmo-msgdb-overview-get-entity' instead of
9265         `elmo-msgdb-overview-get-entity-by-number'.
9266         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9267         (elmo-msgdb-search-overview-entity): Removed.
9268         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9269         by message-id or number.
9270         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9271         instead of `elmo-msgdb-overview-get-entity-by-number'.
9272
9273 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9274
9275         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9276         non-nil, use hash table for overview.
9277         (elmo-hash-maximum-size): New variable.
9278         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9279         (elmo-msgdb-make-overview-hashtb): New function.
9280         (elmo-msgdb-clear-overview-hashtb): New function.
9281         (elmo-clear-hash-val): New macro.
9282         All other related modules are changed.
9283
9284 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9285
9286         * elmo2.el (elmo-move-msgs): If there's other message with
9287         same message-id, don't use cache.
9288
9289 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9290
9291         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9292         number is already packed.
9293
9294 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9295
9296         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9297
9298 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9299
9300         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9301         All other related modules are changed.
9302
9303 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9304
9305         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9306         of refiling failure on Maildir.
9307
9308 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9309
9310         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9311         decoded mime-charset with cache.
9312         (elmo-msgdb-overview-entity-get-from): Ditto.
9313         (elmo-msgdb-overview-entity-get-subject): Ditto.
9314         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9315
9316 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9317
9318         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9319         (elmo-remove-passwd): Fill password with 0 before erase.
9320         * elmo-vars.el (elmo-passwd-life-time): New variable.
9321
9322 \f
9323 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9324
9325         * elmo-cache.el (elmo-buffer-cache-add):
9326         Set message cache buffer as unibyte.
9327
9328 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9329
9330         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9331         become nil.
9332
9333 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9334
9335         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9336         when display is finished.
9337         (elmo-nntp-msgdb-create): Ditto.
9338         (elmo-nntp-groups-read-response): Ditto.
9339         (elmo-nntp-retrieve-headers): Ditto.
9340         (elmo-nntp-msgdb-create-message): Ditto.
9341         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9342         (elmo-pop3-msgdb-create-message): Ditto.
9343
9344 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9345
9346         * elmo-maildir.el (elmo-maildir-msgdb-create):
9347         Use `elmo-msgdb-sort-by-date'.
9348
9349 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9350
9351         * elmo2.el (elmo-read-msg-no-cache):
9352         Eliminated arguments after `outbuf'.
9353         Don't use cache even if it exists.
9354         (elmo-read-msg): Don't pass arguments after `outbuf' to
9355         `elmo-read-msg-no-cache'.
9356
9357 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9358
9359         * elmo-archive.el (elmo-archive-list-folders):
9360         Use `file-name-directory' if base folder does not exist.
9361
9362 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9363
9364         * elmo-archive.el (elmo-archive-list-folders): Don't use
9365         `file-name-directory'.
9366
9367 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9368
9369         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9370         If `force' is non-nil, try flushing all operation queues.
9371
9372 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9373
9374         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9375         as-binary-process.
9376
9377 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9378
9379         * elmo-util.el (elmo-display-progress): Fixed.
9380
9381 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9382
9383         * elmo-util.el (elmo-display-progress): New function.
9384         All other related modules are changed.