f78ce9ac8865021e685adece06171de94bb05208
[elisp/wanderlust.git] / elmo / ChangeLog
1 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elmo-pipe.el (elmo-folder-set-plugged): Define.
4
5 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6
7         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
8         (elmo-spam-list-spam-messages): Check it option.
9
10 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
11
12         * elmo-util.el (elmo-with-progress-display): Return the value
13         of the last form in `body'.
14
15 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
16
17         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
18         `elmo-progress-counter' as t when a query callback returns nil.
19         (elmo-progress-clear): New function.
20         (elmo-progress-done): Split into `elmo-progress-clear'.
21         (elmo-progress-notify): Update a total slot when it is nil.
22         (elmo-with-progress-display): Call `elmo-progress-clear' in
23         unwind-protect and move calling `elmo-progress-done' to outside.
24
25         * elmo-imap4.el (elmo-imap4-find-next-line): Call
26         `elmo-progress-notify' with :total parameter instead of
27         `elmo-progress-counter-set-total'.
28
29 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
30
31         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
32         Make it interactive.
33         (elmo-progress-start): Avoid updating `elmo-progress-counter'
34         when a query callback returns nil.  Return a progress counter
35         instead of t whenever a start callback was called.
36
37 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
38
39         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
40         (elmo-imap4-send-command): Use it.
41         (elmo-network-initialize-session): Ditto.
42         (elmo-network-setup-session): Ditto.
43         (elmo-folder-msgdb-create-plugged): Ditto.
44
45 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
46
47         * elmo-util.el (elmo-progress-done): Fix a miss refer to
48         `elmo-progress-counter'.
49
50 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
51
52         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
53         (elsp-bsfilter-list-spam-filter): New function.
54         (elsp-bsfilter-start-list-spam): Ditto.
55         (elsp-bsfilter-read-list-spam): Ditto.
56         (elmo-spam-list-spam-messages): Use async process to display
57         progress message by each message.
58
59 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
60
61         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
62         of flushing previously inserted message contents.
63
64         * elmo-imap4.el (elmo-folder-search): Fix return value.
65
66 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
67
68         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
69         of reporter is enable or not.
70
71 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
72
73         * elmo-util.el (elmo-list-bigger-diff): Abolish.
74         (elmo-display-progress): Ditto.
75         (elmo-progress-counter-alist): Ditto.
76         (elmo-progress-set): Ditto.
77         (elmo-progress-clear): Ditto.
78         (elmo-progress-counter-all-value): Rename to
79         `elmo-progress-counter-total'.
80         (elmo-progress-counter-format): Rename to
81         `elmo-progress-counter-action'.
82         (elmo-progress-counter): New internal variable.
83         (elmo-progress-callback-function): Ditto.
84         (elmo-progress-counter-label): New function.
85         (elmo-progress-counter-set-total): Ditto.
86         (elmo-progress-counter-set-action): Ditto.
87         (elmo-progress-call-callback): Ditto.
88         (elmo-progress-start): Ditto.
89         (elmo-progress-done): Ditto.
90         (elmo-progress-notify): Rewrite.
91         (elmo-with-progress-display): Remove first argument
92         `condition'. Add optional argument `var' in `spec'.
93
94         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
95         (elmo-display-retrieval-progress-threshold): Ditto.
96         (elmo-inhibit-display-retrieval-progress): Ditto.
97
98         * Replace all pair of `elmo-progress-set' and
99         `elmo-progress-clear' into `elmo-with-progress-display'.
100
101         * Replace to call `elmo-display-progress' into pair of
102         `elmo-progress-notify' and `elmo-with-progress-display'.
103
104         * elmo-version.el (elmo-version): Up to 2.15.5.
105
106 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
109         `cond'.
110
111 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
112
113         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
114         cleanup-forms [wl:14027].
115
116 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
117
118         * elmo-flag.el (elmo-global-flag-set-internal): Use
119         `elmo-copy-file' by priority when the message is a file.
120
121 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
122
123         * elmo.el: Fix typo: disptch -> dispatch.
124
125 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
126
127         * elmo.el (elmo-file-tag): New class.
128         (elmo-append-messages-disptch-table): New constant.
129         (elmo-folder-type-p): New function.
130         (elmo-folder-append-messages): Redefine as function.
131
132         * elmo-null.el (elmo-folder-append-messages): Renamed from
133         `elmo-folder-append-messages'.
134
135         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
136         (elmo-folder-append-messages-*-maildir): Renamed from
137         `elmo-folder-append-messages'.
138
139         * elmo-localdir.el (elmo-localdir-folder): Inherit
140         `elmo-file-tag'.
141         (elmo-folder-append-messages-*-localdir): Renamed from
142         `elmo-folder-append-messages'.
143
144         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
145         from `elmo-folder-append-messages'.
146
147         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
148         `elmo-folder-append-messages'.
149
150         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
151         function.
152         (elmo-folder-append-messages-*-filter): Ditto.
153
154         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
155
156         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
157         (elmo-folder-append-messages-*-pipe): Renamed from
158         `elmo-folder-append-messages'.
159
160         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
161
162         * elmo-file.el (elmo-file-folder): Ditto.
163
164         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
165
166         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
167         from `elmo-folder-append-messages'
168
169 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
170
171         * elmo-map.el (elmo-location-map-setup): Change an argument
172         `locations' to optional.
173         (elmo-location-map-clear): Abolish.
174         (elmo-folder-clear): Follow the API change.
175
176         * elmo-pop3.el (elmo-folder-clear): Ditto.
177
178         * elmo-pop3.el (toplevel): Require elmo-map.
179         (elmo-pop3-folder): Inherit elmo-location-map and abolish
180         location-alist slot (All other related portions are changed).
181         (elmo-pop3-folder-use-uidl): New function.
182         (elmo-folder-msgdb-create): Don't sort message entities.
183         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
184         (elmo-pop3-number-to-size): Convert return value to number.
185         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
186         working buffer.
187
188         * elmo-map.el: Use `location-map' as a variable name for instance
189         instead of `mapper'.
190         (elmo-location-map-setup): Return location alist.
191         (elmo-location-map-update): Ditto.
192
193 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
194
195         * elmo-map.el (elmo-location-map): New class; split location and
196         number mapping from elmo-map-folder (All other related portions
197         are changed).
198
199         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
200         change.
201
202         * elmo-version.el (elmo-version): Up to 2.15.4.
203
204 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
205
206         * elmo-vars.el (elmo-use-hardlink): New user option.
207
208         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
209         `elmo-use-hardlink'.
210
211         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
212         killed-list.
213         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
214         instead of `*-internal'. Use `elmo-with-progress-display'.
215
216 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
217
218         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
219         `elmo-spam-process-messages-as-mbox'.
220
221         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
222
223 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
224
225         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
226         argument BUFFER of `call-process'.
227
228 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
229
230         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
231         args.
232         (elsp-bsfilter-list-spam-files): Ditto.
233
234 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
235
236         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
237         (elmo-spam-bsfilter-max-messages-per-process): New use option.
238         (elmo-spam-bsfilter-debug): Fix a group.
239         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
240         `--homedir'.
241         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
242         (elsp-bsfilter-list-spam-files): New function.
243         (elmo-spam-list-spam-messages): Define.
244         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
245         (elmo-spam-bsfilter-register-messages): New function.
246         (elmo-spam-register-spam-messages): Define.
247         (elmo-spam-register-good-messages): Ditto.
248
249         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
250
251         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
252         `nconc' and `consp'.
253
254 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
255
256         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
257         hash table to test whether a location is exists.
258
259 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
260
261         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
262         even if some error occurred.
263
264         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
265         meaningless unwind-protect.
266
267         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
268         start-number correctly.
269         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
270         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
271
272 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
273
274         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
275         (elmo-folder-initialize): Use it.
276         (elmo-global-flag-replace-referrer): New function.
277
278         * elmo.el (toplevel): Added autoload setting for
279         `elmo-global-flag-replace-referrer'.
280         (elmo-folder-rename): Rewrite the last change use
281         `elmo-global-flag-replace-referrer'.
282
283         * elmo-pipe.el (elmo-folder-rename): Call
284         `elmo-global-flag-replace-referrer'.
285
286 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * elmo.el (elmo-folder-rename): Set meta data for global flags
289         follow the rename.
290
291 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
292
293         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
294         as 'not-loaded.
295         (elmo-folder-close): Ditto.
296         (elmo-filter-folder-number-list-loaded-p): New function.
297         (elmo-filter-folder-number-list): Check whether loaded or not.
298         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
299         of `elmo-filter-folder-number-list-internal'.
300         (elmo-folder-delete-messages): Ditto.
301         (elmo-folder-length): Check whether number-list is loaded or not.
302
303 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
304
305         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
306         field `real field' into each element of list.
307         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
308         (elmo-msgdb-message-entity-field): Ditto.
309         (modb-entity-ml-info-real-fields): New function.
310
311         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
312
313         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
314         `elmo-msgdb-extra-fields'.
315
316 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
317
318         * elmo-util.el (elmo-passwd-alist-load): Move point to min
319         position before read.
320
321 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
322
323         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
324         (elmo-global-flags-initialize): Ditto.
325
326 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
327
328         * elmo-archive.el (toplevel): Don't require emu, std11
329         and elmo-localdir.
330
331         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
332         definition.
333
334 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
335
336         * elmo.el (elmo-folder-confirm-appends): Display folder name.
337
338 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
339
340         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
341         literals.
342
343 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
344
345         * elmo-maildir.el (elmo-maildir-list-location): Reduce
346         `elmo-get-last-modification-time' call.
347
348 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
349
350         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
351         expression.
352         (elmo-maildir-set-mark): Ditto.
353         (elmo-maildir-delete-mark): Ditto.
354
355 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
356
357         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
358         optional argument `separators'.
359
360 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
361
362         * elmo.el (cache-changed): Abolish.
363         (status-changed): New signal.
364         (elmo-message-killed-p): New generic function and define for
365         elmo-folder.
366         (elmo-folder-recover-messages): Ditto.
367         (elmo-message-set-cached): Emit signal `status-changed' instead of
368         `cache-changed'.
369         (elmo-message-status): New macro.
370         (elmo-message-status-folder): Ditto.
371         (elmo-message-status-number): Ditto.
372         (elmo-message-status-set-flags): Ditto.
373         (elmo-message-status-set-killed): Ditto.
374         (elmo-message-status-flags): New function.
375         (elmo-message-status-cached-p): Ditto.
376         (elmo-message-status-killed-p): Ditto.
377
378         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
379         `status-changed' instead of `cache-changed'.
380         (elmo-folder-recover-messages): Define.
381         (elmo-message-killed-p): Ditto.
382
383         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
384         `status-changed' instead of `cache-changed'.
385
386         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
387         (elmo-message-killed-p): Define.
388         (elmo-folder-recover-messages): Ditto.
389
390         * elmo-version.el (elmo-version): Up to 2.15.3.
391
392 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
393
394         * elmo-signal.el (elmo-signal-bindings): Use cons to append
395         element into list.
396         (elmo-define-signal-handler): Add docstring.
397         (elmo-define-signal-filter): Ditto.
398
399         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
400
401 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
402
403         * elmo-util.el (elmo-flatten): Don't use recursive call.
404
405         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
406         assignment.
407         (elmo-folder-message-make-temp-files): Use `number-to-string'
408         instead of `int-to-string'.
409
410 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
411
412         * elmo-search.el (elmo-folder-delete-messages): Define.
413
414 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
415
416         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
417         customization type.
418         (elmo-mailing-list-count-spec-list): Ditto.
419
420         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
421         for `list-id'.
422
423 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
424
425         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
426         handling.
427
428 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
429
430         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
431         (elmo-mailing-list-count-spec-list): Ditto.
432
433         * elmo-util.el (elmo-map-until-success): New function.
434         (elmo-string-match-substring): Ditto.
435         (elmo-find-list-match-value): Ditto.
436
437         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
438         Removed.
439         (modb-entity-extract-ml-info-from-subject): Ditto.
440         (modb-entity-extract-ml-info-from-return-path): Ditto.
441         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
442         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
443         (modb-entity-extract-ml-info-from-mailman): Ditto.
444         (modb-entity-extract-mailing-list-info-functions): Ditto.
445         (modb-entity-extract-mailing-list-info): Rewrite with
446         `elmo-find-list-match-value'.
447
448 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
449
450         * elmo-net.el (elmo-network-session-retry-count): New user option.
451         (elmo-network-session-buffer-name): New internal function.
452         (elmo-network-session-buffer-create): Ditto.
453         (elmo-network-open-session): Retry open network session
454         `elmo-network-session-retry-count' times.
455
456 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
457
458         * elmo-util.el (elmo-list-filter): Rewritten.
459
460 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-util.el (elmo-string-member): Allow symbol element in list.
463
464 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
465
466         * elmo-search.el (elmo-make-search-engine): Use prefix
467         `elmo-search-' for require symbol instead of `else-'.
468         (elmo-search-engine-extprog): New class.
469         (elmo-search-engine-do-search): Remove nil from argument
470         list. Added argument pattern to evaluate element as function.
471         (elmo-search-engine-local-file): Derived from
472         `elmo-search-engine-extprog'.
473         (elmo-search-engine-create-message-entity): Check existance of file.
474         (elmo-search-engine-fetch-message): Ditto.
475         (elmo-search-namazu-index): Follow the API change.
476         (elmo-search-grep-target): Ditto.
477
478 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
479
480         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
481         characters of working buffer.
482
483         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
484         Does not bind `default-mime-charset'.
485         (elmo-msgdb-create-message-entity-from-buffer): Removed
486         unnecessary local bind.
487
488         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
489         function.
490         (modb-entity-extract-mailing-list-info-functions): Added it.
491
492 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
493
494         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
495         when number and message-id are non-nil.
496
497         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
498
499         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
500         conditional steatment.
501         (elmo-pop3-auth-apop): Likewise.
502         (elmo-network-authenticate-session): Likewise.
503
504 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
505
506         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
507         symbol `fill-column'.
508         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
509         decode field value.
510
511         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
512         (elmo-decoded-field-body): Ditto.
513
514 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
515
516         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
517         `tokens' to `params'.
518
519 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
520
521         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
522         working buffer.
523
524 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
525
526         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
527         decide index.
528
529 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
530
531         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
532         Set default value as nil.
533         (toplevel): Register search engines by
534         `elmo-search-register-engine' if there are not defined.
535
536         * elmo.el (autoload): Added autoload setting for
537         `elmo-search-register-engine'.
538
539 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
540
541         * elmo.el (toplevel): `[' is redefined as the prefix of the search
542         folder instead of nmz folder.
543         (elmo-nmz-default-index-path): Added obsolete variable setting.
544         (elmo-nmz-index-alias-alist): Ditto.
545         (elmo-nmz-use-drive-letter): Ditto.
546
547         * elmo-search.el (elmo-search-register-engine): New function.
548
549         * elmo-nmz.el: Removed.
550
551         * elmo-version.el (elmo-version): Up to 2.15.2.
552
553 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
554
555         * elmo-search.el: New file.
556
557 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
558
559         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
560         condition `larger' and `smaller'.
561
562 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
563
564         * elmo-util.el (elmo-safe-filename): Rewrite to replace
565         `"' (double quote) into "_Q_".
566
567 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
568
569         * elmo-net.el (elmo-net-quote-chars): Abolish.
570         (elmo-net-format-quoted): Ditto.
571
572 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo.el (elmo-get-folder-function): New variable.
575         (elmo-get-folder): New function.
576         (elmo-folder-rename): Call `elmo-make-folder' with specified
577         mime-charset.
578
579         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
580         `elmo-make-folder'.
581         (elmo-split-subr): Ditto.
582
583         * elmo-multi.el (elmo-folder-initialize): Ditto.
584
585         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
586
587         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
588         (elmo-flag-get-folder): Ditto.
589
590         * elmo-filter.el (elmo-folder-initialize): Ditto.
591
592         * elmo-access.el (elmo-folder-initialize): Ditto.
593         (elmo-access-folder-update-children): Ditto.
594
595         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
596         (elmo-dop-queue-flush): Ditto.
597         (elmo-folder-append-buffer-dop-delayed): Ditto.
598         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
599         mime-charset.
600
601         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
602         instead of `elmo-make-folder'.
603         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
604         destination folder instead of send `elmo-folder-rename-internal'.
605
606         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
607         slot of subfolder instead of create it.
608
609 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
610
611         * elmo-util.el (elmo-collect-separators): New function.
612         (elmo-collect-separators-internal): Ditto.
613         (elmo-collect-trail-separators): Ditto.
614         (elmo-parse-separated-tokens): Ditto.
615         (elmo-parse-separated-tokens-internal): Ditto.
616         (elmo-quote-syntactical-element): Ditto.
617
618         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
619         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
620
621         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
622         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
623         (elmo-nntp-folder-list-subfolders): Quote a user name.
624
625         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
626         (elmo-net-parse-network): Abolish.
627         (elmo-net-folder-set-parameters): New function.
628         (elmo-folder-initialize): Follow the above change.
629
630         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
631         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
632         (elmo-folder-list-subfolders): Use
633         `elmo-quote-syntactical-element' instead of
634         `elmo-net-format-quoted' to quote mailbox and user name.
635
636 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
637
638         * elmo-util.el (elmo-token-valid-p): New function.
639         (elmo-parse-token): Add optional argument `requirement'.
640         (elmo-parse-prefixed-element): Likewise.
641
642         * elmo-net.el (elmo-net-quote-chars): Renamed from
643         `elmo-net-quote-chars-regexp'.
644         (elmo-net-format-quoted): Add optional argument `extra-chars'.
645
646         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
647         by info document. Check token `uidl' is started an alphabet.
648
649         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
650         by info document. Check token `user' is started an alphabet.
651
652         * elmo-imap4.el (elmo-folder-initialize): Ditto.
653         (elmo-folder-list-subfolders): Quote user.
654
655 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
656
657         * elmo-util.el (elmo-quoted-specials-list): New constant.
658         (elmo-quoted-token): New function.
659
660         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
661         (elmo-net-format-quoted): New function.
662         (elmo-net-parse-network): Ditto.
663         (elmo-folder-initialize): Use it.
664
665         * elmo-nntp.el (elmo-folder-initialize): Use
666         `elmo-net-parse-network' to parse network specification instead of
667         `elmo-folder-initialize#elmo-net'.
668
669         * elmo-pop3.el (elmo-folder-initialize): Ditto.
670
671         * elmo-imap4.el (elmo-folder-initialize): Ditto.
672         (elmo-folder-list-subfolders): Quote folder name by
673         `elmo-net-format-quoted'.
674
675 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
676
677         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
678         (elmo-folder-search): Use it.
679
680 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
681
682         * modb-standard.el (modb-standard-loaded-message-id): Use
683         `elmo-msgdb-message-entity-field'.
684
685 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
686
687         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
688         without filename.
689
690 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
691
692         * elmo-util.el (elmo-set-auto-coding): New function.
693         (elmo-object-load): Use it.
694
695 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
696
697         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
698         (elmo-time<): Define as alias of `elmo-time-less-p'.
699         (elmo-time-to-datevec): New function.
700
701         * elmo-date.el (elmo-time-to-days): New function.
702
703 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
704
705         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
706         is not cons cell.
707
708 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
709
710         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
711         parenthesis.
712
713         * elmo-util.el (elmo-map-recursive): New function.
714
715         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
716         (modb-entity-encode-string-recursive): Ditto.
717
718 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
719
720         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
721         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
722         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
723         compare sequence number when last modified time is nil.
724
725 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
726
727         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
728
729         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
730
731 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
732
733         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
734         modification time of the file.
735
736 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
737
738         * elmo-util.el (elmo-condition-optimize): Discriminated against
739         preserved fields, extra fields and the other weight.
740
741 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
742
743         * modb-entity.el (initialize-instance): Define.
744         (modb-entity-handler-mime-charset): New internal function.
745         (modb-standard-entity-set-field): Use it.
746         (elmo-msgdb-message-entity-field): Ditto.
747         (elmo-msgdb-message-entity-field): Ditto.
748
749         * modb.el (elmo-msgdb-match-condition): Rewrite with
750         `elmo-condition-match'.
751         (elmo-msgdb-match-condition-primitive): New function.
752
753         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
754         arguments `flags' and `numbers'.
755         (elmo-msgdb-match-condition-primitive): Abolished (merged to
756         `elmo-msgdb-message-match-condition').
757         (modb-buffer-entity-handler): New class.
758
759         * elmo.el (elmo-folder-search): Optimize condition to use
760         `elmo-condition-optimize'.
761         (elmo-message-buffer-match-condition): New function.
762         (elmo-message-match-condition): Use
763         `elmo-message-buffer-match-condition' instead of
764         `elmo-buffer-field-condition-match'.
765
766         * elmo-util.el (elmo-condition-match): New function.
767         (elmo-condition-optimize): Ditto.
768         (elmo-buffer-field-primitive-condition-match): Abolish.
769         (elmo-buffer-field-condition-match): Ditto.
770
771         * elmo-archive.el (elmo-archive-field-condition-match): Use
772         `elmo-message-buffer-match-condition' instead of
773         `elmo-buffer-field-condition-match'.
774
775 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
776
777         * elmo-flag.el (elmo-global-flags-initialize): Check the
778         existence of the flag directory.
779
780 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
781
782         * elmo-access.el (elmo-folder-initialize): Call
783         `elmo-multi-connect-signals'.
784
785         * elmo-pipe.el (elmo-folder-close): Define.
786
787         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
788         children folders.
789
790         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
791         with target folder.
792
793         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
794         `number'.
795
796         * elmo-multi.el (elmo-message-entity): Don't use return value of
797         `elmo-message-entity-set-number'.
798
799 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
800
801         * modb.el (modb-generic): Added slot `mime-charset'.
802
803         * modb-standard.el (modb-standard): Added slot `overview-handler'.
804         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
805         and `modb-entity-handler-dump-parameters'.
806         (modb-standard-default-entity-handler): Abolish.
807         (elmo-msgdb-message-entity-handler): Save created handler by
808         instance slot.
809
810         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
811         (modb-entity-handler-list-parameters): New method.
812         (modb-entity-handler-equal-p): New function.
813         (modb-entity-handler-dump-parameters): Ditto.
814         (modb-entity-parse-address-string): Encode return value.
815         (modb-entity-make-address-string): Decode argument value.
816         (modb-entity-decode-string-recursive): New function.
817         (modb-entity-encode-string-recursive): Ditto.
818         (modb-standard-entity-normalizer): Set to encode field value.
819         (modb-standard-entity-specializer): Follow the above change.
820         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
821         mime-charset of handler.
822         (elmo-msgdb-message-entity-field): Ditto.
823         (elmo-msgdb-copy-message-entity): Fixed reference to internal
824         structure.
825         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
826
827         * elmo.el (elmo-folder): Added slot `mime-charset'.
828         (elmo-make-folder): Added argument `mime-charset'.
829         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
830         `mime-charest'.
831
832         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
833         (elmo-make-msgdb): Likewise.
834
835         * elmo-internal.el (elmo-internal-folder-initialize): Call
836         `luna-make-entity' with :mime-charset parameter.
837
838 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
839
840         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
841         encoded words in `from' and `subject' field.
842
843 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
844
845         * modb.el (elmo-msgdb-message-field): Add argument `type'.
846         (elmo-msgdb-match-condition): Get handler from entity instead of
847         msgdb.
848
849         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
850         (modb-standard-load-entity): Treat new file format.
851         (modb-standard-save-entity-1): Save as new file format.
852         (modb-standard-save-entity): Split messages into section here.
853         (elmo-msgdb-message-field): Follow the API change.
854         (modb-standard-default-entity-handler): New internal variable.
855         (elmo-msgdb-message-entity-handler): Define.
856
857         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
858         to `elmo-vars.el'.
859         (modb-entity-field-extractor-alist): New user option.
860         (elmo-msgdb-message-entity-field): Removed argument `decode' and
861         added argument `type'.
862         (elmo-msgdb-copy-message-entity): Add optional argument
863         `make-handler'.
864         (modb-set-field-converter): New function.
865         (modb-convert-field-value): Ditto.
866         (modb-entity-string-decoder): Ditto.
867         (modb-entity-string-encoder): Ditto.
868         (modb-entity-parse-date-string): Ditto.
869         (modb-entity-make-date-string): Ditto.
870         (modb-entity-mime-decoder): Ditto.
871         (modb-entity-mime-encoder): Ditto.
872         (modb-entity-address-list-decoder): Ditto.
873         (modb-entity-address-list-encoder): Ditto.
874         (modb-entity-parse-address-string): Ditto.
875         (modb-entity-make-address-string): Ditto.
876         (modb-entity-create-field-indices): Ditto.
877         (modb-legacy-entity-field-slots): New constant.
878         (modb-legacy-entity-field-indices): Ditto.
879         (modb-legacy-entity-normalizer): New variable.
880         (modb-legacy-entity-specializer): Ditto.
881         (modb-legacy-entity-field-index): New macro.
882         (modb-legacy-entity-set-field): New function.
883         (modb-legacy-make-message-entity): Rewrite.
884         (elmo-msgdb-create-message-entity-from-buffer): Use
885         `elmo-msgdb-get-references-from-buffer'. Use
886         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
887         Use `modb-legacy-entity-set-field' instead of
888         `elmo-msgdb-message-entity-set-field'.
889         (elmo-msgdb-message-entity-field): Rewrite.
890         (elmo-msgdb-message-entity-set-field): Ditto.
891         (elmo-msgdb-copy-message-entity): Make new entity by
892         `make-handler' if it specified.
893         (elmo-msgdb-message-match-condition): Define a method of
894         `modb-entity-handler' and follow the API change.
895         (modb-standard-entity-handler): New class.
896         (modb-entity-extract-ml-info-from-x-sequence): New function.
897         (modb-entity-extract-ml-info-from-subject): Ditto.
898         (modb-entity-extract-ml-info-from-return-path): Ditto.
899         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
900         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
901         (modb-entity-extract-mailing-list-info): Ditto.
902         (modb-entity-extract-mailing-list-info-functions): New variable.
903
904         * elmo.el (elmo-message-field): Add optional argument `type'.
905
906         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
907         from `modb-entity.el'.
908
909         * elmo-util.el (elmo-object-load): Decode by coding-system from
910         `set-auto-coding-function'.
911         (elmo-object-save): Use `detect-mime-charset-region' and add
912         coding cookie if encode.
913         (elmo-msgdb-get-references-from-buffer): New function.
914         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
915
916         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
917
918         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
919         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
920         instead of `shimbun-make-header' and follow the API change.
921         (elmo-shimbun-update-overview): Follow the API change.
922         (elmo-map-folder-list-message-locations): Ditto.
923
924         * elmo-pipe.el (elmo-message-field): Ditto.
925
926         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
927         Ditto.
928
929         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
930
931         * elmo-multi.el (elmo-message-field): Ditto.
932
933         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
934         (elmo-msgdb-sort-by-date): Ditto.
935         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
936         `elmo-message-entity-field'.
937         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
938         change.
939         (elmo-msgdb-overview-entity-get-from): Ditto.
940         (elmo-msgdb-overview-entity-get-subject): Ditto.
941         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
942         (elmo-msgdb-overview-entity-get-date): Ditto.
943         (elmo-msgdb-overview-entity-get-to): Ditto.
944         (elmo-msgdb-overview-entity-get-cc): Ditto.
945
946         * elmo-mime.el (elmo-message-mime-entity): Ditto.
947         (elmo-mime-collect-message/partial-pieces): Ditto.
948
949         * elmo-filter.el (elmo-message-field): Ditto.
950
951         * elmo-date.el (elmo-datevec-to-time): New function.
952         (elmo-time-parse-date-string): Ditto.
953         (elmo-time-make-date-string): Ditto.
954         (elmo-time<): Ditto.
955
956         * elmo-version.el (elmo-version): Up to 2.15.1.
957
958 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
959
960         * elmo-flag.el (elmo-global-flags-initialize): Don't include
961         member of elmo-local-flags.
962
963 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
964
965         * elmo-version.el (elmo-version): Up to 2.15.0.
966
967 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
968
969         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
970         `ignore-msgdb' is non-nil.
971
972 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
973
974         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
975         (elmo-condition-in-msgdb-p): Ditto.
976         (elmo-file-field-primitive-condition-match): Ditto.
977         (elmo-file-field-condition-match): Ditto.
978
979         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
980
981 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
982
983         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
984         subdirectories here.
985         (elmo-global-flags-initialize): New function.
986
987         * elmo.el (toplevel): Added autoload setting for
988         `elmo-global-flags-initialize'.
989
990 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
991
992         * elmo.el (message-number-changed): Define new signal.
993         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
994         message-number-changed signal.
995         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
996         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
997         Respect `elmo-pack-number-check-strict'.
998
999 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1000
1001         * elmo-signal.el (elmo-connect-signal): Document.
1002         (elmo-emit-signal): Ditto.
1003         (elmo-emit-signal): It should pass source argument to filter and
1004         handler, not slot-source.
1005
1006 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1007
1008         * modb.el (elmo-msgdb-update-entity): New API and define generic
1009         implement.
1010
1011         * modb-standard.el (elmo-msgdb-update-entity): Define.
1012
1013         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1014         API and define generic implement.
1015
1016         * elmo.el (update-overview): New singnal.
1017
1018         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1019         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1020         (elmo-message-entity-parent): Define.
1021
1022         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1023         `update-overview'.
1024
1025         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1026
1027         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1028
1029 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1030
1031         * elmo.el (elmo-folder-synchronize): Sort the return value of
1032         `elmo-list-diff'.
1033
1034         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1035         list.
1036
1037 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1038
1039         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1040         `default-enable-multibyte-characters'.
1041         (elmo-object-load): Use `with-temp-buffer' instead of
1042         `elmo-set-work-buf'.
1043         (elmo-object-save): Ditto.
1044         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1045         `elmo-set-work-buf'.
1046         (elmo-decoded-field-body): Ditto.
1047
1048         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1049
1050         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1051         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1052
1053         * elmo-version.el (elmo-version): Up to 2.13.3.
1054
1055 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1056
1057         * elmo-util.el (elmo-list-diff): Fix the last change.
1058         Reverse order of result lists.
1059
1060 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1061
1062         * modb-standard.el (elmo-msgdb-set-flag): Use
1063         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1064         (elmo-msgdb-unset-flag): Ditto.
1065
1066         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1067         `elmo-list-diff'.
1068
1069         * elmo-util.el (elmo-list-diff): Rewrite.
1070         (elmo-list-diff-nonsortable): New function.
1071
1072 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1073
1074         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1075         `elmo-multibypte-buffer-name'.  All referers are updated.
1076
1077 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1078
1079         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1080         (elmo-mime-entity-fragment-p): New function.
1081         (mime-elmo-buffer-entity): Added slot `reassembled'.
1082         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1083         (elmo-message-mime-entity-internal): New function (renamed from
1084         `elmo-message-mime-entity').
1085         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1086         (elmo-mime-make-reassembled-mime-entity): New function.
1087         (elmo-message-reassembled-mime-entity): Ditto.
1088         (elmo-mime-collect-message/partial-pieces): Ditto.
1089
1090 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1091
1092         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1093
1094         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1095         (elmo-with-enable-multibyte): New macro.
1096
1097         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1098
1099 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1100
1101         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1102         argument `number'.
1103         (elmo-filter-connect-signals): Follow the above change.
1104
1105 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1106
1107         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1108
1109         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1110         that only the first flag is used.
1111
1112 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1113
1114         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1115         if available.
1116
1117 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1118
1119         * elmo-signal.el: New file.
1120
1121         * elmo.el (toplevel): Require elmo-signal.
1122         (flag-changing, flag-changed, cache-changed): New signal.
1123         (elmo-folder): Remove slog `handlers'.
1124         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1125         `elmo-folder-notify-event'.
1126         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1127         (elmo-folder-unset-flag): Ditto.
1128         (elmo-event-handler): Abolish.
1129         (elmo-event-handler-flag-changed): Ditto.
1130         (elmo-event-handler-cache-changed): Ditto.
1131         (elmo-folder-add-handler): Ditto.
1132         (elmo-folder-remove-handler): Ditto.
1133         (elmo-folder-notify-event): Ditto.
1134
1135         * elmo-pipe.el (toplevel): Require elmo-signal.
1136         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1137         (elmo-pipe-connect-signals): New function.
1138         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1139         (elmo-folder-set-flag): Ditto.
1140         (elmo-folder-unset-flag): Ditto.
1141         (elmo-message-set-cached): Ditto.
1142
1143         * elmo-multi.el (toplevel): Require elmo-signal.
1144         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1145         (elmo-multi-connect-signals): New function.
1146         (elmo-multi-map-numbers): Ditto.
1147         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1148         (elmo-message-fetch): Ditto.
1149         (elmo-folder-set-flag): Ditto.
1150         (elmo-folder-unset-flag): Ditto.
1151
1152         * elmo-filter.el (toplevel): Require elmo-signal.
1153         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1154         (elmo-filter-connect-signals): New function.
1155         (elmo-filter-add-flag-count): Ditto.
1156         (elmo-message-fetch): Does not call
1157         `elmo-filter-folder-countup-message-flags' and
1158         `elmo-folder-notify-event'.
1159         (elmo-message-set-cached): Ditto.
1160         (elmo-folder-set-flag): Ditto.
1161         (elmo-folder-unset-flag): Ditto.
1162
1163         * elmo-version.el (elmo-version): Up to 2.13.2.
1164
1165 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1166
1167         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1168         `flags'.
1169
1170 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1171
1172         * elmo-filter.el (elmo-message-set-cached): Call
1173         `elmo-folder-notify-event' with event `cache-changed'.
1174
1175         * elmo-multi.el (elmo-message-set-cached): Ditto.
1176
1177         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1178
1179 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1180
1181         * elmo.el (elmo-folder-encache): Abolish.
1182
1183 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1184
1185         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1186         (elmo-folder-next-message-number-dop): Return appropriate negative
1187         integer.
1188
1189 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1190
1191         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1192         clearing pending operations.
1193         (elmo-folder-next-message-number-dop): Return appropriate negative
1194         integer.
1195
1196 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1197
1198         * elmo.el (toplevel): Added autoload setting for `md5'.
1199         (elmo-msgdb-path-encode-threshold): New user option.
1200         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1201         longer than `elmo-msgdb-path-encode-threshold'.
1202
1203         * elmo-flag.el (elmo-global-mark-migrate): Use
1204         `elmo-folder-expand-msgdb-path' instead of
1205         `elmo-folder-msgdb-path'.
1206
1207 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1210         element of the difference is nil.
1211
1212 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1213
1214         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1215         to the check logic of file systems which are weak in colon character.
1216
1217 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1218
1219         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1220
1221 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1222
1223         * elmo-maildir.el (elmo-maildir-move-file): New function.
1224         (elmo-folder-append-buffer): Use it.
1225         (elmo-folder-append-messages): Ditto.
1226         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1227
1228         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1229         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1230
1231         * elmo-maildir.el (elmo-maildir-separator): New user option.
1232         (elmo-maildir-adjust-separator): New macro.
1233         (elmo-maildir-list-location): Use it.
1234         (elmo-maildir-update-current): Ditto.
1235         (elmo-maildir-set-mark): Ditto.
1236         (elmo-maildir-delete-mark): Ditto.
1237         (These changes are based on Hiroya Murata's patch [wl: 13437])
1238
1239 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1240
1241         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1242
1243 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1244
1245         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1246         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1247         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1248
1249 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1250
1251         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1252         Use `with-temp-buffer'.
1253
1254 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1255
1256         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1257
1258         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1259         `wl-read-search-condition').
1260         (elmo-read-search-condition-internal): Likewise.
1261
1262         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1263         (elmo-flag-valid-p): New function.
1264         (elmo-folder-initialize): Check flag name is valid.
1265
1266 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1267
1268         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1269         delimiter to obtain root mailbox itself.
1270
1271 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1272
1273         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1274         type mismatch.
1275
1276 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1277
1278         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1279         as t.
1280
1281 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1282
1283         * elmo-shimbun.el (toplevel): Require cl at compile.
1284
1285         * elmo-nntp.el (toplevel): Ditto.
1286
1287         * elmo-nmz.el (toplevel): Ditto.
1288
1289         * elmo-multi.el (toplevel): Ditto.
1290
1291         * elmo-file.el (toplevel): Ditto.
1292
1293         * elmo-dop.el (toplevel): Ditto.
1294
1295         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1296
1297 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1298
1299         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1300         as nil.
1301
1302         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1303         size of elmo-message-fetch-internal is 0 byte.
1304
1305 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1306
1307         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1308
1309 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1310
1311         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1312         always plugged.
1313
1314 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1315
1316         * elmo-maildir.el (elmo-map-message-fetch): Call
1317         `elmo-map-folder-set-flag'.
1318
1319         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1320         (elmo-message-fetch): Merge from
1321         `elmo-message-fetch-with-cache-process'.
1322
1323         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1324         (elmo-message-fetch): Define.
1325
1326         * elmo-nntp.el (elmo-message-fetch): Renamed from
1327         `elmo-message-fetch-with-cache-process'.
1328
1329         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1330         (elmo-message-fetch): Define.
1331
1332         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1333         search-key.
1334
1335         * elmo-shimbun.el (shimbun-mua-search-id): Use
1336         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1337         (elmo-shimbun-folder-shimbun-header): Ditto.
1338         (elmo-shimbun-get-headers): Ditto.
1339         (elmo-shimbun-update-overview): Ditto.
1340
1341         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1342
1343         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1344         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1345
1346 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1347
1348         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1349         message is cached.
1350         (elmo-message-fetch-string): Fixed argument.
1351
1352 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1353
1354         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1355         exchange order of arguments `section' and `unread'.
1356         (elmo-message-encache): Follow the API change.
1357         (elmo-message-match-condition): Ditto.
1358         (elmo-generic-folder-append-messages): Ditto.
1359         (elmo-message-fetch-string): New function.
1360
1361         * elmo-split.el (elmo-split-subr): Ditto.
1362
1363         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1364
1365         * elmo-pipe.el (elmo-message-fetch): Ditto.
1366
1367         * elmo-multi.el (elmo-message-fetch): Ditto.
1368
1369         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1370
1371         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1372
1373         * elmo-filter.el (elmo-message-fetch): Ditto.
1374
1375         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1376
1377         * elmo-imap4.el (mime-imap-location-section-body): Use
1378         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1379         follow the API change.
1380
1381 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1382
1383         * elmo-access.el: New file.
1384
1385         * elmo-null.el: Ditto.
1386
1387         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1388
1389 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1390
1391         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1392         (elmo-network-session): New attribute `last-accessed'.
1393         (elmo-network-get-session): Discard network cache if elapsed time
1394         since last-accessed is larger than elmo-network-session-idle-timeout.
1395
1396 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1397
1398         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1399         and added `number', `require-entireness'.
1400         (elmo-find-fetch-strategy): Rewrite.
1401         (elmo-message-fetch): Unset `unread' flag when argument unread is
1402         non-nil.
1403
1404         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1405
1406         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1407         (elmo-message-fetch): Notify event `flag-changed'.
1408
1409         * elmo-pipe.el: Likewise.
1410
1411         * elmo-mime.el (elmo-mime-entity): New class.
1412         (elmo-mime-entity-display-p): New generic function.
1413         (elmo-mime-entity-display): Ditto.
1414         (elmo-mime-entity-display-as-is): Ditto.
1415         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1416         elmo-mime-entity.
1417         (elmo-make-mime-message-location): Removed.
1418         (elmo-mime-message-display): Ditto.
1419         (elmo-mime-display-as-is): Ditto.
1420         (elmo-message-mime-entity): New function.
1421
1422         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1423
1424         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1425         change.
1426         (elmo-message-fetch): Re-count flagged message number and notify
1427         event `flag-changed'.
1428
1429         * elmo-version.el (elmo-version): Up to 2.13.1.
1430
1431 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1432
1433         * elmo-filter.el (elmo-message-field): Define.
1434         (elmo-message-set-field): Ditto.
1435
1436 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1437
1438         * elmo.el (elmo-message-set-cached): Call
1439         `elmo-folder-notify-event' with cache-changed.
1440         (elmo-event-handler-cache-changed): New generic function.
1441
1442 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1443
1444         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1445         instead of elmo-add-name-to-file.
1446         (elmo-folder-append-messages): Ditto.
1447
1448 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1449
1450         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1451
1452 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1453
1454         * elmo-version.el (elmo-version): Up to 2.13.0.
1455
1456         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1457         `auto'.
1458
1459         * modb-standard.el (modb-standard-economize-entity-size): Changed
1460         default value to `t'.
1461
1462         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1463         `standard'.
1464
1465         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1466         after parsing greeting string.
1467
1468 2004-11-23  Daishi Kato <daishi@axlight.com>
1469
1470         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1471         New user option.
1472         (elmo-spam-spamoracle-call): Use it.
1473
1474 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1475
1476         * elmo.el (elmo-message-accessible-p): Message in dop spool
1477         is accessible.
1478
1479 2004-11-23  Daishi Kato <daishi@axlight.com>
1480
1481         * elsp-spamoracle.el: New file.
1482
1483 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1484
1485         * elmo.el (elmo-message-flags-for-append): New function.
1486         (elmo-generic-folder-append-messages): Use it.
1487
1488         * elmo-split.el (elmo-split-subr): Ditto.
1489
1490         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1491         `flags' and use elmo-folder-append-buffer instead of
1492         write-region-as-binary.
1493         (elmo-dop-filter-pending-messages): New function.
1494         (elmo-folder-append-buffer-dop): Call
1495         elmo-dop-spool-folder-append-buffer with `flag'.
1496         (elmo-folder-set-flag-dop): Filter messages by
1497         elmo-dop-filter-pending-messages.
1498         (elmo-folder-unset-flag-dop): Ditto.
1499         (elmo-folder-append-buffer-dop-delayed): Use
1500         elmo-message-flags-for-append to get flags of the message and
1501         simplify.
1502
1503 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1504
1505         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1506
1507 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1508
1509         * elmo.el (elmo-folder): Added handlers slot.
1510         (elmo-event-handler): New class.
1511         (elmo-event-handler-flag-changed): New API.
1512         (elmo-folder-add-handler): New function.
1513         (elmo-folder-remove-handler): Ditto.
1514         (elmo-folder-notify-event): Ditto.
1515         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1516         `flag-changed'.
1517         (elmo-folder-unset-flag): Ditto.
1518
1519         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1520         (elmo-folder-unset-flag): Ditto.
1521
1522         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1523         (elmo-folder-unset-flag): Ditto.
1524
1525         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1526         (elmo-folder-unset-flag): Ditto.
1527
1528         * elmo-version.el (elmo-version): Up to 2.11.33.
1529
1530 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1531
1532         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1533
1534 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1535
1536         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1537
1538         * elmo-flag.el (elmo-folder-unset-flag): Define.
1539         (elmo-global-flag-detach): Do process when the flag is not target
1540         flag.
1541
1542 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1543
1544         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1545         variable.
1546         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1547
1548 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1549
1550         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1551         function.
1552         (elmo-folder-delete-messages): Detach messages before delete
1553         messages from target folder.
1554         (elmo-folder-detach-messages): Set updated number-list to slot.
1555
1556 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1557
1558         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1559
1560 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1561
1562         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1563
1564 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1565
1566         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1567         internal use only).
1568         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1569         not modified.
1570         (elmo-folder-delete-messages): Define.
1571         (elmo-folder-move-messages): Don't call
1572         `elmo-folder-detach-messages'.
1573         (elmo-folder-synchronize): Rewrite.
1574         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1575
1576         * elmo-util.el (elmo-last): New function.
1577         (elmo-set-list): Ditto.
1578         (elmo-number-set-delete-list): Ditto.
1579         (elmo-number-set-delete): Ditto.
1580
1581         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1582
1583         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1584         `elmo-folder-delete-messages' and don't delete location map.
1585         (elmo-folder-detach-messages): Define.
1586
1587         * elmo-imap4.el (elmo-folder-delete): Use
1588         `elmo-folder-delete-messages-internal' instead of
1589         `elmo-folder-delete-messages'.
1590
1591         * elmo-filter.el (elmo-folder-delete-messages): Call
1592         `elmo-folder-detach-messages'.
1593         (elmo-folder-detach-messages): Don't call
1594         `elmo-folder-detach-messages' for target folder.
1595
1596         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1597         message deletion is succeeded.
1598
1599         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1600
1601         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1602         from `elmo-folder-delete-messages'.
1603
1604         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1605
1606         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1607
1608         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1609
1610         * elmo-version.el (elmo-version): Up to 2.11.32.
1611
1612 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1613
1614         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1615         (elmo-global-flag-list): Added obsolete variable setting.
1616
1617         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1618
1619         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1620         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1621         `elmo-mime-display-header-analysis' is nil.
1622
1623         * elmo-flag.el (elmo-global-flags): Renamed from
1624         `elmo-global-flag-list' (All other related portions are changed).
1625         (elmo-local-flags): New variable.
1626         (elmo-local-flag-p): New function.
1627         (elmo-global-flag-set-internal): Cause an error when flag is not
1628         global.
1629
1630 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1631
1632         * elmo-util.el (elmo-concat-path): Treat empty path.
1633
1634 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1635
1636         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1637         field-or-fields).
1638         (elmo-split-address-match): Ditto.
1639         (elmo-split-equal): Ditto.
1640         (elmo-split-match): Ditto.
1641
1642 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1643
1644         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1645         (elmo-generic-folder-append-messages): If src message exists but
1646         has no flag, pass (read) for the FLAG argument of
1647         `elmo-folder-append-buffer'. Otherwise, pass nil.
1648
1649         * elmo-split.el (elmo-split-subr): Likewise.
1650
1651         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1652
1653         * elmo-multi.el (elmo-message-flags): Ditto.
1654
1655         * elmo-filter.el (elmo-message-flags): Ditto.
1656
1657         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1658         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1659         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1660         
1661 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1662
1663         * elmo-split.el (elmo-split-rule): Update comment.
1664         (elmo-split-address-equal): Allow 2nd argument to be a list.
1665         (elmo-split-address-match): Ditto.
1666         (elmo-split-equal): Ditto.
1667         (elmo-split-match): Ditto.
1668
1669 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1670
1671         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1672         (elmo-folder-append-msgdb): Don't treat `read'.
1673         (elmo-message-flags): Don't return `read'.
1674
1675         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1676         (elmo-folder-unset-read-delayed): Ditto.
1677
1678         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1679
1680 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1681
1682         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1683         deletion.
1684
1685 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1686
1687         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1688         header.
1689
1690 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1691
1692         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1693         here.
1694         (elmo-msgdb-save): Bind inhibit-quit.
1695         (modb-standard-message-entity): Ditto.
1696
1697 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1698
1699         * elmo-database.el: No need to require elmo-msgdb.
1700
1701 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1702
1703         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1704         instead of `elmo-list-subdirectories'.
1705
1706 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1707
1708         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1709         group entry.
1710         (elmo-folder-exists-p): "[" is empty.
1711         (elmo-folder-list-subfolders): Define.
1712         (elmo-folder-have-subfolder-p): Ditto.
1713
1714 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1715
1716         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1717
1718 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1719
1720         * elmo-filter.el (elmo-folder-local-p): Define.
1721
1722 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1723
1724         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1725         when entity is garbaged.
1726         (modb-standard-save-entity-1): Don't modify the original entity.
1727
1728 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1729
1730         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1731
1732 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1733
1734         * elmo.el (elmo-strict-folder-diff): Use
1735         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1736
1737 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1738
1739         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1740         (elmo-msgdb-message-number): Ditto.
1741         (elmo-msgdb-message-field): Ditto.
1742
1743         * modb-standard.el (modb-standard-economize-entity-size): New user
1744         option.
1745         (modb-standard-loaded-message-id): New inline function.
1746         (modb-standard-load-entity): Use it.
1747         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1748         throw message-id string away.
1749         (elmo-msgdb-flag-available-p): Define.
1750         (elmo-msgdb-message-number): Ditto.
1751         (elmo-msgdb-message-field): Ditto.
1752
1753         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1754         (suppoted -> supported).
1755         (modb-legacy-supported-flag-p): Ditto.
1756         (elmo-msgdb-set-flag): Ditto.
1757         (elmo-msgdb-unset-flag): Ditto.
1758         (elmo-msgdb-flag-available-p): Define.
1759
1760         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1761         is `t', treat it as legacy entity.
1762         
1763         * elmo.el (elmo-message-flag-available-p): New generic function.
1764         (elmo-message-number): Ditto.
1765         (elmo-message-field): Use `elmo-msgdb-message-field'.
1766
1767         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1768
1769         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1770         (elmo-message-number): Ditto.
1771
1772         * elmo-multi.el (elmo-message-number): Define.
1773         (elmo-message-flag-available-p): Ditto.
1774
1775         * elmo-filter.el (elmo-message-flag-available-p): Define.
1776         (elmo-message-number): Ditto.
1777
1778         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1779         (elmo-folder-initialize): Load `max-number'.
1780         (elmo-folder-commit): Save it.
1781         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1782         (elmo-global-flag-set-internal): Set up max-number slot.
1783
1784 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1785
1786         * elmo-version.el (elmo-version): Up to 2.11.31.
1787
1788 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1789
1790         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1791         unibyte string of the current buffer for the argument of `md5'
1792         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1793
1794 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1795
1796         * modb-legacy.el (modb-legacy-flag-list): New constant.
1797         (modb-legacy-suppoted-flag-p): New internal function.
1798         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1799         (elmo-msgdb-unset-flag): Ditto.
1800
1801 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1802
1803         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1804
1805         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1806         from msgdb.
1807
1808 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1809
1810         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1811         (follow the API change).
1812
1813         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1814
1815 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1816
1817         * modb-standard.el (modb-standard-digest-flags): Abolish.
1818         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1819
1820         * elmo-vars.el (elmo-digest-flags): New variable.
1821         (elmo-preserved-flags): Moved from elmo-flag.el.
1822
1823         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1824         (elmo-imap4-flag-to-imap-criteria): Ditto.
1825         (elmo-imap4-folder-list-flagged): Use it.
1826
1827         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1828
1829         * elmo.el (elmo-folder-count-flags): Changed return value.
1830
1831         * elmo-flag.el (elmo-preserved-flags): New variable.
1832         (elmo-get-global-flags): Use it.
1833
1834         * modb-standard.el (modb-standard-digest-flags): New variable.
1835         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1836         Changed behavior of `any'.
1837
1838         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1839         which are defined the Internet draft
1840         (draft-melnikov-imap-keywords-03.txt).
1841         (elmo-imap4-flags-to-imap): New function.
1842         (elmo-folder-append-buffer): Use it.
1843
1844         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1845         in the docstring.
1846
1847         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1848         avoid the bug of Emacs 21.3.
1849
1850 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1851
1852         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1853         function find-coding-system does not exist.
1854
1855 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1856
1857         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1858         parsing.
1859
1860 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1861
1862         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1863         response codes.
1864
1865 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1866
1867         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1868         (elmo-network-close-session): Follow the changes in
1869         `elmo-pop3-read-response'.
1870         (elmo-pop3-auth-user): Ditto.
1871         (elmo-pop3-auth-apop): Ditto.
1872         (elmo-network-initialize-session): Ditto.
1873         (elmo-network-authenticate-session): Ditto.
1874         (elmo-network-setup-session): Ditto.
1875         (elmo-folder-status): Ditto.
1876         (elmo-message-fetch-plugged): Ditto.
1877         (elmo-pop3-delete-msg): Ditto.
1878
1879 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1880
1881         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1882         on failure.
1883
1884 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1885
1886         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1887         style.
1888         (elmo-bind-directory): Ditto.
1889
1890 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1891
1892         * elmo.el (elmo-folder-append-messages): Note on return value.
1893         * elmo-archive.el (elmo-folder-append-messages): Don't return
1894         message numbers which could not be appended.
1895
1896 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1897
1898         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1899
1900 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1901
1902         * elmo-version.el (elmo-version): Up to 2.11.30.
1903
1904 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1905
1906         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1907         `mask'.
1908
1909         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1910
1911         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1912         (elmo-multi-split-numbers): Add elmo-folder object into each
1913         element of return value at first.
1914         (elmo-folder-delete-messages): Follow the above change.
1915         (elmo-folder-detach-messages): Ditto.
1916
1917         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1918         number which is synchronized in target folder.
1919
1920 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1921
1922         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1923         Change default value to symbol `all'.
1924         (elmo-map-message-fetch): Change condition to update overview
1925         follow the above.
1926
1927 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1928
1929         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1930         behavior to update overview.
1931         (elmo-shimbun-update-overview-folder-list): Note it.
1932
1933 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1934
1935         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1936         recursive call.
1937
1938 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1939
1940         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1941         buffer-disable-undo, it is unnecessary.
1942         (elmo-spam-register-good-messages): Ditto.
1943
1944         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1945         Ditto.
1946
1947         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1948
1949 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1950
1951         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1952         (elmo-set-work-buf): Use set-buffer-multibyte instead of
1953         elmo-set-buffer-multibyte.
1954         (elmo-object-load): Ditto.
1955         (elmo-save-buffer): Ditto.
1956         (elmo-delete-char): Ditto.
1957         (elmo-file-field-primitive-condition-match): Ditto.
1958         (elmo-mime-string): Ditto.
1959
1960         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1961         (elmo-archive-field-condition-match): Ditto.
1962
1963         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1964
1965         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1966
1967         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1968         (elmo-nntp-msgdb-create-message): Ditto.
1969
1970         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1971
1972         * elmo.el (elmo-message-match-condition): Ditto.
1973         (elmo-message-match-condition): Ditto.
1974
1975         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1976         Ditto.
1977
1978         * elmo-version.el (elmo-version): Up to 2.11.29.
1979
1980         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1981         (elsp-header): New backend.
1982
1983         * elmo-util.el (elmo-decoded-field-body): New function.
1984
1985 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1986
1987         * elmo-version.el (elmo-version): Up to 2.11.28.
1988
1989 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1990
1991         * elmo-filter.el: Rewrite.
1992
1993         * elmo-version.el (elmo-version): Up to 2.11.27.
1994
1995 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
1996
1997         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1998         msgdb path for the localdir folder with absolute path.
1999
2000         * utf7.el: Synch up with latest gnus/utf7.el;
2001         Modified for latest Emacs.
2002
2003 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2004
2005         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2006         shimbun backend couldn't open.
2007
2008 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2009
2010         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2011         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2012         when a destination folder is a filter folder.
2013
2014 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2015
2016         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2017         (elmo-generic-folder-append-messages): Call elmo-message-flags
2018         with argument `msgid'.
2019
2020         * elmo-split.el (elmo-split-subr): Ditto.
2021
2022         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2023
2024         * elmo-multi.el (elmo-message-flags): Ditto.
2025
2026 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2027
2028         * elmo.el (elmo-folder): Add new slot `flag-table'.
2029         (elmo-folder-flag-table): New API.
2030         (elmo-folder-close-flag-table): Ditto.
2031         (elmo-folder-preserve-flags): New function.
2032         (elmo-generic-folder-append-messages): Use
2033         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2034         Flag of a non-registered message, it sets to nil.
2035         Does not set flag to flag-table.
2036
2037         * elmo-maildir.el (elmo-folder-append-buffer): Use
2038         `elmo-folder-preserve-flags'.
2039         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2040         `elmo-folder-close-flag-table'.
2041
2042         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2043         (elmo-archive-folder-append-buffer): Use
2044         `elmo-folder-preserve-flags'.
2045
2046         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2047
2048         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2049
2050         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2051         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2052         `elmo-folder-close-flag-table'.
2053
2054         * elmo-version.el (elmo-version): Up to 2.11.26.
2055
2056 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2057
2058         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2059
2060         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2061         md5's 4th and 5th argument (non-existent in flim one).
2062
2063 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2064
2065         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2066         message, It sets to nil.
2067
2068 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2069
2070         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2071         list is non-nil.
2072
2073 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2074
2075         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2076
2077         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2078
2079         * elmo-util.el (elmo-uniq-sorted-list): New function.
2080         (elmo-make-number-list): Ditto.
2081         (elmo-number-set-to-number-list): Use elmo-make-number-list
2082         and don't use nreverse.
2083
2084 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2085
2086         * elmo-version.el (elmo-version): Up to 2.11.25.
2087
2088 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2089
2090         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2091         field not exists in message, Use md5 message digest of header.
2092
2093 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2094
2095         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2096         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2097         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2098         * elmo-split.el (elmo-split-subr): Check return value of
2099         elmo-folder-append-buffer.
2100
2101         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2102         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2103
2104         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2105         message-id.
2106
2107 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2108
2109         * elmo-split.el (elmo-split-subr): Append message with flag.
2110
2111         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2112         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2113         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2114
2115 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2116
2117         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2118         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2119         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2120
2121 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2122
2123         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2124         with a function call of `process-buffer'.  All callers are updated.
2125         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2126         Remove redundant `set-buffer' in a while loop.
2127
2128 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2129
2130         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2131         calls.
2132
2133 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2134
2135         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2136         elsp-spamfilter-register-buffer-internal with current buffer.
2137         (elmo-spam-register-spam-buffer): Ditto.
2138         (elmo-spam-register-good-buffer): Ditto.
2139
2140 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2141
2142         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2143         if it is not contained in the response(A workaround for courier-imap).
2144
2145 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2146
2147         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2148         parenthesis.
2149
2150 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2151
2152         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2153         range.
2154
2155 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2156
2157         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2158         of nconc.
2159
2160         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2161         argument handler.
2162         (elmo-msgdb-message-match-condition): Follow the change above.
2163
2164 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2165
2166         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2167         folder name.
2168
2169 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2170
2171         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2172
2173 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2174
2175         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2176
2177 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2178
2179         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2180         not found.
2181
2182 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2183
2184         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2185         value.
2186         (elmo-file-command-argument): Undo last change for cygwin.
2187         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2188         Don't return nil.
2189         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2190
2191 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2192
2193         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2194         value returned from elmo-file-find is nil.
2195
2196 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2197
2198         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2199         to elmo-vars.el.
2200
2201         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2202         instead of insert-file-contents-as-binary.
2203         (elmo-message-set-field): New generic function.
2204
2205         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2206         behavior change on `split-string'.
2207
2208         * elmo-file.el (elmo-file-find): New function.
2209         (elmo-file-command): New user option.
2210         (elmo-file-command-argument): Ditto.
2211         (elmo-file-fetch-max-size): Ditto.
2212         (elmo-file-detect-format): New function.
2213         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2214         Use elmo-file-detect-format.
2215         (elmo-map-folder-list-message-locations): Don't treat directories.
2216
2217 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2218
2219         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2220         (elmo-passwd-alist-clear): Shred password before clear.
2221         (elmo-remove-passwd): Remove all mached pair.
2222
2223 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2224
2225         * elmo.el (elmo-folder-synchronize): Fix description of the return
2226         value.
2227
2228 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2229
2230         * elmo.el (elmo-message-fetch-bodystructure): New method.
2231         (elmo-message-fetch-bodystructure): Define default.
2232
2233         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2234         elmo-message-fetch-bodystructure.
2235         (elmo-message-fetch-bodystructure): Define.
2236
2237         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2238
2239 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2240
2241         * elmo-filter.el (elmo-message-folder): Define.
2242
2243 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2244
2245         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2246         elmo-delete-cr-buffer.
2247
2248         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2249
2250         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2251
2252         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2253
2254         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2255         type seems to be a text.
2256
2257 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2258
2259         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2260         (elmo-spam-register-good-buffer): Ditto.
2261         (elmo-spam-spamassassin-register-messages): Ditto.
2262
2263         * elmo-util.el (elmo-string-member-ignore-case): Define with
2264         static-cond.
2265
2266 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2267
2268         * elmo.el (elmo-folder-type): Undo last change.
2269
2270         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2271
2272         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2273         warnings.
2274
2275         * elmo-file.el: New file.
2276         
2277         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2278
2279         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2280         variable.
2281         (elmo-spam-spamassassin-register-messages): New inline function.
2282         (elmo-spam-register-spam-messages): Define.
2283         (elmo-spam-register-good-messages): Ditto.
2284
2285         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2286         Fixed typo.
2287
2288         * elmo.el (toplevel): Added autoload setting for
2289         `elmo-get-global-flags'.
2290         (elmo-message-has-global-flag-p): New function.
2291         (elmo-message-set-global-flags): Ditto.
2292         (elmo-folder-type): Improvement for name: format.
2293
2294         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2295         availability of keyword flags.
2296         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2297         (elmo-folder-list-flagged-plugged): Renamed from
2298         elmo-folder-list-flagged-unplugged.
2299         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2300         accept any flag as keyword flag.
2301         (elmo-folder-set-flag-plugged): Accept keyword flags.
2302         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2303
2304         * elmo-flag.el (elmo-get-global-flags): New function.
2305
2306         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2307         folders.
2308
2309         * elmo-version.el (elmo-version): Up to 2.11.24.
2310
2311 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2312
2313         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2314         elmo-multiple-field-body instead of std11-field-body to check all
2315         headers.
2316
2317 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2318
2319         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2320         or "size".
2321
2322 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2323
2324         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2325         unintern is unbound.
2326
2327 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2328
2329         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2330         Protect from infinite loop.
2331
2332 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2333
2334         * elsp-bogofilter.el
2335         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2336         (elmo-spam-bogofilter-register-messages): New internal function.
2337         (elmo-spam-register-spam-messages): Define.
2338         (elmo-spam-register-good-messages): Ditto.
2339
2340 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2341
2342         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2343         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2344         (elmo-spam-bogofilter-call): Fixed the last change.
2345         (elmo-spam-bogofilter-arguments): Ditto.
2346
2347         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2348         Follow the options change of latest bogofilter.
2349
2350         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2351         (elmo-spam-bogofilter-good-switch): Ditto.
2352         (elmo-spam-bogofilter-arguments-alist): New user option.
2353         (elmo-spam-bogofilter-debug): Ditto.
2354         (elmo-spam-bogofilter-call): Renamed from
2355         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2356         is non-nil, insert output in buffer for debug.
2357         (elmo-spam-bogofilter-arguments): New macro.
2358         (elmo-spam-buffer-spam-p): Use it.
2359         (elsp-bogofilter-register-buffer): Ditto.
2360
2361 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2362
2363         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2364         regexp.
2365
2366 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2367
2368         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2369         value as "ruby".
2370         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2371         (elmo-spam-bsfilter-program): Set default value as full path for
2372         `bsfilter'.
2373         (elmo-spam-bsfilter-debug): New user option.
2374         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2375         non-nil, insert output in buffer for debug. Fix treating of
2376         argument.
2377
2378 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2379
2380         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2381         `elmo-maildir-flag-specs' element instead of one.
2382         (elmo-map-folder-unset-flag): Ditto.
2383         (Reported by Ken Makimura <macky@astem.or.jp>)
2384
2385         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2386         (elmo-folder-unset-flag-plugged): Ditto.
2387
2388 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2389
2390         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2391         to `reads' slot only if `in-msgdb' is nil.
2392
2393 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2394
2395         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2396         and complement argument list.
2397
2398 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2399
2400         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2401         instead of elmo-folder-list-flagged.
2402
2403 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2404
2405         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2406
2407         * elsp-bsfilter.el: New file.
2408
2409         * elmo-pipe.el (elmo-folder-list-unreads,
2410         elmo-folder-list-answereds,
2411         elmo-folder-list-importants,
2412         elmo-folder-flag-as-important,
2413         elmo-folder-unflag-important,
2414         elmo-folder-flag-as-read,
2415         elmo-folder-unflag-read,
2416         elmo-folder-flag-as-answered,
2417         elmo-folder-unflag-answered): Remove.
2418         (elmo-folder-set-flag): Define.
2419         (elmo-folder-unset-flag): Ditto.
2420
2421         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2422         (elmo-folder-set-flag): Define.
2423         (elmo-folder-unset-flag): Ditto.
2424         (elmo-folder-list-unreads): Remove.
2425         (elmo-folder-list-flagged): Define.
2426
2427         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2428         (elmo-folder-list-unreads,
2429         elmo-folder-list-importants,
2430         elmo-folder-list-answereds,
2431         elmo-folder-list-unreads-plugged,
2432         elmo-folder-list-importants-plugged,
2433         elmo-folder-list-answereds-plugged): Remove.
2434         (elmo-folder-list-flagged-plugged): New method.
2435         (elmo-folder-unflag-important,
2436         elmo-folder-flag-as-important,
2437         elmo-folder-unflag-read,
2438         elmo-folder-flag-as-read,
2439         elmo-folder-unflag-answered,
2440         elmo-folder-flag-as-answered,
2441         elmo-folder-flag-as-read-unplugged,
2442         elmo-folder-unflag-read-unplugged,
2443         elmo-folder-flag-as-important-unplugged,
2444         elmo-folder-unflag-important-unplugged,
2445         elmo-folder-flag-as-answered-unplugged,
2446         elmo-folder-unflag-answered-unplugged): Remove.
2447         (elmo-folder-set-flag): Define.
2448         (elmo-folder-unset-flag): Ditto.
2449         (elmo-folder-set-flag-unplugged): Ditto.
2450         (elmo-folder-unset-flag-unplugged): Ditto.
2451
2452         * elmo-multi.el (elmo-folder-list-unreads,
2453         elmo-folder-list-answereds,
2454         elmo-folder-list-importants,
2455         elmo-folder-flag-as-important,
2456         elmo-folder-unflag-important,
2457         elmo-folder-flag-as-read,
2458         elmo-folder-unflag-read,
2459         elmo-folder-flag-as-answered,
2460         elmo-folder-unflag-answered): Remove.
2461         (elmo-folder-set-flag): Define.
2462         (elmo-folder-unset-flag): Ditto.
2463
2464         * elmo-map.el (elmo-map-folder-unflag-important,
2465         elmo-map-folder-flag-as-important,
2466         elmo-map-folder-unflag-read,
2467         elmo-map-folder-flag-as-read,
2468         elmo-map-folder-unflag-answered,
2469         elmo-map-folder-flag-as-answered): Remove.
2470         (elmo-map-folder-set-flag): New method.
2471         (elmo-map-folder-unset-flag): Ditto.
2472         (elmo-map-folder-list-unreads,
2473         elmo-map-folder-list-importants,
2474         elmo-map-folder-list-answereds): Remove.
2475         (elmo-folder-list-flagged-internal): Define.
2476         (elmo-map-folder-list-flagged): New method.
2477
2478         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2479         (elmo-map-folder-list-unreads,
2480         elmo-map-folder-list-importants,
2481         elmo-map-folder-list-flagged): Remove.
2482         (elmo-map-folder-list-flagged): Define.
2483         (elmo-map-folder-flag-as-important,
2484         elmo-map-folder-unflag-important,
2485         elmo-map-folder-flag-as-read,
2486         elmo-map-folder-unflag-read,
2487         elmo-map-folder-flag-as-answered,
2488         elmo-map-folder-unflag-answered): Remove.
2489         (elmo-maildir-set-mark-messages): New internal function.
2490         (elmo-map-folder-set-flag): Define.
2491         (elmo-map-folder-unset-flag): Ditto.
2492
2493         * elmo.el (toplevel): Added autoload setting for
2494         `elmo-folder-list-global-flag-messages'.
2495         (elmo-folder-list-unreads,
2496         elmo-folder-list-importants,
2497         elmo-folder-list-answereds): Remove.
2498         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2499         Return a list whitch merged with messages have global flag.
2500         (elmo-folder-list-flagged-internal): New method.
2501         (elmo-folder-unflag-important,
2502         elmo-folder-flag-as-important,
2503         elmo-folder-unflag-read,
2504         elmo-folder-flag-as-read,
2505         elmo-folder-unflag-answered,
2506         elmo-folder-flag-as-answered): Remove.
2507         (elmo-folder-set-flag): New method.
2508         (elmo-folder-unset-flag): Ditto.
2509         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2510         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2511
2512         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2513         (elmo-folder-list-unreads-plugged,
2514         elmo-folder-list-importants-plugged,
2515         elmo-folder-list-answereds-plugged,
2516         elmo-folder-list-flagged-unplugged,
2517         elmo-folder-unflag-important-plugged,
2518         elmo-folder-flag-as-important-plugged,
2519         elmo-folder-unflag-read-plugged,
2520         elmo-folder-flag-as-read-plugged,
2521         elmo-folder-unflag-answered-plugged,
2522         elmo-folder-flag-as-answered-plugged): Remove.
2523         (elmo-folder-set-flag-plugged,
2524         elmo-folder-unset-flag-plugged): Define.
2525
2526         * elmo-flag.el (elmo-folder-initialize): Register to
2527         `elmo-global-flag-list' if flag is not global.
2528         (elmo-folder-append-messages): Set flag to source messages.
2529
2530         * elmo-filter.el (elmo-filter-folder-list-unreads,
2531         elmo-folder-list-unreads,
2532         elmo-filter-folder-list-importants,
2533         elmo-folder-list-importants,
2534         elmo-folder-flag-as-read,
2535         elmo-folder-unflag-read,
2536         elmo-folder-flag-as-important,
2537         elmo-folder-unflag-important,
2538         elmo-folder-flag-as-answered,
2539         elmo-folder-unflag-answered): Remove.
2540         (elmo-folder-set-flag): Define.
2541         (elmo-folder-unset-flag): Ditto.
2542
2543         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2544         elmo-folder-unflag-read-dop,
2545         elmo-folder-flag-as-important-dop,
2546         elmo-folder-unflag-important-dop,
2547         elmo-folder-flag-as-answered-dop,
2548         elmo-folder-unflag-answered-dop): Remove.
2549         (elmo-folder-set-flag-dop,
2550         elmo-folder-unset-flag-dop,
2551         elmo-folder-set-important-delayed,
2552         elmo-folder-unset-important-delayed,
2553         elmo-folder-set-read-delayed,
2554         elmo-folder-unset-read-delayed,
2555         elmo-folder-set-answered-delayed,
2556         elmo-folder-unset-answered-delayed): New function.
2557         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2558         (elmo-dop-queue-method-name-alist): Ditto.
2559
2560         * elmo-version.el (elmo-version): Up to 2.11.23.
2561
2562 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2563
2564         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2565
2566         * elsp-sa.el: New file.
2567
2568 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2569
2570         * modb-standard.el (modb-standard-message-entity): New function.
2571         (elmo-msgdb-message-entity): Use it.
2572
2573 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2574
2575         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2576         behavior when one-level is nil.
2577
2578         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2579
2580         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2581
2582 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2583
2584         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2585         get max number.
2586         (elmo-generic-folder-diff): Ditto.
2587
2588         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2589         (elmo-folder-update-number): Ditto.
2590
2591         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2592         (elmo-folder-next-message-number-dop): Ditto.
2593
2594 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2595
2596         * elmo-filter.el (elmo-folder-msgdb-create): Use
2597         `elmo-message-entity' and `elmo-message-flags' instead of
2598         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2599
2600 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2601
2602         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2603         `if-exists'.
2604
2605 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2606
2607         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2608
2609         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2610
2611         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2612
2613 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2614
2615         * elmo-version.el (elmo-version): Up to 2.11.22.
2616
2617 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2618
2619         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2620
2621 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2622
2623         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2624         if the message dose not exist.
2625
2626 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2627
2628         * elmo-version.el (elmo-version): Up to 2.11.21.
2629
2630 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2631
2632         * modb-standard.el (toplevel): Don't require mime.
2633
2634 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2635
2636         * elsp-bogofilter.el (toplevel): Don't require path-util.
2637         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2638         (elmo-spam-bogofilter-header): Abolish.
2639         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2640         (elmo-spam-bogofilter-args): New user option.
2641         (elsp-bogofilter-call-bogofilter): New internal function.
2642         (elmo-spam-buffer-spam-p): Use it.
2643         (elsp-bogofilter-register-buffer): Renamed from
2644         `elmo-spam-bogofilter-register-buffer';
2645         Use `elsp-bogofilter-call-bogofilter'.
2646         (elmo-spam-register-spam-buffer): Follow the change above.
2647         (elmo-spam-register-good-buffer): Ditto.
2648
2649 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2650
2651         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2652         message-id is nil do nothing.
2653
2654 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2655
2656         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2657         Revival.
2658         (elmo-imap4-session): Removed use-flag slot.
2659         (elmo-imap4-session-select-mailbox): Undo last change.
2660         (elmo-folder-use-flag-p): Use
2661         elmo-imap4-disuse-server-flag-mailbox-regexp.
2662
2663 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2664
2665         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2666         (elmo-imap4-session-select-mailbox): Set it up.
2667         (elmo-folder-use-flag-p): Return value of use-flag slot.
2668
2669 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2670
2671         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2672         message-id is nil.
2673         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2674
2675         * modb-entity.el (elmo-message-entity-handler): Likewise.
2676
2677 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2678
2679         * elmo.el (toplevel): Remove setting of autoloding for
2680         elmo-global-flag-initialize.
2681         (elmo-init): Don't call elmo-global-flag-initialize.
2682         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2683
2684         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2685         (elmo-global-mark-migrate): Don't call it.
2686         (elmo-global-mark-upgrade): Ditto.
2687
2688 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2689
2690         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2691         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2692
2693         * elmo-vars.el (elmo-init-hook): New user option.
2694
2695         * elmo.el (elmo-init): Run the elmo-init-hook.
2696
2697         * elmo-flag.el (elmo-global-mark-migrate): New function.
2698
2699 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2700
2701         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2702         Undo last change (move to elmo-msgdb-unset-flag).
2703         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2704         flag is unset.
2705
2706 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2707
2708         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2709         read flag is set.
2710         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2711         (elmo-msgdb-unset-flag): Ditto.
2712
2713 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2714
2715         * elmo-split.el (elmo-split): Return split message count.
2716
2717 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2718
2719         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2720         is nil.
2721
2722 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2723
2724         * elmo.el (elmo-folder-unflag-important): Call
2725         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2726         a symbol `always'.
2727
2728         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2729         before unset flag.
2730         (elmo-global-flag-detach): Delete the message from flag folder, if
2731         `delete-if-none' is a symbol `always'.
2732
2733 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2734
2735         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2736         `elmo-spam-spamfilter-decode-buffer'.
2737         (elsp-spamfilter-register-buffer-internal): New internal function.
2738         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2739         (elmo-spam-register-spam-buffer): Ditto.
2740         (elmo-spam-register-good-buffer): Ditto.
2741
2742         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2743         change.
2744         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2745         (elmo-spam-register-spam-buffer): Follow the API change.
2746         (elmo-spam-register-good-buffer): Ditto.
2747
2748         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2749         (elmo-split-spam-p): Added argument plist; Call
2750         `elmo-spam-buffer-spam-p' with new argument register.
2751
2752         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2753         `register'.
2754         (elmo-spam-message-spam-p): Ditto.
2755         (elmo-spam-register-spam-buffer): Added optional argument
2756         `restore'.
2757         (elmo-spam-register-good-buffer): Ditto.
2758         (elmo-spam-register-spam-messages): Ditto.
2759         (elmo-spam-register-good-messages): Ditto.
2760
2761 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2762
2763         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2764         register into good corpus.
2765         (elmo-spam-register-good-buffer): Fixed to register into bad
2766         corpus.
2767
2768 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2769
2770         * elmo-version.el (elmo-version): Up to 2.11.20.
2771
2772         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2773         change.
2774
2775         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2776         flag without depending on \Recent flag.
2777
2778 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2779
2780         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2781         (elmo-spam-modified-p): Defined.
2782         (elmo-spam-save-status): Set `modified' slot to nil.
2783         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2784         (elmo-spam-register-good-buffer): Ditto.
2785
2786         * elmo-spam.el (elmo-spam-modified-p): New API.
2787
2788 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2789
2790         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2791         duplicate definition.
2792
2793         * elmo-util.el (elmo-unfold-field-body): New function.
2794         (elmo-msgdb-get-message-id-from-buffer): Use it.
2795
2796         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2797         Fixed the last change; Use elmo-unfold-field-body.
2798
2799 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2800
2801         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2802         Unfold date value.
2803
2804 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2805
2806         * elmo-spam.el (elmo-spam-save-status): New API.
2807
2808         * elsp-spamfilter.el: New file.
2809
2810 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2811
2812         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2813
2814 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2815
2816         * elmo-split.el (elmo-split-spam-p): New function.
2817
2818         * elmo-spam.el: New file.
2819
2820         * elsp-bogofilter.el: Ditto.
2821
2822 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2823
2824         * elmo.el (elmo-folder-next-message-number): New API.
2825         (elmo-folder-next-message-number): Define.
2826         (elmo-message-field): Don't check folder length.
2827
2828         * elmo-net.el (elmo-folder-next-message-number): Define.
2829         (elmo-folder-next-message-number-unplugged): Define.
2830
2831         * elmo-map.el (elmo-folder-next-message-number): Define.
2832         (elmo-folder-delete-messages): Clear hash value.
2833
2834         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2835
2836         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2837         (elmo-folder-delete-messages-dop-delayed): Always return t.
2838
2839         * elmo-version.el (elmo-version): Up to 2.11.19.
2840
2841 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2842
2843         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2844         change.
2845
2846         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2847         identical cons cell into the mark-alist and the hash table.
2848
2849 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2850
2851         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2852         elmo-folder-list-messages with argument `visible-only' as t.
2853
2854         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2855         (elmo-folder-msgdb-create): Check the target folder.
2856
2857 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2858
2859         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2860         `permanentflag' instead of `flags'.
2861         (elmo-folder-open): Ditto.
2862         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2863         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2864         (elmo-folder-use-flag-p): Always return t.
2865         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2866         `permanentflags' does not exist.
2867         (elmo-folder-open): Ditto.
2868
2869 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2870
2871         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2872         is nil.
2873         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2874
2875         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2876         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2877         response.
2878         (elmo-folder-open): Ditto.
2879         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2880         slot of the session includes the flag.
2881         (elmo-imap4-session-flag-available-p): New function.
2882         (elmo-imap4-folder-list-flagged): Ditto.
2883         (elmo-folder-list-unreads-plugged): Use it.
2884         (elmo-folder-list-importants-plugged): Ditto.
2885         (elmo-folder-list-answereds-plugged): Ditto.
2886         (elmo-imap4-search-internal-primitive): Ditto.
2887         (elmo-imap4-folder-list-any-plugged,
2888         elmo-imap4-folder-list-digest-plugged): Abolish.
2889
2890         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2891         if numbers is nil.
2892
2893 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2894
2895         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2896
2897 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2898
2899         * elmo-util.el (elmo-get-hash-val): Simplify.
2900         (elmo-set-hash-val): Rewrite.
2901
2902 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2903
2904         * elmo.el (elmo-folder-list-messages): Append killed messages into
2905         result if `visible-only' is nil and `in-msgdb' is non-nil.
2906
2907         * elmo-util.el (elmo-uniq-list): Added optional argument
2908         `delete-function'.
2909
2910         * modb.el (elmo-msgdb-flag-count): New API.
2911
2912         * modb-standard.el (modb-standard): Added slot flag-count.
2913         (modb-standard-countup-flags): New function.
2914         (modb-standard-load-flag): Call it.
2915         (elmo-msgdb-append): Ditto.
2916         (elmo-msgdb-clear): Clear slot flag-count.
2917         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2918         (elmo-msgdb-unset-flag): Treat `all' flag and call
2919         modb-standard-countup-flags.
2920         (elmo-msgdb-flag-count): Define.
2921         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2922         (elmo-msgdb-delete-messages): Ditto.
2923
2924         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2925         (elmo-msgdb-flag-count): Define.
2926
2927         * elmo.el (elmo-folder-list-messages): Undo last change.
2928         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2929         (elmo-folder-kill-messages): Unset all flags to numbers.
2930
2931         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2932         elmo-folder-kill-messages.
2933
2934         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2935         (elmo-nntp-folder-delete-messages): Abolish.
2936
2937         * elmo-version.el (elmo-version): Up to 2.11.18.
2938
2939 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2940
2941         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2942         (elmo-folder-kill-messages-range): New function.
2943         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2944         instead of elmo-folder-kill-messages-before.
2945
2946 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
2947
2948         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2949         elmo-imap4-current-msgdb to decide entity handler.
2950
2951 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2952
2953         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2954
2955         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2956         inline function.
2957         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2958         (elmo-msgdb-overview-entity-set-number,
2959         elmo-msgdb-overview-entity-get-references,
2960         elmo-msgdb-overview-entity-set-references,
2961         elmo-msgdb-overview-entity-get-from-no-decode,
2962         elmo-msgdb-overview-entity-get-from,
2963         elmo-msgdb-overview-entity-set-from,
2964         elmo-msgdb-overview-entity-get-subject,
2965         elmo-msgdb-overview-entity-get-subject-no-decode,
2966         elmo-msgdb-overview-entity-set-subject,
2967         elmo-msgdb-overview-entity-get-date,
2968         elmo-msgdb-overview-entity-set-date,
2969         elmo-msgdb-overview-entity-get-to,
2970         elmo-msgdb-overview-entity-get-cc,
2971         elmo-msgdb-overview-entity-get-size,
2972         elmo-msgdb-overview-entity-set-size,
2973         elmo-msgdb-overview-entity-get-extra,
2974         elmo-msgdb-overview-entity-set-extra,
2975         elmo-msgdb-overview-entity-get-extra-field,
2976         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2977         (elmo-msgdb-make-index): Use
2978         `elmo-msgdb-overview-entity-get-number-internal'.
2979         (elmo-msgdb-clear-index): Ditto.
2980         (elmo-msgdb-append-entity): Ditto;
2981         Use `elmo-msgdb-overview-entity-get-id-internal'.
2982
2983         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2984         elmo-msgdb-overview-entity-set-number,
2985         elmo-msgdb-overview-entity-get-references,
2986         elmo-msgdb-overview-entity-set-references,
2987         elmo-msgdb-overview-entity-get-from-no-decode,
2988         elmo-msgdb-overview-entity-get-from,
2989         elmo-msgdb-overview-entity-set-from,
2990         elmo-msgdb-overview-entity-get-subject,
2991         elmo-msgdb-overview-entity-get-subject-no-decode,
2992         elmo-msgdb-overview-entity-set-subject,
2993         elmo-msgdb-overview-entity-get-date,
2994         elmo-msgdb-overview-entity-set-date,
2995         elmo-msgdb-overview-entity-get-to,
2996         elmo-msgdb-overview-entity-get-cc,
2997         elmo-msgdb-overview-entity-get-size,
2998         elmo-msgdb-overview-entity-set-size,
2999         elmo-msgdb-overview-entity-get-extra,
3000         elmo-msgdb-overview-entity-set-extra,
3001         elmo-msgdb-overview-entity-get-extra-field,
3002         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3003         and rewrote for backward compatibility.
3004
3005 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3006
3007         * elmo.el (elmo-message-entity-number,
3008         elmo-message-entity-set-number,
3009         elmo-message-entity-field,
3010         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3011
3012         * elmo-msgdb.el (elmo-message-entity-number,
3013         elmo-message-entity-set-number,
3014         elmo-message-entity-field,
3015         elmo-message-entity-set-field): Moved from elmo.el.
3016
3017 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3018
3019         * elmo.el (toplevel): Changed definition orders.
3020
3021 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3022
3023         * modb.el (elmo-msgdb-search): New API .
3024         (elmo-msgdb-match-condition): Ditto.
3025
3026         * modb-standard.el (elmo-msgdb-search): Define.
3027
3028         * modb-legacy.el (elmo-msgdb-search): Ditto.
3029
3030         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3031         from elmo-msgdb-match-condition-internal.
3032
3033         * elmo.el (elmo-folder-search-fast): Abolish.
3034         (elmo-folder-search): Use elmo-msgdb-search and
3035         elmo-with-progress-display.
3036
3037         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3038         as msgdb API.
3039
3040         * elmo.el (elmo-folder): Remove slot message-modified and
3041         flag-modified.
3042         (elmo-folder-set-message-modified): Abolish.
3043         (elmo-generic-folder-commit): Follow the change above.
3044         (elmo-folder-synchronize): Ditto.
3045
3046         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3047
3048         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3049
3050         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3051
3052 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3053
3054         * modb-standard.el (modb-standard-make-message-entity,
3055         elmo-msgdb-make-message-entity,
3056         elmo-msgdb-create-message-entity-from-buffer,
3057         elmo-msgdb-message-entity-number,
3058         elmo-msgdb-message-entity-set-number,
3059         elmo-msgdb-message-entity-field,
3060         elmo-msgdb-message-entity-set-field,
3061         elmo-msgdb-copy-message-entity,
3062         elmo-msgdb-match-condition-internal): Remove.
3063
3064         * modb-entity.el: New file (again).
3065
3066         * modb.el (toplevel): Require modb-entity.
3067         (elmo-msgdb-message-entity-handler): New method.
3068
3069         * modb-standard.el (modb-standard-entity-id): Use
3070         elmo-message-entity-handler.
3071         (modb-standard-load-entity): Ditto.
3072         (elmo-msgdb-append-entity): Ditto.
3073         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3074
3075         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3076         elmo-msgdb-decoded-cache-hashtb,
3077         (modb-legacy-make-message-entity,
3078         elmo-msgdb-make-message-entity,
3079         elmo-msgdb-create-message-entity-from-buffer,
3080         elmo-msgdb-message-entity-number,
3081         elmo-msgdb-message-entity-set-number,
3082         elmo-msgdb-message-entity-field,
3083         elmo-msgdb-message-entity-set-field,
3084         elmo-msgdb-copy-message-entity,
3085         elmo-msgdb-match-condition-internal,
3086         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3087
3088         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3089         (elmo-message-entity-set-number): Ditto.
3090         (elmo-message-entity-field): Ditto.
3091         (elmo-message-entity-set-field): Ditto.
3092
3093         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3094
3095         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3096
3097         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3098
3099         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3100         (elmo-nntp-msgdb-create-message): Ditto.
3101
3102         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3103         (elmo-folder-msgdb-create): Add unread flag.
3104
3105         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3106
3107         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3108
3109         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3110
3111         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3112
3113         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3114         elmo-msgdb-messge-entity-handler.
3115         * elmo-version.el (elmo-version): Up to 2.11.17.
3116
3117 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3118
3119         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3120         change.
3121
3122 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3123
3124         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3125
3126         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3127         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3128         (elmo-msgdb-flag-table): Ditto.
3129         (elmo-msgdb-sort-by-date): Ditto.
3130
3131         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3132
3133         * modb-standard.el (toplevel): Require mime.
3134         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3135         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3136         elmo-msgdb-message-entity-number.
3137         (elmo-msgdb-append-entity): Ditto.
3138         (elmo-msgdb-create-message-entity-from-file): Remove.
3139         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3140         corresponds to the entity.
3141         (elmo-msgdb-message-entity-number): Do nothing currently.
3142         (elmo-msgdb-message-entity-field): Ditto.
3143         (elmo-msgdb-message-entity-set-field): Ditto.
3144         (elmo-msgdb-copy-message-entity): Ditto.
3145         (elmo-msgdb-match-condition-internal): Ditto.
3146
3147         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3148         elmo-util.el.
3149         (elmo-msgdb-create-message-entity-from-file): Remove.
3150
3151         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3152         modb-legacy.el.
3153         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3154
3155         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3156
3157 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3158
3159         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3160         (elmo-msgdb-message-entity-field): Ditto.
3161         (elmo-msgdb-message-entity-number): Ditto.
3162
3163 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3164
3165         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3166         Fixed how to set extra field into entity.
3167         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3168         symbol.
3169
3170         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3171         Fixed how to set extra field into entity.
3172         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3173         symbol.
3174
3175 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3176
3177         * modb.el (elmo-message-entity-db): New function.
3178         (elmo-msgdb-make-message-entity): New API.
3179         (elmo-msgdb-message-entity-number): Ditto.
3180         (elmo-msgdb-message-entity-set-number): Ditto.
3181         (elmo-msgdb-message-entity-field): Ditto.
3182         (elmo-msgdb-message-entity-set-field): Ditto.
3183         (elmo-msgdb-copy-message-entity): Ditto.
3184         (elmo-msgdb-create-message-entity-from-file): Ditto.
3185         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3186         (elmo-msgdb-match-condition-internal): Ditto.
3187
3188         * modb-standard.el (modb-legacy): Require modb-legacy.
3189         (modb-standard-make-message-entity): New inline function.
3190         (elmo-msgdb-make-message-entity): Define.
3191         (elmo-msgdb-create-message-entity-from-file): Ditto.
3192         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3193         (elmo-msgdb-message-entity-field): Ditto.
3194         (elmo-msgdb-message-entity-set-field): Ditto.
3195         (elmo-msgdb-copy-message-entity): Ditto.
3196         (elmo-msgdb-match-condition-internal): Ditto.
3197
3198         * modb-legacy.el: Don't require modb-entity.
3199         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3200         (elmo-msgdb-match-condition-primitive): Ditto.
3201         (elmo-msgdb-get-decoded-cache): Ditto.
3202         (elmo-msgdb-overview-entity-get-id): Ditto.
3203         (elmo-msgdb-overview-entity-get-number): Ditto.
3204         (elmo-msgdb-overview-entity-set-number): Ditto.
3205         (elmo-msgdb-overview-entity-get-references): Ditto.
3206         (elmo-msgdb-overview-entity-set-references): Ditto.
3207         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3208         (elmo-msgdb-overview-entity-get-from): Ditto.
3209         (elmo-msgdb-overview-entity-set-from): Ditto.
3210         (elmo-msgdb-overview-entity-get-subject): Ditto.
3211         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3212         (elmo-msgdb-overview-entity-set-subject): Ditto.
3213         (elmo-msgdb-overview-entity-get-date): Ditto.
3214         (elmo-msgdb-overview-entity-set-date): Ditto.
3215         (elmo-msgdb-overview-entity-get-to): Ditto.
3216         (elmo-msgdb-overview-entity-get-cc): Ditto.
3217         (elmo-msgdb-overview-entity-get-size): Ditto.
3218         (elmo-msgdb-overview-entity-set-size): Ditto.
3219         (elmo-msgdb-overview-entity-get-extra): Ditto.
3220         (elmo-msgdb-overview-entity-set-extra): Ditto.
3221         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3222         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3223         (elmo-msgdb-number-load): Ditto.
3224         (elmo-msgdb-overview-load): Ditto.
3225         (elmo-msgdb-mark-load): Ditto.
3226         (elmo-msgdb-number-save): Ditto.
3227         (elmo-msgdb-mark-save): Ditto.
3228         (elmo-msgdb-overview-save): Ditto.
3229         (modb-legacy-make-message-entity): New inline function.
3230         (elmo-msgdb-insert-file-header): Ditto.
3231         (elmo-msgdb-make-message-entity): Define.
3232         (elmo-msgdb-create-message-entity-from-file): Ditto.
3233         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3234         (elmo-msgdb-message-entity-number): Ditto.
3235         (elmo-msgdb-message-entity-set-number): Ditto.
3236         (elmo-msgdb-message-entity-field): Ditto.
3237         (elmo-msgdb-message-entity-set-field): Ditto.
3238         (elmo-msgdb-copy-message-entity): Ditto.
3239         (elmo-msgdb-match-condition-internal): Ditto.
3240
3241         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3242         (elmo-message-copy-entity): Rewrite.
3243         (elmo-message-entity-number): Ditto.
3244         (elmo-message-entity-set-number): Ditto.
3245         (elmo-message-entity-field): Use elmo-message-entity-db.
3246         (elmo-message-entity-set-field): Ditto.
3247         (elmo-message-field): Rewrite.
3248
3249         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3250         elmo-msgdb.el
3251         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3252
3253         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3254         elmo-message-entity-field.
3255         (elmo-shimbun-folder-shimbun-header): Ditto.
3256         (elmo-shimbun-entity-to-header): Ditto.
3257         (elmo-folder-msgdb-create): Ditto.
3258         (elmo-shimbun-msgdb-create-entity): Ditto;
3259         Use elmo-msgdb-create-message-entity-from-buffer.
3260         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3261         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3262
3263         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3264         elmo-msgdb-create-message-entity-from-file and 
3265         elmo-message-entity-field.
3266
3267         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3268         elmo-message-entity-number.
3269         (elmo-pop3-msgdb-create-message): Use
3270         elmo-msgdb-create-message-entity-from-buffer,
3271         elmo-message-entity-set-field, elmo-message-entity-number and
3272         elmo-message-entity-set-number.
3273
3274         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3275         the API change in elmo-msgdb-make-message-entity.
3276         (elmo-nntp-msgdb-create-message): Use
3277         elmo-msgdb-create-message-entity-from-buffer.
3278
3279         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3280         elmo-message-entity-field and
3281         elmo-msgdb-create-message-entity-from-file.
3282
3283         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3284         (elmo-msgdb-get-field): Abolish.
3285         (elmo-msgdb-get-number): Rewrite.
3286         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3287         (elmo-msgdb-flag-table): Ditto.
3288         (elmo-msgdb-get-last-message-id,
3289         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3290         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3291         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3292         (elmo-msgdb-create-overview-from-buffer,
3293         elmo-msgdb-overview-get-parent-entity): Abolish.
3294
3295         * elmo-mime.el (elmo-mime-display-as-is): Use
3296         elmo-message-entity-field.
3297
3298         * elmo-map.el (elmo-folder-pack-numbers): Use
3299         elmo-message-entity-set-number.
3300
3301         * elmo-maildir.el (elmo-folder-msgdb-create): 
3302         elmo-msgdb-create-message-entity-from-file instead of
3303         elmo-msgdb-create-overview-entity-from-file.
3304
3305         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3306         msgdb.
3307         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3308         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3309
3310         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3311         elmo-messge-entity-field and elmo-message-entity-number.
3312         (elmo-imap4-fetch-callback-1): Call
3313         elmo-msgdb-create-message-entity-from-buffer instead of
3314         elmo-msgdb-create-overview-from-buffer. 
3315         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3316         (elmo-find-fetch-strategy): Likewise.
3317
3318         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3319         elmo-localdir-msgdb-create-entity with argument msgdb.
3320
3321         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3322         and elmo-message-entity-set-number.
3323
3324         * elmo-cache.el (elmo-folder-msgdb-create): Use
3325         elmo-message-entity-field.
3326         (elmo-folder-msgdb-create): Call
3327         elmo-msgdb-create-message-entity-from-file instead of
3328         elmo-msgdb-create-overview-entity-from-file.
3329
3330         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3331         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3332         instead of elmo-msgdb-create-overview-from-buffer.
3333         (elmo-archive-msgdb-create-entity): Ditto.
3334         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3335         elmo-message-entity-field.
3336         (elmo-archive-parse-mmdf): Ditto.
3337
3338         * modb-entity.el: Removed.
3339
3340         * elmo-version.el (elmo-version): Up to 2.11.16.
3341
3342 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3343
3344         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3345         `is-local'.
3346         (elmo-folder-flag-as-answered): Ditto.
3347
3348 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3349
3350         * modb-standard.el: New file.
3351
3352         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3353         elmo-msgdb-convert-type is `sync'.
3354
3355         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3356         (elmo-msgdb-convert-type): New user option.
3357
3358         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3359         (elmo-load-msgdb): Auto detect saved type.
3360
3361         * elmo-version.el (elmo-version): Up to 2.11.15.
3362
3363 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3364
3365         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3366
3367         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3368         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3369         with argument `delete-if-none' when dst-folder is 'null.
3370
3371         * elmo-flag.el (elmo-folder-append-messages): Defined.
3372         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3373
3374 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3375
3376         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3377
3378 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3379
3380         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3381         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3382         (elmo-folder-commit): Ditto.
3383
3384 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3385
3386         * elmo-flag.el: New file.
3387
3388         * elmo-mark.el: Removed.
3389
3390         * modb-legacy.el (modb-legacy-new-mark,
3391         modb-legacy-unread-uncached-mark,
3392         modb-legacy-unread-cached-mark,
3393         modb-legacy-read-uncached-mark,
3394         modb-legacy-answered-cached-mark,
3395         modb-legacy-answered-uncached-mark,
3396         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3397         All other related portions are changed.
3398
3399         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3400         (elmo-folder-list-messages-with-global-mark): Abolish.
3401         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3402         (elmo-folder-flag-as-important): Ditto.
3403         (elmo-folder-unflag-read): Ditto.
3404         (elmo-folder-flag-as-read): Ditto.
3405         (elmo-folder-unflag-answered): Ditto.
3406         (elmo-folder-flag-as-answered): Ditto.
3407         (elmo-message-encache): Return the cache path.
3408         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3409         (elmo-message-set-flag): Transitional implementation.
3410         (elmo-message-unset-flag): Ditto.
3411         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3412         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3413         (elmo-init): Call elmo-global-flag-initialize.
3414         (toplevel): Added autoload settings for elmo-flag.
3415
3416         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3417
3418         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3419         (elmo-file-cache-delete): Don't treat global-mark.
3420
3421         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3422
3423         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3424
3425         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3426         `elmo-global-flags-set'.
3427
3428         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3429         `flag'.
3430         (elmo-folder-unflag-read): Ditto.
3431         (elmo-folder-unflag-important): Ditto.
3432         (elmo-folder-flag-as-important): Ditto.
3433         (elmo-folder-unflag-answered): Ditto.
3434         (elmo-folder-flag-as-answered): Ditto.
3435
3436         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3437         `elmo-global-flags-set'.
3438         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3439
3440         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3441
3442         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3443         `flag'.
3444         (elmo-folder-flag-as-important): Ditto.
3445         (elmo-folder-unflag-important): Ditto.
3446         (elmo-folder-flag-as-important): Ditto.
3447         (elmo-folder-unflag-read): Ditto.
3448         (elmo-folder-flag-as-read): Ditto.
3449         (elmo-folder-unflag-answered): Ditto.
3450         (elmo-folder-flag-as-answered): Ditto.
3451
3452         * elmo-multi.el (elmo-folder-list-importants): Don't call
3453         elmo-folder-list-messages-with-global-mark.
3454         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3455         (elmo-folder-unflag-important): Ditto.
3456         (elmo-folder-flag-as-read): Ditto.
3457         (elmo-folder-unflag-read): Ditto.
3458         (elmo-folder-flag-as-answered): Ditto.
3459         (elmo-folder-unflag-answered): Ditto.
3460
3461         * elmo-msgdb.el (elmo-msgdb-new-mark,
3462         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3463         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3464         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3465         (Moved to modb-legacy.el).
3466         (elmo-flag-table-get): Treat important flag too.
3467
3468         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3469         `mark' to `flag'.
3470         (elmo-map-folder-flag-as-important): Ditto.
3471         (elmo-map-folder-unflag-read): Ditto.
3472         (elmo-map-folder-flag-as-read): Ditto.
3473         (elmo-map-folder-unflag-answered): Ditto.
3474         (elmo-map-folder-flag-as-answered): Ditto.
3475         (elmo-folder-unflag-important): Ditto.
3476         (elmo-folder-flag-as-important): Ditto.
3477         (elmo-folder-unflag-read): Ditto.
3478         (elmo-folder-flag-as-read): Ditto.
3479         (elmo-folder-unflag-answered): Ditto.
3480         (elmo-folder-flag-as-answered): Ditto.
3481
3482         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3483         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3484         `flag'.
3485         (elmo-map-folder-unflag-important): Ditto.
3486         (elmo-map-folder-flag-as-read): Ditto.
3487         (elmo-map-folder-unflag-read): Ditto.
3488         (elmo-map-folder-flag-as-answered): Ditto.
3489         (elmo-map-folder-unflag-answered): Ditto.
3490
3491         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3492         `elmo-global-flags-set'.
3493         (elmo-global-flags-set): Added autoload setting.
3494
3495         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3496         `flag'.
3497
3498         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3499         `elmo-msgdb-global-mark-set'.
3500         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3501         Call `elmo-global-flags-set'.
3502         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3503         `flag'.
3504         (elmo-folder-flag-as-important-plugged): Ditto.
3505         (elmo-folder-unflag-read-plugged): Ditto.
3506         (elmo-folder-flag-as-read-plugged): Ditto.
3507         (elmo-folder-unflag-answered-plugged): Ditto.
3508         (elmo-folder-flag-as-answered-plugged): Ditto.
3509         (elmo-global-flags-set): Added autoload setting.
3510
3511         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3512         `flag'.
3513         (elmo-folder-unflag-read): Ditto.
3514         (elmo-folder-flag-as-important): Ditto.
3515         (elmo-folder-unflag-important): Ditto.
3516         (elmo-folder-flag-as-answered): Ditto.
3517         (elmo-folder-unflag-answered): Ditto.
3518
3519         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3520         change of `mark'->`flag'.
3521         (elmo-dop-queue-method-name-alist): Ditto.
3522         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3523         (elmo-folder-unflag-read-dop): Ditto.
3524         (elmo-folder-flag-as-important-dop): Ditto.
3525         (elmo-folder-unflag-important-dop): Ditto.
3526         (elmo-folder-flag-as-answered-dop): Ditto.
3527         (elmo-folder-unflag-answered-dop): Ditto.
3528
3529         * elmo-cache.el (elmo-folder-msgdb-create): Call
3530         `elmo-global-flags-set'.
3531
3532         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3533         Call `elmo-global-flags-set'.
3534         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3535         elmo-archive-parse-mmdf with argument `folder'.
3536         (elmo-archive-parse-mmdf): Added argument `folder';
3537         Call `elmo-global-flags-set'.
3538
3539         * elmo-version.el (elmo-version): Up to 2.11.14.
3540
3541 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3542
3543         * modb.el (elmo-msgdb-length): Define.
3544
3545         * elmo.el (elmo-make-folder): Fixed.
3546         (elmo-generic-folder-append-messages): Follow the API change.
3547
3548         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3549         API change.
3550
3551 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3552
3553         * modb.el: New file.
3554
3555         * modb-entity.el: Ditto.
3556
3557         * modb-legacy.el: Ditto.
3558
3559         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3560         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3561         of `elmo-msgdb-overview-get-entity'.
3562         (elmo-msgdb-get-field): Ditto.
3563         (elmo-msgdb-merge): Moved to `elmo.el'.
3564         (elmo-msgdb-length): Removed; redefine as modb method.
3565         (elmo-msgdb-change-mark): Abolish.
3566         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3567         (elmo-msgdb-match-condition): Don't use mark.
3568         (elmo-msgdb-overview-get-entity): Abolish.
3569         Split modb part into `modb*.el'.
3570
3571         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3572
3573         * elmo-shimbun.el (shimbun-mua-search-id): Use
3574         `elmo-msgdb-message-entity' instead of
3575         `elmo-msgdb-overview-get-entity'.
3576         (elmo-shimbun-folder-shimbun-header): Ditto.
3577         (elmo-shimbun-get-headers): Ditto.
3578         (elmo-shimbun-update-overview): Ditto.
3579
3580         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3581
3582         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3583
3584         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3585         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3586
3587         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3588         `elmo-msgdb-mark-to-flags'.
3589
3590         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3591         `elmo-msgdb-set-path'.
3592
3593         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3594  
3595         * elmo-version.el (elmo-version): Up to 2.11.13.
3596
3597         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3598
3599         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3600         of mark.
3601
3602 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3603
3604         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3605         mismatch.
3606
3607 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3608
3609         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3610         instead of `elmo-msgdb-get-cached'.
3611         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3612
3613         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3614         (elmo-msgdb-set-cached): Ditto.
3615         (elmo-msgdb-set-flag): Rewrite.
3616         (elmo-msgdb-unset-flag): Ditto.
3617
3618         * elmo-msgdb.el: Rewrite with luna.
3619
3620         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3621         (elmo-folder-msgdb): Follow the change above.
3622         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3623         (elmo-folder-unmark-important): Follow the API change.
3624         (elmo-folder-mark-as-important): Ditto.
3625         (elmo-folder-unmark-read): Ditto.
3626         (elmo-folder-mark-as-read): Ditto.
3627         (elmo-folder-unmark-answered): Ditto.
3628         (elmo-folder-mark-as-answered): Ditto.
3629         (elmo-folder-clear): Likewise.
3630
3631         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3632         instead of `elmo-msgdb-load' (renamed).
3633
3634         * elmo-version.el (elmo-version): Up to 2.11.12.
3635
3636 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3637
3638         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3639         change.
3640         (elmo-message-mark): Abolish.
3641         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3642         instead of `elmo-msgdb-change-mark'.
3643
3644         * elmo-pipe.el (elmo-message-mark): Abolish.
3645
3646         * elmo-multi.el (elmo-message-mark): Ditto.
3647
3648         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3649         (elmo-msgdb-unread-uncached-mark): Ditto.
3650         (elmo-msgdb-unread-cached-mark): Ditto.
3651         (elmo-msgdb-read-uncached-mark): Ditto.
3652         (elmo-msgdb-answered-cached-mark): Ditto.
3653         (elmo-msgdb-answered-uncached-mark): Ditto.
3654         (elmo-msgdb-important-mark): Ditto.
3655         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3656         `use-cache'.
3657         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3658         `flags'.
3659         (elmo-flag-table-load): Changed flag to list of flag.
3660         (elmo-flag-table-set): If flags is nil, set read flag.
3661         (elmo-flag-table-get): Return derived flags from global mark,
3662         cache status and saved flags.
3663         (elmo-msgdb-flag-table): Follow the change above.
3664         (elmo-msgdb-out-of-date-messages): New function.
3665
3666         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3667
3668         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3669
3670         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3671
3672         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3673         (elmo-nntp-msgdb-create-message): Ditto.
3674
3675         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3676
3677         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3678         independent.
3679         (elmo-folder-msgdb-create): Follow the API change.
3680
3681         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3682         (elmo-folder-append-messages): Ditto.
3683
3684         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3685         (elmo-folder-append-buffer): Ditto.
3686
3687         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3688
3689         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3690
3691         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3692         (elmo-archive-parse-mmdf): Ditto.
3693
3694         * elmo-version.el (elmo-version): Up to 2.11.11.
3695
3696 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3697
3698         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3699         `elmo-msgdb-mark'.
3700
3701         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3702
3703         * elmo-pipe.el (elmo-message-flags): Defined.
3704
3705         * elmo-multi.el (elmo-message-flags): Ditto.
3706
3707 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3708
3709         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3710         `elmo-msgdb-delete-msgs'.
3711
3712         * elmo.el (elmo-folder-count-flags): Don't use
3713         `elmo-msgdb-get-mark-alist'.
3714         (elmo-folder-detach-messages): Follow the API change.
3715
3716         * elmo.el (elmo-folder-list-messages): Append killed messages into
3717         result if `visible-only' is nil.
3718
3719         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3720         canceled messages.
3721         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3722         (elmo-folder-update-number): Likewise.
3723
3724         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3725         (elmo-pop3-sort-msgdb-by-original-number): Use
3726         `elmo-msgdb-sort-entities'.
3727
3728         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3729         (elmo-msgdb-sort-by-date): Use it.
3730         (elmo-msgdb-overview-sort-by-date): Abolish.
3731
3732         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3733
3734         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3735         (elmo-msgdb-flags): New function.
3736         (elmo-msgdb-merge): Use elmo-msgdb-append.
3737
3738         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3739         change.
3740
3741         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3742
3743         * elmo-dop.el (elmo-folder-status-dop): Use
3744         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3745
3746 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3747
3748         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3749
3750         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3751
3752         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3753
3754         * elmo-util.el (elmo-with-progress-display): New macro.
3755
3756         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3757
3758 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3759
3760         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3761         `elmo-folder-list-message-entities' instead of
3762         `elmo-msgdb-get-overview'.
3763         (elmo-map-folder-list-message-locations): Ditto.
3764
3765         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3766         methods instead of treat directly).
3767         (elmo-msgdb-clear): Ditto.
3768         (elmo-msgdb-delete-msgs): Ditto.
3769         (elmo-msgdb-sort-by-date): Ditto.
3770
3771         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3772         local variables.
3773         (elmo-nntp-folder-msgdb-create): Follow the API change.
3774
3775         * elmo-version.el (elmo-version): Up to 2.11.10.
3776
3777 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3778
3779         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3780         (elmo-msgdb-flags-to-mark): Ditto.
3781         (elmo-msgdb-append-entity): Ditto.
3782
3783         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3784         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3785         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3786         (elmo-archive-parse-mmdf): Ditto.
3787
3788         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3789
3790         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3791
3792         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3793
3794         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3795
3796         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3797
3798         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3799
3800         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3801
3802         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3803
3804         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3805         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3806         to empty msgdb.
3807
3808         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3809         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3810         instead of directly construction.
3811         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3812         instead of construct msgdb.
3813
3814         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3815         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3816         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3817         instead of construct msgdb.
3818
3819 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3820
3821         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3822         when field is from or subject.
3823
3824 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3825
3826         * elmo-multi.el (elmo-message-entity-parent): Define.
3827         (elmo-folder-search): Rewrite.
3828
3829 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3830
3831         * elmo-multi.el (elmo-message-cached-p): Define.
3832
3833         * elmo.el (elmo-message-cached-p): New method.
3834         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3835         (elmo-message-flags): New method.
3836         (elmo-message-flagged-p): New function.
3837
3838         * elmo-version.el (elmo-version): Up to 2.11.9.
3839
3840 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3841
3842         * elmo-version.el (elmo-version): Up to 2.11.8.
3843
3844         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3845
3846         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3847
3848 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3849
3850         * elmo.el (elmo-folder-detach-messages): Undo last change.
3851
3852 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3853
3854         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3855
3856         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3857         only when src folder type is pop3.
3858
3859 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3860
3861         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3862         elmo-msgdb-overview-entity-get-number instead of
3863         elmo-message-entity-number.
3864
3865 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3866
3867         * elmo-version.el (elmo-version): Up to 2.11.7.
3868
3869 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3870
3871         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3872         function.
3873
3874         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3875         (elmo-msgdb-merge): New function.
3876         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3877         (elmo-msgdb-make-index): Rewrite.
3878
3879         * elmo-version.el (elmo-version): Up to 2.11.6.
3880
3881         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3882         use it as a the path for loading message entities.
3883
3884         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3885
3886 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3887
3888         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3889         message-modified slot of itself if it does not require target msgdb.
3890
3891         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3892         if folder length is zero.
3893         (elmo-mime-display-as-is): Ditto.
3894
3895         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3896
3897         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3898
3899 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3900
3901         * elmo.el (elmo-folder-set-message-modified): New method.
3902         (elmo-generic-folder-commit): Use it.
3903         (elmo-folder-synchronize): Ditto.
3904
3905         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3906         (elmo-folder-commit): Remove duplicate definition.
3907
3908 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3909
3910         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3911
3912 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3913
3914         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3915         (elmo-strict-folder-diff): Ditto.
3916         (elmo-folder-set-info-max-by-numdb): Simplify.
3917
3918         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3919         elmo-msgdb-list-messages.
3920
3921         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3922         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3923
3924 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3925
3926         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3927         visible-only is non-nil.
3928         (elmo-folder-confirm-appends): Changed message.
3929         (elmo-folder-synchronize): Added argument disable-killed.
3930
3931         * elmo-multi.el (elmo-folder-synchronize): Added argument
3932         disable-killed.
3933
3934         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3935
3936         * elmo-version.el (elmo-version): Up to 2.11.5.
3937
3938         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3939         elmo-list-filter.
3940
3941         * elmo-util.el (elmo-list-filter): Simplify.
3942
3943         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3944         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3945         (elmo-generic-folder-diff): Abolish argument.
3946         (elmo-msgdb-load): Don't use number-alist.
3947
3948         * elmo-filter.el (elmo-folder-diff): Abolish argument.
3949
3950         * elmo-pipe.el (elmo-folder-diff): Ditto.
3951
3952         * elmo-nmz.el (elmo-folder-diff): Ditto.
3953
3954         * elmo-net.el (elmo-folder-diff): Ditto.
3955
3956         * elmo-maildir.el (elmo-folder-diff): Ditto.
3957
3958         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3959
3960         * elmo-multi.el (elmo-folder-diff): Ditto
3961         (elmo-multi-folder-diff): Rewrite.
3962
3963 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3964
3965         * elmo-pipe.el (elmo-folder-msgdb): Define.
3966
3967 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
3968
3969         * elmo.el (elmo-message-set-cached): Define as a method.
3970
3971         * elmo-pipe.el (elmo-message-set-cached): Define.
3972         (elmo-find-fetch-strategy): Ditto.
3973
3974         * elmo-multi.el (elmo-message-set-cached): Define.
3975         (elmo-find-fetch-strategy): Rewrite.
3976
3977         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3978
3979         * elmo-pipe.el (elmo-message-folder): Fixed definition.
3980
3981 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3982
3983         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3984         instead of number-alist.
3985
3986         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3987         mark nor message-id when msgdb of source folder is not loaded.
3988
3989         * elmo.el (elmo-generic-folder-append-messages): Ditto.
3990
3991         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3992
3993 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
3994
3995         * elmo.el (elmo-folder-length): Don't require msgdb.
3996
3997 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
3998
3999         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4000         (elmo-message-field): Ditto.
4001
4002         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4003         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4004         slot.
4005         (elmo-map-folder-list-answereds): Define.
4006         (elmo-maildir-list-location): Treat 'R' info.
4007         (elmo-folder-msgdb-create): Treat flag-table.
4008         (elmo-folder-append-messages): Save flag-table.
4009
4010 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4011
4012         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4013         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4014
4015 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4016
4017         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4018
4019         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4020         'read when mark is null.
4021
4022 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4023
4024         * elmo-version.el (elmo-version): Up to 2.11.4.
4025
4026 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4027
4028         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4029         (elmo-folder-mark-as-answered): Ditto.
4030
4031 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4032
4033         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4034         (elmo-pop3-get-session): Make msgdb directory after session.
4035         (elmo-folder-exists-p): Check exactly at the first time even when the
4036         elmo-pop3-exists-exactly is nil.
4037
4038         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4039         (elmo-folder-list-messages): Define instead of
4040         elmo-folder-list-messages-internal.
4041         (elmo-folder-check): Check destination folder.
4042         (elmo-folder-synchronize): Drain the pipe.
4043
4044         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4045         when msgdb is not loaded.
4046
4047         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4048
4049         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4050         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4051         messages.
4052
4053         * elmo.el (elmo-folder-kill-messages-before): New function.
4054         (elmo-folder-kill-messages): Ditto.
4055         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4056
4057         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4058         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4059         killed not by synchronize (e.g. scoring).
4060
4061 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4062
4063         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4064         treated.
4065         (elmo-folder-search): Follow the change above.
4066
4067         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4068         into the candidates of search field.
4069
4070 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4071
4072         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4073         (elmo-msgdb-unset-flag): Ditto.
4074
4075         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4076
4077 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4078
4079         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4080         (elmo-folder-commit): Define.
4081         (elmo-folder-synchronize): Ditto.
4082         (elmo-folder-list-flagged): Ditto.
4083         (elmo-folder-commit): Ditto.
4084         (elmo-folder-length): Ditto.
4085         (elmo-folder-count-flags): Ditto.
4086         (elmo-message-mark): Ditto.
4087         (elmo-message-field): Ditto.
4088         (elmo-message-entity): Ditto.
4089         (elmo-message-folder): Ditto.
4090
4091 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4092
4093         * elmo.el (elmo-message-field): Define as a method.
4094
4095         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4096         (elmo-message-field): Define.
4097
4098         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4099         (elmo-folder-list-importants): Ditto.
4100         (elmo-folder-list-answereds): Ditto.
4101
4102         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4103         qualifier.
4104         (elmo-folder-mark-as-read): Ditto.
4105         (elmo-folder-unmark-read): Ditto.
4106         (elmo-folder-mark-as-answered): Ditto.
4107         (elmo-folder-unmark-answered): Ditto.
4108         (elmo-folder-list-flagged): Define.
4109         (elmo-folder-commit): Ditto.
4110         (elmo-folder-length): Ditto.
4111         (elmo-folder-count-flags): Ditto.
4112
4113 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4114
4115         * elmo.el (elmo-folder-detach-messages): New method.
4116         (elmo-folder-move-messages): Use it.
4117         (elmo-folder-synchronize): Ditto.
4118
4119         * elmo-multi.el (elmo-folder-detach-messages): Define.
4120
4121         * elmo.el (elmo-message-copy-entity): New function.
4122         (elmo-message-entity-set-number): Ditto.
4123         (elmo-message-mark): Define as method.
4124
4125         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4126         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4127         (elmo-message-entity): Fixed last change.
4128         (elmo-message-mark): Define.
4129         (elmo-folder-msgdb-create): Abolish.
4130         (elmo-multi-folder-append-msgdb): Ditto.
4131         (elmo-multi-folder-diff): Fixed.
4132         (elmo-multi-split-number-alist): Removed.
4133         (elmo-multi-split-mark-alist): Removed.
4134         (elmo-folder-list-messages): Define.
4135         (elmo-folder-list-messages-internal): Removed.
4136
4137         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4138         local file messages.
4139         (elmo-folder-msgdb-create): Fixed read mark.
4140
4141 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4142
4143         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4144         if mark is nil.
4145
4146 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4147
4148         * elmo.el (elmo-folder-list-message-entities): Define as inline
4149         function.
4150         (elmo-folder-messages): Abolish.
4151
4152         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4153         folder.
4154         (elmo-folder-synchronize): Define.
4155         (elmo-message-entity): Define.
4156
4157 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4158
4159         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4160         elmo-imap4-session-select-mailbox.
4161
4162         * elmo.el (elmo-folder-move-messages): Don't display any message.
4163
4164         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4165         parsing.
4166         (elmo-imap4-session-check): Don't wait CHECK response.
4167         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4168
4169 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4170
4171         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4172
4173 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4174
4175         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4176         API.
4177         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4178
4179
4180         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4181         (elmo-folder-list-message-entities): Added argument in-msgdb and
4182         numbers.
4183         (elmo-folder-synchronize): Define as a method.
4184
4185         * elmo-nntp.el (elmo-folder-initialize): Don't use
4186         elmo-nntp-default-user if zero-length username is specified
4187         explicitly.
4188
4189 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4190
4191         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4192         server name in case with username.
4193         (XXX: this is ad-hoc fix against username includes "@", it
4194         should be solved fundamentally)
4195
4196 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4197
4198         * elmo-nntp.el (elmo-nntp-debug): New function.
4199         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4200         (elmo-network-authenticate-session): Hide auth-info from the log.
4201
4202         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4203         user name if it is equal to elmo-nntp-default-user.
4204
4205 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4206
4207         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4208         instead of shimbun-server-internal;
4209         Use shimbun-current-group instead of shimbun-current-group-internal.
4210         (elmo-folder-plugged-p): Use shimbun-server instead of
4211         shimbun-server-internal.
4212         (elmo-folder-set-plugged): Ditto.
4213         (elmo-net-port-info): Ditto.
4214         (elmo-folder-check): Ditto.
4215         (elmo-folder-expand-msgdb-path): Ditto.
4216         (elmo-folder-list-subfolders): Ditto.
4217
4218 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4219
4220         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4221         Convert field-name to lower case.
4222         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4223
4224 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4225
4226         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4227         `message' and `error' take format string.
4228
4229 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4230
4231         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4232
4233 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4234
4235         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4236         recursive call (can't byte compile on emacs 20.7).
4237
4238 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4239
4240         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4241         (elmo-folder-list-message-entities): New API.
4242         (elmo-message-entity): Ditto.
4243         (elmo-message-entity-parent): Ditto.
4244         (elmo-folder-do-each-message-entity): Ditto.
4245         (elmo-message-entity-number): Ditto.
4246         (elmo-message-entity-field): Ditto.
4247         (elmo-message-entity-set-field): Ditto.
4248         (elmo-folder-count-flags): Ditto.
4249         (elmo-folder-length): Ditto.
4250
4251         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4252         not.
4253
4254         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4255         (elmo-msgdb-count-marks): Abolish.
4256         (elmo-msgdb-make-entity): Ditto.
4257         (elmo-msgdb-do-each-entity): Ditto.
4258         (elmo-msgdb-message-entity): New inline function.
4259         (elmo-msgdb-message-entity-field): Ditto.
4260         (elmo-msgdb-message-entity-set-field): Ditto.
4261         (elmo-msgdb-make-message-entity): New function.
4262
4263 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4264
4265         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4266         to flag. (All other related portions are changed.)
4267         (elmo-folder-msgdb-create): Likewise.
4268         (elmo-generic-folder-append-messages): Use flag-table instead of
4269         seen-list.
4270         (elmo-folder-move-messages): Removed redundant process.
4271         (elmo-folder-synchronize): Likewise.
4272
4273         * elmo-msgdb.el (elmo-flag-table-get): New function.
4274         (elmo-flag-table-save): Fixed.
4275         (elmo-msgdb-length): New inline function.
4276         (elmo-msgdb-flag-table): New function.
4277         (elmo-msgdb-mark): Add optional argument new.
4278         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4279         (elmo-msgdb-seen-list): Ditto.
4280         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4281
4282
4283 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4284
4285         * elmo.el (elmo-message-set-mark): Abolish.
4286         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4287         (All related portions are changed.)
4288
4289         * elmo-msgdb.el (toplevel): Added comment.
4290         (elmo-load-msgdb): Added 4th element `path'.
4291         (elmo-msgdb-append): Follow the change above.
4292         (elmo-msgdb-clear): Ditto.
4293         (elmo-msgdb-delete-msgs): Ditto.
4294         (elmo-msgdb-get-path): New inline function.
4295         (elmo-msgdb-set-path): Ditto.
4296         (elmo-flag-table-filename): New variable.
4297         (elmo-flag-table-load): New function.
4298         (elmo-flag-table-set): Ditto.
4299         (elmo-flag-table-save): Ditto.
4300         (elmo-msgdb-get-field-value): Abolish.
4301         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4302
4303 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4304
4305         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4306         the folder has been deleted successfully.
4307         * elmo-imap4.el (elmo-folder-delete): Ditto.
4308         * elmo-archive.el (elmo-folder-delete): Ditto.
4309         * elmo-localdir.el (elmo-folder-delete): Ditto.
4310         * elmo-maildir.el (elmo-folder-delete): Ditto.
4311
4312 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4313
4314         * elmo-util.el (elmo-string-member-ignore-case): New function.
4315         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4316         (elmo-imap4-fetch-callback-1-subr): Likewise.
4317
4318 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4319
4320         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4321         the case of the name attribute "\Noselect".
4322
4323 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4324
4325         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4326
4327         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4328         flist, is not always a member of onum-alist.
4329
4330 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4331
4332         * elmo-version.el (elmo-version): Up to 2.11.3.
4333
4334 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4335
4336         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4337         copied from localdir's one.
4338
4339         * elmo-pipe.el (elmo-folder-rename): New method, rename
4340         destination folder with leaving source folder as it is.
4341
4342 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4343
4344         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4345         replace-regexp.
4346
4347 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4348
4349         * elmo-version.el (elmo-version): Up to 2.11.2.
4350
4351 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4352
4353         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4354         shimbun-open in case of "@".
4355         (elmo-folder-open-internal): Cope with shimbun = nil case.
4356         (elmo-folder-plugged-p): Ditto.
4357         (elmo-folder-list-subfolders): Make list for "@/" group.
4358
4359 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4360
4361         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4362         mailbox (e.g. for %~/something).
4363
4364 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4365
4366         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4367         Replace nested conditional with guard clauses.
4368
4369 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4370
4371         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4372         error [wl:11327].
4373
4374         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4375         print-depth.
4376
4377 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4378
4379         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4380         Replace nested conditional with guard clauses.
4381
4382 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4383
4384         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4385         (elmo-passwd-alist-save): Ditto.
4386         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4387
4388 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4389
4390         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4391         dir-name only if it is absolute path.
4392         (TODO: distinguish +/something and +something)
4393
4394 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4395
4396         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4397         path for "+~/something".
4398
4399 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4400
4401         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4402         as non-directory, cause error before rename-file.
4403         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4404         apropriately, mimic localdir's one.
4405         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4406
4407 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4408
4409         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4410
4411 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4412
4413         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4414
4415         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4416         
4417         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4418         is included in the global-mark or not.
4419
4420 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4421
4422         * utf7.el (toplevel): Avoid error when the function
4423         find-coding-system does not exist.
4424
4425 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4426
4427         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4428         cache even if the folder is plugged.
4429         (elmo-nntp-search-primitive): Do nothing when body search is
4430         invoked (although it is not used by the change above).
4431         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4432
4433 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4434
4435         * elmo-version.el (elmo-version): Up to 2.11.1.
4436
4437 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4438
4439         * elmo-archive.el: Specify charset.
4440
4441 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4442
4443         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4444         process buffer lives or not.
4445
4446         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4447         while flushing queues (It causes infinite loop).
4448
4449 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4450
4451         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4452
4453 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4454
4455         * utf7.el (toplevel): Check the ucs features dynamically.
4456         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4457
4458         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4459         folder is creatabe or not if it already exists.
4460
4461 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4462
4463         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4464
4465         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4466
4467         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4468         (elmo-imap4-read-response): Take care of garbage response.
4469
4470 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4471
4472         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4473         just return nil instead of error.
4474
4475 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4476
4477         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4478         search-key is "body".
4479
4480 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4481
4482         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4483         of elmo-string-matched-assoc to use match-data.
4484         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4485
4486 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4487
4488         * elmo-split.el (elmo-split->): New function.
4489         (elmo-split-<): Ditto.
4490
4491 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4492
4493         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4494         workaround for invalid message-id.
4495
4496 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4497
4498         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4499         return normal pop3 session or pop3 biff session.
4500
4501 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4502
4503         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4504         info part to the cur files when the new files already have it.
4505         (Adviced by Jared Rhine <jared@wordzoo.com>)
4506
4507 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4508
4509         * elmo-split.el (elmo-split-default-action): New variable.
4510         (elmo-split-subr): Use it if all other conditions are passed.
4511         Extend `fname' and rename it as `action'. (implemented
4512         Teranishi-san's idea in [wl:10800])
4513
4514 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4515
4516         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4517         * elmo-util.el: Ditto.
4518
4519 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4520
4521         * elmo.el (elmo-message-accessible-p): Renamed from
4522         elmo-message-cached-p and rewritten.
4523
4524 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4525
4526         * elmo.el (elmo-folder-list-flagged): New generic function.
4527         (elmo-folder-list-importants): New implementation.
4528         (elmo-folder-list-answereds): Ditto.
4529         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4530         Added 'digest'.
4531         (elmo-message-cached-p): New function.
4532         (elmo-message-set-flag): Ditto (no content).
4533         (elmo-message-unset-flag): Ditto.
4534         (elmo-folder-list-messages-mark-match): Abolish.
4535
4536         * elmo-util.el (elmo-regexp-opt): New function.
4537
4538         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4539         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4540         Added 'digest'.
4541         (elmo-msgdb-list-flagged): New function.
4542
4543         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4544         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4545         Added 'digest'.
4546
4547         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4548
4549 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4550
4551         * elmo-version.el (elmo-version): Up to 2.11.0.
4552
4553 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4554
4555         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4556         `elmo-file-cache-exists-p'; use proper mark that depends on
4557         `use-cache'.
4558         (elmo-msgdb-unset-flag): Ditto.
4559         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4560
4561         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4562         with 4th argument `use-cache'.
4563
4564 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4565
4566         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4567         (elmo-folder-mark-as-important): Ditto.
4568         (elmo-folder-unmark-read): Ditto.
4569         (elmo-folder-mark-as-read): Ditto.
4570         (elmo-folder-unmark-answered): Ditto.
4571         (elmo-folder-mark-as-answered): Ditto.
4572
4573         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4574         message status.
4575         (elmo-msgdb-mark): Likewise.
4576         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4577         (elmo-msgdb-unset-flag): Likewise.
4578
4579         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4580
4581 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4582
4583         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4584         `last:' filter.
4585
4586 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4587
4588         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4589         set spool-length to 0.
4590
4591 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4592
4593         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4594         (elmo-dop-queue-flush): Fixed last change.
4595
4596 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4597
4598         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4599         if require-msgdb slot is nil.
4600         (elmo-folder-list-importants): Likewise.
4601
4602 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4603
4604         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4605         mark is changed.
4606
4607         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4608         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4609         is changed.
4610
4611 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4612
4613         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4614
4615 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4616
4617         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4618
4619         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4620
4621 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4622
4623         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4624         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4625
4626 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4627
4628         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4629         the problem reported by Sean Rima [wl-en:180].
4630
4631 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4632
4633         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4634
4635         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4636
4637         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4638
4639         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4640
4641         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4642
4643         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4644
4645         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4646
4647 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4648
4649         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4650         status number.
4651
4652 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4653
4654         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4655         (elmo-folder-mark-as-read): Follow the API change.
4656         (elmo-message-set-cached): New function.
4657
4658         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4659
4660         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4661
4662         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4663         (elmo-folder-mark-as-important): Ditto.
4664         (elmo-folder-unmark-read): Ditto.
4665         (elmo-folder-mark-as-read): Ditto.
4666         (elmo-folder-unmark-answered): Ditto.
4667         (elmo-folder-mark-as-answered): Ditto.
4668
4669         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4670         (elmo-folder-unmark-important): Ditto.
4671         (elmo-folder-mark-as-read): Ditto.
4672         (elmo-folder-unmark-read): Ditto.
4673         (elmo-folder-mark-as-answered): Ditto.
4674         (elmo-folder-unmark-answered): Ditto.
4675
4676         * elmo-mark.el (toplevel): Removed some mark method definitions.
4677
4678         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4679         (elmo-map-folder-mark-as-answered): Ditto.
4680         (elmo-folder-unmark-important): Add :before qualifier.
4681         (elmo-folder-mark-as-important): Ditto.
4682         (elmo-folder-unmark-read): Ditto.
4683         (elmo-folder-mark-as-read): Ditto.
4684         (elmo-folder-unmark-answered): Define.
4685         (elmo-folder-mark-as-answered): Ditto.
4686
4687         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4688         (elmo-map-folder-unmark-answered): Ditto.
4689
4690         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4691
4692         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4693         (elmo-folder-mark-as-important): Ditto.
4694         (elmo-folder-unmark-read): Ditto.
4695         (elmo-folder-mark-as-read): Ditto.
4696         (elmo-folder-unmark-answered): Ditto.
4697         (elmo-folder-mark-as-answered): Ditto.
4698
4699         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4700         `mark'; evaluate mark condition.
4701         (elmo-msgdb-match-condition-internal): New function.
4702         (elmo-msgdb-match-condition): Call it; changed argument.
4703
4704         * elmo.el (elmo-folder-search): Follow the API change on
4705         `elmo-msgdb-match-condition'.
4706
4707 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4708
4709         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4710         original mark is non-nil.
4711
4712 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4713
4714         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4715         (elmo-map-folder-list-answereds): New method.
4716         (elmo-folder-list-unreads): Add :around qualifier.
4717         (elmo-folder-list-importants): Ditto.
4718         (elmo-folder-list-answereds): Ditto.
4719
4720 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4721
4722         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4723
4724         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4725         method if msgdb is not required.
4726         (elmo-filter-folder-list-importants): Don't treat global-mark.
4727
4728         * elmo.el (elmo-folder-list-importants): Ditto.
4729
4730         * elmo-net.el (elmo-folder-list-importants): Ditto.
4731
4732         * elmo-map.el (elmo-folder-list-importants): Ditto.
4733
4734         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4735
4736         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4737         (elmo-imap4-folder-list-any-plugged): New function.
4738         (elmo-imap4-search-internal-primitive): Use it.
4739
4740         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4741         only when require-msgdb slot is non-nil.
4742         (elmo-folder-close): Clear target folder's msgdb.
4743
4744 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4745
4746         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4747         (elmo-pop3-msgdb-create-by-header): Ditto.
4748         (elmo-pop3-msgdb-create-message): Ditto.
4749
4750         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4751
4752         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4753
4754         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4755
4756         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4757         (elmo-folder-msgdb-create): Ditto.
4758         (elmo-nntp-folder-msgdb-create): Ditto.
4759         (elmo-nntp-msgdb-create-by-header): Ditto.
4760         (elmo-nntp-msgdb-create-message): Ditto.
4761         (elmo-folder-list-unreads): Define.
4762
4763         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4764         (elmo-folder-append-messages): Ditto.
4765         (elmo-folder-list-unreads): Define.
4766         (elmo-folder-list-importants): Ditto.
4767         (elmo-folder-list-answereds): Ditto.
4768
4769         * elmo-net.el (elmo-folder-list-unreads): Define.
4770         (elmo-folder-list-importants): Ditto.
4771         (elmo-folder-list-answereds): Ditto.
4772         (elmo-folder-list-answereds-plugged): Ditto.
4773         (elmo-folder-msgdb-create): Follow the API change.
4774         (elmo-folder-msgdb-create-unplugged): Ditto.
4775         (elmo-folder-unmark-answered): Define.
4776         (elmo-folder-mark-as-answered-unplugged): Ditto.
4777         (elmo-folder-unmark-answered-unplugged): Ditto.
4778
4779         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4780         (elmo-msgdb-unread-uncached-mark): Ditto.
4781         (elmo-msgdb-unread-cached-mark): Ditto.
4782         (elmo-msgdb-read-uncached-mark): Ditto.
4783         (elmo-msgdb-answered-cached-mark): Ditto.
4784         (elmo-msgdb-answered-uncached-mark): Ditto.
4785         (elmo-msgdb-important-mark): Ditto.
4786         (elmo-msgdb-set-mark): Rewrite.
4787         (elmo-msgdb-count-marks): Rewrite.
4788         (elmo-msgdb-mark-alist-set): Abolish.
4789         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4790         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4791
4792         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4793         (elmo-folder-close): Define.
4794         (elmo-folder-msgdb-create): Follow the API change.
4795         (elmo-folder-list-unreads): Rewrite.
4796         (elmo-folder-mark-as-important): Ditto.
4797         (elmo-folder-unmark-important): Ditto.
4798         (elmo-folder-mark-as-read): Ditto.
4799         (elmo-folder-unmark-read): Ditto.
4800         (elmo-folder-mark-as-answered): Define.
4801         (elmo-folder-unmark-answered): Ditto.
4802
4803         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4804         (elmo-folder-append-messages): Ditto.
4805
4806         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4807
4808         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4809         (elmo-folder-list-importants): Ditto.
4810
4811         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4812         (elmo-folder-append-messages): Ditto.
4813
4814         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4815         change.
4816         (elmo-folder-msgdb-create-plugged): Ditto.
4817         (elmo-folder-append-messages): Ditto.
4818         (elmo-folder-list-answereds-plugged): Define.
4819         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4820         (elmo-folder-unmark-answered-plugged): Define.
4821         (elmo-folder-mark-as-answered-plugged): Ditto.
4822         (elmo-folder-search-requires-msgdb-p): Ditto.
4823
4824         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4825         (elmo-folder-initialize): Set it.
4826         (elmo-folder-msgdb): Define.
4827         (elmo-folder-check): Call elmo-folder-synchronize.
4828         (elmo-folder-close): Define.
4829         (elmo-folder-commit): Ditto.
4830         (elmo-folder-msgdb-create): Rewrite.
4831         (elmo-folder-list-unreads): Ditto.
4832         (elmo-folder-list-importants): Ditto.
4833         (elmo-folder-mark-as-read): Ditto.
4834         (elmo-folder-unmark-read): Ditto.
4835         (elmo-folder-mark-as-important): Ditto.
4836         (elmo-folder-unmark-important): Ditto.
4837         (elmo-folder-mark-as-answered): Define.
4838         (elmo-folder-unmark-answered): Ditto.
4839
4840         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4841         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4842         (elmo-dop-queue-method-name-alist): Likewise.
4843         (elmo-folder-mark-as-answered-dop): New inline function.
4844         (elmo-folder-unmark-answered-dop): Ditto.
4845         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4846
4847         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4848         (elmo-folder-msgdb-create): Ditto.
4849         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4850         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4851         (elmo-archive-parse-mmdf): Ditto.
4852
4853         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4854         (elmo-folder-list-unreads-internal): Ditto.
4855
4856         * elmo.el (elmo-folder-msgdb): Define as generic function.
4857         (elmo-folder-list-messages): Added argument `in-msgdb'.
4858         (elmo-folder-list-unreads): Define as generic function.
4859         (elmo-folder-list-importants): Ditto.
4860         (elmo-folder-list-answereds): Ditto.
4861         (elmo-folder-list-messages-with-global-mark): New function.
4862         (elmo-folder-msgdb-create): Removed mark arguments.
4863         (elmo-folder-unmark-answered): New generic function.
4864         (elmo-folder-mark-as-answered): Ditto.
4865         (elmo-folder-append-messages): Removed argunment `unread-marks'
4866         (elmo-folder-list-unreads-internal): Abolish.
4867         (elmo-folder-list-importants-internal): Ditto.
4868         (elmo-folder-search-requires-msgdb-p): New generic function.
4869         (elmo-folder-search-requires-msgdb-p-internal): New function.
4870         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4871         elmo-msgdb-load.
4872         (elmo-folder-search-fast): Added key 'mark'.
4873         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4874         instead of unread-marks argument.
4875         (elmo-folder-move-messages): Removed argunment `unread-marks'
4876         (elmo-folder-unmark-important): Define.
4877         (elmo-folder-mark-as-important): Ditto.
4878         (elmo-folder-unmark-read): Ditto.
4879         (elmo-folder-mark-as-read): Ditto.
4880         (elmo-folder-unmark-answered): Ditto.
4881         (elmo-folder-mark-as-answered): Ditto.
4882         (elmo-folder-replace-marks): Abolish.
4883         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4884         duplicates.
4885         (elmo-folder-synchronize): Removed mark arguments;
4886         return crosspost only number.
4887
4888 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4889
4890         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4891         Remove redundunt connectivity check.
4892
4893 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4894
4895         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4896         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4897
4898 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4899
4900         * pldap.el (ldap-decode-string): Return string as-is if
4901         `ldap-coding-system' is nil.
4902         (ldap-encode-string): Ditto.
4903         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4904         (ldap-default-host): Fixed docstring.
4905
4906 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4907
4908         * elmo-util.el (elmo-warning): Define as a macro which uses
4909         `display-warning' if it is defined as a function.
4910
4911         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4912         (elmo-split-equal): Use it.
4913         (elmo-split-match): Ditto.
4914         (elmo-split-message-entity): New buffer-local variable.
4915         (elmo-split-subr): Set it.
4916
4917         * elmo-version.el (elmo-version): Up to 2.9.15.
4918
4919 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4920
4921         * elmo-imap4.el (elmo-network-initialize-session):
4922         Check capability after starttls.
4923
4924 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4925
4926         * elmo-util.el (elmo-list-delete): Added optional argument
4927         DELETE-FUNCTION.
4928
4929         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4930
4931         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4932
4933         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4934
4935         * elmo-imap4.el (elmo-folder-initialize): Don't use
4936         elmo-imap4-default-mailbox.
4937
4938 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4939
4940         * elmo-split.el (toplevel): Use `product-provide'.
4941         (elmo-split): Checkdoc.
4942
4943 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
4944
4945         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4946         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4947         the function `elmo-imap4-debug-1'.
4948
4949 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4950
4951         * elmo-split.el (elmo-split): Moved to run hooks and to show
4952         message from elmo-split-subr.
4953         (elmo-split-subr): Follow the change above.
4954
4955         * elmo-split.el (elmo-split-subr): New function (renamed from
4956         elmo-split-subr).
4957         (elmo-split): Changed to call elmo-split-subr by element of
4958         elmo-split-folder.
4959         (elmo-split-folder): Changed customization type to choice.
4960
4961 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4962
4963         * elmo-split.el (elmo-split-and): Fixed condition.
4964
4965 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4966
4967         * elmo-split.el: New file.
4968         (elmo-split): Fixed logic.
4969         Display "Test:" instead of "Folder:" when reharsal.
4970
4971         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4972         explicitly.
4973
4974         * elmo-version.el (elmo-version): Up to 2.9.14.
4975
4976         * elmo-util.el (elmo-expand-newtext): New function (renamed from
4977         wl-expand-newtext).
4978
4979 2002-06-10  Kenichi Sato <ksato@sonycom.com>
4980
4981         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4982         message with no message-id field.
4983
4984 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
4985
4986         * elmo-version.el (elmo-version): Up to 2.9.13.
4987
4988         * elmo-dop.el (elmo-folder-status-dop): Fix.
4989
4990 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
4991
4992         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4993
4994         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4995         changing default value of default-mime-charset.
4996         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4997
4998         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4999
5000         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5001         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5002         instead of elmo-dop-queue-method-name-alist to check merging queue.
5003         (elmo-folder-delete-messages-dop): Delete from queue if negative
5004         message number.
5005         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5006         file is already removed.
5007
5008 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5009
5010         * elmo-vars.el: Bind colon keywords for old Emacsen.
5011
5012 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5013
5014         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5015         against non-exsisting charset.
5016
5017 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5018
5019         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5020         Use eword-decode-and-unfold-unstructured-field-body.
5021
5022         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5023         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5024         exists to decode raw subject string.
5025         (toplevel): Require 'mime.
5026
5027         * elmo-version.el (elmo-version): Up to 2.9.12.
5028
5029 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5030
5031         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5032         (elmo-msgdb-set-mark): Ditto.
5033
5034         * elmo-version.el (elmo-version): Up to 2.9.11.
5035
5036 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5037
5038         * elmo-util.el (elmo-delete-match-files): New function.
5039
5040         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5041         instead of elmo-delete-directory.
5042
5043         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5044         elmo-hash-minimun-size as 63.
5045
5046         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5047         elmo-diff-unread is nil.
5048
5049         * elmo-imap4.el (elmo-folder-open): Fix.
5050
5051         * elmo.el (elmo-message-mark): Rewrite.
5052         (elmo-message-field): Ditto.
5053         (elmo-message-set-mark): Ditto.
5054         (elmo-folder-replace-marks): New function.
5055         (elmo-generic-folder-append-msgdb): Removed third argument for
5056         elmo-msgdb-append.
5057         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5058         (elmo-msgdb-load): New implementation.
5059
5060         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5061
5062         * elmo-util.el (elmo-list-insert): New implementation.
5063
5064         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5065         argument for elmo-msgdb-append.
5066         
5067
5068         * elmo-msgdb.el (elmo-load-msgdb): New function.
5069         (elmo-make-msgdb): Ditto.
5070         (elmo-msgdb-get-index): New inline function.
5071         (elmo-msgdb-set-index): Ditto.
5072         (elmo-msgdb-get-entity-hashtb): Ditto.
5073         (elmo-msgdb-get-mark-hashtb): Ditto.
5074         (elmo-msgdb-get-mark): Ditto.
5075         (elmo-msgdb-set-mark): Ditto.
5076         (elmo-msgdb-count-marks): Ditto.
5077         (elmo-msgdb-get-number): Ditto.
5078         (elmo-msgdb-get-field): Ditto.
5079         (elmo-msgdb-seen-list): Ditto.
5080         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5081         (elmo-msgdb-delete-msgs): Follow the changes above.
5082         (elmo-msgdb-overview-get-entity): Ditto.
5083         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5084         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5085         and rewritten.
5086         (elmo-msgdb-make-index): Likewise.
5087         (elmo-msgdb-append): Removed third argument.
5088         (elmo-msgdb-clear): Clear index as nil.
5089         (elmo-folder-set-info-hashtb): Removed.
5090         (elmo-folder-set-info-max-by-numdb): Ditto.
5091         (elmo-folder-info-make-hashtb): Ditto.
5092
5093         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5094
5095         * elmo-map.el (elmo-folder-pack-number): Ditto.
5096
5097 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5098
5099         * elmo-version.el (elmo-version): Up to 2.9.10.
5100
5101         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5102
5103         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5104
5105 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5106
5107         * elmo-utils.el (elmo-make-directory): Add option.
5108         Default file mode is 700.
5109
5110 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5111
5112         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5113
5114 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5115
5116         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5117         mime-charset.
5118
5119         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5120         and "smaller".
5121
5122 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5123
5124         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5125         (elmo-shimbun-folder-entity-hash): New function.
5126         (elmo-shimbun-folder-shimbun-header): Ditto.
5127         (elmo-shimbun-entity-to-header): Ditto.
5128         (elmo-shimbun-msgdb-to-headers): Removed.
5129         (elmo-shimbun-folder-setup): Ditto.
5130         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5131         for hash key.
5132         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5133         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5134         Removed useless local bind.
5135         (elmo-folder-open-internal): Don't call
5136         `elmo-shimbun-folder-setup'.
5137         (elmo-folder-close-internal): Clear entity-hash slot.
5138         (elmo-folder-clear): Ditto.
5139         (elmo-shimbun-msgdb-create-entity): Use
5140         `elmo-shimbun-folder-shimbun-header'.
5141         (elmo-map-message-fetch): Ditto.
5142         (elmo-shimbun-update-overview): Use overview entity instead of
5143         shimbun header to lookup id by references.
5144         (elmo-map-folder-list-message-locations): Use not only headers but
5145         also overviews to list locations.
5146
5147 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5148
5149         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5150         msgdb path.
5151
5152         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5153
5154 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5155
5156         * elmo-util.el (elmo-read-search-condition-internal): Give default
5157         value for date.
5158
5159 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5160
5161         * elmo-util.el (elmo-condition-parse-search-value): Accept
5162         YYYY-MM-DD format to search.
5163         * elmo-date.el (elmo-date-get-datevec): Likewise.
5164
5165 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5166
5167         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5168         debugging code.
5169
5170 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5171
5172         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5173         from t.
5174
5175         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5176
5177         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5178         case from `elmo-folder-exists-p'.
5179         (elmo-folder-exists-p): Removed.
5180         (elmo-folder-creatable-p) Ditto.
5181
5182         * elmo-net.el (elmo-folder-create): Defined.
5183         (elmo-folder-create-unplugged): New function.
5184         (elmo-folder-exists-p): Changed default value to nil from t.
5185
5186         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5187         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5188
5189         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5190         `elmo-create-folder-dop' and append queue
5191         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5192         (elmo-folder-create-dop-delayed): New function.
5193
5194         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5195
5196         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5197
5198         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5199         (elmo-folder-writable-p) : Ditto.
5200
5201         * elmo-version.el (elmo-version): Up to 2.9.9.
5202
5203 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5204
5205         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5206         `elmo-message-use-cache-p' returns nil.
5207         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5208         (ignore cache file and refer the substance in local folders)
5209
5210 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5211
5212         * elmo-version.el (elmo-version): Up to 2.9.8.
5213
5214 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5215
5216         * elmo-version.el (elmo-version): Up to 2.9.7.
5217
5218         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5219
5220 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5221
5222         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5223
5224 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5225
5226         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5227         from --early.
5228         (elmo-map-folder-list-message-locations): Reverse location list.
5229
5230 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5231
5232         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5233
5234 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5235
5236         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5237         as a key.
5238         (elmo-nntp-folder-list-subfolders): Follow the change above.
5239
5240 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5241
5242         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5243         name if authentication type is specified.
5244
5245 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5246
5247         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5248         variable.
5249         (elmo-default-nntp-stream-type): Ditto.
5250         (elmo-default-pop3-stream-type): Ditto.
5251
5252 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5253
5254         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5255
5256 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5257
5258         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5259         elmo-vars.el.
5260         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5261
5262         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5263         (elmo-maildir-folder-path): Ditto.
5264         (elmo-maildir-list): Ditto (abolished).
5265
5266 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5267
5268         * elmo-version.el (elmo-version): Up to 2.9.6.
5269
5270 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5271
5272         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5273         (elmo-maildir-folder-path): Ditto.
5274         (elmo-msgdb-directory): Ditto.
5275         (elmo-passwd-life-time): Ditto.
5276         (elmo-msgdb-extra-fields): Ditto.
5277         (elmo-enable-disconnected-operation): Ditto.
5278
5279 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5280
5281         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5282         other choices.
5283         (elmo-pop3-default-authenticate-type): Ditto.
5284
5285 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5286
5287         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5288         choices for custom.
5289         (elmo-pop3-default-authenticate-type): Ditto.
5290
5291 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5292
5293         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5294         mailbox to new-folder.
5295
5296 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5297
5298         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5299         less than new, set new as unread.
5300
5301         * elmo-util.el (elmo-string): Don't put text-property if nil.
5302
5303 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5304
5305         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5306         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5307
5308 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5309
5310         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5311         is nil on `completing-read'.
5312
5313 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5314
5315         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5316         for namespace part.
5317         (elmo-imap4-parse-namespace-subr): Ditto.
5318         (elmo-folder-list-subfolders): Append a delimiter when the specified
5319         folder path is a root with namespace and does not end with delimiter.
5320
5321 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5322
5323         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5324         was used.
5325
5326 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5327
5328         * elmo-util.el (elmo-save-buffer): The first argument of message
5329         is a format control string.
5330
5331 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5332
5333         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5334         `elmo-folder-diff').
5335         (elmo-diff-unread): Likewise.
5336
5337 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5338
5339         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5340         is t on `completing-read'.
5341
5342 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5343
5344         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5345         method of target folder with self mark-alist if MARK-ALIST is nil.
5346
5347 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5348
5349         * elmo-version.el (elmo-version): Up to 2.9.5.
5350
5351 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5352
5353         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5354         (elmo-dop-merge-funcs): Remove.
5355
5356 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5357
5358         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5359         Return t if PATH is directory, too.
5360         Use `dolist' instead of while loop.
5361
5362 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5363
5364         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5365         is deleted.
5366
5367 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5368
5369         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5370         return value to t.
5371         (elmo-folder-list-messages-unplugged): Return t if
5372         elmo-enable-disconnected-operation is nil.
5373
5374         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5375         `elmo-folder-list-messages-internal'.
5376
5377 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5378
5379         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5380         Change to looking-at `[23][0-9]+'.
5381         (elmo-network-initialize-session): Use 'error-msg'
5382         * elmo-net.el (elmo-network-open-session): Set unplugged
5383         if elmo-network-initialize-session returns 'elmo-open-err.
5384
5385 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5386
5387         * elmo-version.el (elmo-version): Up to 2.9.4.
5388
5389 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5390
5391         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5392         `elmo-folder-list-messages-internal'.
5393
5394 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5395
5396         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5397         (elmo-message-match-condition): New method.
5398         (elmo-folder-search-fast): New inline function.
5399         (elmo-msgdb-search): Removed.
5400
5401         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5402         target folder if it is unplugged.
5403         (elmo-folder-list-messages-internal): Return t if target folder is
5404         unplugged and itself is persistent; In this case, use list be
5405         searched already.
5406
5407         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5408         (elmo-msgdb-search-internal-primitive): Ditto.
5409         (elmo-msgdb-match-condition): New function.
5410         (elmo-msgdb-match-condition-primitive): Ditto.
5411
5412         * elmo-util.el (elmo-filter-condition-p): New macro.
5413
5414         * elmo-cache.el (elmo-folder-search): Removed.
5415
5416         * elmo-localdir.el (elmo-folder-search): Ditto.
5417
5418         * elmo-maildir.el (elmo-folder-search): Ditto.
5419
5420         * elmo-mark.el (elmo-folder-search): Ditto.
5421
5422         * elmo-nmz.el (elmo-folder-search): Ditto.
5423
5424         * elmo-sendlog.el (elmo-folder-search): Ditto.
5425
5426         * elmo-shimbun.el (elmo-folder-search): Ditto.
5427
5428         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5429         if folder is unplugged.
5430
5431         * elmo-nntp.el (elmo-folder-search): Likewise.
5432         (elmo-nntp-search-internal): New function.
5433
5434         * elmo-version.el (elmo-version): Up to 2.9.3.
5435
5436 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5437
5438         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5439
5440 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5441
5442         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5443
5444 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5445
5446         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5447
5448 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5449
5450         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5451         (elmo-map-folder-list-message-locations): Do drive letter conversion
5452         on Windows environment.
5453         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5454         (elmo-map-message-fetch): Ditto.
5455
5456 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5457
5458         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5459         (elmo-network-initialize-session): Ditto.
5460
5461 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5462
5463         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5464
5465         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5466
5467         * elmo-util.el (elmo-progress-clear): Ditto.
5468
5469         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5470         `DD-Mon-YYYY' type date.
5471
5472 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5473
5474         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5475         `elmo-date-make-sortable-string' instead of
5476         `timezone-make-date-sortable'.
5477
5478         * elmo-date.el (elmo-date-make-sortable-string): Use
5479         `timezone-make-time-string'.
5480
5481 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5482
5483         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5484
5485         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5486         `since'; Fix timezone.
5487
5488         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5489
5490         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5491
5492 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5493
5494         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5495
5496 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5497
5498         * elmo.el (elmo-generic-folder-append-messages): Make
5499         fetch-strategy with `use-cache' as 'maybe. Check return value of
5500         `elmo-message-fetch'.
5501         (elmo-message-fetch): Return return value of
5502         `elmo-message-fetch-with-cache-process'.
5503         (elmo-message-fetch-with-cache-process): Return non-nil if
5504         fetching was succeed. Load cache when fetching was failed and
5505         fetch-strategy-use-cache is 'maybe.
5506
5507         * elmo-util.el (elmo-file-cache-load): New function.
5508
5509         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5510         defun.
5511
5512         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5513         non-nil if fetching was succeed.
5514
5515         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5516
5517         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5518
5519         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5520         (elmo-message-fetch-with-cache-process): Likwise.
5521
5522         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5523
5524         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5525
5526         * elmo-version.el (elmo-version): Up to 2.9.2.
5527
5528 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5529
5530         * elmo.el (elmo-folder-delete): Delete msgdb path.
5531
5532         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5533
5534         * elmo-maildir.el (elmo-folder-delete): Ditto.
5535
5536         * elmo-localdir.el (elmo-folder-delete): Ditto.
5537
5538         * elmo-imap4.el (elmo-folder-delete): Ditto.
5539
5540 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5541
5542         * elmo.el (luna-define-class): Added `biff' slot.
5543
5544         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5545         (elmo-pop3-debug-inhibit-logging): Abolished.
5546         (elmo-network-close-session): Eliminated needless let.
5547         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5548         (elmo-pop3-send-command): Added `no-log' argument.
5549         (elmo-pop3-process-filter): Use `with-current-buffer'.
5550         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5551         if login failure.
5552         (elmo-pop3-auth-apop): Likewise.
5553         (elmo-network-authenticate-session): Likewise.
5554
5555         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5556         if biff folder.
5557
5558         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5559         string to determine protocol.
5560         (elmo-network-session-name-prefix): Abolished.
5561         (elmo-network-session-cache-key): Follow the change above.
5562         (elmo-network-open-session): Ditto.
5563
5564         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5565         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5566
5567         * elmo-version.el (elmo-version): Up to 2.9.1.
5568
5569         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5570         unmatch condition checking.
5571
5572         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5573         condition.
5574
5575 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5576
5577         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5578
5579 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5580
5581         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5582         test for while loop to execute at least one SEARCH command.
5583
5584 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5585
5586         * elmo-version.el (elmo-version): Up to 2.9.0.
5587
5588 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5589
5590         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5591         (elmo-archive-folder-path): Define.
5592         (elmo-folder-initialize): Setup `dir-name' slot.
5593         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5594         Use `dir-name' as prefix of each subfolders.
5595         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5596
5597 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5598
5599         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5600         (elmo-pipe-folder-list-target-messages): New internal function.
5601         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5602         `killed-list'.
5603         (elmo-pipe-folder-copied-list-load): New function.
5604         (elmo-pipe-folder-copied-list-save): Ditto.
5605         (elmo-folder-open-internal): Follow the change above.
5606         (elmo-folder-status): Fixed for copy.
5607
5608 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5609
5610         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5611
5612 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5613
5614         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5615         elmo-copy-file instead of elmo-add-name-to-file.
5616
5617         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5618
5619         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5620         "file://..." index.
5621
5622         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5623         of accept-process-output as 1.
5624         (elmo-pop3-read-contents): Ditto.
5625         (elmo-pop3-read-body): Ditto.
5626
5627 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5628
5629         * elmo-version.el (product-version-as-string): Remove define.
5630
5631 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5632
5633         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5634         (elmo-imap4-copy-messages): Chop number set using
5635         `elmo-imap4-number-set-chop-length'.
5636         (elmo-imap4-set-flag): Ditto.
5637         (elmo-imap4-search-internal-primitive): Ditto.
5638
5639 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5640
5641         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5642         `elmo-folder-make-temp-dir'
5643
5644         * elmo-vars.el (elmo-cache-directory): New variable.
5645         (elmo-cache-dir): Abolished.
5646         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5647
5648         * elmo-version.el (elmo-version): Up to 2.7.7.
5649
5650 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5651
5652         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5653         defcustom; Set default value as t.
5654
5655 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5656
5657         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5658         (ldap-search-program-arguments): Changed default value.
5659         (ldap-search-basic): Accept exit status 4.
5660         (ldap/field-body): Parse options.
5661         (ldap/collect-field): Ditto.
5662         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5663
5664         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5665         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5666         (elmo-imap4-accept-ok): Ditto.
5667         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5668         'notify-bye, only BYE error is reported.
5669         (elmo-folder-exists-p-plugged): Set no-error argument of
5670         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5671
5672         * elmo.el (elmo-imap4-bye-error): Changed message.
5673
5674         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5675         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5676         queues (It causes infinite loop).
5677
5678 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5679
5680         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5681         (RECENT UNSEEN MESSAGES) extension.
5682
5683 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5684
5685         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5686         Check number of overview fields.
5687
5688 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5689
5690         * elmo.el (elmo-folder-confirm-appends): Changed message.
5691         (elmo-folder-confirm-appends): Ditto.
5692
5693         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5694         `with-temp-buffer'.
5695         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5696
5697 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5698
5699         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5700         of elmo-folder-update-threshold is nil, which can be set by
5701         wl-summary-update-confirm-threshold.
5702
5703 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5704
5705         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5706         (elmo-nmz-index-alias-alist): Ditto.
5707         (elmo-map-folder-list-message-locations): Follow the change above.
5708
5709 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5710
5711         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5712
5713         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5714
5715         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5716
5717         * elmo-util.el (elmo-read): Ditto.
5718         (elmo-display-error): Ditto.
5719
5720         * elmo-vars.el (elmo-date-match): Ditto.
5721
5722         * pldap.el (ldap-coding-system): Ditto.
5723
5724         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5725         `elmo-inhibit-number-mapping' as nil.
5726
5727 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5728
5729         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5730         space delimiter for list response.
5731
5732 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5733
5734         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5735
5736 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5737
5738         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5739         (elmo-map-message-fetch): Fix.
5740         * elmo-map.el (elmo-folder-status): Fix for killed.
5741
5742 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5743
5744         * elmo-sendlog.el: New file.
5745         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5746
5747 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5748
5749         * acap.el (acap-logging-out): New buffer local variable.
5750         (acap-close): Set it.
5751         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5752         an error.
5753
5754 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5755
5756         * acap.el (acap-response-bye-p): New function.
5757         (acap-response-bye-message): Ditto.
5758         (acap-wait-for-response): If bye response is received, cause an error.
5759         (acap-parse-response): Make bye response when 'Bye' is received.
5760
5761 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5762
5763         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5764
5765 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5766
5767         * elmo-util.el (elmo-copy-file): Added argument
5768         `ok-if-already-exists'.
5769         (elmo-copy-file): Fixed typo.
5770
5771 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5772
5773         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5774
5775 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5776
5777         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5778
5779 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5780
5781         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5782         to killed-list.
5783
5784 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5785
5786         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5787         (elmo-folder-initialize): Fix for `copy'.
5788         (elmo-pipe-drain): Ditto.
5789         (elmo-folder-open-internal): Ditto.
5790         (elmo-folder-newsgroups): Fix.
5791
5792 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5793
5794         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5795         for each message.
5796
5797         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5798         recent value is returned from imap folder.
5799
5800         * elmo.el (elmo-folder-newsgroups): New generic function.
5801
5802         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5803         (elmo-folder-initialize): Set it.
5804         (elmo-folder-expand-msgdb-path): Use it.
5805         (elmo-folder-newsgroups): Define.
5806
5807         * elmo-filter.el (elmo-folder-newsgroups): Define.
5808
5809         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5810
5811         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5812
5813         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5814
5815 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5816
5817         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5818         user option.
5819         (elmo-shimbun-header-extra-field): New inline function.
5820         (elmo-shimbun-header-set-extra-field): Ditto.
5821         (elmo-shimbun-folder-header-hash-setup): Ditto.
5822         (elmo-shimbun-update-overview): Ditto.
5823         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5824         (elmo-shimbun-folder-setup): Use
5825         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5826         (elmo-shimbun-get-headers): Ditto.
5827         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5828         Insert `X-Shimbun-Id:' header if extra field is set.
5829         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5830         field's value instead of `shimbun-header-id'.
5831
5832         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5833         inline function.
5834         (elmo-msgdb-overview-entity-set-date): Ditto.
5835         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5836
5837 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5838
5839         * mmimap.el (mmimap-entity-section): Changed body node number from
5840         "0" to "1".
5841
5842 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5843
5844         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5845         `elmo-folder-delete-messages'.
5846
5847         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5848         (elmo-folder-initialize): Changed to expand alias into index path.
5849
5850         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5851         `elmo-mime-insert-header-from-buffer' with 6th arg
5852         `sorted-fields'.
5853
5854 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5855
5856         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5857
5858         * elmo.el (elmo-diff-new): New inline function.
5859         (elmo-diff-unread): Ditto.
5860         (elmo-diff-all): Ditto.
5861
5862         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5863         value from responseb.
5864         (elmo-imap4-folder-diff-plugged): Ditto.
5865         (elmo-imap4-server-diff-async): Added recent argument.
5866         (elmo-server-diff-async): Ditto.
5867         (elmo-imap4-folder-diff-plugged): Ditto.
5868
5869         * elmo-version.el (elmo-version): Up to 2.7.6.
5870
5871 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5872
5873         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5874         in quoted-stirng.
5875
5876 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5877
5878         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5879
5880         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5881
5882         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5883
5884         * elmo-multi.el (elmo-folder-initialize): Ditto.
5885
5886         * elmo-util.el (elmo-parse-token): New function.
5887         (elmo-parse-prefixed-element): Ditto.
5888
5889 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5890
5891         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5892         delete process.
5893         (elmo-imap4-accept-ok): Ditto.
5894
5895 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5896
5897         * mmimap.el (mime-imap-entity-header-string): Don't check first
5898         element of node-id is `0' (Follow last change).
5899
5900 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5901
5902         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5903         assigned irregular node-id to nested multipart section.
5904         (initialize-instance): Followed above change.
5905
5906 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5907
5908         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5909         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5910         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5911         `elmo-shimbun-get-headers');
5912         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5913         visible article on summary exists in headers).
5914         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5915
5916 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5917
5918         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5919         definition.
5920
5921 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5922
5923         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5924
5925 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5926
5927         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5928         header separator into loop condition.
5929
5930 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5931
5932         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5933         Return duplicate folder if it has subfolder.
5934
5935 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5936
5937         * elmo.el (elmo-make-folder): Add folder name error check.
5938
5939         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5940         (elmo-nntp-encode-group-string): New inline function.
5941         (elmo-nntp-decode-group-string): Ditto.
5942         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5943         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5944         Use `not' instead of `null';
5945         Use elmo-nntp-decode-group-string.
5946
5947         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5948
5949         * elmo-version.el (elmo-version): Up to 2.7.5.
5950
5951 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5952
5953         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5954         Hide progress gauge if `elmo-folder-move-messages' exits
5955         nonlocally.
5956
5957 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5958
5959         * elmo-imap4.el (elmo-folder-initialize): Use
5960         `elmo-imap4-encode-folder-string' for folder name.
5961
5962 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5963
5964         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5965         `done'.
5966
5967 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5968
5969         * elmo-util.el (elmo-progress-counter-alist): New internal
5970         variable.
5971         (elmo-progress-counter-value): New macro.
5972         (elmo-progress-counter-all-value): Ditto.
5973         (elmo-progress-counter-format): Ditto.
5974         (elmo-progress-counter-set-value): Ditto.
5975         (elmo-progress-set): New function.
5976         (elmo-progress-clear): Ditto.
5977         (elmo-progress-notify): Ditto.
5978
5979         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5980         counter.
5981
5982         * elmo.el (elmo-generic-folder-append-messages): Call
5983         `elmo-progress-notify'.
5984         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5985
5986         * elmo-archive.el (elmo-folder-append-messages): Call
5987         `elmo-progress-notify'.
5988
5989         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5990
5991         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5992
5993         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5994
5995 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5996
5997         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5998         'Create'.
5999         (elmo-message-encache-dop): Added argument `read'.
6000
6001         * elmo-shimbun.el (elmo-message-encache): Ditto.
6002
6003         * elmo-net.el (elmo-message-encache): Ditto.
6004
6005         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6006         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6007         elmo-imap4-seen-messages.
6008         (elmo-folder-msgdb-create-plugged): Initialize
6009         elmo-imap4-seen-messages;
6010         Set seen mark on elmo-imap4-seen-messages.
6011
6012         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6013
6014         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6015         elmo-folder-append-buffer.
6016         (elmo-folder-encache): Added optional argument `read'.
6017         (elmo-message-encache): Ditto.
6018
6019         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6020
6021         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6022
6023         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6024         if append buffer content succeds.
6025
6026 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6027
6028         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6029         elmo-display-progress.
6030
6031         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6032         Set 4th argument of mime-display-message.
6033         (elmo-mime-display-as-is): Ditto.
6034
6035 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6036
6037         * elmo-nmz.el (toplevel): Require 'mime-edit.
6038         (elmo-nmz-content-type-alist): Abolished.
6039         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6040         content is not a message.
6041         (elmo-map-message-fetch): Changed behavior exept for message content;
6042         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6043         content-type, Add From: and Subject: field.
6044
6045 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6046
6047         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6048         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6049         not a message.
6050
6051 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6052
6053         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6054         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6055
6056         * elmo-archive.el (elmo-folder-writable-p): Defined.
6057
6058         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6059
6060         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6061
6062         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6063
6064         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6065
6066         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6067
6068         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6069
6070         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6071
6072         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6073
6074 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6075
6076         * elmo-util.el (elmo-address-quote-specials): New function;
6077         Renamed from `wl-address-quote-specials'.
6078
6079 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6080
6081         * elmo-version.el (elmo-version): Up to 2.7.4.
6082
6083 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6084
6085         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6086
6087 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6088
6089         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6090         both compile-time and run-time to avoid byte-compile warning.
6091
6092 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6093
6094         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6095
6096 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6097
6098         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6099         option.
6100         (elmo-mime-display-as-is-internal): Use it.
6101
6102         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6103         if `read-passwd' is not defined.
6104
6105 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6106
6107         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6108         by original number.
6109         (elmo-folder-status): Call `elmo-folder-open-internal';
6110         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6111         (elmo-folder-close-internal): Set location-alist as nil.
6112         (elmo-folder-clear): Define.
6113         (elmo-folder-check): Don't set location-alist as nil.
6114
6115         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6116
6117 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6118
6119         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6120         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6121
6122         * mmimap.el (mime-imap-entity::requested): New slot.
6123         (mime-imap-location-fetch-entity-p): New generic function.
6124         (mime-decode-parameters): Define using `defun-maybe'.
6125         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6126         content-type structure.
6127         (mime-entity-body): Return empty body if
6128         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6129
6130         * elmo.el (elmo-message-displaying): New variable.
6131
6132         * elmo-mime.el (elmo-mime-message-display): Bind
6133         elmo-message-displaying as t.
6134
6135         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6136
6137 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6138
6139         * acap.el (acap-open): erase buffer before starting network process.
6140         (acap-store): Rewrite.
6141
6142 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6143
6144         * elmo-imap4.el (elmo-imap4-default-mailbox,
6145         elmo-imap4-default-server
6146         elmo-imap4-default-authenticate-type,
6147         elmo-imap4-default-user,
6148         elmo-imap4-default-port,
6149         elmo-imap4-default-stream-type,
6150         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6151
6152         * elmo-pop3.el (elmo-pop3-default-user,
6153         elmo-pop3-default-server,
6154         elmo-pop3-default-authenticate-type,
6155         elmo-pop3-default-port,
6156         elmo-pop3-default-stream-type,
6157         elmo-pop3-stream-type-alist): Ditto.
6158
6159         * elmo-nntp.el (elmo-nntp-default-server,
6160         elmo-nntp-default-user,
6161         elmo-nntp-default-port,
6162         elmo-nntp-default-stream-type,
6163         elmo-nntp-stream-type-alist): Ditto.
6164
6165         * elmo-vars.el: Follow changes above.
6166         (elmo-setting): New custom group; added 'elmo-setting group to
6167         above variables.
6168
6169         * elmo-version.el (elmo-version): Up to 2.7.3.
6170
6171         * acap.el (acap-parse-response): Don't delete process when BYE
6172         response (It causes hang-up on slow network environment).
6173         (toplevel): Added comment.
6174
6175 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6176
6177         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6178
6179         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6180         parsing NIL.
6181         (acap-parse-return-metadata): Ditto.
6182
6183         * slp.el: New file.
6184         (toplevel): Fixed typo.
6185
6186         * acap.el: New file.
6187         (acap-network-stream-open): Show "Connecting..." message.
6188         (acap-parse-response): Fixed problem for BYE untagged response.
6189         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6190         (toplevel): Added tiny comments.
6191
6192 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6193
6194         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6195         space delimiter for uidl response.
6196
6197 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6198
6199         * elmo-vars.el (elmo-use-semi): Eliminated.
6200
6201         * elmo-util.el (elmo-string-assoc-all): New function.
6202
6203 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6204
6205         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6206         property 'mime-preview-situation for `mime-preview-quit'.
6207
6208 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6209
6210         * elmo.el (elmo-message-fetch-with-cache-process): Call
6211         elmo-message-fetch-internal instead of causing an error when fetch
6212         strategy is 'entire but only 'section cache is available.
6213
6214 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6215
6216         * elmo-version.el (elmo-version): Up to 2.7.2.
6217
6218         * elmo.el (elmo-generic-folder-append-messages): Make
6219         fetch-strategy with `use-cache'.
6220
6221         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6222         (elmo-dop-queue-method-name): New macro.
6223
6224 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6225
6226         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6227         unbalanced parenthesis.
6228
6229 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6230
6231         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6232
6233 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6234
6235         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6236         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6237
6238 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6239
6240         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6241         local variables.
6242
6243 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6244
6245         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6246         (elmo-message-use-cache-p): Define.
6247         (elmo-folder-msgdb-create): Treat cache.
6248
6249 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6250
6251         * elmo-nntp.el (elmo-network-initialize-session): Call
6252         `elmo-nntp-send-mode-reader'.
6253         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6254
6255 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6256
6257         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6258         alist.
6259         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6260         assoc.
6261
6262         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6263         for `elmo-plugged-p'.
6264         (elmo-open-network-stream): Fixed stream-type argument.
6265
6266 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6267
6268         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6269         unknown archive type is specified.
6270
6271 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6272
6273         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6274
6275         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6276         while loading msgdb.
6277
6278         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6279         (elmo-folder-open-internal): Rewrite.
6280
6281 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6282
6283         * elmo-mime.el (elmo-mime-display-as-is-internal):
6284         Adjust buffer-multibyte status.
6285
6286 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6287
6288         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6289         of elmo-condition-find-key.
6290
6291         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6292         (elmo-condition-in-msgdb-p): Ditto.
6293         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6294         argument.
6295
6296 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6297
6298         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6299
6300 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6301
6302         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6303         label for elmo-display-progress.
6304
6305 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6306
6307         * elmo.el (elmo-folder-clear): New method.
6308         (elmo-folder-clear): Define.
6309         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6310
6311         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6312         (elmo-folder-clear): Define.
6313
6314         * elmo-map.el (elmo-folder-clear): Define.
6315
6316         * elmo-version.el (elmo-version): Up to 2.7.1.
6317
6318 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6319
6320         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6321         updates.
6322
6323 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6324
6325         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6326         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6327
6328 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6329
6330         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6331
6332         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6333         and re-written.
6334
6335         * elmo-imap4.el (elmo-folder-initialize): Use
6336         elmo-get-network-stream-type.
6337
6338         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6339
6340         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6341
6342 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * elmo.el (elmo-message-encache): Set unread argument for
6345         elmo-message-fetch.
6346
6347         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6348
6349         * elmo.el (elmo-net-port-info): New method.
6350
6351         * elmo-shimbun.el (elmo-net-port-info): Define.
6352         (elmo-message-encache): Ditto.
6353
6354         * elmo-net.el (elmo-net-port-info): Define as method.
6355
6356         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6357         unplugged status when elmo-enable-disconnected-operation is t.
6358
6359         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6360         of spool folder before checking new number.
6361
6362 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6363
6364         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6365         (elmo-network-setup-session): Ditto.
6366         (elmo-message-fetch-plugged): Ditto.
6367         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6368         (elmo-network-initialize-session): Ditto.
6369         (elmo-pop3-read-response): Abolish 3rd argument.
6370         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6371         (elmo-pop3-read-contents): Ditto.
6372         (elmo-pop3-read-body): Ditto.
6373         (elmo-folder-status): Call elmo-folder-close.
6374         (elmo-pop3-lock): Abolish.
6375         (elmo-pop3-unlock): Ditto.
6376         (elmo-pop3-locked-p): Ditto.
6377         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6378
6379 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6380
6381         * elmo-version.el (elmo-version): Up to 2.7.0.
6382
6383         * elmo-pop3.el (elmo-pop3-debug): New variable.
6384         (elmo-pop3-debug-inhibit-logging): Ditto.
6385         (elmo-pop3-debug): New function.
6386         (elmo-pop3-send-command): Call elmo-pop3-debug.
6387         (elmo-pop3-read-response): Added keep-lock optional argument;
6388         Don't unlock if keep-lock is non-nil.
6389         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6390         (elmo-network-authenticate-session): Bind
6391         elmo-pop3-debug-inhibit-logging as t.
6392         (elmo-network-setup-session): Call elmo-pop3-read-response with
6393         keep-lock argument.
6394         (elmo-pop3-read-msg): Ditto.
6395         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6396         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6397         (elmo-network-initialize-session): Call elmo-pop3-lock.
6398         (elmo-folder-close-internal): Don't clear location-alist slot.
6399         (elmo-folder-check): Clear location-alist slot.
6400
6401 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6402
6403         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6404         (elmo-pop3-send-command): Call elmo-pop3-lock.
6405         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6406         (elmo-pop3-read-contents): Ditto.
6407         (elmo-pop3-lock): New function.
6408         (elmo-pop3-unlock): Ditto.
6409         (elmo-pop3-locked-p): Ditto.
6410         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6411         returns t.
6412
6413 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6414
6415         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6416
6417         * elmo-util.el (elmo-file-field-primitive-condition-match):
6418         New inline function (Don't fetch file content if "first" or "last").
6419         (elmo-file-field-condition-match): Use
6420         elmo-file-field-primitive-condition-match.
6421
6422         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6423         "first".
6424
6425         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6426         (elmo-message-fetch-plugged): Fixed.
6427
6428         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6429
6430 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6431
6432         * elmo.el (elmo-folder-move-messages): Bind
6433         elmo-inhibit-display-retrieval-progress as t while moving messages.
6434
6435         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6436         New variable.
6437         (elmo-inhibit-display-retrieval-progress): Ditto.
6438
6439         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6440         for retrieval progress;
6441         Don't display progress when total buffer size is smaller than
6442         elmo-display-retrieval-progress-threshold.
6443         (elmo-message-fetch-plugged): Don't display progress when
6444         elmo-inhibit-display-retrieval-progress is non-nil.
6445
6446         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6447         for retrieval progress;
6448         Don't display progress when literal size is smaller than
6449         elmo-display-retrieval-progress-threshold.
6450         (elmo-imap4-message-fetch): Don't display progress when
6451         elmo-inhibit-display-retrieval-progress is non-nil.
6452
6453 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6454
6455         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6456         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6457         (elmo-imap4-message-fetch): Likewise.
6458
6459         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6460         (elmo-shimbun-index-range-alist): Ditto.
6461         (elmo-shimbun-use-entire-index): Abolish.
6462         (shimbun-mua-use-entire-index): Ditto.
6463         (elmo-shimbun-folder): Added new slot `range'.
6464         (elmo-folder-initialize): Setup slot `range'.
6465
6466 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6467
6468         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6469         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6470         (elmo-shimbun-get-headers): Use return value of
6471         `shimbun-article-expiration-days'.
6472         (elmo-folder-close-internal): Clean up last-check slot.
6473
6474         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6475         (elmo-pop3-total-size): New variable.
6476         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6477
6478         * elmo.el (elmo-folder-reserve-status-p): New method.
6479
6480         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6481         (elmo-shimbun-use-entire-index): New user option.
6482         (shimbun-elmo-mua): New class.
6483         (shimbun-mua-search-id): Define.
6484         (shimbun-mua-use-entire-index): Ditto.
6485         (elmo-shimbun-folder:last-check): New slot.
6486         (elmo-shimbun-headers-cache-header-list): Abolish.
6487         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6488         (elmo-shimbun-headers-cache-header-hash): Ditto.
6489         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6490         (elmo-shimbun-headers-cache-last-check): Ditto.
6491         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6492         (elmo-shimbun-headers-check-p): Rewrite.
6493         (elmo-shimbun-msgdb-to-headers): New function.
6494         (elmo-shimbun-get-headers): Rewrite.
6495         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6496         (elmo-folder-open-internal): Get headers only if
6497         `elmo-shimbun-headers-check-p' is non-nil.
6498         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6499         is non-nil.
6500         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6501         (elmo-quit): Removed.
6502
6503         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6504         function.
6505         (elmo-msgdb-overview-entity-set-extra): Ditto.
6506         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6507
6508         * elmo-map.el (elmo-folder-status): Don't call
6509         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6510         is non-nil.
6511
6512 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6513
6514         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6515         of `elmo-msgdb-search-internal-primitive' when condition's car is
6516         `and' or `or'.
6517
6518 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6519
6520         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6521
6522 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6523
6524         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6525         call `elmo-pipe-drain'.
6526
6527 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6528
6529         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6530         typo. (elmo-cache-folder -> elmo-mark-folder)
6531
6532 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6533
6534         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6535         `elmo-message-fetch'.
6536
6537 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6538
6539         * elmo-net.el (elmo-message-encache): Fixed typo.
6540         (elmo-message-fetch-unplugged): Changed call
6541         `elmo-message-fetch-internal' without argument `outbuf'.
6542
6543 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6544
6545         * elmo.el (elmo-message-encache): Define as generic function.
6546         (elmo-message-fetch-field): New generic function.
6547         (elmo-message-fetch-with-cache-process): Cause an error when
6548         fetch strategy is 'entire but only 'section cache is available.
6549         (toplevel): Fixed nmz folder definition.
6550
6551         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6552         (elmo-msgdb-resume-list-filename): Ditto.
6553         (elmo-queue-filename): Ditto.
6554         (elmo-enable-disconnected-operation): Changed default value to t.
6555
6556         * elmo-util.el (elmo-cache-path-section-p): New function.
6557         (elmo-file-cache-get): Use it.
6558         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6559         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6560         (elmo-dop-queue-save): Ditto.
6561
6562         * elmo-net.el (elmo-folder-status-unplugged): Call
6563         elmo-folder-status-dop.
6564         (elmo-folder-list-messages-unplugged): Implemented.
6565         (elmo-folder-delete-messages-unplugged): Define.
6566         (elmo-folder-msgdb-create): Define.
6567         (elmo-folder-msgdb-create-unplugged): Define.
6568         (elmo-folder-mark-as-read-unplugged): Ditto.
6569         (elmo-folder-unmark-read-unplugged): Ditto.
6570         (elmo-folder-mark-as-important-unplugged): Ditto.
6571         (elmo-folder-unmark-important-unplugged): Ditto.
6572         (elmo-message-encache): Ditto.
6573
6574         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6575         (elmo-dop-queue-save): Ditto.
6576
6577         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6578         `elmo-folder-msgdb-create'.
6579         (elmo-folder-append-buffer): Implemented unplugged operation.
6580         (elmo-folder-append-messages): Call parent method in unplugged status.
6581         (elmo-message-fetch-unplugged): Removed definition.
6582         (elmo-message-fetch-field): Implemented.
6583
6584         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6585         (elmo-dop-folder): Removed variable definition.
6586         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6587         (elmo-dop-queue-flush): Implemented.
6588         (elmo-dop-queue-merge): Removed definition (TODO).
6589         (elmo-dop-spool-folder): New function.
6590         (elmo-dop-spool-folder-append-buffer): Ditto.
6591         (elmo-dop-spool-folder-list-messages): Ditto.
6592         (elmo-dop-list-deleting-messages): Ditto.
6593         (elmo-folder-append-buffer-dop): Ditto.
6594         (elmo-folder-delete-messages-dop): Ditto.
6595         (elmo-message-encache-dop): New inline function.
6596         (elmo-create-folder-dop): Ditto.
6597         (elmo-folder-mark-as-read-dop): Ditto.
6598         (elmo-folder-unmark-read-dop): Ditto.
6599         (elmo-folder-mark-as-important-dop): Ditto.
6600         (elmo-folder-unmark-important-dop): Ditto.
6601         (elmo-folder-status-dop): Fixed.
6602         (elmo-folder-append-buffer-dop-delayed): New function.
6603         (elmo-folder-delete-messages-dop-delayed): Ditto.
6604         (elmo-dop-msgdb): Ditto.
6605
6606 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6607
6608         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6609
6610 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6611
6612         * elmo.el (elmo-folder-move-messages): Fixed problem when
6613         `dst-folder' is 'null.
6614
6615 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6616
6617         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6618         instead of current mark.
6619
6620         * elmo-multi.el (elmo-folder-list-importants-internal): No
6621         operation if importants is not list.
6622
6623         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6624         Return t if importants is not list.
6625
6626         * elmo-map.el (elmo-map-folder-list-importants): Define.
6627         (elmo-folder-list-importants-internal): Check return value of
6628         `elmo-map-folder-list-importants-internal'.
6629
6630         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6631
6632         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6633
6634         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6635
6636         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6637
6638 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6639
6640         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6641         (Patch is provided by <kita@coe.nttdata.co.jp>).
6642
6643 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6644
6645         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6646         mark folder.
6647
6648 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6649
6650         * elmo.el (elmo-message-fetch): Define.
6651         (elmo-message-fetch-with-cache-process): New generic method.
6652         (elmo-message-fetch-internal): New generic method.
6653         (elmo-folder-synchronize):
6654
6655         * elmo-archive.el (elmo-message-fetch-internal): Define.
6656         (elmo-message-fetch): Eliminated.
6657
6658         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6659         (elmo-message-fetch): Eliminated.
6660
6661         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6662         argument OUTBUF.
6663         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6664
6665         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6666         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6667
6668         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6669         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6670
6671         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6672
6673         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6674
6675         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6676
6677         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6678         (elmo-message-fetch-unplugged): New generic method.
6679         (elmo-message-fetch-internal): Remove cache process (Renamed from
6680         `elmo-message-fetch').
6681
6682         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6683         (elmo-message-fetch): Eliminated.
6684         (elmo-message-fetch-unplugged): Ditto.
6685
6686         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6687
6688 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6689
6690         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6691         of `to-be-deleted' from number-alist to number-list.
6692
6693 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6694
6695         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6696         (elmo-folder-mark-as-important): Ditto.
6697
6698 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6699
6700         * elmo.el (elmo-folder): Added process-duplicates slot.
6701
6702         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6703         (elmo-folder-unmark-read): Ditto.
6704         (elmo-folder-unmark-important): Ditto.
6705         (elmo-folder-mark-as-important): Ditto.
6706
6707         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6708         duplicated message processing.
6709
6710         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6711
6712 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6713
6714         * elmo-util.el (elmo-list-subdirectories-1): New function.
6715         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6716         (elmo-mapcar-list-of-list): New function.
6717
6718         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6719         `elmo-mapcar-list-of-list' instead of `mapcar'.
6720
6721         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6722
6723         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6724         `elmo-have-link-count'. Return the fully qualified folder name.
6725
6726 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6727
6728         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6729         (elmo-shimbun-headers-cache): New internal variable.
6730         (elmo-shimbun-headers-cache-header-list): New inline function.
6731         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6732         (elmo-shimbun-headers-cache-header-hash): Ditto.
6733         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6734         (elmo-shimbun-headers-cache-last-check): Ditto.
6735         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6736         (elmo-shimbun-lapse-seconds): Ditto.
6737         (elmo-shimbun-headers-cache-check-p): Ditto.
6738         (elmo-shimbun-get-headers): New function.
6739         (elmo-folder-open-internal): Call it.
6740         (elmo-quit): Define (Clear headers-cache).
6741
6742 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6743
6744         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6745
6746         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6747         (elmo-msgdb-flist-save): Ditto.
6748
6749         * elmo-shimbun.el (elmo-folder-list-subfolders):
6750         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6751         (elmo-folder-exists-p): Ditto.
6752
6753         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6754         argument for `shimbun-header-insert'.
6755
6756 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6757
6758         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6759         at first time.
6760
6761         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6762         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6763
6764 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6765
6766         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6767         (elmo-folder-plugged-p): Define.
6768         (elmo-folder-set-plugged): Ditto.
6769         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6770         (elmo-folder-list-messages-internal): Return t if unplugged.
6771         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6772
6773         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6774         when elmo-folder-list-messages-internal method of children returns t.
6775
6776         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6777         pair is nil.
6778         (elmo-folder-open-internal): Don't update if unplugged status.
6779
6780 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6781
6782         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6783         new message.
6784
6785 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6786
6787         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6788
6789         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6790         saving.
6791
6792 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6793
6794         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6795
6796         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6797         (elmo-folder-open-internal): Set up headers slot.
6798         (elmo-folder-check): Call elmo-folder-close-internal and
6799         elmo-folder-open-internal.
6800         (elmo-folder-close-internal): Clean up headers slot.
6801
6802 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6803
6804         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6805         exactly folder list.
6806         (elmo-folder-append-messages): Fixed append archive with prefix.
6807
6808         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6809         make temp files with start-number.
6810
6811         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6812
6813 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6814
6815         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6816         argument `visible-only'.
6817         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6818         instead of `if'.
6819
6820         * elmo-pop3.el (elmo-folder-open-internal): Check
6821         `elmo-inhibit-number-mapping' is non-nil.
6822
6823         * elmo-pipe.el (elmo-folder-status): Fixed.
6824
6825 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6826
6827         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6828
6829         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6830         (elmo-folder-open-internal): Setup `header-hash' slot.
6831         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6832         information.
6833         (elmo-map-message-fetch): Ditto.
6834
6835 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6836
6837         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6838         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6839         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6840         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6841
6842         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6843
6844 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6845
6846         * sb-airs.el: Added footer.
6847
6848         * shimbun.el (shimbun-article): Define as luna-method.
6849
6850         * sb-tcup.el: New file.
6851
6852         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6853         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6854
6855 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6856
6857         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6858         (shimbun-get-headers): Ditto.
6859
6860         * elmo.el: Moved obsolete variable definitions from
6861         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6862
6863         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6864         groups.
6865
6866         * shimbun.el: New file.
6867
6868         * elmo-shimbun.el: New file.
6869
6870         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6871         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6872         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6873         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6874
6875 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6876
6877         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6878         hierarchy is t.
6879
6880 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6881
6882         * elmo.el (elmo-folder-msgdb): Define as macro.
6883         (elmo-folder-open): Added argument `load-msgdb'.
6884         (elmo-generic-folder-open): Ditto.
6885         (elmo-folder-encache): New function.
6886
6887         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6888
6889         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6890
6891         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6892         Eliminated argument FOLDER and added argument MSGDB.
6893         (elmo-dop-queue-load): Moved from elmo-dop.el.
6894         (elmo-dop-queue-save): Ditto.
6895
6896         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6897
6898         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6899
6900         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6901         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6902         (elmo-filter-folder-list-importants-internal): Ditto.
6903
6904         * elmo-map.el (elmo-folder-pack-number): Ditto.
6905
6906         * elmo-mime.el (elmo-mime-message-display): Ditto.
6907
6908         * elmo.el (elmo-generic-folder-commit): Ditto.
6909         (elmo-folder-list-unreads): Ditto.
6910         (elmo-folder-list-importants): Ditto.
6911         (elmo-generic-folder-commit): Ditto.
6912         (elmo-message-set-mark): Ditto.
6913         (elmo-generic-folder-append-msgdb): Ditto.
6914         (elmo-folder-synchronize): Ditto.
6915         (elmo-folder-messages): Ditto.
6916         (elmo-init): Call elmo-dop-queue-load.
6917         (elmo-folder-list-messages): Ditto.
6918
6919         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6920         (elmo-nntp-folder-process-crosspost): Ditto.
6921         (elmo-folder-list-unreads-internal): Ditto.
6922
6923         * elmo-dop.el: Removed old functions.
6924
6925 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6926
6927         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6928         `folder' to `msgdb'.
6929
6930 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6931
6932         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6933         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6934
6935         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6936         case-fold-search.
6937
6938 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6939
6940         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6941         defined.
6942
6943         * mmimap.el (toplevel): Require 'mime-parse and 'static.
6944         (mmimap-parse-parameters-from-list): Define as alias for
6945         `mime-decode-parameter-plist' if it is defined as function.
6946         (mmimap-make-mime-entity): Added argument `number'.
6947         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6948         as 0.
6949         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6950
6951         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6952
6953         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6954
6955         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6956
6957 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
6958
6959         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6960
6961         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6962         when elmo-imap4-default-authenticate-type is nil.
6963         (elmo-folder-list-subfolders): Ditto
6964         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6965         (elmo-imap4-fetch-callback-1-subr): Renamed from
6966         `elmo-imap4-fetch-callback-1' and define as inline function.
6967         (elmo-imap4-fetch-callback-1):
6968         Renamed from `elmo-imap4-fetch-callback'.
6969         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6970
6971         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6972         msgdb path (To keep compatibility with main trunk).
6973
6974         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6975
6976         * elmo-util.el (elmo-make-file-cache): Moved position of
6977         some macros.
6978
6979         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6980         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6981         instead of `elmo-pop3-inhibit-uidl'.
6982         (elmo-folder-exists-p): Ditto.
6983         (elmo-pop3-folder-list-messages): Ditto.
6984
6985         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6986         instead of `elmo-pop3-inhibit-uidl'.
6987         (elmo-folder-status): Ditto.
6988
6989         * elmo-dop.el (elmo-dop-folder): New variable.
6990         (elmo-dop-lock-message): Eliminated.
6991         (elmo-dop-unlock-message): Ditto.
6992         (elmo-dop-lock-list-load): Ditto.
6993         (elmo-dop-lock-list-save): Ditto.
6994         (elmo-dop-delete-folder): Ditto.
6995         (elmo-dop-rename-folder): Ditto.
6996
6997         * elmo.el: Removed incomplete commentary.
6998
6999 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7000
7001         * elmo.el (toplevel): Require 'elmo-version first;
7002         for little `recursive-load-depth' settings.
7003         Fix "ends here" comment.
7004
7005 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7006
7007         * elmo-util.el (toplevel): Require 'poem;
7008         Some functions are moved from elmo-cache.el.
7009
7010         * elmo-net.el (toplevel): Require 'elmo-cache.
7011
7012         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7013
7014         * elmo.el (toplevel): Ditto.
7015
7016         * elmo-cache.el: Rewrite with luna;
7017         Some functions are moved to elmo-util.el.
7018
7019         * elmo-internal.el (elmo-internal-folder-list): New variable.
7020         (elmo-internal-folder-initialize): Rewrite.
7021         (elmo-folder-list-subfolders): Ditto.
7022
7023         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7024         (elmo-cache-collect-sub-directories): Ditto.
7025
7026 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7027
7028         * elmo-version.el (elmo-version): Up to 2.5.8.
7029
7030         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7031
7032         * elmo-util.el (elmo-list-insert): New function.
7033
7034 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7035
7036         * elmo.el (elmo-init): New function.
7037         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7038
7039         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7040         (Renamed from `elmo-localdir-header-chop-length').
7041
7042         * elmo-pop3.el (elmo-pop3-use-cache,
7043         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7044
7045         * elmo-nntp.el (elmo-message-fetch): Define.
7046         (elmo-message-fetch-unplugged): Ditto.
7047         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7048         (elmo-nntp-use-cache): Ditto.
7049         (elmo-nntp-max-number-precedes-list-active): Ditto.
7050
7051         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7052
7053         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7054         `elmo-msgdb-insert-file-header'.
7055         Use `elmo-msgdb-file-header-chop-length'.
7056
7057         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7058         `elmo-vars.el'.
7059
7060         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7061         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7062         `elmo-msgdb-insert-file-header'.
7063
7064         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7065         Use new variable;
7066         Define obsolete variables with `elmo-define-obsolete-variable',
7067
7068         * elmo-util.el (elmo-warning-buffer-name): New constant.
7069         (elmo-warning): New function.
7070         (elmo-obsolete-variable-alist): New variable.
7071         (elmo-obsolete-variable-show-warnings): New variable.
7072         (elmo-define-obsolete-variable): New function.
7073         (elmo-resque-obsolete-variable): Ditto.
7074         (elmo-resque-obsolete-variables): Ditto.
7075
7076 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7077
7078         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7079         Eliminated.
7080
7081         * elmo-pop3.el, elmo-nntp.el: Use custom.
7082
7083 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7084
7085         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7086         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7087
7088 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7089
7090         * Luna-fy Kenichi OKADA's following changes.
7091         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7092         `nohide'.
7093         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7094
7095 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7096
7097         * elmo-util.el (elmo-display-progress): Prefer
7098         `progress-feedback-with-label' to `lprogress-display'.
7099
7100 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7101
7102         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7103
7104 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7105
7106         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7107         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7108         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7109         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7110         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7111         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7112         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7113         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7114         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7115         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7116         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7117         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7118         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7119
7120 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7121
7122         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7123         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7124
7125 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7126
7127         * elmo.el (elmo-folder-process-crosspost): New generic method.
7128         (elmo-folder-writable-p): Ditto.
7129         (elmo-folder-message-appendable-p): Eliminated.
7130         (elmo-generic-folder-append-msgdb): Rewrite.
7131         (elmo-newsgroups-hashtb): New internal variable.
7132         (elmo-crosspost-message-set): Eliminated.
7133         (elmo-crosspost-message-delete): Ditto.
7134         (elmo-setup-subscribed-newsgroups): New function.
7135         (elmo-crosspost-message-alist-modified): New internal variable.
7136         (elmo-crosspost-message-alist-load): New function (Renamed from
7137         `wl-crosspost-alist-load').
7138         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7139         `wl-crosspost-alist-save').
7140
7141         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7142
7143         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7144         `unreads'.
7145         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7146         elmo-newsgroups-hashtb).
7147         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7148         `elmo-nntp-folder-update-crosspost-message-alist'.
7149         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7150         `elmo-nntp-groups-hashtb'.
7151         (elmo-nntp-make-groups-hashtb): Eliminated.
7152         (elmo-nntp-parse-newsgroups): New function (Renamed from
7153         `wl-parse-newsgroups').
7154         (elmo-folder-creatable-p, elmo-folder-writable-p,
7155         elmo-folder-close-internal, elmo-folder-mark-as-read,
7156         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7157         Define.
7158         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7159
7160         * elmo-net.el (elmo-message-fetch): Check buffer size.
7161
7162         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7163
7164         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7165
7166         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7167         before `close' command.
7168
7169         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7170         `mark-alist' (All other related portions are changed).
7171
7172 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7173
7174         * elmo-util.el (elmo-create-hash-size): Eliminated.
7175         (elmo-make-hash) Make a hash with `one less than a power of two'
7176         length.
7177
7178         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7179         (elmo-hash-maximum-size): Changed value.
7180
7181 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7182
7183         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7184         (elmo-mime-message-display-as-is): Ditto.
7185
7186 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7187
7188         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7189         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7190
7191 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7192
7193         * elmo-mark.el: New file.
7194
7195         * elmo-internal.el: Rewrite (Almost empty).
7196
7197 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7198
7199         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7200         (mime-imap-entity-header-string): Ditto.
7201         (mmimap-entity-section): Rewrite.
7202
7203 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7204
7205         * elmo-nmz.el: New file.
7206
7207         * elmo-pipe.el: Rewrite with luna.
7208
7209 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7210
7211         * elmo-archive.el: Rewrite with luna.
7212
7213         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7214         (elmo-folder-list-importants-internal): Ditto.
7215
7216 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7217
7218         * elmo-archive.el (elmo-archive-version): Abolish.
7219         (toplevel) Removed `boso' comment.
7220
7221 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7222
7223         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7224         elmo-msgdb-add-msgs-to-seen-list-subr;
7225         Changed argument seen-marks to unread-marks.
7226
7227         * elmo-nntp.el: Rewrite with luna.
7228
7229 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7230
7231         * elmo-filter.el: Rewrite with luna.
7232
7233 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7234
7235         * elmo-pop3.el: Rewrite with luna.
7236
7237 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7238
7239         * elmo-multi.el: Rewrite with luna.
7240
7241         * elmo-vars.el (elmo-use-killed-list): Abolish.
7242         All other related portions are changed.
7243         (elmo-filename-replace-string-alist): Renamed from
7244         elmo-msgid-replace-string-alist.
7245
7246 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7247
7248         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7249
7250         * elmo-map.el: New file.
7251         * elmo-maildir.el: Rewrite with luna.
7252
7253 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * elmo.el: Changed meaning of `elmo-folder-commit'.
7256         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7257
7258 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7259
7260         * elmo.el (elmo-folder-append-buffer): New function.
7261         (Renamed from `elmo-append-msg')
7262
7263 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7264
7265         * elmo-mime.el: New file.
7266
7267 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7268
7269         * elmo-cache.el: Rewrite.
7270
7271 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7272
7273         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7274
7275 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7276
7277         * elmo-vars.el (elmo): New group.
7278         (elmo-strict-diff-folder-regexp): New variable.
7279
7280         * elmo-util.el (elmo-call-func): Abolish.
7281         (elmo-folder-get-type): Ditto.
7282         (elmo-*-get-spec): Ditto.
7283         (elmo-*-spec-*): Ditto.
7284         (elmo-imap4-identical-name-space-p): Ditto.
7285         (elmo-folder-identical-system-p): Ditto.
7286         (elmo-folder-direct-copy-alist): Ditto.
7287         (elmo-folder-direct-copy-p): Ditto.
7288
7289         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7290         (elmo-folder-initialize): Define.
7291         (elmo-folder-get-primitive-list): Ditto.
7292
7293         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7294         (elmo-folder-initialize): Define.
7295         Renamed `elmo-network-session-host-internal' to
7296         `elmo-network-session-server-internal'.
7297
7298         * elmo-multi.el (elmo-multi-folder): New luna class.
7299         (elmo-folder-initialize): Define.
7300         (elmo-folder-get-primitive-list): Ditto.
7301         (elmo-folder-contains-type): Ditto.
7302         (elmo-message-use-cache-p): Ditto.
7303
7304         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7305         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7306
7307         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7308         (elmo-folder-initialize): Define.
7309
7310         * elmo-filter.el (elmo-filter-folder): New luna class.
7311         (elmo-folder-initialize): Define.
7312         (elmo-folder-get-primitive-list): Ditto.
7313         (elmo-folder-contains-type): Ditto.
7314
7315 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7316
7317         * elmo-imap4.el: Rewrite with luna.
7318
7319         * mmimap.el: New file.
7320
7321         * mmelmo.el, mmelmo-imap4.el: Removed.
7322
7323         * elmo-net.el: Ditto.
7324
7325         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7326         (elmo-folder-initialize): Define.
7327
7328         * elmo-archive.el (elmo-archive-folder): New luna class.
7329         (elmo-folder-initialize): Define.
7330
7331         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7332         `elmo-folder-msgdb-path'.
7333         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7334         `elmo-make-folder'.
7335
7336 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7337
7338         * elmo.el: New file.
7339
7340         * elmo2.el: Renamed to elmo.el.
7341
7342 \f
7343 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7344
7345         * elmo-cache.el (elmo-cache-expire-by-size): Count
7346         a disk usage for a cache file entry in KB even when
7347         its kind is a directory.
7348
7349 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7350
7351         * elmo-version.el (elmo-version): Up to 2.5.7.
7352
7353 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7354
7355         * elmo-version.el (elmo-version): Up to 2.5.6.
7356
7357 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7358
7359         * elmo-version.el (elmo-version): Up to 2.5.5.
7360
7361 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7362
7363         * elmo-imap4.el (elmo-network-authenticate-session):
7364         Fixed a logic for response checking.
7365
7366 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7367
7368         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7369         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7370         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7371         `sasl-mechanisms'.
7372
7373         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7374         for `starttls-open-stream' and `starttls-negotiate'.
7375
7376         * elmo-nntp.el: Remove autoload settings for
7377         `starttls-open-stream' and `starttls-negotiate'.
7378
7379         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7380         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7381         `luna-define-class' with `eval-and-compile'.
7382
7383 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7384
7385         * elmo-util.el (elmo-read-search-condition-internal):
7386         Require an element of table for searching field.
7387
7388 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7389
7390         * elmo-version.el (elmo-version): Up to 2.5.4.
7391
7392 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7393
7394         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7395
7396 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7397
7398         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7399
7400 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7401
7402         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7403         before greeting.
7404
7405 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7406
7407         * elmo-imap4.el (elmo-imap4-delete-folder):
7408         Send "close" before "delete" (Use commented out line).
7409         (elmo-imap4-rename-folder): Ditto.
7410
7411         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7412         folder string itself.
7413         (elmo-dop-list-deleted): New function.
7414         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7415         killed.
7416
7417         * elmo-util.el (elmo-string-rassoc-all): New function.
7418
7419 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7420
7421         * elmo-version.el (elmo-version): Up to 2.5.3.
7422
7423         * elmo-net.el (elmo-network-get-session): Changed logic for
7424         checking process status.
7425
7426         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7427         process is nil;
7428         Changed logic for checking process status.
7429
7430 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7431
7432         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7433         before greeting.
7434         (elmo-network-setup-session): Set UIDL hash size according to
7435         the length of list response.
7436         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7437         according to the length of list response;
7438         Return the length of list response.
7439         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7440
7441 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7442
7443         * elmo-imap4.el (toplevel): Require 'ssl.
7444         Add autoload 'starttls.
7445         * elmo-pop3.el (toplevel): Ditto.
7446         * elmo-nntp.el (toplevel): Ditto.
7447
7448 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7449
7450         * elmo-imap4.el (toplevel): defun at compile time.
7451         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7452         sasl-next-step, sasl-step-data, sasl-step-set-data.
7453         * elmo-pop3.el (toplevel): Ditto.
7454
7455 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7456
7457         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7458
7459 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7460
7461         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7462         if error.
7463         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7464         and `elmo-pop-auth-apop'.
7465
7466 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7467
7468         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7469
7470 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7471
7472         * elmo-pop3.el (elmo-network-authenticate-session): Split
7473         encoded response value.
7474
7475 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7476
7477         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7478         `elmo-pop3-force-login'.
7479         Redefine `sasl-mechanisms'.
7480         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7481
7482 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7483
7484         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7485         Delete `elmo-imap4-authenticator-alist'.
7486         (elmo-imap4-auth-cram-md5): Delete.
7487         (elmo-imap4-auth-digest-md5): Delete.
7488
7489 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7490
7491         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7492         (elmo-pop3-auth-scram-md5): Ditto.
7493         (elmo-pop3-auth-cram-md5): Ditto.
7494
7495 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7496
7497         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7498         Delete `elmo-pop3-authenticator-alist'.
7499
7500 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7501
7502         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7503         new SASL API.
7504         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7505
7506 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7507
7508         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7509
7510 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7511
7512         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7513         Fixed problem when `elmo-pop3-use-uidl' is nil.
7514         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7515
7516 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7517
7518         * elmo-version.el (elmo-version): Up to 2.5.2.
7519
7520 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7521
7522         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7523         New function.
7524         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7525         (elmo-pop3-msgdb-create-as-numlist): Use it.
7526
7527         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7528         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7529
7530         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7531         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7532
7533 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7534
7535         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7536         when elmo-mark-as-read is called with second argument nil.
7537
7538 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7539
7540         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7541         Moved to elmo-util.el.
7542
7543         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7544         Moved from elmo-pipe.el
7545
7546         * elmo-archive.el (elmo-archive-call-process): Enclose with
7547         static-if.
7548
7549         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7550         "RFC822" (because RFC822.PEEK is obsolete).
7551         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7552
7553 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7554
7555         * elmo-archive.el (elmo-archive-call-process): Don't check for
7556         the exit status when Nemacs is running.
7557
7558 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7559
7560         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7561         'plain.
7562
7563         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7564         (elmo-pop3-get-spec): Set default of auth to 'user.
7565
7566         * elmo-imap4.el (elmo-imap4-session-check):
7567         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7568         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7569         (elmo-imap4-auth-login): New function; Revival.
7570         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7571         `elmo-imap4-auth-login'.
7572
7573 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7574
7575         * elmo2.el (toplevel): Move `product-provide' declare.
7576         * mmelmo.el (toplevel): Ditto.
7577
7578 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7579
7580         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7581
7582 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7583
7584         * elmo-util.el (elmo-folder-get-store-type): New function.
7585         (elmo-folder-direct-copy-p): Use it.
7586
7587 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7588
7589         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7590         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7591         and result of `elmo-imap4-use-flag-p'.
7592         (elmo-imap4-fetch-callback-1): Set mark according to
7593         the result of `elmo-imap4-use-flag-p'.
7594
7595 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7596
7597         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7598         (elmo-generic-list-folder-unread): Ditto.
7599         (elmo-folder-get-info): Ditto.
7600         (elmo-folder-set-info-max-by-numdb): Ditto.
7601         (elmo-folder-get-info-max): Ditto.
7602         (elmo-folder-get-info-length): Ditto.
7603         (elmo-folder-get-info-unread): Ditto.
7604         (elmo-folder-info-make-hashtb): Ditto.
7605
7606         * elmo2.el: Removed above functions.
7607
7608 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7609
7610         * elmo-imap4.el (toplevel): Require 'ssl.
7611         Add autoload 'starttls.
7612         * elmo-pop3.el (toplevel): Ditto.
7613         * elmo-nntp.el (toplevel): Ditto.
7614
7615 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7616
7617         * elmo-imap4.el (toplevel): defun at compile time.
7618         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7619         sasl-next-step, sasl-step-data, sasl-step-set-data.
7620         * elmo-pop3.el (toplevel): Ditto.
7621
7622 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7623
7624         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7625
7626 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7627
7628         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7629         if error.
7630         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7631         and `elmo-pop-auth-apop'.
7632
7633 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7634
7635         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7636
7637 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7638
7639         * elmo-pop3.el (elmo-network-authenticate-session): Split
7640         encoded response value.
7641
7642 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7643
7644         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7645         `elmo-pop3-force-login'.
7646         Redefine `sasl-mechanisms'.
7647         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7648
7649 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7650
7651         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7652         Delete `elmo-imap4-authenticator-alist'.
7653         (elmo-imap4-auth-cram-md5): Delete.
7654         (elmo-imap4-auth-digest-md5): Delete.
7655
7656 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7657
7658         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7659         (elmo-pop3-auth-scram-md5): Ditto.
7660         (elmo-pop3-auth-cram-md5): Ditto.
7661
7662 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7663
7664         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7665         Delete `elmo-pop3-authenticator-alist'.
7666
7667 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7668
7669         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7670         new SASL API.
7671         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7672
7673 \f
7674 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7675
7676         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7677
7678 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7679
7680         * elmo-nntp.el (elmo-nntp-get-folders-info):
7681         Fixed problem when '\' character is contained in user-id.
7682         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7683
7684 \f
7685 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7686
7687         * elmo-imap4.el (elmo-imap4-delete-folder):
7688         Send "close" before "delete" (Use commented out line).
7689         (elmo-imap4-rename-folder): Ditto.
7690
7691         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7692         folder string itself.
7693         (elmo-dop-list-deleted): New function.
7694         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7695         killed.
7696
7697         * elmo-util.el (elmo-string-rassoc-all): New function.
7698
7699         * elmo-version.el (elmo-version): Up to 2.5.1.
7700
7701 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7702
7703         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7704
7705         * elmo-internal.el (elmo-internal-search): Fix last change.
7706
7707 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7708
7709         * elmo-internal.el (elmo-internal-search): Rewrite.
7710         (Fixed problem which is pointed out by Akihiro MOTOKI
7711         <motoki@da.jp.nec.com>)
7712
7713         * elmo-version.el (elmo-version): Up to 2.5.0.
7714
7715 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7716
7717         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7718
7719 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7720
7721         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7722         non-nil, make hierarchy.
7723
7724 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7725
7726         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7727         `elmo-pop3-use-uidl' must be bound to nil.
7728         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7729
7730 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7731
7732         * elmo-util.el (elmo-copy-file): Don't cause an error after
7733         `add-name-to-file' failed.
7734
7735         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7736         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7737
7738 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7739
7740         * elmo-version.el (elmo-version): Up to 2.3.93.
7741
7742 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7743
7744         * elmo-util.el (elmo-flatten): New function.
7745
7746 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7747
7748         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7749         sync Author header.
7750         * elmo-cache.el (toplevel): Ditto.
7751         * elmo-database.el (toplevel): Ditto.
7752         * elmo-date.el (toplevel): Ditto.
7753         * elmo-dop.el (toplevel): Ditto.
7754         * elmo-filter.el (toplevel): Ditto.
7755         * elmo-imap4.el (toplevel): Ditto.
7756         * elmo-internal.el (toplevel): Ditto.
7757         * elmo-localdir.el (toplevel): Ditto.
7758         * elmo-localnews.el (toplevel): Ditto.
7759         * elmo-maildir.el (toplevel): Ditto.
7760         * elmo-msgdb.el (toplevel): Ditto.
7761         * elmo-multi.el (toplevel): Ditto.
7762         * elmo-net.el (toplevel): Ditto.
7763         * elmo-nntp.el (toplevel): Ditto.
7764         * elmo-pipe.el (toplevel): Ditto.
7765         * elmo-pop3.el (toplevel): Ditto.
7766         * elmo-util.el (toplevel): Ditto.
7767         * elmo-vars.el (toplevel): Ditto.
7768         * elmo2.el (toplevel): Ditto.
7769         * mmelmo-imap4.el (toplevel): Ditto.
7770         * mmelmo.el (toplevel): Ditto.
7771
7772         * elmo-version.el (elmo-version): Move to top.
7773
7774         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7775         * elmo-imap4.el (toplevel): Ditto.
7776         * elmo-localdir.el (toplevel): Ditto.
7777         * elmo-msgdb.el (toplevel): Ditto.
7778         * elmo-nntp.el (toplevel): Ditto.
7779         * elmo-pop3.el (toplevel): Ditto.
7780         * elmo-version.el (toplevel): Ditto.
7781
7782         * elmo-localnews.el (toplevel): Added Keyword header.
7783
7784 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7785
7786         * elmo-version.el (product-version-as-string): Defined using
7787         `defun-maybe'.
7788         (toplevel): Use it.
7789
7790         * elmo-localdir.el (toplevel): Updated copyright notice.
7791         * elmo-version.el (toplevel): Ditto.
7792         * elmo-msgdb.el (toplevel): Ditto.
7793         * elmo-imap4.el (toplevel): Ditto.
7794         * elmo-nntp.el (toplevel): Ditto.
7795         * elmo-pop3.el (toplevel): Ditto.
7796
7797 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7798
7799         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7800         messages.
7801
7802         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7803         parameter value (It sometimes contains raw kanji).
7804
7805 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7806
7807         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7808         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7809
7810 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7811
7812         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7813
7814 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7815
7816         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7817         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7818
7819 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7820
7821         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7822         value if selecting folder succceeded.
7823         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7824
7825 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7826
7827         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7828         representation.
7829
7830         * elmo-util.el (elmo-string-matched-member): New function.
7831
7832 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7833
7834         * elmo-util.el (elmo-unintern): New macro.
7835         (elmo-number-set-member): Fixed docstring.
7836
7837         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7838         tag token.
7839
7840 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7841
7842         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7843         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7844
7845 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7846
7847         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7848         `no-error'.
7849         Added docstring.
7850         Return non-nil if selecting folder succeeded.
7851         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7852
7853 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7854
7855         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7856         `file-name-completion' returns t.
7857         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7858         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7859         directory if it does not exist.
7860         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7861         for iteration.
7862
7863 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7864
7865         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7866         enclosure (It's harmful in unplugged status).
7867
7868         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7869
7870         * mmelmo-1.el: Removed.
7871
7872         * mmelmo-2.el: Ditto.
7873
7874         * mmelmo-imap4-1.el: Ditto.
7875
7876         * mmelmo-imap4-2.el: Ditto.
7877
7878         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7879
7880         * mmelmo.el: Merged mmelmo-2.el.
7881
7882         * elmo-version.el (elmo-version): Up to 2.3.92.
7883
7884 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7885
7886         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7887         elmo-update-number): Remove last period in "...done." message.
7888         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7889         Ditto.
7890         * elmo-cache.el (elmo-cache-expire-by-size,
7891         elmo-cache-get-sorted-cache-file-list,
7892         elmo-cache-msgdb-create-as-numlist): Ditto.
7893         * elmo-dop.el (elmo-dop-save-pending-messages,
7894         (elmo-dop-flush-pending-append-operations): Ditto.
7895         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7896         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7897         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7898         (elmo-localdir-pack-number): Ditto.
7899         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7900         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7901         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7902         mime-write-entity-content): Ditto.
7903         * pldap.el (ldap-search-basic): Ditto.
7904
7905 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7906
7907         * elmo-version.el (elmo-version): Up to 2.3.91.
7908
7909         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7910         Only when filter is 'last'.
7911
7912         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7913         (elmo-condition-parse-search-value): Use it.
7914         (elmo-read-search-condition-internal): Quote value only when
7915         it is not an atom.
7916
7917 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7918
7919         * elmo2.el (elmo-generic-folder-diff): Fix.
7920
7921 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7922
7923         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7924         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7925         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7926         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7927         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7928         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7929
7930 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7931
7932         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7933         extra-fields.
7934
7935 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7936
7937         * elmo-version.el (elmo-version): Up to 2.3.90.
7938
7939         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7940         (elmo-imap4-list-folder-important): Ditto.
7941
7942 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7943
7944         * elmo-nntp.el (elmo-network-initialize-session): Fix.
7945
7946 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7947
7948         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7949
7950 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
7951
7952         * elmo-nntp.el (elmo-network-initialize-session):
7953         Add starttls negotiation.
7954
7955 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
7956
7957         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7958         response.
7959         (elmo-network-setup-session): Define.
7960         Call `elmo-nntp-send-mode-reader' when session opened.
7961
7962 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7963
7964         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7965
7966 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
7967
7968         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7969         an invalid SPACE character ahead of `SEARCH' command.  Move
7970         a valid SPACE character following `SEARCH' from conditional
7971         `format' arguments to control-strings.
7972
7973 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
7974
7975         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7976         was succeeded.
7977
7978         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7979
7980 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
7981
7982         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7983         `w32-get-true-file-link-count' as t.
7984
7985         * elmo-imap4.el (elmo-imap4-read): Abolished.
7986         (Renamed to `elmo-read' and moved to elmo-util.el)
7987         All other related portions are changed.
7988
7989         * elmo-util.el (elmo-read): New function.
7990         (elmo-condition-parse-search-value): Use it.
7991
7992 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
7993
7994         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7995
7996         * elmo-nntp.el (elmo-nntp-session): Define.
7997         (elmo-nntp-setting): Abolished.
7998         All other related portions are changed.
7999         (elmo-nntp-get-server-command): Changed argument.
8000         (elmo-nntp-set-server-command): Ditto.
8001         (elmo-nntp-xover-p): Ditto.
8002         (elmo-nntp-set-xover): Ditto.
8003         (elmo-nntp-listgroup-p): Ditto.
8004         (elmo-nntp-set-listgroup): Ditto.
8005         (elmo-nntp-list-active-p): Ditto.
8006         (elmo-nntp-set-list-active): Ditto.
8007         (elmo-nntp-xhdr-p): Ditto.
8008         (elmo-nntp-set-xhdr): Ditto.
8009         (elmo-nntp-flush-connection): Abolished.
8010         (elmo-nntp-get-connection): Abolished.
8011         (elmo-nntp-get-session): New function.
8012         (elmo-network-initialize-session): Defined.
8013         (elmo-network-authenticate-session): Ditto.
8014         (elmo-nntp-send-mode-reader): Changed argument.
8015         (elmo-nntp-send-command): Changed argument.
8016         All other related portions are changed.
8017         (elmo-nntp-read-response): Ditto.
8018         (elmo-nntp-read-raw-response): Ditto.
8019         (elmo-nntp-read-contents): Ditto.
8020         (elmo-nntp-read-body): Ditto.
8021         (elmo-nntp-goto-folder): Abolished.
8022         (elmo-nntp-select-group): New function.
8023         All other related portions are changed.
8024         (This function substitutes `elmo-nntp-goto-folder')
8025         (elmo-nntp-msgdb-create-by-header): Rewrite.
8026         (elmo-nntp-get-overview): Eliminated.
8027         (elmo-nntp-get-message): Ditto.
8028         (elmo-nntp-open-connection) Abolished.
8029         (elmo-nntp-read-msg): Rewrite.
8030         (elmo-nntp-post): Ditto.
8031         (elmo-nntp-send-data): Abolished.
8032         (elmo-nntp-send-buffer): New function.
8033         (elmo-nntp-send-data-line): Define as inline function.
8034         (elmo-nntp-get-folders-info-prepare): Use session as key.
8035         (elmo-nntp-groups-read-response): Changed argument.
8036         (elmo-nntp-retrieve-headers): Ditto.
8037         (elmo-nntp-msgdb-create-message): Ditto.
8038
8039         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8040         when searching by 'since' or 'before'.
8041
8042 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8043
8044         * elmo-version.el (toplevel): Use product-version-as-string for set
8045         verstion-string, if defined.
8046
8047 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8048
8049         * elmo-util.el: Doc fixes.
8050
8051 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8052
8053         * elmo-archive.el (toplevel): Use product-provide.
8054         * elmo-cache.el (toplevel): Ditto.
8055         * elmo-database.el (toplevel): Ditto.
8056         * elmo-date.el (toplevel): Ditto.
8057         * elmo-dop.el (toplevel): Ditto.
8058         * elmo-filter.el (toplevel): Ditto.
8059         * elmo-imap4.el (toplevel): Ditto.
8060         * elmo-internal.el (toplevel): Ditto.
8061         * elmo-localdir.el (toplevel): Ditto.
8062         * elmo-localnews.el (toplevel): Ditto.
8063         * elmo-maildir.el (toplevel): Ditto.
8064         * elmo-msgdb.el (toplevel): Ditto.
8065         * elmo-multi.el (toplevel): Ditto.
8066         * elmo-net.el (toplevel): Ditto.
8067         * elmo-nntp.el (toplevel): Ditto.
8068         * elmo-pipe.el (toplevel): Ditto.
8069         * elmo-pop3.el (toplevel): Ditto.
8070         * elmo-util.el (toplevel): Ditto.
8071         * elmo-vars.el (toplevel): Ditto.
8072         * elmo2.el (toplevel): Ditto.
8073         * mmelmo-1.el (toplevel): Ditto.
8074         * mmelmo-2.el (toplevel): Ditto.
8075         * mmelmo-imap4-1.el (toplevel): Ditto.
8076         * mmelmo-imap4-2.el (toplevel): Ditto.
8077         * mmelmo-imap4.el (toplevel): Ditto.
8078         * mmelmo.el (toplevel): Ditto.
8079
8080 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8081
8082         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8083         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8084
8085 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8086
8087         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8088         before splitting.
8089         (elmo-multi-split-number-alist): Ditto.
8090
8091 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8092
8093         * elmo-version.el: New file.  Use product.el.
8094         * elmo2.el: Add (require 'elmo-version).
8095         * elmo-vars.el (elmo-appname, elmo-version): Move to
8096         elmo-version.el
8097
8098 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8099
8100         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8101         `elmo-msgdb-expand-path'.
8102         (elmo-msgdb-load): Ditto.
8103         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8104         (elmo-generic-list-folder-unread): Rewrite.
8105         (elmo-generic-list-folder-important): Changed argument.
8106         (elmo-list-folder-unread): Ditto.
8107         (elmo-list-folder-important): Ditto.
8108         (elmo-folder-diff): Rewrite.
8109         (elmo-generic-folder-diff): New function.
8110         (elmo-multi-get-number-alist-list): Abolished
8111         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8112         (elmo-multi-folder-diff): Moved to elmo-multi.el
8113         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8114
8115         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8116         `elmo-msgdb-expand-path'.
8117         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8118         (elmo-pop3-read-msg): Ditto.
8119         (elmo-pop3-delete-msgs): Ditto.
8120         (elmo-pop3-folder-diff): New alias.
8121
8122         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8123         `elmo-msgdb-expand-path'.
8124         (elmo-pipe-list-folder-unread): Changed arguments.
8125         (elmo-pipe-list-folder-important): Ditto.
8126         (elmo-pipe-folder-diff): New alias.
8127
8128         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8129         `elmo-msgdb-expand-path'.
8130         (elmo-nntp-max-of-folder): Ditto.
8131         (elmo-nntp-msgdb-create): Ditto.
8132         (elmo-nntp-delete-msgs): Ditto.
8133         (elmo-nntp-folder-diff): New alias.
8134
8135         * elmo-multi.el (elmo-multi-folder-diff): New function.
8136         (elmo-multi-split-mark-alist): Ditto.
8137         (elmo-multi-split-number-alist): Ditto.
8138         (elmo-multi-mark-alist-list): Abolished (Renamed to
8139         elmo-multi-split-mark-alist).
8140         (elmo-multi-list-folder-unread): Rewrite.
8141         (elmo-multi-list-folder-important): Ditto.
8142         (elmo-multi-list-folder): Set `spec' as 1st argument for
8143         `elmo-msgdb-expand-path'.
8144         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8145         instead of `elmo-multi-get-number-alist-list'.
8146
8147         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8148         If 1st argument is not string, treat as spec.
8149         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8150         `elmo-msgdb-expand-path'.
8151         (elmo-msgdb-flist-load): Ditto.
8152         (elmo-msgdb-flist-save): Ditto.
8153         (elmo-msgdb-delete-path): Ditto.
8154         (elmo-msgdb-rename-path): Ditto.
8155
8156         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8157         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8158         (elmo-maildir-delete-mark-msgs): Ditto.
8159         (elmo-maildir-msgdb-create): Ditto.
8160         (elmo-maildir-read-msg): Ditto.
8161         (elmo-maildir-delete-msgs): Ditto.
8162         (elmo-maildir-list-folder-subr): Ditto.
8163         (elmo-maildir-search): Ditto.
8164         (elmo-maildir-get-msg-filename): Ditto.
8165         (elmo-maildir-pack-number): Ditto.
8166         (elmo-maildir-folder-diff): New alias.
8167
8168         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8169
8170         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8171         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8172         (elmo-localdir-folder-diff): New alias.
8173
8174         * elmo-internal.el (elmo-internal-list-folder-subr):
8175         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8176         (elmo-internal-list-folder-by-location): Ditto.
8177         (elmo-internal-msgdb-create): Ditto.
8178         (elmo-internal-delete-msgs): Ditto.
8179         (elmo-internal-read-msg): Ditto.
8180         (elmo-internal-folder-diff): New alias.
8181
8182         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8183         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8184         `elmo-msgdb-expand-path'.
8185         (elmo-imap4-list-folder-unread): Changed arguments.
8186         (elmo-imap4-list-folder-important): Ditto.
8187
8188         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8189         (elmo-filter-list-folder-important): Ditto.
8190         (elmo-filter-folder-diff): New function.
8191
8192         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8193
8194         * elmo-cache.el (elmo-cache-list-folder):
8195         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8196         (elmo-cache-copy-msgs): Ditto.
8197         (elmo-cache-folder-diff): New alias.
8198
8199         * elmo-archive.el (elmo-archive-list-folder-subr):
8200         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8201         (elmo-archive-get-archive-name): Ditto.
8202         (elmo-archive-create-file): Ditto.
8203         (elmo-archive-append-msg): Ditto.
8204         (elmo-archive-copy-msgs): Ditto.
8205         (elmo-archive-copy-msgs-froms): Ditto.
8206         (elmo-archive-get-msg-filename): Ditto.
8207         (elmo-archive-folder-diff): New alias.
8208
8209 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8210
8211         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8212         (elmo-pop3-stream-type-alist): New variable.
8213         (elmo-nntp-stream-type-alist): New variable.
8214
8215         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8216         (elmo-kill-buffer): Ditto.
8217         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8218         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8219         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8220         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8221         (elmo-imap4-get-spec): Take into account
8222         `elmo-imap4-stream-type-alist'.
8223
8224 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8225
8226         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8227         (elmo-nntp-list-folders-get-cache): Ditto.
8228
8229 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8230
8231         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8232         character before 'uid'.
8233
8234 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8235
8236         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8237
8238         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8239
8240         * elmo-util.el (elmo-number-set-member): New function.
8241         (elmo-number-set-append-list): Ditto.
8242         (elmo-number-set-append): Ditto.
8243
8244         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8245         Use `elmo-number-set-member'.
8246         (elmo-living-messages): Ditto.
8247         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8248         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8249
8250         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8251         (elmo-imap4-add-to-cont-list): Abolished.
8252         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8253         instead of elmo-imap4-add-to-cont-list.
8254
8255         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8256         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8257
8258         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8259
8260 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8261
8262         * elmo-util.el (elmo-condition-parse-search-value):
8263         Fixed date parsing.
8264
8265 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8266
8267         * elmo-util.el (elmo-condition-find-key-internal): New function.
8268         (elmo-condition-find-key): Ditto.
8269
8270         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8271         (elmo-msgdb-search-internal): Ditto.
8272         (elmo-msgdb-search): Ditto.
8273
8274 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8275
8276         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8277         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8278
8279         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8280         (elmo-nntp-search-primitive): Fixed problem when condition is
8281         'unmatch'.
8282
8283         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8284
8285         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8286         (elmo-nntp-xhdr-p): New macro.
8287         (elmo-nntp-set-xhdr): Ditto.
8288         (elmo-nntp-parse-xhdr-response): New function.
8289         (elmo-nntp-retrieve-field): Ditto.
8290         (elmo-nntp-search-primitive): Ditto.
8291         (elmo-nntp-search): Implemented.
8292
8293         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8294
8295         * elmo-archive.el (elmo-archive-search): Set all number list to
8296         `elmo-archive-field-condition-match'
8297
8298         * elmo-localdir.el (elmo-localdir-search): Likewise.
8299
8300         * elmo-maildir.el (elmo-maildir-search): Likewise.
8301
8302 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8303
8304         * elmo-msgdb.el (elmo-living-messages): New function.
8305         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8306         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8307         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8308         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8309         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8310         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8311         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8312         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8313         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8314         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8315         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8316
8317 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8318
8319         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8320
8321         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8322
8323         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8324
8325         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8326         arguments for `SEARCH' command.
8327         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8328         All other related portions are changed.
8329
8330         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8331
8332         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8333         (elmo-list-folder-unread): Rewrite.
8334         (elmo-list-folder-important): Ditto.
8335
8336         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8337         (elmo-condition-parse-error): New inline function.
8338         (elmo-read-search-condition): New function.
8339         (elmo-read-search-condition-internal): Ditto.
8340         (elmo-parse-search-condition): Rewrite.
8341         (elmo-condition-parse): New function.
8342         (elmo-condition-parse-or-expr): Ditto.
8343         (elmo-condition-parse-and-expr): Ditto.
8344         (elmo-condition-parse-primitive): Ditto.
8345         (elmo-condition-parse-search-value): Ditto.
8346         (elmo-buffer-field-primitive-condition-match): Ditto.
8347         (elmo-buffer-field-condition-match): Rewrite.
8348         (elmo-file-field-condition-match): Ditto.
8349
8350         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8351         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8352
8353         * elmo-internal.el (elmo-internal-search): Set `number' and
8354         `number-list' argument of `elmo-file-field-condition-match'.
8355
8356         * elmo-maildir.el (elmo-maildir-search): Ditto.
8357
8358         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8359         `msgdb' as argument instead of `mark-alist'.
8360         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8361         `overview'.
8362
8363         * elmo-multi.el: Likewise.
8364
8365         * elmo-pipe.el: Likewise.
8366
8367         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8368         (elmo-imap4-search-internal): Rewrite.
8369         (elmo-imap4-search): Ditto.
8370
8371         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8372         (elmo-filter-list-folder-unread): Ditto.
8373         (elmo-filter-list-folder-important): Ditto.
8374         (elmo-filter-search): Rewrite.
8375
8376         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8377         `number-list' argument of `elmo-file-field-condition-match'.
8378         (elmo-cache-search): Ditto.
8379
8380         * elmo-localdir.el: Likewise.
8381
8382         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8383         number-list and pass it to `elmo-buffer-field-condition-match'.
8384         (elmo-archive-field-condition-match): Pass `number-list' to
8385         `elmo-archive-field-condition-match'
8386
8387 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8388
8389         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8390         `listgroup'.
8391
8392         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8393         (elmo-folder-diff-async-callback-data): Ditto.
8394         (elmo-folder-diff-async): New function.
8395
8396         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8397         (elmo-network-session-cache-key): Use it as a prefix of the session
8398         name.
8399         (elmo-network-open-session): Ditto.
8400
8401         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8402         (elmo-imap4-status-callback-data): Ditto.
8403         (elmo-imap4-server-diff-async-callback): New variable.
8404         (elmo-imap4-server-diff-async-callback-data): Ditto.
8405         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8406         `elmo-imap4-status-callback-data'.
8407         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8408         `elmo-imap4-status-callback-data' as nil.
8409         (elmo-imap4-server-diff): Ditto.
8410         (elmo-imap4-server-diff-async-callback-1): New function.
8411         (elmo-imap4-server-diff-async): Ditto.
8412         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8413
8414 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8415
8416         * elmo-util.el (elmo-list-delete): Doc fix.
8417         (elmo-delete-lists): Abolish.
8418         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8419         instead of `elmo-delete-lists'.
8420
8421 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8422
8423         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8424         before `sort'.
8425
8426 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8427
8428         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8429         `elmo-imap4-literal-subr'.
8430         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8431         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8432
8433 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8434
8435         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8436         (elmo-archive-list-folder): Fix.
8437         (elmo-archive-max-of-folder): Fix.
8438
8439 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8440
8441         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8442          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8443         (elmo-localdir-append-msg): Ditto.
8444         (elmo-localdir-list-folder): Fix for `nonsort'.
8445         (elmo-localdir-list-folder-subr): Fix for `killed'.
8446         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8447         (elmo-maildir-list-folder-subr): Ditto.
8448         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8449         (elmo-archive-list-folder-subr): Ditto.
8450         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8451         (elmo-internal-list-folder-subr): Ditto.
8452
8453 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8454
8455         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8456
8457 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8458
8459         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8460
8461 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8462
8463         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8464         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8465
8466         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8467         before greeting.
8468         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8469         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8470
8471 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8472
8473         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8474
8475         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8476         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8477         before STORE command.
8478
8479 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8480
8481         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8482
8483         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8484         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8485         of `response'.
8486         (elmo-imap4-list-folders): Removed unused local variable.
8487         (elmo-network-initialize-session): Ditto.
8488         (elmo-imap4-delete-msg-by-id): Ditto.
8489         (elmo-imap4-parse-fetch): Ditto.
8490         (elmo-imap4-copy-msgs): Ditto.
8491         Use `dst-spec' instead of `dst-folder'.
8492         (elmo-network-authenticate-session): Check authenticate type `plain'.
8493
8494 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8495
8496         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8497         garbage checking.
8498         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8499         `elmo-imap4-response-value'.
8500         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8501
8502 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8503
8504         * elmo-imap4.el (elmo-imap4-send-command):
8505         Cause elmo-imap4-bye-error when current response is BYE.
8506         (elmo-imap4-arrival-filter): Changed greeting response value.
8507
8508         * elmo2.el (elmo-imap4-bye-error): Define.
8509
8510         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8511         (elmo-imap4-server-diff): Ditto.
8512         (elmo-imap4-response-bye-p): New macro.
8513         (elmo-imap4-response-error-text): Get text from BYE response.
8514         (elmo-imap4-read-response): Return if BYE response.
8515         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8516         (elmo-imap4-folder-exists-p): Ditto.
8517         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8518         (elmo-imap4-parse-bye): New function.
8519         (elmo-imap4-parse-response): Remove needless let.
8520         Call `elmo-imap4-parse-bye'.
8521
8522 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8523
8524         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8525         the mailbox does not exist.
8526         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8527
8528 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8529
8530         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8531
8532 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8533
8534         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8535
8536         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8537         (elmo-network-initialize-session-buffer): Defined.
8538
8539         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8540         Abolished.
8541         (mmelmo-imap4-get-mime-entity): Rewrite.
8542
8543         * elmo2.el (elmo-error): Capitalize error message.
8544
8545         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8546         (elmo-network-session-buffer): New macro.
8547         (elmo-network-open-session): Use it.
8548
8549         * elmo-imap4.el: Rewrite.
8550
8551 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8552
8553         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8554
8555 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8556
8557         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8558         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8559         (elmo-imap4-create-msgdb-from-overview-string): Use
8560         `elmo-msgdb-create-overview-from-buffer'.
8561
8562 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8563
8564         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8565         (elmo-imap4-default-hierarchy-delimiter): New variable.
8566         (elmo-imap4-list-folders): Use it.
8567
8568 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8569
8570         * elmo-net.el (elmo-network-open-session): Add user and
8571         stream-type for process-buffer name.
8572
8573         * elmo-pop3.el (elmo-network-initialize-session): Call
8574         buffer-disable-undo.
8575
8576         * elmo-imap4.el (elmo-network-initialize-session):
8577         Set current-buffer as an argument for `buffer-disable-undo'.
8578
8579         * elmo-pop3.el (elmo-network-close-session): Don't use
8580         `process-live-p'.
8581
8582         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8583         Set default as 'user.
8584
8585         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8586
8587         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8588         and `elmo-imap4-flush-connection'.
8589
8590         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8591         (elmo-pop3-get-spec): Assume auth as symbol.
8592         (elmo-open-network-stream): Moved to `elmo-net'.
8593
8594         * elmo-pop3.el (toplevel): Require 'elmo-net.
8595         Define `sasl-cram-md5' to silence byte compilier.
8596         (elmo-pop3-connection-cache) Abolished.
8597         (elmo-pop3-authenticator-alist) New variable.
8598         (elmo-pop3-session): Define.
8599         (elmo-pop3-connection-get-process): Abolished.
8600         (elmo-pop3-connection-get-buffer): Ditto.
8601         (elmo-pop3-close-connection): Ditto.
8602         (elmo-pop3-flush-connection): Ditto.
8603         (elmo-pop3-get-connection): Ditto.
8604         (elmo-pop3-get-session): New function.
8605         (Replacement for `elmo-pop3-get-connection').
8606         All other related modules are changed.
8607         (elmo-network-close-session): Define.
8608         (elmo-pop3-send-command): Abolished argument `buffer'.
8609         All other related modules are changed.
8610         (elmo-pop3-read-response): Likewise.
8611         (elmo-pop3-open-connection): Abolished.
8612         (elmo-pop3-auth-user): New function.
8613         (elmo-pop3-auth-apop): Ditto.
8614         (elmo-pop3-auth-cram-md5): Ditto.
8615         (elmo-pop3-auth-scram-md5): Ditto.
8616         (elmo-pop3-auth-digest-md5): Ditto.
8617         (elmo-network-initialize-session): Define.
8618         (elmo-network-authenticate-session): Ditto.
8619         (elmo-network-setup-session): Ditto.
8620
8621         * elmo-imap4.el (toplevel): Require 'elmo-net.
8622         (elmo-imap4-session): Define.
8623         (elmo-imap4-connection-cache): Abolished.
8624         (elmo-imap4-password-key): Ditto.
8625         (elmo-imap4-flush-connection): Ditto.
8626         (elmo-imap4-get-connection): Ditto.
8627         All other related modules are changed.
8628         (elmo-imap4-get-session): New function
8629         (Replacement for `elmo-imap4-get-connection').
8630         (elmo-imap4-read-response): Abolished argument `buffer'.
8631         All other related modules are changed.
8632         (elmo-imap4-send-command): Likewise.
8633         (elmo-imap4-select-folder): Abolished.
8634         All other related modules are changed.
8635         (elmo-imap4-select-mailbox): New function.
8636         (Replacement for `elmo-imap4-select-folder').
8637         (elmo-imap4-auth-login): Simplify.
8638         (Assume current buffer as process buffer)
8639         (elmo-imap4-auth-cram-md5): Ditto.
8640         (elmo-imap4-auth-digest-md5): Ditto.
8641         (elmo-imap4-login): Ditto.
8642         (elmo-imap4-open-connection): Abolished.
8643         (elmo-imap4-open-connection-1): Abolished.
8644         (elmo-network-initialize-sessoin): Define.
8645         (elmo-network-authenticate-session): Ditto.
8646         (elmo-network-setup-session): Ditto.
8647
8648         * elmo-net.el: New module.
8649
8650 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8651
8652         * elmo-util.el (elmo-define-error): New function.
8653
8654         * elmo2.el (elmo-error): Define.
8655         (elmo-open-error): Define.
8656         (elmo-authenticate-error): Define.
8657
8658         * elmo-imap4.el (elmo-imap4-error): Abolish.
8659         (elmo-imap4-error-type): Abolish.
8660         (elmo-imap4-error-process): Abolish.
8661         (elmo-imap4-error-message): Abolish
8662         (elmo-imap4-list-folders): Don't quote lambda.
8663         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8664         (elmo-imap4-parse-namespace): Ditto.
8665         (elmo-imap4-open-connection): Rewrite.
8666         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8667         (elmo-imap4-get-connection): Abolish local variable `result'.
8668
8669 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8670
8671         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8672         wrong-type-argument error when auth is nil.
8673
8674 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8675
8676         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8677         (elmo-default-nntp-stream-type): Ditto.
8678         (elmo-default-pop3-stream-type): Ditto.
8679         (elmo-network-stream-type-alist): Ditto.
8680         (elmo-default-imap4-ssl): Abolished.
8681         (elmo-default-nntp-ssl): Ditto.
8682         (elmo-default-pop3-ssl): Ditto.
8683
8684         * elmo-util.el: (toplevel): Removed needless requires.
8685         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8686         (elmo-open-network-stream): Open network stream according to
8687         the value of `elmo-network-stream-type-alist'.
8688         (elmo-get-network-stream-type): New function.
8689         (elmo-network-stream-type-spec-string): New macro.
8690         (elmo-network-stream-type-symbol): Ditto.
8691         (elmo-network-stream-type-function): Ditto.
8692
8693         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8694         network-stream-type. All other related portions are changed.
8695         (elmo-pop3-open-connection): Ditto.
8696
8697         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8698         network-stream-type. All other related portions are changed.
8699
8700         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8701         network-stream-type.All other related portions are changed.
8702         (elmo-imap4-error): New macro.
8703         (elmo-imap4-error-type): Ditto.
8704         (elmo-imap4-error-process): Ditto.
8705         (elmo-imap4-error-message): Ditto.
8706         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8707         (elmo-imap4-auth-cram-md5): Ditto.
8708         (elmo-imap4-auth-digest-md5): Ditto.
8709         (elmo-imap4-login): Ditto.
8710         (elmo-imap4-open-connection): Remove password entry if authentication
8711         was in vain.
8712         (elmo-imap4-user-at-host): Abolished.
8713         (elmo-imap4-password-key): New buffer local variable.
8714         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8715         using protocol, port, auth and stream-type.
8716
8717         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8718
8719 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8720
8721         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8722
8723         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8724
8725         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8726         (elmo-imap4-authenticator-alist): New variable.
8727         (elmo-imap4-open-connection-1): Rename from
8728         elmo-imap4-open-connection.
8729         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8730         only wraps elmo-imap4-open-connection-1.
8731         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8732         user-at-host.
8733         (elmo-imap4-auth-login): New function.
8734         (elmo-imap4-auth-cram-md5): New function.
8735         (elmo-imap4-auth-digest-md5): New function.
8736         (elmo-imap4-login): New function.
8737
8738 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8739
8740         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8741         function `error'.
8742
8743 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8744
8745         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8746
8747 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8748
8749         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8750
8751 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8752
8753         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8754         for server responses, quote `*' regardless of where it appears.
8755
8756 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8757
8758         * elmo-maildir.el (elmo-maildir-commit): New alias.
8759
8760 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8761
8762         * elmo-util.el (elmo-display-progress):
8763                 Use `progress-feedback-with-label'.
8764
8765 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8766
8767         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8768         (elmo-imap4-non-atom-char-regex): Ditto.
8769         (elmo-imap4-non-text-char-regex): Ditto.
8770         (elmo-imap4-literal-threshold): Ditto.
8771         (elmo-imap4-atom-p): New function.
8772         (elmo-imap4-quotable-p): Ditto.
8773         (elmo-imap4-nil): Ditto.
8774         (elmo-imap4-atom): Ditto.
8775         (elmo-imap4-quoted): Ditto.
8776         (elmo-imap4-literal-subr): Ditto.
8777         (elmo-imap4-literal): Ditto.
8778         (elmo-imap4-buffer-literal): Ditto.
8779         (elmo-imap4-string-subr): Ditto.
8780         (elmo-imap4-string): Ditto.
8781         (elmo-imap4-buffer-string): Ditto.
8782         (elmo-imap4-astring-subr): Ditto.
8783         (elmo-imap4-astring): Ditto.
8784         (elmo-imap4-buffer-astring): Ditto.
8785         (elmo-imap4-nstring): Ditto.
8786         (elmo-imap4-buffer-nstring): Ditto.
8787         (elmo-imap4-mailbox): New alias.
8788         (elmo-imap4-field-body): Ditto.
8789         (elmo-imap4-userid): Ditto.
8790         (elmo-imap4-password): Ditto.
8791         (elmo-imap4-format-quoted): New function.
8792         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8793         arguments and handle "atom", "quoted" and "literal" string here.
8794         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8795         `elmo-imap4-send-command'.
8796         (elmo-imap4-folder-exists-p): Likewise.
8797         (elmo-imap4-create-folder): Likewise.
8798         (elmo-imap4-delete-folder): Likewise.
8799         (elmo-imap4-rename-folder): Likewise.
8800         (elmo-imap4-max-of-folder): Likewise.
8801         (elmo-imap4-check-validity): Likewise.
8802         (elmo-imap4-sync-validity): Likewise.
8803         (elmo-imap4-server-diff): Likewise.
8804         (elmo-imap4-select-folder): Likewise.
8805         (elmo-imap4-copy-msgs): Likewise.
8806         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8807         (elmo-imap4-mark-set-on-msgs): Likewise.
8808         (elmo-imap4-read-part): Likewise.
8809         (elmo-imap4-read-msg): Likewise.
8810         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8811         `elmo-imap4-password' for `elmo-imap4-send-command'.
8812         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8813         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8814         `elmo-imap4-buffer-literal'.
8815         (elmo-imap4-append-msg): Likewise.
8816
8817         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8818         `delete' for removing dead connection from the connection cache.
8819         Move deletion of the process buffer after that.
8820         (elmo-imap4-list): Change `defsubst' to `defun'.
8821         (elmo-imap4-commit): Make error message verbose.
8822         (elmo-imap4-search): Ditto.
8823         (elmo-imap4-list): Ditto.
8824         (elmo-imap4-select-folder): Ditto.
8825         (elmo-imap4-copy-msgs): Ditto.
8826         (elmo-imap4-delete-msg-by-id): Ditto.
8827         (elmo-imap4-append-msg-by-id): Ditto.
8828         (elmo-imap4-append-msg): Ditto.
8829
8830 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8831
8832         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8833         when dired is used on XEmacs.
8834
8835 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8836
8837         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8838         instead of `append'.
8839         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8840         `elmo-plugged-p' directly.
8841         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8842         of `elmo-plugged-p' directly.
8843
8844         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8845         Eliminate unused variable.  Use `memq' for checking a process status.
8846         Use `cons' instead of `append' for updating the connection cache.
8847         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8848         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8849
8850 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8851
8852         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8853         `elmo-imap4-read-point' exactly.
8854
8855         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8856         the local variable `folder' to `mailbox'.
8857         Rename the argument `fld' to `folder'.
8858
8859 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8860
8861         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8862         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8863
8864 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8865
8866         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8867         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8868         (elmo-pop3-uidl-number-hash): Ditto.
8869         (elmo-pop3-size-hash): Ditto.
8870         (elmo-pop3-uidl-done): Ditto.
8871         (elmo-pop3-list-done): Ditto.
8872         (elmo-pop3-connection-get-process): New defmacro.
8873         (elmo-pop3-connection-get-buffer): Ditto.
8874         (elmo-pop3-close-connection): Delete buffer and process.
8875         (elmo-pop3-flush-connection): Don't delete buffer and process.
8876         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8877         Setup UIDL and size hash.
8878         (elmo-pop3-send-command-no-erase): Deleted
8879         (elmo-pop3-send-command): Added optional argument `no-erase'.
8880         (elmo-pop3-parse-uidl-response): New function.
8881         (elmo-pop3-parse-list-response): Set size hash.
8882         (elmo-pop3-list-location): New function.
8883         (elmo-pop3-list-by-uidl-subr): Ditto.
8884         (elmo-pop3-list-by-list): Ditto.
8885         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8886         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8887         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8888         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8889         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8890         Use uidl.
8891         (elmo-pop3-uidl-to-number): New function.
8892         (elmo-pop3-number-to-uidl): Ditto.
8893         (elmo-pop3-number-to-size): Ditto.
8894         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8895         Set number by use of uidl.
8896         (elmo-pop3-msgdb-create-message): Likewise.
8897         Set size, loc-alist in msgdb.
8898         (elmo-pop3-read-msg): Set number by use of uidl.
8899         Added optional argument `msgdb'.
8900         (elmo-pop3-delete-msg): Ditto.
8901         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8902         (elmo-pop3-commit): Close connection.
8903
8904         * elmo-pipe.el (elmo-pipe-max-of-folder):
8905         Bind `elmo-pop3-use-uidl' as nil.
8906         (elmo-pipe-drain): Ditto.
8907         Call `elmo-commit'.
8908
8909         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8910         (elmo-msgdb-overview-entity-set-size): New defsubst.
8911
8912 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8913
8914         * elmo-vars.el (elmo-use-killed-list): New variable
8915         (Renamed from `elmo-nntp-use-killed-list').
8916         (elmo-nntp-use-killed-list): Eliminated.
8917
8918         * elmo-msgdb.el (elmo-msgdb-expand-path):
8919         Changed expanding msgdb path for elmo-multi.
8920
8921         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8922         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8923         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8924         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8925         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8926         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8927         (toplevel): Deleted time-stamp line.
8928
8929         * elmo2.el (elmo-clear-killed ): Defined as function
8930         (Abolished defining as a backend function).
8931         All other related modules are changed.
8932
8933 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8934
8935         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8936
8937 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8938
8939         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8940
8941 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8942
8943         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8944
8945 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
8946
8947         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8948         asynchronous folder check.
8949
8950         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8951
8952         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8953         `elmo-nntp-use-killed-list'.
8954         (elmo-nntp-list-folder): Use killed list.
8955         (elmo-nntp-max-of-folder): Ditto.
8956         (elmo-nntp-msgdb-create): Set killed list.
8957
8958         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8959
8960         * elmo2.el (elmo-clear-killed): New backend function.
8961         All other related modules are changed.
8962
8963 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
8964
8965         * elmo-util.el (elmo-imap4-spec-folder): Use
8966         `elmo-imap4-spec-mailbox'; Mark as obsolete.
8967         All callers changed.
8968
8969 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
8970
8971         * mmelmo-2.el (initialize-instance):
8972         Use `mime-buffer-entity-buffer-internal' instead of
8973         `mime-entity-buffer'.
8974
8975         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8976         (mime-entity-body): Implemented.
8977         (mime-goto-header-start-point): Deleted.
8978         (mime-goto-body-end-point): Ditto.
8979         (mime-entity-point-min): Ditto.
8980         (mime-entity-point-max): Ditto.
8981         (mime-entity-children): Ditto.
8982         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8983         instead of `mime-entity-buffer'.
8984         (mime-entity-header-buffer): Ditto.
8985         (mime-entity-body-buffer): Ditto.
8986         (mime-write-entity-content): Ditto.
8987
8988         * pldap.el (ldap-static-if): New macro.
8989         (toplevel): Use it instead of `static-if'.
8990
8991 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
8992
8993         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8994         included in `attrs' argument.
8995
8996 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
8997
8998         * elmo-util.el (elmo-get-passwd): Use old backquote style.
8999
9000         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9001         (ldap-ldif-safe-init-char-regexp): Ditto.
9002         (ldap-ldif-safe-string-regexp): Ditto.
9003         (ldap/ldif-safe-string-p): New macro.
9004         (ldap/ldif-insert-field): Ditto.
9005         (ldap-modify): Use it.
9006         (ldap-add): Ditto.
9007         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9008         (ldap-decode-attribute): Decode only when `attr' is consp.
9009         (ldap-delete): Bind `ret'.
9010         (toplevel): Require 'cl at compile time.
9011         Removed (require 'poe) and (require 'std11).
9012         (pldap-version): Eliminated.
9013         (ldap-search-basic): Removed auth and dn binding.
9014         (ldap-ldif-field-name-regexp): New constant.
9015         (ldap-ldif-field-head-regexp): Ditto.
9016         (ldap-ldif-next-field-head-regexp): Ditto.
9017         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9018         (ldap/field-end): New function.
9019         (ldap/field-body): Use it.
9020         (ldap/collect-field): Ditto.
9021         (ldap-search-basic): Use `ldap/field-body'.
9022
9023 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9024
9025         * pldap.el (ldap-default-attribute-encoder): New user option.
9026         (ldap/field-body): Decode base64 string.
9027         (ldap/collect-field): Ditto.
9028         (ldap-encode-attribute): New function.
9029         (ldap-add-entries): Use it.
9030         (ldap-modify-entries): Ditto.
9031         (ldap-search-entries): Enclosed decoding function with
9032         `with-temp-buffer' and set as unibyte.
9033         (ldap-search-basic): Set process buffer as unibyte.
9034
9035         * elmo-util.el (elmo-folder-identical-system-p):
9036         Eliminated name space checking.
9037
9038         * pldap.el: New module.
9039         toplevel: Changed condition to detect built-in ldap feature.
9040         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9041         (ldap-add): Added error handling.
9042         (ldap-modify): Ditto.
9043         (ldap-delete): Ditto.
9044
9045 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9046
9047         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9048         Initialize local variables with `let'.  Inline a temporary
9049         variable for the progress percentage.  Sort `setq' to reduce
9050         function call in the while-loop.
9051
9052         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9053         into the conditional branch.
9054
9055 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9056
9057         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9058         Move a conditional out of the while-loop.
9059
9060 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9061
9062         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9063         elmo-msgdb-overview-get-entity-by-number.
9064         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9065         throw.
9066
9067 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9068
9069         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9070         the local variable for a packed number self descriptively.
9071
9072 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9073
9074         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9075         * elmo-localdir.el (elmo-localdir-pack-number): Use
9076         `elmo-msgdb-overview-get-entity' instead of
9077         `elmo-msgdb-overview-get-entity-by-number'.
9078         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9079         (elmo-msgdb-search-overview-entity): Removed.
9080         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9081         by message-id or number.
9082         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9083         instead of `elmo-msgdb-overview-get-entity-by-number'.
9084
9085 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9086
9087         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9088         non-nil, use hash table for overview.
9089         (elmo-hash-maximum-size): New variable.
9090         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9091         (elmo-msgdb-make-overview-hashtb): New function.
9092         (elmo-msgdb-clear-overview-hashtb): New function.
9093         (elmo-clear-hash-val): New macro.
9094         All other related modules are changed.
9095
9096 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9097
9098         * elmo2.el (elmo-move-msgs): If there's other message with
9099         same message-id, don't use cache.
9100
9101 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9102
9103         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9104         number is already packed.
9105
9106 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9107
9108         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9109
9110 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9111
9112         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9113         All other related modules are changed.
9114
9115 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9116
9117         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9118         of refiling failure on Maildir.
9119
9120 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9121
9122         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9123         decoded mime-charset with cache.
9124         (elmo-msgdb-overview-entity-get-from): Ditto.
9125         (elmo-msgdb-overview-entity-get-subject): Ditto.
9126         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9127
9128 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9129
9130         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9131         (elmo-remove-passwd): Fill password with 0 before erase.
9132         * elmo-vars.el (elmo-passwd-life-time): New variable.
9133
9134 \f
9135 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9136
9137         * elmo-cache.el (elmo-buffer-cache-add):
9138         Set message cache buffer as unibyte.
9139
9140 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9141
9142         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9143         become nil.
9144
9145 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9146
9147         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9148         when display is finished.
9149         (elmo-nntp-msgdb-create): Ditto.
9150         (elmo-nntp-groups-read-response): Ditto.
9151         (elmo-nntp-retrieve-headers): Ditto.
9152         (elmo-nntp-msgdb-create-message): Ditto.
9153         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9154         (elmo-pop3-msgdb-create-message): Ditto.
9155
9156 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9157
9158         * elmo-maildir.el (elmo-maildir-msgdb-create):
9159         Use `elmo-msgdb-sort-by-date'.
9160
9161 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9162
9163         * elmo2.el (elmo-read-msg-no-cache):
9164         Eliminated arguments after `outbuf'.
9165         Don't use cache even if it exists.
9166         (elmo-read-msg): Don't pass arguments after `outbuf' to
9167         `elmo-read-msg-no-cache'.
9168
9169 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9170
9171         * elmo-archive.el (elmo-archive-list-folders):
9172         Use `file-name-directory' if base folder does not exist.
9173
9174 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9175
9176         * elmo-archive.el (elmo-archive-list-folders): Don't use
9177         `file-name-directory'.
9178
9179 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9180
9181         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9182         If `force' is non-nil, try flushing all operation queues.
9183
9184 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9185
9186         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9187         as-binary-process.
9188
9189 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9190
9191         * elmo-util.el (elmo-display-progress): Fixed.
9192
9193 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9194
9195         * elmo-util.el (elmo-display-progress): New function.
9196         All other related modules are changed.