2002-05-05 David Smith <ultrasoul@ultrasoul.com>
[elisp/wanderlust.git] / elmo / ChangeLog
1 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
2
3         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4         Use SELECT when elmo-imap4-use-select-to-update-status is t.
5
6 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
9
10         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
11         'read when mark is null.
12
13 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
14
15         * elmo-version.el (elmo-version): Up to 2.11.4.
16
17 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
18
19         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
20         (elmo-folder-mark-as-answered): Ditto.
21
22 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
23
24         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
25         (elmo-pop3-get-session): Make msgdb directory after session.
26         (elmo-folder-exists-p): Check exactly at the first time even when the
27         elmo-pop3-exists-exactly is nil.
28
29         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
30         (elmo-folder-list-messages): Define instead of
31         elmo-folder-list-messages-internal.
32         (elmo-folder-check): Check destination folder.
33         (elmo-folder-synchronize): Drain the pipe.
34
35         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
36         when msgdb is not loaded.
37
38         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
39
40         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
41         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
42         messages.
43
44         * elmo.el (elmo-folder-kill-messages-before): New function.
45         (elmo-folder-kill-messages): Ditto.
46         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
47
48         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
49         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
50         killed not by synchronize (e.g. scoring).
51
52 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
53
54         * elmo.el (elmo-folder-search-fast): Return t if condition is not
55         treated.
56         (elmo-folder-search): Follow the change above.
57
58         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
59         into the candidates of search field.
60
61 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
62
63         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
64         (elmo-msgdb-unset-flag): Ditto.
65
66         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
67
68 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
69
70         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
71         (elmo-folder-commit): Define.
72         (elmo-folder-synchronize): Ditto.
73         (elmo-folder-list-flagged): Ditto.
74         (elmo-folder-commit): Ditto.
75         (elmo-folder-length): Ditto.
76         (elmo-folder-count-flags): Ditto.
77         (elmo-message-mark): Ditto.
78         (elmo-message-field): Ditto.
79         (elmo-message-entity): Ditto.
80         (elmo-message-folder): Ditto.
81
82 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
83
84         * elmo.el (elmo-message-field): Define as a method.
85
86         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
87         (elmo-message-field): Define.
88
89         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
90         (elmo-folder-list-importants): Ditto.
91         (elmo-folder-list-answereds): Ditto.
92
93         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
94         qualifier.
95         (elmo-folder-mark-as-read): Ditto.
96         (elmo-folder-unmark-read): Ditto.
97         (elmo-folder-mark-as-answered): Ditto.
98         (elmo-folder-unmark-answered): Ditto.
99         (elmo-folder-list-flagged): Define.
100         (elmo-folder-commit): Ditto.
101         (elmo-folder-length): Ditto.
102         (elmo-folder-count-flags): Ditto.
103
104 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
105
106         * elmo.el (elmo-folder-detach-messages): New method.
107         (elmo-folder-move-messages): Use it.
108         (elmo-folder-synchronize): Ditto.
109
110         * elmo-multi.el (elmo-folder-detach-messages): Define.
111
112         * elmo.el (elmo-message-copy-entity): New function.
113         (elmo-message-entity-set-number): Ditto.
114         (elmo-message-mark): Define as method.
115
116         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
117         (elmo-folder-synchronize): Return 0 (Should be reconsider).
118         (elmo-message-entity): Fixed last change.
119         (elmo-message-mark): Define.
120         (elmo-folder-msgdb-create): Abolish.
121         (elmo-multi-folder-append-msgdb): Ditto.
122         (elmo-multi-folder-diff): Fixed.
123         (elmo-multi-split-number-alist): Removed.
124         (elmo-multi-split-mark-alist): Removed.
125         (elmo-folder-list-messages): Define.
126         (elmo-folder-list-messages-internal): Removed.
127
128         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
129         local file messages.
130         (elmo-folder-msgdb-create): Fixed read mark.
131
132 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
133
134         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
135         if mark is nil.
136
137 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
138
139         * elmo.el (elmo-folder-list-message-entities): Define as inline
140         function.
141         (elmo-folder-messages): Abolish.
142
143         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
144         folder.
145         (elmo-folder-synchronize): Define.
146         (elmo-message-entity): Define.
147
148 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
149
150         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
151         elmo-imap4-session-select-mailbox.
152
153         * elmo.el (elmo-folder-move-messages): Don't display any message.
154
155         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
156         parsing.
157         (elmo-imap4-session-check): Don't wait CHECK response.
158         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
159
160 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
161
162         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
163
164 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
165
166         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
167         API.
168         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
169
170
171         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
172         (elmo-folder-list-message-entities): Added argument in-msgdb and
173         numbers.
174         (elmo-folder-synchronize): Define as a method.
175
176         * elmo-nntp.el (elmo-folder-initialize): Don't use
177         elmo-nntp-default-user if zero-length username is specified
178         explicitly.
179
180 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
181
182         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
183         server name in case with username.
184         (XXX: this is ad-hoc fix against username includes "@", it
185         should be solved fundamentally)
186
187 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
188
189         * elmo-nntp.el (elmo-nntp-debug): New function.
190         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
191         (elmo-network-authenticate-session): Hide auth-info from the log.
192
193         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
194         user name if it is equal to elmo-nntp-default-user.
195
196 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
197
198         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
199         instead of shimbun-server-internal;
200         Use shimbun-current-group instead of shimbun-current-group-internal.
201         (elmo-folder-plugged-p): Use shimbun-server instead of
202         shimbun-server-internal.
203         (elmo-folder-set-plugged): Ditto.
204         (elmo-net-port-info): Ditto.
205         (elmo-folder-check): Ditto.
206         (elmo-folder-expand-msgdb-path): Ditto.
207         (elmo-folder-list-subfolders): Ditto.
208
209 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
210
211         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
212         Convert field-name to lower case.
213         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
214
215 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
216
217         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
218         `message' and `error' take format string.
219
220 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
221
222         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
223
224 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
225
226         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
227         recursive call (can't byte compile on emacs 20.7).
228
229 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
230
231         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
232         (elmo-folder-list-message-entities): New API.
233         (elmo-message-entity): Ditto.
234         (elmo-message-entity-parent): Ditto.
235         (elmo-folder-do-each-message-entity): Ditto.
236         (elmo-message-entity-number): Ditto.
237         (elmo-message-entity-field): Ditto.
238         (elmo-message-entity-set-field): Ditto.
239         (elmo-folder-count-flags): Ditto.
240         (elmo-folder-length): Ditto.
241
242         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
243         not.
244
245         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
246         (elmo-msgdb-count-marks): Abolish.
247         (elmo-msgdb-make-entity): Ditto.
248         (elmo-msgdb-do-each-entity): Ditto.
249         (elmo-msgdb-message-entity): New inline function.
250         (elmo-msgdb-message-entity-field): Ditto.
251         (elmo-msgdb-message-entity-set-field): Ditto.
252         (elmo-msgdb-make-message-entity): New function.
253
254 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
255
256         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
257         to flag. (All other related portions are changed.)
258         (elmo-folder-msgdb-create): Likewise.
259         (elmo-generic-folder-append-messages): Use flag-table instead of
260         seen-list.
261         (elmo-folder-move-messages): Removed redundant process.
262         (elmo-folder-synchronize): Likewise.
263
264         * elmo-msgdb.el (elmo-flag-table-get): New function.
265         (elmo-flag-table-save): Fixed.
266         (elmo-msgdb-length): New inline function.
267         (elmo-msgdb-flag-table): New function.
268         (elmo-msgdb-mark): Add optional argument new.
269         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
270         (elmo-msgdb-seen-list): Ditto.
271         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
272
273
274 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
275
276         * elmo.el (elmo-message-set-mark): Abolish.
277         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
278         (All related portions are changed.)
279
280         * elmo-msgdb.el (toplevel): Added comment.
281         (elmo-load-msgdb): Added 4th element `path'.
282         (elmo-msgdb-append): Follow the change above.
283         (elmo-msgdb-clear): Ditto.
284         (elmo-msgdb-delete-msgs): Ditto.
285         (elmo-msgdb-get-path): New inline function.
286         (elmo-msgdb-set-path): Ditto.
287         (elmo-flag-table-filename): New variable.
288         (elmo-flag-table-load): New function.
289         (elmo-flag-table-set): Ditto.
290         (elmo-flag-table-save): Ditto.
291         (elmo-msgdb-get-field-value): Abolish.
292         (elmo-msgdb-overview-get-entity-by-number): Ditto.
293
294 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
295
296         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
297         the folder has been deleted successfully.
298         * elmo-imap4.el (elmo-folder-delete): Ditto.
299         * elmo-archive.el (elmo-folder-delete): Ditto.
300         * elmo-localdir.el (elmo-folder-delete): Ditto.
301         * elmo-maildir.el (elmo-folder-delete): Ditto.
302
303 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
304
305         * elmo-util.el (elmo-string-member-ignore-case): New function.
306         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
307         (elmo-imap4-fetch-callback-1-subr): Likewise.
308
309 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
310
311         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
312         the case of the name attribute "\Noselect".
313
314 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
315
316         * elmo.el (elmo-folder-rename-internal): New method to cause error.
317
318         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
319         flist, is not always a member of onum-alist.
320
321 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
322
323         * elmo-version.el (elmo-version): Up to 2.11.3.
324
325 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
326
327         * elmo-maildir.el (elmo-folder-rename-internal): New method,
328         copied from localdir's one.
329
330         * elmo-pipe.el (elmo-folder-rename): New method, rename
331         destination folder with leaving source folder as it is.
332
333 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
334
335         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
336         replace-regexp.
337
338 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
339
340         * elmo-version.el (elmo-version): Up to 2.11.2.
341
342 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
343
344         * elmo-shimbun.el (elmo-folder-initialize): Do not call
345         shimbun-open in case of "@".
346         (elmo-folder-open-internal): Cope with shimbun = nil case.
347         (elmo-folder-plugged-p): Ditto.
348         (elmo-folder-list-subfolders): Make list for "@/" group.
349
350 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
351
352         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
353         mailbox (e.g. for %~/something).
354
355 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
356
357         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
358         Replace nested conditional with guard clauses.
359
360 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
361
362         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
363         error [wl:11327].
364
365         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
366         print-depth.
367
368 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
369
370         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
371         Replace nested conditional with guard clauses.
372
373 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
374
375         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
376         (elmo-passwd-alist-save): Ditto.
377         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
378
379 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
380
381         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
382         dir-name only if it is absolute path.
383         (TODO: distinguish +/something and +something)
384
385 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
386
387         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
388         path for "+~/something".
389
390 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
391
392         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
393         as non-directory, cause error before rename-file.
394         * elmo-archive.el (elmo-folder-rename-internal): Create directory
395         apropriately, mimic localdir's one.
396         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
397
398 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
399
400         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
401
402 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
403
404         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
405
406         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
407         
408         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
409         is included in the global-mark or not.
410
411 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
412
413         * utf7.el (toplevel): Avoid error when the function
414         find-coding-system does not exist.
415
416 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
417
418         * elmo-nntp.el (elmo-folder-search): Body search is to search from
419         cache even if the folder is plugged.
420         (elmo-nntp-search-primitive): Do nothing when body search is
421         invoked (although it is not used by the change above).
422         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
423
424 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
425
426         * elmo-version.el (elmo-version): Up to 2.11.1.
427
428 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
429
430         * elmo-archive.el: Specify charset.
431
432 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
433
434         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
435         process buffer lives or not.
436
437         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
438         while flushing queues (It causes infinite loop).
439
440 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
441
442         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
443
444 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
445
446         * utf7.el (toplevel): Check the ucs features dynamically.
447         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
448
449         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
450         folder is creatabe or not if it already exists.
451
452 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
453
454         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
455
456         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
457
458         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
459         (elmo-imap4-read-response): Take care of garbage response.
460
461 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
462
463         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
464         just return nil instead of error.
465
466 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
467
468         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
469         search-key is "body".
470
471 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
472
473         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
474         of elmo-string-matched-assoc to use match-data.
475         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
476
477 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
478
479         * elmo-split.el (elmo-split->): New function.
480         (elmo-split-<): Ditto.
481
482 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
483
484         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
485         workaround for invalid message-id.
486
487 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
488
489         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
490         return normal pop3 session or pop3 biff session.
491
492 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
493
494         * elmo-maildir.el (elmo-maildir-update-current): Don't append
495         info part to the cur files when the new files already have it.
496         (Adviced by Jared Rhine <jared@wordzoo.com>)
497
498 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
499
500         * elmo-split.el (elmo-split-default-action): New variable.
501         (elmo-split-subr): Use it if all other conditions are passed.
502         Extend `fname' and rename it as `action'. (implemented
503         Teranishi-san's idea in [wl:10800])
504
505 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
506
507         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
508         * elmo-util.el: Ditto.
509
510 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
511
512         * elmo.el (elmo-message-accessible-p): Renamed from
513         elmo-message-cached-p and rewritten.
514
515 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
516
517         * elmo.el (elmo-folder-list-flagged): New generic function.
518         (elmo-folder-list-importants): New implementation.
519         (elmo-folder-list-answereds): Ditto.
520         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
521         Added 'digest'.
522         (elmo-message-cached-p): New function.
523         (elmo-message-set-flag): Ditto (no content).
524         (elmo-message-unset-flag): Ditto.
525         (elmo-folder-list-messages-mark-match): Abolish.
526
527         * elmo-util.el (elmo-regexp-opt): New function.
528
529         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
530         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
531         Added 'digest'.
532         (elmo-msgdb-list-flagged): New function.
533
534         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
535         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
536         Added 'digest'.
537
538         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
539
540 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
541
542         * elmo-version.el (elmo-version): Up to 2.11.0.
543
544 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
545
546         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
547         `elmo-file-cache-exists-p'; use proper mark that depends on
548         `use-cache'.
549         (elmo-msgdb-unset-flag): Ditto.
550         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
551
552         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
553         with 4th argument `use-cache'.
554
555 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
556
557         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
558         (elmo-folder-mark-as-important): Ditto.
559         (elmo-folder-unmark-read): Ditto.
560         (elmo-folder-mark-as-read): Ditto.
561         (elmo-folder-unmark-answered): Ditto.
562         (elmo-folder-mark-as-answered): Ditto.
563
564         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
565         message status.
566         (elmo-msgdb-mark): Likewise.
567         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
568         (elmo-msgdb-unset-flag): Likewise.
569
570         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
571
572 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
573
574         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
575         `last:' filter.
576
577 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
578
579         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
580         set spool-length to 0.
581
582 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
583
584         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
585         (elmo-dop-queue-flush): Fixed last change.
586
587 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
588
589         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
590         if require-msgdb slot is nil.
591         (elmo-folder-list-importants): Likewise.
592
593 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
594
595         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
596         mark is changed.
597
598         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
599         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
600         is changed.
601
602 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
603
604         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
605
606 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
607
608         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
609
610         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
611
612 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
613
614         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
615         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
616
617 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
618
619         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
620         the problem reported by Sean Rima [wl-en:180].
621
622 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
623
624         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
625
626         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
627
628         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
629
630         * elmo-map.el (elmo-folder-unmark-read): Ditto.
631
632         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
633
634         * elmo-net.el (elmo-folder-unmark-read): Ditto.
635
636         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
637
638 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
639
640         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
641         status number.
642
643 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
644
645         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
646         (elmo-folder-mark-as-read): Follow the API change.
647         (elmo-message-set-cached): New function.
648
649         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
650
651         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
652
653         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
654         (elmo-folder-mark-as-important): Ditto.
655         (elmo-folder-unmark-read): Ditto.
656         (elmo-folder-mark-as-read): Ditto.
657         (elmo-folder-unmark-answered): Ditto.
658         (elmo-folder-mark-as-answered): Ditto.
659
660         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
661         (elmo-folder-unmark-important): Ditto.
662         (elmo-folder-mark-as-read): Ditto.
663         (elmo-folder-unmark-read): Ditto.
664         (elmo-folder-mark-as-answered): Ditto.
665         (elmo-folder-unmark-answered): Ditto.
666
667         * elmo-mark.el (toplevel): Removed some mark method definitions.
668
669         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
670         (elmo-map-folder-mark-as-answered): Ditto.
671         (elmo-folder-unmark-important): Add :before qualifier.
672         (elmo-folder-mark-as-important): Ditto.
673         (elmo-folder-unmark-read): Ditto.
674         (elmo-folder-mark-as-read): Ditto.
675         (elmo-folder-unmark-answered): Define.
676         (elmo-folder-mark-as-answered): Ditto.
677
678         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
679         (elmo-map-folder-unmark-answered): Ditto.
680
681         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
682
683         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
684         (elmo-folder-mark-as-important): Ditto.
685         (elmo-folder-unmark-read): Ditto.
686         (elmo-folder-mark-as-read): Ditto.
687         (elmo-folder-unmark-answered): Ditto.
688         (elmo-folder-mark-as-answered): Ditto.
689
690         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
691         `mark'; evaluate mark condition.
692         (elmo-msgdb-match-condition-internal): New function.
693         (elmo-msgdb-match-condition): Call it; changed argument.
694
695         * elmo.el (elmo-folder-search): Follow the API change on
696         `elmo-msgdb-match-condition'.
697
698 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
699
700         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
701         original mark is non-nil.
702
703 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
704
705         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
706         (elmo-map-folder-list-answereds): New method.
707         (elmo-folder-list-unreads): Add :around qualifier.
708         (elmo-folder-list-importants): Ditto.
709         (elmo-folder-list-answereds): Ditto.
710
711 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
712
713         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
714
715         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
716         method if msgdb is not required.
717         (elmo-filter-folder-list-importants): Don't treat global-mark.
718
719         * elmo.el (elmo-folder-list-importants): Ditto.
720
721         * elmo-net.el (elmo-folder-list-importants): Ditto.
722
723         * elmo-map.el (elmo-folder-list-importants): Ditto.
724
725         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
726
727         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
728         (elmo-imap4-folder-list-any-plugged): New function.
729         (elmo-imap4-search-internal-primitive): Use it.
730
731         * elmo-filter.el (elmo-folder-check): Synchronize original folder
732         only when require-msgdb slot is non-nil.
733         (elmo-folder-close): Clear target folder's msgdb.
734
735 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
736
737         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
738         (elmo-pop3-msgdb-create-by-header): Ditto.
739         (elmo-pop3-msgdb-create-message): Ditto.
740
741         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
742
743         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
744
745         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
746
747         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
748         (elmo-folder-msgdb-create): Ditto.
749         (elmo-nntp-folder-msgdb-create): Ditto.
750         (elmo-nntp-msgdb-create-by-header): Ditto.
751         (elmo-nntp-msgdb-create-message): Ditto.
752         (elmo-folder-list-unreads): Define.
753
754         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
755         (elmo-folder-append-messages): Ditto.
756         (elmo-folder-list-unreads): Define.
757         (elmo-folder-list-importants): Ditto.
758         (elmo-folder-list-answereds): Ditto.
759
760         * elmo-net.el (elmo-folder-list-unreads): Define.
761         (elmo-folder-list-importants): Ditto.
762         (elmo-folder-list-answereds): Ditto.
763         (elmo-folder-list-answereds-plugged): Ditto.
764         (elmo-folder-msgdb-create): Follow the API change.
765         (elmo-folder-msgdb-create-unplugged): Ditto.
766         (elmo-folder-unmark-answered): Define.
767         (elmo-folder-mark-as-answered-unplugged): Ditto.
768         (elmo-folder-unmark-answered-unplugged): Ditto.
769
770         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
771         (elmo-msgdb-unread-uncached-mark): Ditto.
772         (elmo-msgdb-unread-cached-mark): Ditto.
773         (elmo-msgdb-read-uncached-mark): Ditto.
774         (elmo-msgdb-answered-cached-mark): Ditto.
775         (elmo-msgdb-answered-uncached-mark): Ditto.
776         (elmo-msgdb-important-mark): Ditto.
777         (elmo-msgdb-set-mark): Rewrite.
778         (elmo-msgdb-count-marks): Rewrite.
779         (elmo-msgdb-mark-alist-set): Abolish.
780         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
781         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
782
783         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
784         (elmo-folder-close): Define.
785         (elmo-folder-msgdb-create): Follow the API change.
786         (elmo-folder-list-unreads): Rewrite.
787         (elmo-folder-mark-as-important): Ditto.
788         (elmo-folder-unmark-important): Ditto.
789         (elmo-folder-mark-as-read): Ditto.
790         (elmo-folder-unmark-read): Ditto.
791         (elmo-folder-mark-as-answered): Define.
792         (elmo-folder-unmark-answered): Ditto.
793
794         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
795         (elmo-folder-append-messages): Ditto.
796
797         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
798
799         * elmo-map.el (elmo-folder-list-unreads): Ditto.
800         (elmo-folder-list-importants): Ditto.
801
802         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
803         (elmo-folder-append-messages): Ditto.
804
805         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
806         change.
807         (elmo-folder-msgdb-create-plugged): Ditto.
808         (elmo-folder-append-messages): Ditto.
809         (elmo-folder-list-answereds-plugged): Define.
810         (elmo-imap4-search-internal-primitive): Add `mark' processing.
811         (elmo-folder-unmark-answered-plugged): Define.
812         (elmo-folder-mark-as-answered-plugged): Ditto.
813         (elmo-folder-search-requires-msgdb-p): Ditto.
814
815         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
816         (elmo-folder-initialize): Set it.
817         (elmo-folder-msgdb): Define.
818         (elmo-folder-check): Call elmo-folder-synchronize.
819         (elmo-folder-close): Define.
820         (elmo-folder-commit): Ditto.
821         (elmo-folder-msgdb-create): Rewrite.
822         (elmo-folder-list-unreads): Ditto.
823         (elmo-folder-list-importants): Ditto.
824         (elmo-folder-mark-as-read): Ditto.
825         (elmo-folder-unmark-read): Ditto.
826         (elmo-folder-mark-as-important): Ditto.
827         (elmo-folder-unmark-important): Ditto.
828         (elmo-folder-mark-as-answered): Define.
829         (elmo-folder-unmark-answered): Ditto.
830
831         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
832         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
833         (elmo-dop-queue-method-name-alist): Likewise.
834         (elmo-folder-mark-as-answered-dop): New inline function.
835         (elmo-folder-unmark-answered-dop): Ditto.
836         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
837
838         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
839         (elmo-folder-msgdb-create): Ditto.
840         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
841         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
842         (elmo-archive-parse-mmdf): Ditto.
843
844         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
845         (elmo-folder-list-unreads-internal): Ditto.
846
847         * elmo.el (elmo-folder-msgdb): Define as generic function.
848         (elmo-folder-list-messages): Added argument `in-msgdb'.
849         (elmo-folder-list-unreads): Define as generic function.
850         (elmo-folder-list-importants): Ditto.
851         (elmo-folder-list-answereds): Ditto.
852         (elmo-folder-list-messages-with-global-mark): New function.
853         (elmo-folder-msgdb-create): Removed mark arguments.
854         (elmo-folder-unmark-answered): New generic function.
855         (elmo-folder-mark-as-answered): Ditto.
856         (elmo-folder-append-messages): Removed argunment `unread-marks'
857         (elmo-folder-list-unreads-internal): Abolish.
858         (elmo-folder-list-importants-internal): Ditto.
859         (elmo-folder-search-requires-msgdb-p): New generic function.
860         (elmo-folder-search-requires-msgdb-p-internal): New function.
861         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
862         elmo-msgdb-load.
863         (elmo-folder-search-fast): Added key 'mark'.
864         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
865         instead of unread-marks argument.
866         (elmo-folder-move-messages): Removed argunment `unread-marks'
867         (elmo-folder-unmark-important): Define.
868         (elmo-folder-mark-as-important): Ditto.
869         (elmo-folder-unmark-read): Ditto.
870         (elmo-folder-mark-as-read): Ditto.
871         (elmo-folder-unmark-answered): Ditto.
872         (elmo-folder-mark-as-answered): Ditto.
873         (elmo-folder-replace-marks): Abolish.
874         (elmo-generic-folder-append-msgdb): Append msgdb before checking
875         duplicates.
876         (elmo-folder-synchronize): Removed mark arguments;
877         return crosspost only number.
878
879 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
880
881         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
882         Remove redundunt connectivity check.
883
884 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
885
886         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
887         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
888
889 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
890
891         * pldap.el (ldap-decode-string): Return string as-is if
892         `ldap-coding-system' is nil.
893         (ldap-encode-string): Ditto.
894         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
895         (ldap-default-host): Fixed docstring.
896
897 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
898
899         * elmo-util.el (elmo-warning): Define as a macro which uses
900         `display-warning' if it is defined as a function.
901
902         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
903         (elmo-split-equal): Use it.
904         (elmo-split-match): Ditto.
905         (elmo-split-message-entity): New buffer-local variable.
906         (elmo-split-subr): Set it.
907
908         * elmo-version.el (elmo-version): Up to 2.9.15.
909
910 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
911
912         * elmo-imap4.el (elmo-network-initialize-session):
913         Check capability after starttls.
914
915 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
916
917         * elmo-util.el (elmo-list-delete): Added optional argument
918         DELETE-FUNCTION.
919
920         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
921
922         * elmo-util.el (elmo-warning): Ignore errors while recenter.
923
924         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
925
926         * elmo-imap4.el (elmo-folder-initialize): Don't use
927         elmo-imap4-default-mailbox.
928
929 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
930
931         * elmo-split.el (toplevel): Use `product-provide'.
932         (elmo-split): Checkdoc.
933
934 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
935
936         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
937         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
938         the function `elmo-imap4-debug-1'.
939
940 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
941
942         * elmo-split.el (elmo-split): Moved to run hooks and to show
943         message from elmo-split-subr.
944         (elmo-split-subr): Follow the change above.
945
946         * elmo-split.el (elmo-split-subr): New function (renamed from
947         elmo-split-subr).
948         (elmo-split): Changed to call elmo-split-subr by element of
949         elmo-split-folder.
950         (elmo-split-folder): Changed customization type to choice.
951
952 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
953
954         * elmo-split.el (elmo-split-and): Fixed condition.
955
956 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
957
958         * elmo-split.el: New file.
959         (elmo-split): Fixed logic.
960         Display "Test:" instead of "Folder:" when reharsal.
961
962         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
963         explicitly.
964
965         * elmo-version.el (elmo-version): Up to 2.9.14.
966
967         * elmo-util.el (elmo-expand-newtext): New function (renamed from
968         wl-expand-newtext).
969
970 2002-06-10  Kenichi Sato <ksato@sonycom.com>
971
972         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
973         message with no message-id field.
974
975 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
976
977         * elmo-version.el (elmo-version): Up to 2.9.13.
978
979         * elmo-dop.el (elmo-folder-status-dop): Fix.
980
981 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
982
983         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
984
985         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
986         changing default value of default-mime-charset.
987         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
988
989         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
990
991         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
992         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
993         instead of elmo-dop-queue-method-name-alist to check merging queue.
994         (elmo-folder-delete-messages-dop): Delete from queue if negative
995         message number.
996         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
997         file is already removed.
998
999 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1000
1001         * elmo-vars.el: Bind colon keywords for old Emacsen.
1002
1003 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1004
1005         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
1006         against non-exsisting charset.
1007
1008 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
1009
1010         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
1011         Use eword-decode-and-unfold-unstructured-field-body.
1012
1013         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
1014         (elmo-msgdb-create-overview-from-buffer): Use document charset if
1015         exists to decode raw subject string.
1016         (toplevel): Require 'mime.
1017
1018         * elmo-version.el (elmo-version): Up to 2.9.12.
1019
1020 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
1021
1022         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
1023         (elmo-msgdb-set-mark): Ditto.
1024
1025         * elmo-version.el (elmo-version): Up to 2.9.11.
1026
1027 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
1028
1029         * elmo-util.el (elmo-delete-match-files): New function.
1030
1031         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
1032         instead of elmo-delete-directory.
1033
1034         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
1035         elmo-hash-minimun-size as 63.
1036
1037         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
1038         elmo-diff-unread is nil.
1039
1040         * elmo-imap4.el (elmo-folder-open): Fix.
1041
1042         * elmo.el (elmo-message-mark): Rewrite.
1043         (elmo-message-field): Ditto.
1044         (elmo-message-set-mark): Ditto.
1045         (elmo-folder-replace-marks): New function.
1046         (elmo-generic-folder-append-msgdb): Removed third argument for
1047         elmo-msgdb-append.
1048         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
1049         (elmo-msgdb-load): New implementation.
1050
1051         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
1052
1053         * elmo-util.el (elmo-list-insert): New implementation.
1054
1055         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
1056         argument for elmo-msgdb-append.
1057         
1058
1059         * elmo-msgdb.el (elmo-load-msgdb): New function.
1060         (elmo-make-msgdb): Ditto.
1061         (elmo-msgdb-get-index): New inline function.
1062         (elmo-msgdb-set-index): Ditto.
1063         (elmo-msgdb-get-entity-hashtb): Ditto.
1064         (elmo-msgdb-get-mark-hashtb): Ditto.
1065         (elmo-msgdb-get-mark): Ditto.
1066         (elmo-msgdb-set-mark): Ditto.
1067         (elmo-msgdb-count-marks): Ditto.
1068         (elmo-msgdb-get-number): Ditto.
1069         (elmo-msgdb-get-field): Ditto.
1070         (elmo-msgdb-seen-list): Ditto.
1071         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
1072         (elmo-msgdb-delete-msgs): Follow the changes above.
1073         (elmo-msgdb-overview-get-entity): Ditto.
1074         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1075         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
1076         and rewritten.
1077         (elmo-msgdb-make-index): Likewise.
1078         (elmo-msgdb-append): Removed third argument.
1079         (elmo-msgdb-clear): Clear index as nil.
1080         (elmo-folder-set-info-hashtb): Removed.
1081         (elmo-folder-set-info-max-by-numdb): Ditto.
1082         (elmo-folder-info-make-hashtb): Ditto.
1083
1084         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
1085
1086         * elmo-map.el (elmo-folder-pack-number): Ditto.
1087
1088 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
1089
1090         * elmo-version.el (elmo-version): Up to 2.9.10.
1091
1092         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
1093
1094         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
1095
1096 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
1097
1098         * elmo-utils.el (elmo-make-directory): Add option.
1099         Default file mode is 700.
1100
1101 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1102
1103         * elmo-shimbun.el (elmo-folder-local-p): Defined.
1104
1105 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
1106
1107         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
1108         mime-charset.
1109
1110         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
1111         and "smaller".
1112
1113 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1114
1115         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
1116         (elmo-shimbun-folder-entity-hash): New function.
1117         (elmo-shimbun-folder-shimbun-header): Ditto.
1118         (elmo-shimbun-entity-to-header): Ditto.
1119         (elmo-shimbun-msgdb-to-headers): Removed.
1120         (elmo-shimbun-folder-setup): Ditto.
1121         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
1122         for hash key.
1123         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
1124         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
1125         Removed useless local bind.
1126         (elmo-folder-open-internal): Don't call
1127         `elmo-shimbun-folder-setup'.
1128         (elmo-folder-close-internal): Clear entity-hash slot.
1129         (elmo-folder-clear): Ditto.
1130         (elmo-shimbun-msgdb-create-entity): Use
1131         `elmo-shimbun-folder-shimbun-header'.
1132         (elmo-map-message-fetch): Ditto.
1133         (elmo-shimbun-update-overview): Use overview entity instead of
1134         shimbun header to lookup id by references.
1135         (elmo-map-folder-list-message-locations): Use not only headers but
1136         also overviews to list locations.
1137
1138 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1139
1140         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
1141         msgdb path.
1142
1143         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
1144
1145 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1146
1147         * elmo-util.el (elmo-read-search-condition-internal): Give default
1148         value for date.
1149
1150 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
1151
1152         * elmo-util.el (elmo-condition-parse-search-value): Accept
1153         YYYY-MM-DD format to search.
1154         * elmo-date.el (elmo-date-get-datevec): Likewise.
1155
1156 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
1157
1158         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
1159         debugging code.
1160
1161 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1162
1163         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
1164         from t.
1165
1166         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
1167
1168         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
1169         case from `elmo-folder-exists-p'.
1170         (elmo-folder-exists-p): Removed.
1171         (elmo-folder-creatable-p) Ditto.
1172
1173         * elmo-net.el (elmo-folder-create): Defined.
1174         (elmo-folder-create-unplugged): New function.
1175         (elmo-folder-exists-p): Changed default value to nil from t.
1176
1177         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
1178         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
1179
1180         * elmo-dop.el (elmo-folder-create-dop): Renamed from
1181         `elmo-create-folder-dop' and append queue
1182         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
1183         (elmo-folder-create-dop-delayed): New function.
1184
1185         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
1186
1187         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
1188
1189         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
1190         (elmo-folder-writable-p) : Ditto.
1191
1192         * elmo-version.el (elmo-version): Up to 2.9.9.
1193
1194 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1195
1196         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
1197         `elmo-message-use-cache-p' returns nil.
1198         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
1199         (ignore cache file and refer the substance in local folders)
1200
1201 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1202
1203         * elmo-version.el (elmo-version): Up to 2.9.8.
1204
1205 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1206
1207         * elmo-version.el (elmo-version): Up to 2.9.7.
1208
1209         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
1210
1211 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
1212
1213         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
1214
1215 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
1216
1217         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
1218         from --early.
1219         (elmo-map-folder-list-message-locations): Reverse location list.
1220
1221 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
1222
1223         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
1224
1225 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
1226
1227         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
1228         as a key.
1229         (elmo-nntp-folder-list-subfolders): Follow the change above.
1230
1231 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
1232
1233         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
1234         name if authentication type is specified.
1235
1236 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
1237
1238         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
1239         variable.
1240         (elmo-default-nntp-stream-type): Ditto.
1241         (elmo-default-pop3-stream-type): Ditto.
1242
1243 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1244
1245         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
1246
1247 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1248
1249         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
1250         elmo-vars.el.
1251         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
1252
1253         * elmo-vars.el (elmo-localnews-folder-path): Removed.
1254         (elmo-maildir-folder-path): Ditto.
1255         (elmo-maildir-list): Ditto (abolished).
1256
1257 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
1258
1259         * elmo-version.el (elmo-version): Up to 2.9.6.
1260
1261 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1262
1263         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
1264         (elmo-maildir-folder-path): Ditto.
1265         (elmo-msgdb-directory): Ditto.
1266         (elmo-passwd-life-time): Ditto.
1267         (elmo-msgdb-extra-fields): Ditto.
1268         (elmo-enable-disconnected-operation): Ditto.
1269
1270 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
1271
1272         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
1273         other choices.
1274         (elmo-pop3-default-authenticate-type): Ditto.
1275
1276 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1277
1278         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
1279         choices for custom.
1280         (elmo-pop3-default-authenticate-type): Ditto.
1281
1282 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
1283
1284         * elmo-imap4.el (elmo-folder-rename-internal): Change current
1285         mailbox to new-folder.
1286
1287 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
1288
1289         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
1290         less than new, set new as unread.
1291
1292         * elmo-util.el (elmo-string): Don't put text-property if nil.
1293
1294 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
1295
1296         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
1297         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
1298
1299 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
1300
1301         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
1302         is nil on `completing-read'.
1303
1304 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1305
1306         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
1307         for namespace part.
1308         (elmo-imap4-parse-namespace-subr): Ditto.
1309         (elmo-folder-list-subfolders): Append a delimiter when the specified
1310         folder path is a root with namespace and does not end with delimiter.
1311
1312 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1313
1314         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
1315         was used.
1316
1317 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1318
1319         * elmo-util.el (elmo-save-buffer): The first argument of message
1320         is a format control string.
1321
1322 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1323
1324         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
1325         `elmo-folder-diff').
1326         (elmo-diff-unread): Likewise.
1327
1328 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
1329
1330         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
1331         is t on `completing-read'.
1332
1333 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1334
1335         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
1336         method of target folder with self mark-alist if MARK-ALIST is nil.
1337
1338 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
1339
1340         * elmo-version.el (elmo-version): Up to 2.9.5.
1341
1342 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
1343
1344         * elmo-dop.el (elmo-dop-queue-merge): Implement.
1345         (elmo-dop-merge-funcs): Remove.
1346
1347 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1348
1349         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
1350         Return t if PATH is directory, too.
1351         Use `dolist' instead of while loop.
1352
1353 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1354
1355         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
1356         is deleted.
1357
1358 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1359
1360         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
1361         return value to t.
1362         (elmo-folder-list-messages-unplugged): Return t if
1363         elmo-enable-disconnected-operation is nil.
1364
1365         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
1366         `elmo-folder-list-messages-internal'.
1367
1368 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
1369
1370         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
1371         Change to looking-at `[23][0-9]+'.
1372         (elmo-network-initialize-session): Use 'error-msg'
1373         * elmo-net.el (elmo-network-open-session): Set unplugged
1374         if elmo-network-initialize-session returns 'elmo-open-err.
1375
1376 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
1377
1378         * elmo-version.el (elmo-version): Up to 2.9.4.
1379
1380 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
1381
1382         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
1383         `elmo-folder-list-messages-internal'.
1384
1385 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1386
1387         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
1388         (elmo-message-match-condition): New method.
1389         (elmo-folder-search-fast): New inline function.
1390         (elmo-msgdb-search): Removed.
1391
1392         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
1393         target folder if it is unplugged.
1394         (elmo-folder-list-messages-internal): Return t if target folder is
1395         unplugged and itself is persistent; In this case, use list be
1396         searched already.
1397
1398         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
1399         (elmo-msgdb-search-internal-primitive): Ditto.
1400         (elmo-msgdb-match-condition): New function.
1401         (elmo-msgdb-match-condition-primitive): Ditto.
1402
1403         * elmo-util.el (elmo-filter-condition-p): New macro.
1404
1405         * elmo-cache.el (elmo-folder-search): Removed.
1406
1407         * elmo-localdir.el (elmo-folder-search): Ditto.
1408
1409         * elmo-maildir.el (elmo-folder-search): Ditto.
1410
1411         * elmo-mark.el (elmo-folder-search): Ditto.
1412
1413         * elmo-nmz.el (elmo-folder-search): Ditto.
1414
1415         * elmo-sendlog.el (elmo-folder-search): Ditto.
1416
1417         * elmo-shimbun.el (elmo-folder-search): Ditto.
1418
1419         * elmo-imap4.el (elmo-folder-search): Call method of parent class
1420         if folder is unplugged.
1421
1422         * elmo-nntp.el (elmo-folder-search): Likewise.
1423         (elmo-nntp-search-internal): New function.
1424
1425         * elmo-version.el (elmo-version): Up to 2.9.3.
1426
1427 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1428
1429         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
1430
1431 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
1432
1433         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
1434
1435 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
1436
1437         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
1438
1439 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
1440
1441         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
1442         (elmo-map-folder-list-message-locations): Do drive letter conversion
1443         on Windows environment.
1444         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
1445         (elmo-map-message-fetch): Ditto.
1446
1447 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
1448
1449         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
1450         (elmo-network-initialize-session): Ditto.
1451
1452 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
1453
1454         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
1455
1456         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1457
1458         * elmo-util.el (elmo-progress-clear): Ditto.
1459
1460         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
1461         `DD-Mon-YYYY' type date.
1462
1463 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1464
1465         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1466         `elmo-date-make-sortable-string' instead of
1467         `timezone-make-date-sortable'.
1468
1469         * elmo-date.el (elmo-date-make-sortable-string): Use
1470         `timezone-make-time-string'.
1471
1472 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
1473
1474         * elmo.el (elmo-folder-synchronize): Delete important messages too.
1475
1476         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
1477         `since'; Fix timezone.
1478
1479         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
1480
1481         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
1482
1483 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1484
1485         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
1486
1487 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1488
1489         * elmo.el (elmo-generic-folder-append-messages): Make
1490         fetch-strategy with `use-cache' as 'maybe. Check return value of
1491         `elmo-message-fetch'.
1492         (elmo-message-fetch): Return return value of
1493         `elmo-message-fetch-with-cache-process'.
1494         (elmo-message-fetch-with-cache-process): Return non-nil if
1495         fetching was succeed. Load cache when fetching was failed and
1496         fetch-strategy-use-cache is 'maybe.
1497
1498         * elmo-util.el (elmo-file-cache-load): New function.
1499
1500         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
1501         defun.
1502
1503         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
1504         non-nil if fetching was succeed.
1505
1506         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
1507
1508         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
1509
1510         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
1511         (elmo-message-fetch-with-cache-process): Likwise.
1512
1513         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
1514
1515         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
1516
1517         * elmo-version.el (elmo-version): Up to 2.9.2.
1518
1519 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
1520
1521         * elmo.el (elmo-folder-delete): Delete msgdb path.
1522
1523         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
1524
1525         * elmo-maildir.el (elmo-folder-delete): Ditto.
1526
1527         * elmo-localdir.el (elmo-folder-delete): Ditto.
1528
1529         * elmo-imap4.el (elmo-folder-delete): Ditto.
1530
1531 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
1532
1533         * elmo.el (luna-define-class): Added `biff' slot.
1534
1535         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
1536         (elmo-pop3-debug-inhibit-logging): Abolished.
1537         (elmo-network-close-session): Eliminated needless let.
1538         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
1539         (elmo-pop3-send-command): Added `no-log' argument.
1540         (elmo-pop3-process-filter): Use `with-current-buffer'.
1541         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
1542         if login failure.
1543         (elmo-pop3-auth-apop): Likewise.
1544         (elmo-network-authenticate-session): Likewise.
1545
1546         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
1547         if biff folder.
1548
1549         * elmo-net.el (elmo-network-session-password-key): Use class symbol
1550         string to determine protocol.
1551         (elmo-network-session-name-prefix): Abolished.
1552         (elmo-network-session-cache-key): Follow the change above.
1553         (elmo-network-open-session): Ditto.
1554
1555         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
1556         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
1557
1558         * elmo-version.el (elmo-version): Up to 2.9.1.
1559
1560         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
1561         unmatch condition checking.
1562
1563         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
1564         condition.
1565
1566 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1567
1568         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
1569
1570 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
1571
1572         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
1573         test for while loop to execute at least one SEARCH command.
1574
1575 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
1576
1577         * elmo-version.el (elmo-version): Up to 2.9.0.
1578
1579 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
1580
1581         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
1582         (elmo-archive-folder-path): Define.
1583         (elmo-folder-initialize): Setup `dir-name' slot.
1584         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
1585         Use `dir-name' as prefix of each subfolders.
1586         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
1587
1588 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1589
1590         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
1591         (elmo-pipe-folder-list-target-messages): New internal function.
1592         (elmo-pipe-drain): Use new argument `ignore-list' instead of
1593         `killed-list'.
1594         (elmo-pipe-folder-copied-list-load): New function.
1595         (elmo-pipe-folder-copied-list-save): Ditto.
1596         (elmo-folder-open-internal): Follow the change above.
1597         (elmo-folder-status): Fixed for copy.
1598
1599 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
1600
1601         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
1602
1603 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1604
1605         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
1606         elmo-copy-file instead of elmo-add-name-to-file.
1607
1608         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
1609
1610         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
1611         "file://..." index.
1612
1613         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
1614         of accept-process-output as 1.
1615         (elmo-pop3-read-contents): Ditto.
1616         (elmo-pop3-read-body): Ditto.
1617
1618 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1619
1620         * elmo-version.el (product-version-as-string): Remove define.
1621
1622 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
1623
1624         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
1625         (elmo-imap4-copy-messages): Chop number set using
1626         `elmo-imap4-number-set-chop-length'.
1627         (elmo-imap4-set-flag): Ditto.
1628         (elmo-imap4-search-internal-primitive): Ditto.
1629
1630 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1631
1632         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
1633         `elmo-folder-make-temp-dir'
1634
1635         * elmo-vars.el (elmo-cache-directory): New variable.
1636         (elmo-cache-dir): Abolished.
1637         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
1638
1639         * elmo-version.el (elmo-version): Up to 2.7.7.
1640
1641 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
1642
1643         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
1644         defcustom; Set default value as t.
1645
1646 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
1647
1648         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
1649         (ldap-search-program-arguments): Changed default value.
1650         (ldap-search-basic): Accept exit status 4.
1651         (ldap/field-body): Parse options.
1652         (ldap/collect-field): Ditto.
1653         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
1654
1655         * elmo-imap4.el (elmo-imap4-process-bye): New function.
1656         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
1657         (elmo-imap4-accept-ok): Ditto.
1658         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
1659         'notify-bye, only BYE error is reported.
1660         (elmo-folder-exists-p-plugged): Set no-error argument of
1661         `elmo-imap4-session-select-mailbox' as 'notify-bye.
1662
1663         * elmo.el (elmo-imap4-bye-error): Changed message.
1664
1665         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
1666         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
1667         queues (It causes infinite loop).
1668
1669 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1670
1671         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
1672         (RECENT UNSEEN MESSAGES) extension.
1673
1674 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
1675
1676         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1677         Check number of overview fields.
1678
1679 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
1680
1681         * elmo.el (elmo-folder-confirm-appends): Changed message.
1682         (elmo-folder-confirm-appends): Ditto.
1683
1684         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
1685         `with-temp-buffer'.
1686         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
1687
1688 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
1689
1690         * elmo.el (elmo-folder-confirm-appends): Check whether the value
1691         of elmo-folder-update-threshold is nil, which can be set by
1692         wl-summary-update-confirm-threshold.
1693
1694 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
1695
1696         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
1697         (elmo-nmz-index-alias-alist): Ditto.
1698         (elmo-map-folder-list-message-locations): Follow the change above.
1699
1700 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1701
1702         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
1703
1704         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
1705
1706         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
1707
1708         * elmo-util.el (elmo-read): Ditto.
1709         (elmo-display-error): Ditto.
1710
1711         * elmo-vars.el (elmo-date-match): Ditto.
1712
1713         * pldap.el (ldap-coding-system): Ditto.
1714
1715         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
1716         `elmo-inhibit-number-mapping' as nil.
1717
1718 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
1719
1720         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
1721         space delimiter for list response.
1722
1723 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
1724
1725         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
1726
1727 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
1728
1729         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
1730         (elmo-map-message-fetch): Fix.
1731         * elmo-map.el (elmo-folder-status): Fix for killed.
1732
1733 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
1734
1735         * elmo-sendlog.el: New file.
1736         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
1737
1738 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
1739
1740         * acap.el (acap-logging-out): New buffer local variable.
1741         (acap-close): Set it.
1742         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
1743         an error.
1744
1745 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
1746
1747         * acap.el (acap-response-bye-p): New function.
1748         (acap-response-bye-message): Ditto.
1749         (acap-wait-for-response): If bye response is received, cause an error.
1750         (acap-parse-response): Make bye response when 'Bye' is received.
1751
1752 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
1753
1754         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
1755
1756 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1757
1758         * elmo-util.el (elmo-copy-file): Added argument
1759         `ok-if-already-exists'.
1760         (elmo-copy-file): Fixed typo.
1761
1762 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
1763
1764         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
1765
1766 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
1767
1768         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
1769
1770 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
1771
1772         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
1773         to killed-list.
1774
1775 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
1776
1777         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
1778         (elmo-folder-initialize): Fix for `copy'.
1779         (elmo-pipe-drain): Ditto.
1780         (elmo-folder-open-internal): Ditto.
1781         (elmo-folder-newsgroups): Fix.
1782
1783 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
1784
1785         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
1786         for each message.
1787
1788         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
1789         recent value is returned from imap folder.
1790
1791         * elmo.el (elmo-folder-newsgroups): New generic function.
1792
1793         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
1794         (elmo-folder-initialize): Set it.
1795         (elmo-folder-expand-msgdb-path): Use it.
1796         (elmo-folder-newsgroups): Define.
1797
1798         * elmo-filter.el (elmo-folder-newsgroups): Define.
1799
1800         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
1801
1802         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
1803
1804         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
1805
1806 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1807
1808         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
1809         user option.
1810         (elmo-shimbun-header-extra-field): New inline function.
1811         (elmo-shimbun-header-set-extra-field): Ditto.
1812         (elmo-shimbun-folder-header-hash-setup): Ditto.
1813         (elmo-shimbun-update-overview): Ditto.
1814         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
1815         (elmo-shimbun-folder-setup): Use
1816         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
1817         (elmo-shimbun-get-headers): Ditto.
1818         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
1819         Insert `X-Shimbun-Id:' header if extra field is set.
1820         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
1821         field's value instead of `shimbun-header-id'.
1822
1823         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
1824         inline function.
1825         (elmo-msgdb-overview-entity-set-date): Ditto.
1826         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1827
1828 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
1829
1830         * mmimap.el (mmimap-entity-section): Changed body node number from
1831         "0" to "1".
1832
1833 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1834
1835         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
1836         `elmo-folder-delete-messages'.
1837
1838         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
1839         (elmo-folder-initialize): Changed to expand alias into index path.
1840
1841         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
1842         `elmo-mime-insert-header-from-buffer' with 6th arg
1843         `sorted-fields'.
1844
1845 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
1846
1847         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
1848
1849         * elmo.el (elmo-diff-new): New inline function.
1850         (elmo-diff-unread): Ditto.
1851         (elmo-diff-all): Ditto.
1852
1853         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
1854         value from responseb.
1855         (elmo-imap4-folder-diff-plugged): Ditto.
1856         (elmo-imap4-server-diff-async): Added recent argument.
1857         (elmo-server-diff-async): Ditto.
1858         (elmo-imap4-folder-diff-plugged): Ditto.
1859
1860         * elmo-version.el (elmo-version): Up to 2.7.6.
1861
1862 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1863
1864         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
1865         in quoted-stirng.
1866
1867 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
1868
1869         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
1870
1871         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1872
1873         * elmo-nntp.el (elmo-folder-initialize): Ditto.
1874
1875         * elmo-multi.el (elmo-folder-initialize): Ditto.
1876
1877         * elmo-util.el (elmo-parse-token): New function.
1878         (elmo-parse-prefixed-element): Ditto.
1879
1880 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
1881
1882         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
1883         delete process.
1884         (elmo-imap4-accept-ok): Ditto.
1885
1886 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1887
1888         * mmimap.el (mime-imap-entity-header-string): Don't check first
1889         element of node-id is `0' (Follow last change).
1890
1891 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1892
1893         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
1894         assigned irregular node-id to nested multipart section.
1895         (initialize-instance): Followed above change.
1896
1897 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1898
1899         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
1900         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
1901         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
1902         `elmo-shimbun-get-headers');
1903         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
1904         visible article on summary exists in headers).
1905         (elmo-map-message-fetch): Cause an error when folder is unplugged.
1906
1907 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1908
1909         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
1910         definition.
1911
1912 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
1913
1914         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
1915
1916 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1917
1918         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
1919         header separator into loop condition.
1920
1921 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1922
1923         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
1924         Return duplicate folder if it has subfolder.
1925
1926 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
1927
1928         * elmo.el (elmo-make-folder): Add folder name error check.
1929
1930         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
1931         (elmo-nntp-encode-group-string): New inline function.
1932         (elmo-nntp-decode-group-string): Ditto.
1933         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
1934         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
1935         Use `not' instead of `null';
1936         Use elmo-nntp-decode-group-string.
1937
1938         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
1939
1940         * elmo-version.el (elmo-version): Up to 2.7.5.
1941
1942 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1943
1944         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
1945         Hide progress gauge if `elmo-folder-move-messages' exits
1946         nonlocally.
1947
1948 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
1949
1950         * elmo-imap4.el (elmo-folder-initialize): Use
1951         `elmo-imap4-encode-folder-string' for folder name.
1952
1953 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1954
1955         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
1956         `done'.
1957
1958 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1959
1960         * elmo-util.el (elmo-progress-counter-alist): New internal
1961         variable.
1962         (elmo-progress-counter-value): New macro.
1963         (elmo-progress-counter-all-value): Ditto.
1964         (elmo-progress-counter-format): Ditto.
1965         (elmo-progress-counter-set-value): Ditto.
1966         (elmo-progress-set): New function.
1967         (elmo-progress-clear): Ditto.
1968         (elmo-progress-notify): Ditto.
1969
1970         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
1971         counter.
1972
1973         * elmo.el (elmo-generic-folder-append-messages): Call
1974         `elmo-progress-notify'.
1975         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
1976
1977         * elmo-archive.el (elmo-folder-append-messages): Call
1978         `elmo-progress-notify'.
1979
1980         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
1981
1982         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
1983
1984         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1985
1986 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1987
1988         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
1989         'Create'.
1990         (elmo-message-encache-dop): Added argument `read'.
1991
1992         * elmo-shimbun.el (elmo-message-encache): Ditto.
1993
1994         * elmo-net.el (elmo-message-encache): Ditto.
1995
1996         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
1997         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
1998         elmo-imap4-seen-messages.
1999         (elmo-folder-msgdb-create-plugged): Initialize
2000         elmo-imap4-seen-messages;
2001         Set seen mark on elmo-imap4-seen-messages.
2002
2003         * elmo-pipe.el (elmo-folder-message-file-p): Define.
2004
2005         * elmo.el (elmo-generic-folder-append-messages): Check return value of
2006         elmo-folder-append-buffer.
2007         (elmo-folder-encache): Added optional argument `read'.
2008         (elmo-message-encache): Ditto.
2009
2010         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
2011
2012         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2013
2014         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
2015         if append buffer content succeds.
2016
2017 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
2018
2019         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
2020         elmo-display-progress.
2021
2022         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
2023         Set 4th argument of mime-display-message.
2024         (elmo-mime-display-as-is): Ditto.
2025
2026 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
2027
2028         * elmo-nmz.el (toplevel): Require 'mime-edit.
2029         (elmo-nmz-content-type-alist): Abolished.
2030         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
2031         content is not a message.
2032         (elmo-map-message-fetch): Changed behavior exept for message content;
2033         Detect mime-charset automatically, Use `mime-find-file-type' to detect
2034         content-type, Add From: and Subject: field.
2035
2036 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2037
2038         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
2039         (elmo-map-message-fetch): Add `Content-Type' field if contents is
2040         not a message.
2041
2042 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2043
2044         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
2045         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
2046
2047         * elmo-archive.el (elmo-folder-writable-p): Defined.
2048
2049         * elmo-cache.el (elmo-folder-writable-p): Ditto.
2050
2051         * elmo-filter.el (elmo-folder-writable-p): Ditto.
2052
2053         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
2054
2055         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
2056
2057         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
2058
2059         * elmo-mark.el (elmo-folder-writable-p): Ditto.
2060
2061         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
2062
2063         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
2064
2065 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
2066
2067         * elmo-util.el (elmo-address-quote-specials): New function;
2068         Renamed from `wl-address-quote-specials'.
2069
2070 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2071
2072         * elmo-version.el (elmo-version): Up to 2.7.4.
2073
2074 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
2075
2076         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
2077
2078 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2079
2080         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
2081         both compile-time and run-time to avoid byte-compile warning.
2082
2083 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
2084
2085         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
2086
2087 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
2088
2089         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
2090         option.
2091         (elmo-mime-display-as-is-internal): Use it.
2092
2093         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
2094         if `read-passwd' is not defined.
2095
2096 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
2097
2098         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
2099         by original number.
2100         (elmo-folder-status): Call `elmo-folder-open-internal';
2101         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
2102         (elmo-folder-close-internal): Set location-alist as nil.
2103         (elmo-folder-clear): Define.
2104         (elmo-folder-check): Don't set location-alist as nil.
2105
2106         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
2107
2108 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
2109
2110         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
2111         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
2112
2113         * mmimap.el (mime-imap-entity::requested): New slot.
2114         (mime-imap-location-fetch-entity-p): New generic function.
2115         (mime-decode-parameters): Define using `defun-maybe'.
2116         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
2117         content-type structure.
2118         (mime-entity-body): Return empty body if
2119         `mime-imap-location-fetch-entity-p' returns nil in the first request.
2120
2121         * elmo.el (elmo-message-displaying): New variable.
2122
2123         * elmo-mime.el (elmo-mime-message-display): Bind
2124         elmo-message-displaying as t.
2125
2126         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
2127
2128 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
2129
2130         * acap.el (acap-open): erase buffer before starting network process.
2131         (acap-store): Rewrite.
2132
2133 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
2134
2135         * elmo-imap4.el (elmo-imap4-default-mailbox,
2136         elmo-imap4-default-server
2137         elmo-imap4-default-authenticate-type,
2138         elmo-imap4-default-user,
2139         elmo-imap4-default-port,
2140         elmo-imap4-default-stream-type,
2141         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
2142
2143         * elmo-pop3.el (elmo-pop3-default-user,
2144         elmo-pop3-default-server,
2145         elmo-pop3-default-authenticate-type,
2146         elmo-pop3-default-port,
2147         elmo-pop3-default-stream-type,
2148         elmo-pop3-stream-type-alist): Ditto.
2149
2150         * elmo-nntp.el (elmo-nntp-default-server,
2151         elmo-nntp-default-user,
2152         elmo-nntp-default-port,
2153         elmo-nntp-default-stream-type,
2154         elmo-nntp-stream-type-alist): Ditto.
2155
2156         * elmo-vars.el: Follow changes above.
2157         (elmo-setting): New custom group; added 'elmo-setting group to
2158         above variables.
2159
2160         * elmo-version.el (elmo-version): Up to 2.7.3.
2161
2162         * acap.el (acap-parse-response): Don't delete process when BYE
2163         response (It causes hang-up on slow network environment).
2164         (toplevel): Added comment.
2165
2166 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
2167
2168         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
2169
2170         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
2171         parsing NIL.
2172         (acap-parse-return-metadata): Ditto.
2173
2174         * slp.el: New file.
2175         (toplevel): Fixed typo.
2176
2177         * acap.el: New file.
2178         (acap-network-stream-open): Show "Connecting..." message.
2179         (acap-parse-response): Fixed problem for BYE untagged response.
2180         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
2181         (toplevel): Added tiny comments.
2182
2183 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
2184
2185         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
2186         space delimiter for uidl response.
2187
2188 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
2189
2190         * elmo-vars.el (elmo-use-semi): Eliminated.
2191
2192         * elmo-util.el (elmo-string-assoc-all): New function.
2193
2194 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2195
2196         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
2197         property 'mime-preview-situation for `mime-preview-quit'.
2198
2199 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2200
2201         * elmo.el (elmo-message-fetch-with-cache-process): Call
2202         elmo-message-fetch-internal instead of causing an error when fetch
2203         strategy is 'entire but only 'section cache is available.
2204
2205 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
2206
2207         * elmo-version.el (elmo-version): Up to 2.7.2.
2208
2209         * elmo.el (elmo-generic-folder-append-messages): Make
2210         fetch-strategy with `use-cache'.
2211
2212         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
2213         (elmo-dop-queue-method-name): New macro.
2214
2215 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2216
2217         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
2218         unbalanced parenthesis.
2219
2220 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
2221
2222         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
2223
2224 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
2225
2226         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
2227         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
2228
2229 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
2230
2231         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
2232         local variables.
2233
2234 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
2235
2236         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
2237         (elmo-message-use-cache-p): Define.
2238         (elmo-folder-msgdb-create): Treat cache.
2239
2240 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
2241
2242         * elmo-nntp.el (elmo-network-initialize-session): Call
2243         `elmo-nntp-send-mode-reader'.
2244         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
2245
2246 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
2247
2248         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
2249         alist.
2250         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
2251         assoc.
2252
2253         * elmo-net.el (elmo-network-get-session): Set stream-type argument
2254         for `elmo-plugged-p'.
2255         (elmo-open-network-stream): Fixed stream-type argument.
2256
2257 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
2258
2259         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
2260         unknown archive type is specified.
2261
2262 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
2263
2264         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
2265
2266         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
2267         while loading msgdb.
2268
2269         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
2270         (elmo-folder-open-internal): Rewrite.
2271
2272 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
2273
2274         * elmo-mime.el (elmo-mime-display-as-is-internal):
2275         Adjust buffer-multibyte status.
2276
2277 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
2278
2279         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
2280         of elmo-condition-find-key.
2281
2282         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
2283         (elmo-condition-in-msgdb-p): Ditto.
2284         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
2285         argument.
2286
2287 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
2288
2289         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
2290
2291 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
2292
2293         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
2294         label for elmo-display-progress.
2295
2296 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
2297
2298         * elmo.el (elmo-folder-clear): New method.
2299         (elmo-folder-clear): Define.
2300         (elmo-folder-synchronize): Call `elmo-folder-clear'.
2301
2302         * elmo-shimbun.el (elmo-folder-check): Rewrite.
2303         (elmo-folder-clear): Define.
2304
2305         * elmo-map.el (elmo-folder-clear): Define.
2306
2307         * elmo-version.el (elmo-version): Up to 2.7.1.
2308
2309 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
2310
2311         * elmo.el (elmo-folder-synchronize): Return list of nil when no
2312         updates.
2313
2314 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
2315
2316         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
2317         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
2318
2319 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
2320
2321         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
2322
2323         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
2324         and re-written.
2325
2326         * elmo-imap4.el (elmo-folder-initialize): Use
2327         elmo-get-network-stream-type.
2328
2329         * elmo-nntp.el (elmo-folder-initialize): Ditto.
2330
2331         * elmo-pop3.el (elmo-folder-initialize): Ditto.
2332
2333 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
2334
2335         * elmo.el (elmo-message-encache): Set unread argument for
2336         elmo-message-fetch.
2337
2338         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
2339
2340         * elmo.el (elmo-net-port-info): New method.
2341
2342         * elmo-shimbun.el (elmo-net-port-info): Define.
2343         (elmo-message-encache): Ditto.
2344
2345         * elmo-net.el (elmo-net-port-info): Define as method.
2346
2347         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
2348         unplugged status when elmo-enable-disconnected-operation is t.
2349
2350         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
2351         of spool folder before checking new number.
2352
2353 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
2354
2355         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
2356         (elmo-network-setup-session): Ditto.
2357         (elmo-message-fetch-plugged): Ditto.
2358         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
2359         (elmo-network-initialize-session): Ditto.
2360         (elmo-pop3-read-response): Abolish 3rd argument.
2361         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
2362         (elmo-pop3-read-contents): Ditto.
2363         (elmo-pop3-read-body): Ditto.
2364         (elmo-folder-status): Call elmo-folder-close.
2365         (elmo-pop3-lock): Abolish.
2366         (elmo-pop3-unlock): Ditto.
2367         (elmo-pop3-locked-p): Ditto.
2368         (elmo-folder-check): Don't call elmo-pop3-locked-p.
2369
2370 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
2371
2372         * elmo-version.el (elmo-version): Up to 2.7.0.
2373
2374         * elmo-pop3.el (elmo-pop3-debug): New variable.
2375         (elmo-pop3-debug-inhibit-logging): Ditto.
2376         (elmo-pop3-debug): New function.
2377         (elmo-pop3-send-command): Call elmo-pop3-debug.
2378         (elmo-pop3-read-response): Added keep-lock optional argument;
2379         Don't unlock if keep-lock is non-nil.
2380         (elmo-pop3-process-filter): Call elmo-pop3-debug.
2381         (elmo-network-authenticate-session): Bind
2382         elmo-pop3-debug-inhibit-logging as t.
2383         (elmo-network-setup-session): Call elmo-pop3-read-response with
2384         keep-lock argument.
2385         (elmo-pop3-read-msg): Ditto.
2386         (elmo-pop3-locked-p): Call elmo-pop3-debug.
2387         (elmo-pop3-read-body): Call elmo-pop3-unlock.
2388         (elmo-network-initialize-session): Call elmo-pop3-lock.
2389         (elmo-folder-close-internal): Don't clear location-alist slot.
2390         (elmo-folder-check): Clear location-alist slot.
2391
2392 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
2393
2394         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
2395         (elmo-pop3-send-command): Call elmo-pop3-lock.
2396         (elmo-pop3-read-response): Call elmo-pop3-unlock.
2397         (elmo-pop3-read-contents): Ditto.
2398         (elmo-pop3-lock): New function.
2399         (elmo-pop3-unlock): Ditto.
2400         (elmo-pop3-locked-p): Ditto.
2401         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
2402         returns t.
2403
2404 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
2405
2406         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
2407
2408         * elmo-util.el (elmo-file-field-primitive-condition-match):
2409         New inline function (Don't fetch file content if "first" or "last").
2410         (elmo-file-field-condition-match): Use
2411         elmo-file-field-primitive-condition-match.
2412
2413         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
2414         "first".
2415
2416         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
2417         (elmo-message-fetch-plugged): Fixed.
2418
2419         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
2420
2421 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
2422
2423         * elmo.el (elmo-folder-move-messages): Bind
2424         elmo-inhibit-display-retrieval-progress as t while moving messages.
2425
2426         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
2427         New variable.
2428         (elmo-inhibit-display-retrieval-progress): Ditto.
2429
2430         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
2431         for retrieval progress;
2432         Don't display progress when total buffer size is smaller than
2433         elmo-display-retrieval-progress-threshold.
2434         (elmo-message-fetch-plugged): Don't display progress when
2435         elmo-inhibit-display-retrieval-progress is non-nil.
2436
2437         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
2438         for retrieval progress;
2439         Don't display progress when literal size is smaller than
2440         elmo-display-retrieval-progress-threshold.
2441         (elmo-imap4-message-fetch): Don't display progress when
2442         elmo-inhibit-display-retrieval-progress is non-nil.
2443
2444 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
2445
2446         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
2447         (elmo-imap4-find-next-line): Display progress whille literal fetching.
2448         (elmo-imap4-message-fetch): Likewise.
2449
2450         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
2451         (elmo-shimbun-index-range-alist): Ditto.
2452         (elmo-shimbun-use-entire-index): Abolish.
2453         (shimbun-mua-use-entire-index): Ditto.
2454         (elmo-shimbun-folder): Added new slot `range'.
2455         (elmo-folder-initialize): Setup slot `range'.
2456
2457 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
2458
2459         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
2460         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
2461         (elmo-shimbun-get-headers): Use return value of
2462         `shimbun-article-expiration-days'.
2463         (elmo-folder-close-internal): Clean up last-check slot.
2464
2465         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
2466         (elmo-pop3-total-size): New variable.
2467         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
2468
2469         * elmo.el (elmo-folder-reserve-status-p): New method.
2470
2471         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
2472         (elmo-shimbun-use-entire-index): New user option.
2473         (shimbun-elmo-mua): New class.
2474         (shimbun-mua-search-id): Define.
2475         (shimbun-mua-use-entire-index): Ditto.
2476         (elmo-shimbun-folder:last-check): New slot.
2477         (elmo-shimbun-headers-cache-header-list): Abolish.
2478         (elmo-shimbun-headers-cache-set-header-list): Ditto.
2479         (elmo-shimbun-headers-cache-header-hash): Ditto.
2480         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
2481         (elmo-shimbun-headers-cache-last-check): Ditto.
2482         (elmo-shimbun-headers-cache-set-last-check): Ditto.
2483         (elmo-shimbun-headers-check-p): Rewrite.
2484         (elmo-shimbun-msgdb-to-headers): New function.
2485         (elmo-shimbun-get-headers): Rewrite.
2486         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
2487         (elmo-folder-open-internal): Get headers only if
2488         `elmo-shimbun-headers-check-p' is non-nil.
2489         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
2490         is non-nil.
2491         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
2492         (elmo-quit): Removed.
2493
2494         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
2495         function.
2496         (elmo-msgdb-overview-entity-set-extra): Ditto.
2497         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
2498
2499         * elmo-map.el (elmo-folder-status): Don't call
2500         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
2501         is non-nil.
2502
2503 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2504
2505         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
2506         of `elmo-msgdb-search-internal-primitive' when condition's car is
2507         `and' or `or'.
2508
2509 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
2510
2511         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
2512
2513 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2514
2515         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
2516         call `elmo-pipe-drain'.
2517
2518 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
2519
2520         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
2521         typo. (elmo-cache-folder -> elmo-mark-folder)
2522
2523 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2524
2525         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
2526         `elmo-message-fetch'.
2527
2528 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2529
2530         * elmo-net.el (elmo-message-encache): Fixed typo.
2531         (elmo-message-fetch-unplugged): Changed call
2532         `elmo-message-fetch-internal' without argument `outbuf'.
2533
2534 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
2535
2536         * elmo.el (elmo-message-encache): Define as generic function.
2537         (elmo-message-fetch-field): New generic function.
2538         (elmo-message-fetch-with-cache-process): Cause an error when
2539         fetch strategy is 'entire but only 'section cache is available.
2540         (toplevel): Fixed nmz folder definition.
2541
2542         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
2543         (elmo-msgdb-resume-list-filename): Ditto.
2544         (elmo-queue-filename): Ditto.
2545         (elmo-enable-disconnected-operation): Changed default value to t.
2546
2547         * elmo-util.el (elmo-cache-path-section-p): New function.
2548         (elmo-file-cache-get): Use it.
2549         (elmo-dop-queue-filename): Moved from elmo-dop.el.
2550         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
2551         (elmo-dop-queue-save): Ditto.
2552
2553         * elmo-net.el (elmo-folder-status-unplugged): Call
2554         elmo-folder-status-dop.
2555         (elmo-folder-list-messages-unplugged): Implemented.
2556         (elmo-folder-delete-messages-unplugged): Define.
2557         (elmo-folder-msgdb-create): Define.
2558         (elmo-folder-msgdb-create-unplugged): Define.
2559         (elmo-folder-mark-as-read-unplugged): Ditto.
2560         (elmo-folder-unmark-read-unplugged): Ditto.
2561         (elmo-folder-mark-as-important-unplugged): Ditto.
2562         (elmo-folder-unmark-important-unplugged): Ditto.
2563         (elmo-message-encache): Ditto.
2564
2565         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
2566         (elmo-dop-queue-save): Ditto.
2567
2568         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
2569         `elmo-folder-msgdb-create'.
2570         (elmo-folder-append-buffer): Implemented unplugged operation.
2571         (elmo-folder-append-messages): Call parent method in unplugged status.
2572         (elmo-message-fetch-unplugged): Removed definition.
2573         (elmo-message-fetch-field): Implemented.
2574
2575         * elmo-dop.el (toplevel): Require 'elmo-localdir.
2576         (elmo-dop-folder): Removed variable definition.
2577         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
2578         (elmo-dop-queue-flush): Implemented.
2579         (elmo-dop-queue-merge): Removed definition (TODO).
2580         (elmo-dop-spool-folder): New function.
2581         (elmo-dop-spool-folder-append-buffer): Ditto.
2582         (elmo-dop-spool-folder-list-messages): Ditto.
2583         (elmo-dop-list-deleting-messages): Ditto.
2584         (elmo-folder-append-buffer-dop): Ditto.
2585         (elmo-folder-delete-messages-dop): Ditto.
2586         (elmo-message-encache-dop): New inline function.
2587         (elmo-create-folder-dop): Ditto.
2588         (elmo-folder-mark-as-read-dop): Ditto.
2589         (elmo-folder-unmark-read-dop): Ditto.
2590         (elmo-folder-mark-as-important-dop): Ditto.
2591         (elmo-folder-unmark-important-dop): Ditto.
2592         (elmo-folder-status-dop): Fixed.
2593         (elmo-folder-append-buffer-dop-delayed): New function.
2594         (elmo-folder-delete-messages-dop-delayed): Ditto.
2595         (elmo-dop-msgdb): Ditto.
2596
2597 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2598
2599         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
2600
2601 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2602
2603         * elmo.el (elmo-folder-move-messages): Fixed problem when
2604         `dst-folder' is 'null.
2605
2606 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2607
2608         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
2609         instead of current mark.
2610
2611         * elmo-multi.el (elmo-folder-list-importants-internal): No
2612         operation if importants is not list.
2613
2614         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
2615         Return t if importants is not list.
2616
2617         * elmo-map.el (elmo-map-folder-list-importants): Define.
2618         (elmo-folder-list-importants-internal): Check return value of
2619         `elmo-map-folder-list-importants-internal'.
2620
2621         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
2622
2623         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
2624
2625         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
2626
2627         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
2628
2629 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
2630
2631         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
2632         (Patch is provided by <kita@coe.nttdata.co.jp>).
2633
2634 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2635
2636         * elmo.el (elmo-folder-synchronize): Don't check important mark in
2637         mark folder.
2638
2639 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2640
2641         * elmo.el (elmo-message-fetch): Define.
2642         (elmo-message-fetch-with-cache-process): New generic method.
2643         (elmo-message-fetch-internal): New generic method.
2644         (elmo-folder-synchronize):
2645
2646         * elmo-archive.el (elmo-message-fetch-internal): Define.
2647         (elmo-message-fetch): Eliminated.
2648
2649         * elmo-localdir.el (elmo-message-fetch-internal): Define.
2650         (elmo-message-fetch): Eliminated.
2651
2652         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
2653         argument OUTBUF.
2654         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
2655
2656         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
2657         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
2658
2659         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
2660         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
2661
2662         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
2663
2664         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
2665
2666         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
2667
2668         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
2669         (elmo-message-fetch-unplugged): New generic method.
2670         (elmo-message-fetch-internal): Remove cache process (Renamed from
2671         `elmo-message-fetch').
2672
2673         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
2674         (elmo-message-fetch): Eliminated.
2675         (elmo-message-fetch-unplugged): Ditto.
2676
2677         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
2678
2679 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2680
2681         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
2682         of `to-be-deleted' from number-alist to number-list.
2683
2684 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2685
2686         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
2687         (elmo-folder-mark-as-important): Ditto.
2688
2689 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
2690
2691         * elmo.el (elmo-folder): Added process-duplicates slot.
2692
2693         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
2694         (elmo-folder-unmark-read): Ditto.
2695         (elmo-folder-unmark-important): Ditto.
2696         (elmo-folder-mark-as-important): Ditto.
2697
2698         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
2699         duplicated message processing.
2700
2701         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
2702
2703 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2704
2705         * elmo-util.el (elmo-list-subdirectories-1): New function.
2706         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
2707         (elmo-mapcar-list-of-list): New function.
2708
2709         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
2710         `elmo-mapcar-list-of-list' instead of `mapcar'.
2711
2712         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
2713
2714         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
2715         `elmo-have-link-count'. Return the fully qualified folder name.
2716
2717 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
2718
2719         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
2720         (elmo-shimbun-headers-cache): New internal variable.
2721         (elmo-shimbun-headers-cache-header-list): New inline function.
2722         (elmo-shimbun-headers-cache-set-header-list): Ditto.
2723         (elmo-shimbun-headers-cache-header-hash): Ditto.
2724         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
2725         (elmo-shimbun-headers-cache-last-check): Ditto.
2726         (elmo-shimbun-headers-cache-set-last-check): Ditto.
2727         (elmo-shimbun-lapse-seconds): Ditto.
2728         (elmo-shimbun-headers-cache-check-p): Ditto.
2729         (elmo-shimbun-get-headers): New function.
2730         (elmo-folder-open-internal): Call it.
2731         (elmo-quit): Define (Clear headers-cache).
2732
2733 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
2734
2735         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
2736
2737         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
2738         (elmo-msgdb-flist-save): Ditto.
2739
2740         * elmo-shimbun.el (elmo-folder-list-subfolders):
2741         Use `shimbun-groups' instead of `shimbun-groups-internal'.
2742         (elmo-folder-exists-p): Ditto.
2743
2744         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
2745         argument for `shimbun-header-insert'.
2746
2747 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
2748
2749         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
2750         at first time.
2751
2752         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
2753         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
2754
2755 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
2756
2757         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
2758         (elmo-folder-plugged-p): Define.
2759         (elmo-folder-set-plugged): Ditto.
2760         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
2761         (elmo-folder-list-messages-internal): Return t if unplugged.
2762         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
2763
2764         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
2765         when elmo-folder-list-messages-internal method of children returns t.
2766
2767         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
2768         pair is nil.
2769         (elmo-folder-open-internal): Don't update if unplugged status.
2770
2771 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
2772
2773         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
2774         new message.
2775
2776 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
2777
2778         * elmo-util.el (elmo-file-cache-save): Ignore errors.
2779
2780         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
2781         saving.
2782
2783 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
2784
2785         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
2786
2787         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
2788         (elmo-folder-open-internal): Set up headers slot.
2789         (elmo-folder-check): Call elmo-folder-close-internal and
2790         elmo-folder-open-internal.
2791         (elmo-folder-close-internal): Clean up headers slot.
2792
2793 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
2794
2795         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
2796         exactly folder list.
2797         (elmo-folder-append-messages): Fixed append archive with prefix.
2798
2799         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
2800         make temp files with start-number.
2801
2802         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
2803
2804 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2805
2806         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
2807         argument `visible-only'.
2808         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
2809         instead of `if'.
2810
2811         * elmo-pop3.el (elmo-folder-open-internal): Check
2812         `elmo-inhibit-number-mapping' is non-nil.
2813
2814         * elmo-pipe.el (elmo-folder-status): Fixed.
2815
2816 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
2817
2818         * elmo.el (elmo-dop-queue-flush): Added autload setting.
2819
2820         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
2821         (elmo-folder-open-internal): Setup `header-hash' slot.
2822         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
2823         information.
2824         (elmo-map-message-fetch): Ditto.
2825
2826 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
2827
2828         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2829         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2830         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2831         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
2832
2833         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
2834
2835 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
2836
2837         * sb-airs.el: Added footer.
2838
2839         * shimbun.el (shimbun-article): Define as luna-method.
2840
2841         * sb-tcup.el: New file.
2842
2843         * sb-airs.el (toplevel): Require 'sb-mhonarc.
2844         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
2845
2846 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
2847
2848         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
2849         (shimbun-get-headers): Ditto.
2850
2851         * elmo.el: Moved obsolete variable definitions from
2852         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
2853
2854         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
2855         groups.
2856
2857         * shimbun.el: New file.
2858
2859         * elmo-shimbun.el: New file.
2860
2861         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2862         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2863         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2864         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
2865
2866 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
2867
2868         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
2869         hierarchy is t.
2870
2871 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
2872
2873         * elmo.el (elmo-folder-msgdb): Define as macro.
2874         (elmo-folder-open): Added argument `load-msgdb'.
2875         (elmo-generic-folder-open): Ditto.
2876         (elmo-folder-encache): New function.
2877
2878         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
2879
2880         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
2881
2882         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
2883         Eliminated argument FOLDER and added argument MSGDB.
2884         (elmo-dop-queue-load): Moved from elmo-dop.el.
2885         (elmo-dop-queue-save): Ditto.
2886
2887         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
2888
2889         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
2890
2891         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
2892         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
2893         (elmo-filter-folder-list-importants-internal): Ditto.
2894
2895         * elmo-map.el (elmo-folder-pack-number): Ditto.
2896
2897         * elmo-mime.el (elmo-mime-message-display): Ditto.
2898
2899         * elmo.el (elmo-generic-folder-commit): Ditto.
2900         (elmo-folder-list-unreads): Ditto.
2901         (elmo-folder-list-importants): Ditto.
2902         (elmo-generic-folder-commit): Ditto.
2903         (elmo-message-set-mark): Ditto.
2904         (elmo-generic-folder-append-msgdb): Ditto.
2905         (elmo-folder-synchronize): Ditto.
2906         (elmo-folder-messages): Ditto.
2907         (elmo-init): Call elmo-dop-queue-load.
2908         (elmo-folder-list-messages): Ditto.
2909
2910         * elmo-nntp.el (elmo-folder-update-number): Ditto.
2911         (elmo-nntp-folder-process-crosspost): Ditto.
2912         (elmo-folder-list-unreads-internal): Ditto.
2913
2914         * elmo-dop.el: Removed old functions.
2915
2916 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
2917
2918         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
2919         `folder' to `msgdb'.
2920
2921 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
2922
2923         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
2924         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
2925
2926         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
2927         case-fold-search.
2928
2929 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
2930
2931         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
2932         defined.
2933
2934         * mmimap.el (toplevel): Require 'mime-parse and 'static.
2935         (mmimap-parse-parameters-from-list): Define as alias for
2936         `mime-decode-parameter-plist' if it is defined as function.
2937         (mmimap-make-mime-entity): Added argument `number'.
2938         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
2939         as 0.
2940         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
2941
2942         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
2943
2944         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
2945
2946         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
2947
2948 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
2949
2950         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
2951
2952         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
2953         when elmo-imap4-default-authenticate-type is nil.
2954         (elmo-folder-list-subfolders): Ditto
2955         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
2956         (elmo-imap4-fetch-callback-1-subr): Renamed from
2957         `elmo-imap4-fetch-callback-1' and define as inline function.
2958         (elmo-imap4-fetch-callback-1):
2959         Renamed from `elmo-imap4-fetch-callback'.
2960         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
2961
2962         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
2963         msgdb path (To keep compatibility with main trunk).
2964
2965         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
2966
2967         * elmo-util.el (elmo-make-file-cache): Moved position of
2968         some macros.
2969
2970         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
2971         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
2972         instead of `elmo-pop3-inhibit-uidl'.
2973         (elmo-folder-exists-p): Ditto.
2974         (elmo-pop3-folder-list-messages): Ditto.
2975
2976         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
2977         instead of `elmo-pop3-inhibit-uidl'.
2978         (elmo-folder-status): Ditto.
2979
2980         * elmo-dop.el (elmo-dop-folder): New variable.
2981         (elmo-dop-lock-message): Eliminated.
2982         (elmo-dop-unlock-message): Ditto.
2983         (elmo-dop-lock-list-load): Ditto.
2984         (elmo-dop-lock-list-save): Ditto.
2985         (elmo-dop-delete-folder): Ditto.
2986         (elmo-dop-rename-folder): Ditto.
2987
2988         * elmo.el: Removed incomplete commentary.
2989
2990 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2991
2992         * elmo.el (toplevel): Require 'elmo-version first;
2993         for little `recursive-load-depth' settings.
2994         Fix "ends here" comment.
2995
2996 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
2997
2998         * elmo-util.el (toplevel): Require 'poem;
2999         Some functions are moved from elmo-cache.el.
3000
3001         * elmo-net.el (toplevel): Require 'elmo-cache.
3002
3003         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
3004
3005         * elmo.el (toplevel): Ditto.
3006
3007         * elmo-cache.el: Rewrite with luna;
3008         Some functions are moved to elmo-util.el.
3009
3010         * elmo-internal.el (elmo-internal-folder-list): New variable.
3011         (elmo-internal-folder-initialize): Rewrite.
3012         (elmo-folder-list-subfolders): Ditto.
3013
3014         * elmo-cache.el (elmo-cache-search-all): Eliminated.
3015         (elmo-cache-collect-sub-directories): Ditto.
3016
3017 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
3018
3019         * elmo-version.el (elmo-version): Up to 2.5.8.
3020
3021         * elmo.el (elmo-folder-list-messages-mark-match): New function.
3022
3023         * elmo-util.el (elmo-list-insert): New function.
3024
3025 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
3026
3027         * elmo.el (elmo-init): New function.
3028         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
3029
3030         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
3031         (Renamed from `elmo-localdir-header-chop-length').
3032
3033         * elmo-pop3.el (elmo-pop3-use-cache,
3034         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
3035
3036         * elmo-nntp.el (elmo-message-fetch): Define.
3037         (elmo-message-fetch-unplugged): Ditto.
3038         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
3039         (elmo-nntp-use-cache): Ditto.
3040         (elmo-nntp-max-number-precedes-list-active): Ditto.
3041
3042         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
3043
3044         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
3045         `elmo-msgdb-insert-file-header'.
3046         Use `elmo-msgdb-file-header-chop-length'.
3047
3048         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
3049         `elmo-vars.el'.
3050
3051         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
3052         (elmo-cache-msgdb-create-overview-entity-from-file): Use
3053         `elmo-msgdb-insert-file-header'.
3054
3055         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
3056         Use new variable;
3057         Define obsolete variables with `elmo-define-obsolete-variable',
3058
3059         * elmo-util.el (elmo-warning-buffer-name): New constant.
3060         (elmo-warning): New function.
3061         (elmo-obsolete-variable-alist): New variable.
3062         (elmo-obsolete-variable-show-warnings): New variable.
3063         (elmo-define-obsolete-variable): New function.
3064         (elmo-resque-obsolete-variable): Ditto.
3065         (elmo-resque-obsolete-variables): Ditto.
3066
3067 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
3068
3069         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
3070         Eliminated.
3071
3072         * elmo-pop3.el, elmo-nntp.el: Use custom.
3073
3074 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
3075
3076         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
3077         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
3078
3079 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
3080
3081         * Luna-fy Kenichi OKADA's following changes.
3082         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
3083         `nohide'.
3084         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
3085
3086 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
3087
3088         * elmo-util.el (elmo-display-progress): Prefer
3089         `progress-feedback-with-label' to `lprogress-display'.
3090
3091 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
3092
3093         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
3094
3095 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
3096
3097         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
3098         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
3099         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
3100         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
3101         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
3102         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
3103         * elmo-archive.el (elmo-archive-list-folder): Ditto.
3104         * elmo-filter.el (elmo-filter-list-folder): Ditto.
3105         * elmo-internal.el (elmo-internal-list-folder): Ditto.
3106         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
3107         * elmo-multi.el (elmo-multi-list-folder): Ditto.
3108         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
3109         * elmo-dop.el (elmo-dop-list-folder): Ditto.
3110
3111 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
3112
3113         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
3114         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
3115
3116 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
3117
3118         * elmo.el (elmo-folder-process-crosspost): New generic method.
3119         (elmo-folder-writable-p): Ditto.
3120         (elmo-folder-message-appendable-p): Eliminated.
3121         (elmo-generic-folder-append-msgdb): Rewrite.
3122         (elmo-newsgroups-hashtb): New internal variable.
3123         (elmo-crosspost-message-set): Eliminated.
3124         (elmo-crosspost-message-delete): Ditto.
3125         (elmo-setup-subscribed-newsgroups): New function.
3126         (elmo-crosspost-message-alist-modified): New internal variable.
3127         (elmo-crosspost-message-alist-load): New function (Renamed from
3128         `wl-crosspost-alist-load').
3129         (elmo-crosspost-message-alist-save): Ditto (Renamed from
3130         `wl-crosspost-alist-save').
3131
3132         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
3133
3134         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
3135         `unreads'.
3136         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
3137         elmo-newsgroups-hashtb).
3138         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
3139         `elmo-nntp-folder-update-crosspost-message-alist'.
3140         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
3141         `elmo-nntp-groups-hashtb'.
3142         (elmo-nntp-make-groups-hashtb): Eliminated.
3143         (elmo-nntp-parse-newsgroups): New function (Renamed from
3144         `wl-parse-newsgroups').
3145         (elmo-folder-creatable-p, elmo-folder-writable-p,
3146         elmo-folder-close-internal, elmo-folder-mark-as-read,
3147         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
3148         Define.
3149         (elmo-nntp-folder-update-crosspost-message-alist): New function.
3150
3151         * elmo-net.el (elmo-message-fetch): Check buffer size.
3152
3153         * elmo-multi.el (elmo-multi-split-number-alist): New function.
3154
3155         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
3156
3157         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
3158         before `close' command.
3159
3160         * elmo.el (elmo-folder-list-unreads-internal): Added argument
3161         `mark-alist' (All other related portions are changed).
3162
3163 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
3164
3165         * elmo-util.el (elmo-create-hash-size): Eliminated.
3166         (elmo-make-hash) Make a hash with `one less than a power of two'
3167         length.
3168
3169         * elmo-vars.el (elmo-hash-minimum-size): New variable.
3170         (elmo-hash-maximum-size): Changed value.
3171
3172 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
3173
3174         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
3175         (elmo-mime-message-display-as-is): Ditto.
3176
3177 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
3178
3179         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
3180         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
3181
3182 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
3183
3184         * elmo-mark.el: New file.
3185
3186         * elmo-internal.el: Rewrite (Almost empty).
3187
3188 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
3189
3190         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
3191         (mime-imap-entity-header-string): Ditto.
3192         (mmimap-entity-section): Rewrite.
3193
3194 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3195
3196         * elmo-nmz.el: New file.
3197
3198         * elmo-pipe.el: Rewrite with luna.
3199
3200 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
3201
3202         * elmo-archive.el: Rewrite with luna.
3203
3204         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
3205         (elmo-folder-list-importants-internal): Ditto.
3206
3207 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
3208
3209         * elmo-archive.el (elmo-archive-version): Abolish.
3210         (toplevel) Removed `boso' comment.
3211
3212 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
3213
3214         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
3215         elmo-msgdb-add-msgs-to-seen-list-subr;
3216         Changed argument seen-marks to unread-marks.
3217
3218         * elmo-nntp.el: Rewrite with luna.
3219
3220 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
3221
3222         * elmo-filter.el: Rewrite with luna.
3223
3224 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
3225
3226         * elmo-pop3.el: Rewrite with luna.
3227
3228 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
3229
3230         * elmo-multi.el: Rewrite with luna.
3231
3232         * elmo-vars.el (elmo-use-killed-list): Abolish.
3233         All other related portions are changed.
3234         (elmo-filename-replace-string-alist): Renamed from
3235         elmo-msgid-replace-string-alist.
3236
3237 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
3238
3239         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
3240
3241         * elmo-map.el: New file.
3242         * elmo-maildir.el: Rewrite with luna.
3243
3244 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
3245
3246         * elmo.el: Changed meaning of `elmo-folder-commit'.
3247         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
3248
3249 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
3250
3251         * elmo.el (elmo-folder-append-buffer): New function.
3252         (Renamed from `elmo-append-msg')
3253
3254 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
3255
3256         * elmo-mime.el: New file.
3257
3258 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
3259
3260         * elmo-cache.el: Rewrite.
3261
3262 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
3263
3264         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
3265
3266 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
3267
3268         * elmo-vars.el (elmo): New group.
3269         (elmo-strict-diff-folder-regexp): New variable.
3270
3271         * elmo-util.el (elmo-call-func): Abolish.
3272         (elmo-folder-get-type): Ditto.
3273         (elmo-*-get-spec): Ditto.
3274         (elmo-*-spec-*): Ditto.
3275         (elmo-imap4-identical-name-space-p): Ditto.
3276         (elmo-folder-identical-system-p): Ditto.
3277         (elmo-folder-direct-copy-alist): Ditto.
3278         (elmo-folder-direct-copy-p): Ditto.
3279
3280         * elmo-pipe.el (elmo-pipe-folder): New luna class.
3281         (elmo-folder-initialize): Define.
3282         (elmo-folder-get-primitive-list): Ditto.
3283
3284         * elmo-nntp.el (elmo-nntp-folder): New luna class.
3285         (elmo-folder-initialize): Define.
3286         Renamed `elmo-network-session-host-internal' to
3287         `elmo-network-session-server-internal'.
3288
3289         * elmo-multi.el (elmo-multi-folder): New luna class.
3290         (elmo-folder-initialize): Define.
3291         (elmo-folder-get-primitive-list): Ditto.
3292         (elmo-folder-contains-type): Ditto.
3293         (elmo-message-use-cache-p): Ditto.
3294
3295         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
3296         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
3297
3298         * elmo-maildir.el (elmo-maildir-folder): New luna class.
3299         (elmo-folder-initialize): Define.
3300
3301         * elmo-filter.el (elmo-filter-folder): New luna class.
3302         (elmo-folder-initialize): Define.
3303         (elmo-folder-get-primitive-list): Ditto.
3304         (elmo-folder-contains-type): Ditto.
3305
3306 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
3307
3308         * elmo-imap4.el: Rewrite with luna.
3309
3310         * mmimap.el: New file.
3311
3312         * mmelmo.el, mmelmo-imap4.el: Removed.
3313
3314         * elmo-net.el: Ditto.
3315
3316         * elmo-pop3.el (elmo-pop3-folder): New luna class.
3317         (elmo-folder-initialize): Define.
3318
3319         * elmo-archive.el (elmo-archive-folder): New luna class.
3320         (elmo-folder-initialize): Define.
3321
3322         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
3323         `elmo-folder-msgdb-path'.
3324         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
3325         `elmo-make-folder'.
3326
3327 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
3328
3329         * elmo.el: New file.
3330
3331         * elmo2.el: Renamed to elmo.el.
3332
3333 \f
3334 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
3335
3336         * elmo-cache.el (elmo-cache-expire-by-size): Count
3337         a disk usage for a cache file entry in KB even when
3338         its kind is a directory.
3339
3340 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
3341
3342         * elmo-version.el (elmo-version): Up to 2.5.7.
3343
3344 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3345
3346         * elmo-version.el (elmo-version): Up to 2.5.6.
3347
3348 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
3349
3350         * elmo-version.el (elmo-version): Up to 2.5.5.
3351
3352 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
3353
3354         * elmo-imap4.el (elmo-network-authenticate-session):
3355         Fixed a logic for response checking.
3356
3357 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
3358
3359         * elmo-net.el: Add autoload settings for `starttls-negotiate',
3360         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
3361         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
3362         `sasl-mechanisms'.
3363
3364         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
3365         for `starttls-open-stream' and `starttls-negotiate'.
3366
3367         * elmo-nntp.el: Remove autoload settings for
3368         `starttls-open-stream' and `starttls-negotiate'.
3369
3370         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
3371         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
3372         `luna-define-class' with `eval-and-compile'.
3373
3374 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
3375
3376         * elmo-util.el (elmo-read-search-condition-internal):
3377         Require an element of table for searching field.
3378
3379 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
3380
3381         * elmo-version.el (elmo-version): Up to 2.5.4.
3382
3383 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
3384
3385         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
3386
3387 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
3388
3389         * elmo-nntp.el (elmo-network-initialize-session): omitted.
3390
3391 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
3392
3393         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
3394         before greeting.
3395
3396 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
3397
3398         * elmo-imap4.el (elmo-imap4-delete-folder):
3399         Send "close" before "delete" (Use commented out line).
3400         (elmo-imap4-rename-folder): Ditto.
3401
3402         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
3403         folder string itself.
3404         (elmo-dop-list-deleted): New function.
3405         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
3406         killed.
3407
3408         * elmo-util.el (elmo-string-rassoc-all): New function.
3409
3410 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
3411
3412         * elmo-version.el (elmo-version): Up to 2.5.3.
3413
3414         * elmo-net.el (elmo-network-get-session): Changed logic for
3415         checking process status.
3416
3417         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
3418         process is nil;
3419         Changed logic for checking process status.
3420
3421 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
3422
3423         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
3424         before greeting.
3425         (elmo-network-setup-session): Set UIDL hash size according to
3426         the length of list response.
3427         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
3428         according to the length of list response;
3429         Return the length of list response.
3430         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
3431
3432 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
3433
3434         * elmo-imap4.el (toplevel): Require 'ssl.
3435         Add autoload 'starttls.
3436         * elmo-pop3.el (toplevel): Ditto.
3437         * elmo-nntp.el (toplevel): Ditto.
3438
3439 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3440
3441         * elmo-imap4.el (toplevel): defun at compile time.
3442         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
3443         sasl-next-step, sasl-step-data, sasl-step-set-data.
3444         * elmo-pop3.el (toplevel): Ditto.
3445
3446 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3447
3448         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
3449
3450 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3451
3452         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
3453         if error.
3454         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
3455         and `elmo-pop-auth-apop'.
3456
3457 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3458
3459         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
3460
3461 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3462
3463         * elmo-pop3.el (elmo-network-authenticate-session): Split
3464         encoded response value.
3465
3466 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3467
3468         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
3469         `elmo-pop3-force-login'.
3470         Redefine `sasl-mechanisms'.
3471         * elmo-vars.el (elmo-pop3-force-login): Ditto.
3472
3473 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3474
3475         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
3476         Delete `elmo-imap4-authenticator-alist'.
3477         (elmo-imap4-auth-cram-md5): Delete.
3478         (elmo-imap4-auth-digest-md5): Delete.
3479
3480 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3481
3482         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
3483         (elmo-pop3-auth-scram-md5): Ditto.
3484         (elmo-pop3-auth-cram-md5): Ditto.
3485
3486 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3487
3488         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
3489         Delete `elmo-pop3-authenticator-alist'.
3490
3491 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3492
3493         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
3494         new SASL API.
3495         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
3496
3497 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
3498
3499         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
3500
3501 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
3502
3503         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
3504         Fixed problem when `elmo-pop3-use-uidl' is nil.
3505         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
3506
3507 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3508
3509         * elmo-version.el (elmo-version): Up to 2.5.2.
3510
3511 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
3512
3513         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
3514         New function.
3515         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
3516         (elmo-pop3-msgdb-create-as-numlist): Use it.
3517
3518         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
3519         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
3520
3521         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
3522         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
3523
3524 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
3525
3526         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
3527         when elmo-mark-as-read is called with second argument nil.
3528
3529 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
3530
3531         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
3532         Moved to elmo-util.el.
3533
3534         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
3535         Moved from elmo-pipe.el
3536
3537         * elmo-archive.el (elmo-archive-call-process): Enclose with
3538         static-if.
3539
3540         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
3541         "RFC822" (because RFC822.PEEK is obsolete).
3542         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
3543
3544 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
3545
3546         * elmo-archive.el (elmo-archive-call-process): Don't check for
3547         the exit status when Nemacs is running.
3548
3549 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
3550
3551         * elmo-net.el (elmo-network-session-password-key): Don't set default to
3552         'plain.
3553
3554         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
3555         (elmo-pop3-get-spec): Set default of auth to 'user.
3556
3557         * elmo-imap4.el (elmo-imap4-session-check):
3558         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
3559         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
3560         (elmo-imap4-auth-login): New function; Revival.
3561         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
3562         `elmo-imap4-auth-login'.
3563
3564 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3565
3566         * elmo2.el (toplevel): Move `product-provide' declare.
3567         * mmelmo.el (toplevel): Ditto.
3568
3569 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
3570
3571         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
3572
3573 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
3574
3575         * elmo-util.el (elmo-folder-get-store-type): New function.
3576         (elmo-folder-direct-copy-p): Use it.
3577
3578 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
3579
3580         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
3581         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
3582         and result of `elmo-imap4-use-flag-p'.
3583         (elmo-imap4-fetch-callback-1): Set mark according to
3584         the result of `elmo-imap4-use-flag-p'.
3585
3586 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
3587
3588         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
3589         (elmo-generic-list-folder-unread): Ditto.
3590         (elmo-folder-get-info): Ditto.
3591         (elmo-folder-set-info-max-by-numdb): Ditto.
3592         (elmo-folder-get-info-max): Ditto.
3593         (elmo-folder-get-info-length): Ditto.
3594         (elmo-folder-get-info-unread): Ditto.
3595         (elmo-folder-info-make-hashtb): Ditto.
3596
3597         * elmo2.el: Removed above functions.
3598
3599 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
3600
3601         * elmo-imap4.el (toplevel): Require 'ssl.
3602         Add autoload 'starttls.
3603         * elmo-pop3.el (toplevel): Ditto.
3604         * elmo-nntp.el (toplevel): Ditto.
3605
3606 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3607
3608         * elmo-imap4.el (toplevel): defun at compile time.
3609         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
3610         sasl-next-step, sasl-step-data, sasl-step-set-data.
3611         * elmo-pop3.el (toplevel): Ditto.
3612
3613 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3614
3615         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
3616
3617 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3618
3619         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
3620         if error.
3621         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
3622         and `elmo-pop-auth-apop'.
3623
3624 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3625
3626         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
3627
3628 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3629
3630         * elmo-pop3.el (elmo-network-authenticate-session): Split
3631         encoded response value.
3632
3633 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3634
3635         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
3636         `elmo-pop3-force-login'.
3637         Redefine `sasl-mechanisms'.
3638         * elmo-vars.el (elmo-pop3-force-login): Ditto.
3639
3640 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3641
3642         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
3643         Delete `elmo-imap4-authenticator-alist'.
3644         (elmo-imap4-auth-cram-md5): Delete.
3645         (elmo-imap4-auth-digest-md5): Delete.
3646
3647 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
3648
3649         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
3650         (elmo-pop3-auth-scram-md5): Ditto.
3651         (elmo-pop3-auth-cram-md5): Ditto.
3652
3653 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3654
3655         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
3656         Delete `elmo-pop3-authenticator-alist'.
3657
3658 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
3659
3660         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
3661         new SASL API.
3662         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
3663
3664 \f
3665 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
3666
3667         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
3668
3669 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
3670
3671         * elmo-nntp.el (elmo-nntp-get-folders-info):
3672         Fixed problem when '\' character is contained in user-id.
3673         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
3674
3675 \f
3676 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
3677
3678         * elmo-imap4.el (elmo-imap4-delete-folder):
3679         Send "close" before "delete" (Use commented out line).
3680         (elmo-imap4-rename-folder): Ditto.
3681
3682         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
3683         folder string itself.
3684         (elmo-dop-list-deleted): New function.
3685         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
3686         killed.
3687
3688         * elmo-util.el (elmo-string-rassoc-all): New function.
3689
3690         * elmo-version.el (elmo-version): Up to 2.5.1.
3691
3692 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
3693
3694         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
3695
3696         * elmo-internal.el (elmo-internal-search): Fix last change.
3697
3698 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
3699
3700         * elmo-internal.el (elmo-internal-search): Rewrite.
3701         (Fixed problem which is pointed out by Akihiro MOTOKI
3702         <motoki@da.jp.nec.com>)
3703
3704         * elmo-version.el (elmo-version): Up to 2.5.0.
3705
3706 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
3707
3708         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
3709
3710 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
3711
3712         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
3713         non-nil, make hierarchy.
3714
3715 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
3716
3717         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
3718         `elmo-pop3-use-uidl' must be bound to nil.
3719         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
3720
3721 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
3722
3723         * elmo-util.el (elmo-copy-file): Don't cause an error after
3724         `add-name-to-file' failed.
3725
3726         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
3727         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
3728
3729 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3730
3731         * elmo-version.el (elmo-version): Up to 2.3.93.
3732
3733 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
3734
3735         * elmo-util.el (elmo-flatten): New function.
3736
3737 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3738
3739         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
3740         sync Author header.
3741         * elmo-cache.el (toplevel): Ditto.
3742         * elmo-database.el (toplevel): Ditto.
3743         * elmo-date.el (toplevel): Ditto.
3744         * elmo-dop.el (toplevel): Ditto.
3745         * elmo-filter.el (toplevel): Ditto.
3746         * elmo-imap4.el (toplevel): Ditto.
3747         * elmo-internal.el (toplevel): Ditto.
3748         * elmo-localdir.el (toplevel): Ditto.
3749         * elmo-localnews.el (toplevel): Ditto.
3750         * elmo-maildir.el (toplevel): Ditto.
3751         * elmo-msgdb.el (toplevel): Ditto.
3752         * elmo-multi.el (toplevel): Ditto.
3753         * elmo-net.el (toplevel): Ditto.
3754         * elmo-nntp.el (toplevel): Ditto.
3755         * elmo-pipe.el (toplevel): Ditto.
3756         * elmo-pop3.el (toplevel): Ditto.
3757         * elmo-util.el (toplevel): Ditto.
3758         * elmo-vars.el (toplevel): Ditto.
3759         * elmo2.el (toplevel): Ditto.
3760         * mmelmo-imap4.el (toplevel): Ditto.
3761         * mmelmo.el (toplevel): Ditto.
3762
3763         * elmo-version.el (elmo-version): Move to top.
3764
3765         * elmo-cache.el (toplevel): Fixed multiple Author header format.
3766         * elmo-imap4.el (toplevel): Ditto.
3767         * elmo-localdir.el (toplevel): Ditto.
3768         * elmo-msgdb.el (toplevel): Ditto.
3769         * elmo-nntp.el (toplevel): Ditto.
3770         * elmo-pop3.el (toplevel): Ditto.
3771         * elmo-version.el (toplevel): Ditto.
3772
3773         * elmo-localnews.el (toplevel): Added Keyword header.
3774
3775 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
3776
3777         * elmo-version.el (product-version-as-string): Defined using
3778         `defun-maybe'.
3779         (toplevel): Use it.
3780
3781         * elmo-localdir.el (toplevel): Updated copyright notice.
3782         * elmo-version.el (toplevel): Ditto.
3783         * elmo-msgdb.el (toplevel): Ditto.
3784         * elmo-imap4.el (toplevel): Ditto.
3785         * elmo-nntp.el (toplevel): Ditto.
3786         * elmo-pop3.el (toplevel): Ditto.
3787
3788 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
3789
3790         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
3791         messages.
3792
3793         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
3794         parameter value (It sometimes contains raw kanji).
3795
3796 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
3797
3798         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
3799         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
3800
3801 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
3802
3803         * elmo-imap4.el (elmo-network-initialize-session): Fix.
3804
3805 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
3806
3807         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
3808         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
3809
3810 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
3811
3812         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
3813         value if selecting folder succceeded.
3814         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
3815
3816 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3817
3818         * elmo-util.el (elmo-make-directory): Fixed permission lateral
3819         representation.
3820
3821         * elmo-util.el (elmo-string-matched-member): New function.
3822
3823 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
3824
3825         * elmo-util.el (elmo-unintern): New macro.
3826         (elmo-number-set-member): Fixed docstring.
3827
3828         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
3829         tag token.
3830
3831 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
3832
3833         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
3834         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
3835
3836 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
3837
3838         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
3839         `no-error'.
3840         Added docstring.
3841         Return non-nil if selecting folder succeeded.
3842         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
3843
3844 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
3845
3846         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
3847         `file-name-completion' returns t.
3848         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3849         (elmo-maildir-set-mark): Put `info' part to the files in the cur
3850         directory if it does not exist.
3851         (elmo-maildir-update-current): Use `while' instead of `mapcar'
3852         for iteration.
3853
3854 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
3855
3856         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
3857         enclosure (It's harmful in unplugged status).
3858
3859         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
3860
3861         * mmelmo-1.el: Removed.
3862
3863         * mmelmo-2.el: Ditto.
3864
3865         * mmelmo-imap4-1.el: Ditto.
3866
3867         * mmelmo-imap4-2.el: Ditto.
3868
3869         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
3870
3871         * mmelmo.el: Merged mmelmo-2.el.
3872
3873         * elmo-version.el (elmo-version): Up to 2.3.92.
3874
3875 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3876
3877         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
3878         elmo-update-number): Remove last period in "...done." message.
3879         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3880         Ditto.
3881         * elmo-cache.el (elmo-cache-expire-by-size,
3882         elmo-cache-get-sorted-cache-file-list,
3883         elmo-cache-msgdb-create-as-numlist): Ditto.
3884         * elmo-dop.el (elmo-dop-save-pending-messages,
3885         (elmo-dop-flush-pending-append-operations): Ditto.
3886         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
3887         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
3888         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
3889         (elmo-localdir-pack-number): Ditto.
3890         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
3891         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
3892         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
3893         mime-write-entity-content): Ditto.
3894         * pldap.el (ldap-search-basic): Ditto.
3895
3896 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
3897
3898         * elmo-version.el (elmo-version): Up to 2.3.91.
3899
3900         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
3901         Only when filter is 'last'.
3902
3903         * elmo-util.el (elmo-condition-atom-regexp): New constant.
3904         (elmo-condition-parse-search-value): Use it.
3905         (elmo-read-search-condition-internal): Quote value only when
3906         it is not an atom.
3907
3908 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
3909
3910         * elmo2.el (elmo-generic-folder-diff): Fix.
3911
3912 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
3913
3914         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
3915         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
3916         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
3917         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
3918         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
3919         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
3920
3921 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
3922
3923         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
3924         extra-fields.
3925
3926 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
3927
3928         * elmo-version.el (elmo-version): Up to 2.3.90.
3929
3930         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
3931         (elmo-imap4-list-folder-important): Ditto.
3932
3933 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
3934
3935         * elmo-nntp.el (elmo-network-initialize-session): Fix.
3936
3937 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
3938
3939         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
3940
3941 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
3942
3943         * elmo-nntp.el (elmo-network-initialize-session):
3944         Add starttls negotiation.
3945
3946 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3947
3948         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
3949         response.
3950         (elmo-network-setup-session): Define.
3951         Call `elmo-nntp-send-mode-reader' when session opened.
3952
3953 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
3954
3955         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
3956
3957 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
3958
3959         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
3960         an invalid SPACE character ahead of `SEARCH' command.  Move
3961         a valid SPACE character following `SEARCH' from conditional
3962         `format' arguments to control-strings.
3963
3964 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
3965
3966         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
3967         was succeeded.
3968
3969         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
3970
3971 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
3972
3973         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
3974         `w32-get-true-file-link-count' as t.
3975
3976         * elmo-imap4.el (elmo-imap4-read): Abolished.
3977         (Renamed to `elmo-read' and moved to elmo-util.el)
3978         All other related portions are changed.
3979
3980         * elmo-util.el (elmo-read): New function.
3981         (elmo-condition-parse-search-value): Use it.
3982
3983 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
3984
3985         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
3986
3987         * elmo-nntp.el (elmo-nntp-session): Define.
3988         (elmo-nntp-setting): Abolished.
3989         All other related portions are changed.
3990         (elmo-nntp-get-server-command): Changed argument.
3991         (elmo-nntp-set-server-command): Ditto.
3992         (elmo-nntp-xover-p): Ditto.
3993         (elmo-nntp-set-xover): Ditto.
3994         (elmo-nntp-listgroup-p): Ditto.
3995         (elmo-nntp-set-listgroup): Ditto.
3996         (elmo-nntp-list-active-p): Ditto.
3997         (elmo-nntp-set-list-active): Ditto.
3998         (elmo-nntp-xhdr-p): Ditto.
3999         (elmo-nntp-set-xhdr): Ditto.
4000         (elmo-nntp-flush-connection): Abolished.
4001         (elmo-nntp-get-connection): Abolished.
4002         (elmo-nntp-get-session): New function.
4003         (elmo-network-initialize-session): Defined.
4004         (elmo-network-authenticate-session): Ditto.
4005         (elmo-nntp-send-mode-reader): Changed argument.
4006         (elmo-nntp-send-command): Changed argument.
4007         All other related portions are changed.
4008         (elmo-nntp-read-response): Ditto.
4009         (elmo-nntp-read-raw-response): Ditto.
4010         (elmo-nntp-read-contents): Ditto.
4011         (elmo-nntp-read-body): Ditto.
4012         (elmo-nntp-goto-folder): Abolished.
4013         (elmo-nntp-select-group): New function.
4014         All other related portions are changed.
4015         (This function substitutes `elmo-nntp-goto-folder')
4016         (elmo-nntp-msgdb-create-by-header): Rewrite.
4017         (elmo-nntp-get-overview): Eliminated.
4018         (elmo-nntp-get-message): Ditto.
4019         (elmo-nntp-open-connection) Abolished.
4020         (elmo-nntp-read-msg): Rewrite.
4021         (elmo-nntp-post): Ditto.
4022         (elmo-nntp-send-data): Abolished.
4023         (elmo-nntp-send-buffer): New function.
4024         (elmo-nntp-send-data-line): Define as inline function.
4025         (elmo-nntp-get-folders-info-prepare): Use session as key.
4026         (elmo-nntp-groups-read-response): Changed argument.
4027         (elmo-nntp-retrieve-headers): Ditto.
4028         (elmo-nntp-msgdb-create-message): Ditto.
4029
4030         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
4031         when searching by 'since' or 'before'.
4032
4033 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4034
4035         * elmo-version.el (toplevel): Use product-version-as-string for set
4036         verstion-string, if defined.
4037
4038 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
4039
4040         * elmo-util.el: Doc fixes.
4041
4042 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4043
4044         * elmo-archive.el (toplevel): Use product-provide.
4045         * elmo-cache.el (toplevel): Ditto.
4046         * elmo-database.el (toplevel): Ditto.
4047         * elmo-date.el (toplevel): Ditto.
4048         * elmo-dop.el (toplevel): Ditto.
4049         * elmo-filter.el (toplevel): Ditto.
4050         * elmo-imap4.el (toplevel): Ditto.
4051         * elmo-internal.el (toplevel): Ditto.
4052         * elmo-localdir.el (toplevel): Ditto.
4053         * elmo-localnews.el (toplevel): Ditto.
4054         * elmo-maildir.el (toplevel): Ditto.
4055         * elmo-msgdb.el (toplevel): Ditto.
4056         * elmo-multi.el (toplevel): Ditto.
4057         * elmo-net.el (toplevel): Ditto.
4058         * elmo-nntp.el (toplevel): Ditto.
4059         * elmo-pipe.el (toplevel): Ditto.
4060         * elmo-pop3.el (toplevel): Ditto.
4061         * elmo-util.el (toplevel): Ditto.
4062         * elmo-vars.el (toplevel): Ditto.
4063         * elmo2.el (toplevel): Ditto.
4064         * mmelmo-1.el (toplevel): Ditto.
4065         * mmelmo-2.el (toplevel): Ditto.
4066         * mmelmo-imap4-1.el (toplevel): Ditto.
4067         * mmelmo-imap4-2.el (toplevel): Ditto.
4068         * mmelmo-imap4.el (toplevel): Ditto.
4069         * mmelmo.el (toplevel): Ditto.
4070
4071 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
4072
4073         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
4074         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
4075
4076 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
4077
4078         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
4079         before splitting.
4080         (elmo-multi-split-number-alist): Ditto.
4081
4082 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4083
4084         * elmo-version.el: New file.  Use product.el.
4085         * elmo2.el: Add (require 'elmo-version).
4086         * elmo-vars.el (elmo-appname, elmo-version): Move to
4087         elmo-version.el
4088
4089 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
4090
4091         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
4092         `elmo-msgdb-expand-path'.
4093         (elmo-msgdb-load): Ditto.
4094         Abolished 2nd argument. If 1st argument is not string, treat as spec.
4095         (elmo-generic-list-folder-unread): Rewrite.
4096         (elmo-generic-list-folder-important): Changed argument.
4097         (elmo-list-folder-unread): Ditto.
4098         (elmo-list-folder-important): Ditto.
4099         (elmo-folder-diff): Rewrite.
4100         (elmo-generic-folder-diff): New function.
4101         (elmo-multi-get-number-alist-list): Abolished
4102         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
4103         (elmo-multi-folder-diff): Moved to elmo-multi.el
4104         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
4105
4106         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
4107         `elmo-msgdb-expand-path'.
4108         (elmo-pop3-msgdb-create-as-numlist): Ditto.
4109         (elmo-pop3-read-msg): Ditto.
4110         (elmo-pop3-delete-msgs): Ditto.
4111         (elmo-pop3-folder-diff): New alias.
4112
4113         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
4114         `elmo-msgdb-expand-path'.
4115         (elmo-pipe-list-folder-unread): Changed arguments.
4116         (elmo-pipe-list-folder-important): Ditto.
4117         (elmo-pipe-folder-diff): New alias.
4118
4119         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
4120         `elmo-msgdb-expand-path'.
4121         (elmo-nntp-max-of-folder): Ditto.
4122         (elmo-nntp-msgdb-create): Ditto.
4123         (elmo-nntp-delete-msgs): Ditto.
4124         (elmo-nntp-folder-diff): New alias.
4125
4126         * elmo-multi.el (elmo-multi-folder-diff): New function.
4127         (elmo-multi-split-mark-alist): Ditto.
4128         (elmo-multi-split-number-alist): Ditto.
4129         (elmo-multi-mark-alist-list): Abolished (Renamed to
4130         elmo-multi-split-mark-alist).
4131         (elmo-multi-list-folder-unread): Rewrite.
4132         (elmo-multi-list-folder-important): Ditto.
4133         (elmo-multi-list-folder): Set `spec' as 1st argument for
4134         `elmo-msgdb-expand-path'.
4135         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
4136         instead of `elmo-multi-get-number-alist-list'.
4137
4138         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
4139         If 1st argument is not string, treat as spec.
4140         (elmo-list-folder-by-location): Set `spec' as 1st argument for
4141         `elmo-msgdb-expand-path'.
4142         (elmo-msgdb-flist-load): Ditto.
4143         (elmo-msgdb-flist-save): Ditto.
4144         (elmo-msgdb-delete-path): Ditto.
4145         (elmo-msgdb-rename-path): Ditto.
4146
4147         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
4148         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4149         (elmo-maildir-delete-mark-msgs): Ditto.
4150         (elmo-maildir-msgdb-create): Ditto.
4151         (elmo-maildir-read-msg): Ditto.
4152         (elmo-maildir-delete-msgs): Ditto.
4153         (elmo-maildir-list-folder-subr): Ditto.
4154         (elmo-maildir-search): Ditto.
4155         (elmo-maildir-get-msg-filename): Ditto.
4156         (elmo-maildir-pack-number): Ditto.
4157         (elmo-maildir-folder-diff): New alias.
4158
4159         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
4160
4161         * elmo-localdir.el (elmo-localdir-list-folder-subr):
4162         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4163         (elmo-localdir-folder-diff): New alias.
4164
4165         * elmo-internal.el (elmo-internal-list-folder-subr):
4166         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4167         (elmo-internal-list-folder-by-location): Ditto.
4168         (elmo-internal-msgdb-create): Ditto.
4169         (elmo-internal-delete-msgs): Ditto.
4170         (elmo-internal-read-msg): Ditto.
4171         (elmo-internal-folder-diff): New alias.
4172
4173         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
4174         (elmo-imap4-list-folder): Set `spec' as 1st argument for
4175         `elmo-msgdb-expand-path'.
4176         (elmo-imap4-list-folder-unread): Changed arguments.
4177         (elmo-imap4-list-folder-important): Ditto.
4178
4179         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
4180         (elmo-filter-list-folder-important): Ditto.
4181         (elmo-filter-folder-diff): New function.
4182
4183         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
4184
4185         * elmo-cache.el (elmo-cache-list-folder):
4186         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4187         (elmo-cache-copy-msgs): Ditto.
4188         (elmo-cache-folder-diff): New alias.
4189
4190         * elmo-archive.el (elmo-archive-list-folder-subr):
4191         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4192         (elmo-archive-get-archive-name): Ditto.
4193         (elmo-archive-create-file): Ditto.
4194         (elmo-archive-append-msg): Ditto.
4195         (elmo-archive-copy-msgs): Ditto.
4196         (elmo-archive-copy-msgs-froms): Ditto.
4197         (elmo-archive-get-msg-filename): Ditto.
4198         (elmo-archive-folder-diff): New alias.
4199
4200 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
4201
4202         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
4203         (elmo-pop3-stream-type-alist): New variable.
4204         (elmo-nntp-stream-type-alist): New variable.
4205
4206         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
4207         (elmo-kill-buffer): Ditto.
4208         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
4209         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
4210         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
4211         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
4212         (elmo-imap4-get-spec): Take into account
4213         `elmo-imap4-stream-type-alist'.
4214
4215 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
4216
4217         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
4218         (elmo-nntp-list-folders-get-cache): Ditto.
4219
4220 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
4221
4222         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
4223         character before 'uid'.
4224
4225 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
4226
4227         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
4228
4229         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
4230
4231         * elmo-util.el (elmo-number-set-member): New function.
4232         (elmo-number-set-append-list): Ditto.
4233         (elmo-number-set-append): Ditto.
4234
4235         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
4236         Use `elmo-number-set-member'.
4237         (elmo-living-messages): Ditto.
4238         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
4239         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
4240
4241         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
4242         (elmo-imap4-add-to-cont-list): Abolished.
4243         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
4244         instead of elmo-imap4-add-to-cont-list.
4245
4246         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
4247         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
4248
4249         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
4250
4251 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
4252
4253         * elmo-util.el (elmo-condition-parse-search-value):
4254         Fixed date parsing.
4255
4256 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
4257
4258         * elmo-util.el (elmo-condition-find-key-internal): New function.
4259         (elmo-condition-find-key): Ditto.
4260
4261         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
4262         (elmo-msgdb-search-internal): Ditto.
4263         (elmo-msgdb-search): Ditto.
4264
4265 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
4266
4267         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
4268         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
4269
4270         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
4271         (elmo-nntp-search-primitive): Fixed problem when condition is
4272         'unmatch'.
4273
4274         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
4275
4276         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
4277         (elmo-nntp-xhdr-p): New macro.
4278         (elmo-nntp-set-xhdr): Ditto.
4279         (elmo-nntp-parse-xhdr-response): New function.
4280         (elmo-nntp-retrieve-field): Ditto.
4281         (elmo-nntp-search-primitive): Ditto.
4282         (elmo-nntp-search): Implemented.
4283
4284         * elmo-date.el (elmo-date-make-sortable-string): New macro.
4285
4286         * elmo-archive.el (elmo-archive-search): Set all number list to
4287         `elmo-archive-field-condition-match'
4288
4289         * elmo-localdir.el (elmo-localdir-search): Likewise.
4290
4291         * elmo-maildir.el (elmo-maildir-search): Likewise.
4292
4293 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
4294
4295         * elmo-msgdb.el (elmo-living-messages): New function.
4296         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
4297         * elmo-cache.el (elmo-cache-list-folder): Ditto.
4298         * elmo-dop.el (elmo-dop-list-folder): Ditto.
4299         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
4300         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
4301         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
4302         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
4303         * elmo-multi.el (elmo-multi-list-folder): Ditto.
4304         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
4305         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
4306         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
4307
4308 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
4309
4310         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
4311
4312         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
4313
4314         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
4315
4316         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4317         arguments for `SEARCH' command.
4318         (elmo-imap4-parse-string): Set `POS' argument for char-after.
4319         All other related portions are changed.
4320
4321         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
4322
4323         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
4324         (elmo-list-folder-unread): Rewrite.
4325         (elmo-list-folder-important): Ditto.
4326
4327         * elmo-util.el (elmo-filter-get-spec): Rewrite.
4328         (elmo-condition-parse-error): New inline function.
4329         (elmo-read-search-condition): New function.
4330         (elmo-read-search-condition-internal): Ditto.
4331         (elmo-parse-search-condition): Rewrite.
4332         (elmo-condition-parse): New function.
4333         (elmo-condition-parse-or-expr): Ditto.
4334         (elmo-condition-parse-and-expr): Ditto.
4335         (elmo-condition-parse-primitive): Ditto.
4336         (elmo-condition-parse-search-value): Ditto.
4337         (elmo-buffer-field-primitive-condition-match): Ditto.
4338         (elmo-buffer-field-condition-match): Rewrite.
4339         (elmo-file-field-condition-match): Ditto.
4340
4341         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
4342         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
4343
4344         * elmo-internal.el (elmo-internal-search): Set `number' and
4345         `number-list' argument of `elmo-file-field-condition-match'.
4346
4347         * elmo-maildir.el (elmo-maildir-search): Ditto.
4348
4349         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
4350         `msgdb' as argument instead of `mark-alist'.
4351         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
4352         `overview'.
4353
4354         * elmo-multi.el: Likewise.
4355
4356         * elmo-pipe.el: Likewise.
4357
4358         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
4359         (elmo-imap4-search-internal): Rewrite.
4360         (elmo-imap4-search): Ditto.
4361
4362         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
4363         (elmo-filter-list-folder-unread): Ditto.
4364         (elmo-filter-list-folder-important): Ditto.
4365         (elmo-filter-search): Rewrite.
4366
4367         * elmo-cache.el (elmo-cache-search-all): Set `number' and
4368         `number-list' argument of `elmo-file-field-condition-match'.
4369         (elmo-cache-search): Ditto.
4370
4371         * elmo-localdir.el: Likewise.
4372
4373         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
4374         number-list and pass it to `elmo-buffer-field-condition-match'.
4375         (elmo-archive-field-condition-match): Pass `number-list' to
4376         `elmo-archive-field-condition-match'
4377
4378 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4379
4380         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
4381         `listgroup'.
4382
4383         * elmo2.el (elmo-folder-diff-async-callback): New variable.
4384         (elmo-folder-diff-async-callback-data): Ditto.
4385         (elmo-folder-diff-async): New function.
4386
4387         * elmo-net.el (elmo-network-session-name-prefix): New variable.
4388         (elmo-network-session-cache-key): Use it as a prefix of the session
4389         name.
4390         (elmo-network-open-session): Ditto.
4391
4392         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
4393         (elmo-imap4-status-callback-data): Ditto.
4394         (elmo-imap4-server-diff-async-callback): New variable.
4395         (elmo-imap4-server-diff-async-callback-data): Ditto.
4396         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
4397         `elmo-imap4-status-callback-data'.
4398         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
4399         `elmo-imap4-status-callback-data' as nil.
4400         (elmo-imap4-server-diff): Ditto.
4401         (elmo-imap4-server-diff-async-callback-1): New function.
4402         (elmo-imap4-server-diff-async): Ditto.
4403         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
4404
4405 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
4406
4407         * elmo-util.el (elmo-list-delete): Doc fix.
4408         (elmo-delete-lists): Abolish.
4409         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
4410         instead of `elmo-delete-lists'.
4411
4412 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4413
4414         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
4415         before `sort'.
4416
4417 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
4418
4419         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
4420         `elmo-imap4-literal-subr'.
4421         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
4422         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
4423
4424 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
4425
4426         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
4427         (elmo-archive-list-folder): Fix.
4428         (elmo-archive-max-of-folder): Fix.
4429
4430 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
4431
4432         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
4433          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
4434         (elmo-localdir-append-msg): Ditto.
4435         (elmo-localdir-list-folder): Fix for `nonsort'.
4436         (elmo-localdir-list-folder-subr): Fix for `killed'.
4437         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
4438         (elmo-maildir-list-folder-subr): Ditto.
4439         * elmo-archive.el (elmo-archive-list-folder): Ditto.
4440         (elmo-archive-list-folder-subr): Ditto.
4441         * elmo-internal.el (elmo-internal-list-folder): Ditto.
4442         (elmo-internal-list-folder-subr): Ditto.
4443
4444 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4445
4446         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
4447
4448 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
4449
4450         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
4451
4452 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
4453
4454         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
4455         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4456
4457         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
4458         before greeting.
4459         (elmo-imap4-read-part): Use "body.peek" to fetch part.
4460         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4461
4462 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
4463
4464         * mmelmo-imap4-2.el (mime-entity-children): Defined.
4465
4466         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
4467         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
4468         before STORE command.
4469
4470 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
4471
4472         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
4473
4474         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
4475         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
4476         of `response'.
4477         (elmo-imap4-list-folders): Removed unused local variable.
4478         (elmo-network-initialize-session): Ditto.
4479         (elmo-imap4-delete-msg-by-id): Ditto.
4480         (elmo-imap4-parse-fetch): Ditto.
4481         (elmo-imap4-copy-msgs): Ditto.
4482         Use `dst-spec' instead of `dst-folder'.
4483         (elmo-network-authenticate-session): Check authenticate type `plain'.
4484
4485 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
4486
4487         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
4488         garbage checking.
4489         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
4490         `elmo-imap4-response-value'.
4491         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
4492
4493 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
4494
4495         * elmo-imap4.el (elmo-imap4-send-command):
4496         Cause elmo-imap4-bye-error when current response is BYE.
4497         (elmo-imap4-arrival-filter): Changed greeting response value.
4498
4499         * elmo2.el (elmo-imap4-bye-error): Define.
4500
4501         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
4502         (elmo-imap4-server-diff): Ditto.
4503         (elmo-imap4-response-bye-p): New macro.
4504         (elmo-imap4-response-error-text): Get text from BYE response.
4505         (elmo-imap4-read-response): Return if BYE response.
4506         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
4507         (elmo-imap4-folder-exists-p): Ditto.
4508         (elmo-imap4-commit): Do nothing when different mailbox is selected.
4509         (elmo-imap4-parse-bye): New function.
4510         (elmo-imap4-parse-response): Remove needless let.
4511         Call `elmo-imap4-parse-bye'.
4512
4513 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
4514
4515         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
4516         the mailbox does not exist.
4517         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
4518
4519 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
4520
4521         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
4522
4523 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
4524
4525         * elmo-vars.el (elmo-search-mime-charset): Abolished.
4526
4527         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
4528         (elmo-network-initialize-session-buffer): Defined.
4529
4530         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
4531         Abolished.
4532         (mmelmo-imap4-get-mime-entity): Rewrite.
4533
4534         * elmo2.el (elmo-error): Capitalize error message.
4535
4536         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
4537         (elmo-network-session-buffer): New macro.
4538         (elmo-network-open-session): Use it.
4539
4540         * elmo-imap4.el: Rewrite.
4541
4542 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4543
4544         * elmo-nntp.el (Toplevel): Require 'elmo-net.
4545
4546 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
4547
4548         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
4549         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
4550         (elmo-imap4-create-msgdb-from-overview-string): Use
4551         `elmo-msgdb-create-overview-from-buffer'.
4552
4553 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
4554
4555         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
4556         (elmo-imap4-default-hierarchy-delimiter): New variable.
4557         (elmo-imap4-list-folders): Use it.
4558
4559 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
4560
4561         * elmo-net.el (elmo-network-open-session): Add user and
4562         stream-type for process-buffer name.
4563
4564         * elmo-pop3.el (elmo-network-initialize-session): Call
4565         buffer-disable-undo.
4566
4567         * elmo-imap4.el (elmo-network-initialize-session):
4568         Set current-buffer as an argument for `buffer-disable-undo'.
4569
4570         * elmo-pop3.el (elmo-network-close-session): Don't use
4571         `process-live-p'.
4572
4573         * elmo-vars.el (elmo-default-pop3-authenticate-type):
4574         Set default as 'user.
4575
4576         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
4577
4578         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
4579         and `elmo-imap4-flush-connection'.
4580
4581         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
4582         (elmo-pop3-get-spec): Assume auth as symbol.
4583         (elmo-open-network-stream): Moved to `elmo-net'.
4584
4585         * elmo-pop3.el (toplevel): Require 'elmo-net.
4586         Define `sasl-cram-md5' to silence byte compilier.
4587         (elmo-pop3-connection-cache) Abolished.
4588         (elmo-pop3-authenticator-alist) New variable.
4589         (elmo-pop3-session): Define.
4590         (elmo-pop3-connection-get-process): Abolished.
4591         (elmo-pop3-connection-get-buffer): Ditto.
4592         (elmo-pop3-close-connection): Ditto.
4593         (elmo-pop3-flush-connection): Ditto.
4594         (elmo-pop3-get-connection): Ditto.
4595         (elmo-pop3-get-session): New function.
4596         (Replacement for `elmo-pop3-get-connection').
4597         All other related modules are changed.
4598         (elmo-network-close-session): Define.
4599         (elmo-pop3-send-command): Abolished argument `buffer'.
4600         All other related modules are changed.
4601         (elmo-pop3-read-response): Likewise.
4602         (elmo-pop3-open-connection): Abolished.
4603         (elmo-pop3-auth-user): New function.
4604         (elmo-pop3-auth-apop): Ditto.
4605         (elmo-pop3-auth-cram-md5): Ditto.
4606         (elmo-pop3-auth-scram-md5): Ditto.
4607         (elmo-pop3-auth-digest-md5): Ditto.
4608         (elmo-network-initialize-session): Define.
4609         (elmo-network-authenticate-session): Ditto.
4610         (elmo-network-setup-session): Ditto.
4611
4612         * elmo-imap4.el (toplevel): Require 'elmo-net.
4613         (elmo-imap4-session): Define.
4614         (elmo-imap4-connection-cache): Abolished.
4615         (elmo-imap4-password-key): Ditto.
4616         (elmo-imap4-flush-connection): Ditto.
4617         (elmo-imap4-get-connection): Ditto.
4618         All other related modules are changed.
4619         (elmo-imap4-get-session): New function
4620         (Replacement for `elmo-imap4-get-connection').
4621         (elmo-imap4-read-response): Abolished argument `buffer'.
4622         All other related modules are changed.
4623         (elmo-imap4-send-command): Likewise.
4624         (elmo-imap4-select-folder): Abolished.
4625         All other related modules are changed.
4626         (elmo-imap4-select-mailbox): New function.
4627         (Replacement for `elmo-imap4-select-folder').
4628         (elmo-imap4-auth-login): Simplify.
4629         (Assume current buffer as process buffer)
4630         (elmo-imap4-auth-cram-md5): Ditto.
4631         (elmo-imap4-auth-digest-md5): Ditto.
4632         (elmo-imap4-login): Ditto.
4633         (elmo-imap4-open-connection): Abolished.
4634         (elmo-imap4-open-connection-1): Abolished.
4635         (elmo-network-initialize-sessoin): Define.
4636         (elmo-network-authenticate-session): Ditto.
4637         (elmo-network-setup-session): Ditto.
4638
4639         * elmo-net.el: New module.
4640
4641 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
4642
4643         * elmo-util.el (elmo-define-error): New function.
4644
4645         * elmo2.el (elmo-error): Define.
4646         (elmo-open-error): Define.
4647         (elmo-authenticate-error): Define.
4648
4649         * elmo-imap4.el (elmo-imap4-error): Abolish.
4650         (elmo-imap4-error-type): Abolish.
4651         (elmo-imap4-error-process): Abolish.
4652         (elmo-imap4-error-message): Abolish
4653         (elmo-imap4-list-folders): Don't quote lambda.
4654         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
4655         (elmo-imap4-parse-namespace): Ditto.
4656         (elmo-imap4-open-connection): Rewrite.
4657         (elmo-imap4-open-connection-1): Simplified (authenticate only).
4658         (elmo-imap4-get-connection): Abolish local variable `result'.
4659
4660 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
4661
4662         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
4663         wrong-type-argument error when auth is nil.
4664
4665 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4666
4667         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
4668         (elmo-default-nntp-stream-type): Ditto.
4669         (elmo-default-pop3-stream-type): Ditto.
4670         (elmo-network-stream-type-alist): Ditto.
4671         (elmo-default-imap4-ssl): Abolished.
4672         (elmo-default-nntp-ssl): Ditto.
4673         (elmo-default-pop3-ssl): Ditto.
4674
4675         * elmo-util.el: (toplevel): Removed needless requires.
4676         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
4677         (elmo-open-network-stream): Open network stream according to
4678         the value of `elmo-network-stream-type-alist'.
4679         (elmo-get-network-stream-type): New function.
4680         (elmo-network-stream-type-spec-string): New macro.
4681         (elmo-network-stream-type-symbol): Ditto.
4682         (elmo-network-stream-type-function): Ditto.
4683
4684         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
4685         network-stream-type. All other related portions are changed.
4686         (elmo-pop3-open-connection): Ditto.
4687
4688         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
4689         network-stream-type. All other related portions are changed.
4690
4691         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
4692         network-stream-type.All other related portions are changed.
4693         (elmo-imap4-error): New macro.
4694         (elmo-imap4-error-type): Ditto.
4695         (elmo-imap4-error-process): Ditto.
4696         (elmo-imap4-error-message): Ditto.
4697         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
4698         (elmo-imap4-auth-cram-md5): Ditto.
4699         (elmo-imap4-auth-digest-md5): Ditto.
4700         (elmo-imap4-login): Ditto.
4701         (elmo-imap4-open-connection): Remove password entry if authentication
4702         was in vain.
4703         (elmo-imap4-user-at-host): Abolished.
4704         (elmo-imap4-password-key): New buffer local variable.
4705         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
4706         using protocol, port, auth and stream-type.
4707
4708         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
4709
4710 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
4711
4712         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
4713
4714         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
4715
4716         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
4717         (elmo-imap4-authenticator-alist): New variable.
4718         (elmo-imap4-open-connection-1): Rename from
4719         elmo-imap4-open-connection.
4720         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
4721         only wraps elmo-imap4-open-connection-1.
4722         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
4723         user-at-host.
4724         (elmo-imap4-auth-login): New function.
4725         (elmo-imap4-auth-cram-md5): New function.
4726         (elmo-imap4-auth-digest-md5): New function.
4727         (elmo-imap4-login): New function.
4728
4729 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
4730
4731         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
4732         function `error'.
4733
4734 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
4735
4736         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
4737
4738 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
4739
4740         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
4741
4742 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
4743
4744         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
4745         for server responses, quote `*' regardless of where it appears.
4746
4747 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
4748
4749         * elmo-maildir.el (elmo-maildir-commit): New alias.
4750
4751 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
4752
4753         * elmo-util.el (elmo-display-progress):
4754                 Use `progress-feedback-with-label'.
4755
4756 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
4757
4758         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
4759         (elmo-imap4-non-atom-char-regex): Ditto.
4760         (elmo-imap4-non-text-char-regex): Ditto.
4761         (elmo-imap4-literal-threshold): Ditto.
4762         (elmo-imap4-atom-p): New function.
4763         (elmo-imap4-quotable-p): Ditto.
4764         (elmo-imap4-nil): Ditto.
4765         (elmo-imap4-atom): Ditto.
4766         (elmo-imap4-quoted): Ditto.
4767         (elmo-imap4-literal-subr): Ditto.
4768         (elmo-imap4-literal): Ditto.
4769         (elmo-imap4-buffer-literal): Ditto.
4770         (elmo-imap4-string-subr): Ditto.
4771         (elmo-imap4-string): Ditto.
4772         (elmo-imap4-buffer-string): Ditto.
4773         (elmo-imap4-astring-subr): Ditto.
4774         (elmo-imap4-astring): Ditto.
4775         (elmo-imap4-buffer-astring): Ditto.
4776         (elmo-imap4-nstring): Ditto.
4777         (elmo-imap4-buffer-nstring): Ditto.
4778         (elmo-imap4-mailbox): New alias.
4779         (elmo-imap4-field-body): Ditto.
4780         (elmo-imap4-userid): Ditto.
4781         (elmo-imap4-password): Ditto.
4782         (elmo-imap4-format-quoted): New function.
4783         (elmo-imap4-send-command): Rewritten.  Accept a list of command
4784         arguments and handle "atom", "quoted" and "literal" string here.
4785         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
4786         `elmo-imap4-send-command'.
4787         (elmo-imap4-folder-exists-p): Likewise.
4788         (elmo-imap4-create-folder): Likewise.
4789         (elmo-imap4-delete-folder): Likewise.
4790         (elmo-imap4-rename-folder): Likewise.
4791         (elmo-imap4-max-of-folder): Likewise.
4792         (elmo-imap4-check-validity): Likewise.
4793         (elmo-imap4-sync-validity): Likewise.
4794         (elmo-imap4-server-diff): Likewise.
4795         (elmo-imap4-select-folder): Likewise.
4796         (elmo-imap4-copy-msgs): Likewise.
4797         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
4798         (elmo-imap4-mark-set-on-msgs): Likewise.
4799         (elmo-imap4-read-part): Likewise.
4800         (elmo-imap4-read-msg): Likewise.
4801         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
4802         `elmo-imap4-password' for `elmo-imap4-send-command'.
4803         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
4804         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
4805         `elmo-imap4-buffer-literal'.
4806         (elmo-imap4-append-msg): Likewise.
4807
4808         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
4809         `delete' for removing dead connection from the connection cache.
4810         Move deletion of the process buffer after that.
4811         (elmo-imap4-list): Change `defsubst' to `defun'.
4812         (elmo-imap4-commit): Make error message verbose.
4813         (elmo-imap4-search): Ditto.
4814         (elmo-imap4-list): Ditto.
4815         (elmo-imap4-select-folder): Ditto.
4816         (elmo-imap4-copy-msgs): Ditto.
4817         (elmo-imap4-delete-msg-by-id): Ditto.
4818         (elmo-imap4-append-msg-by-id): Ditto.
4819         (elmo-imap4-append-msg): Ditto.
4820
4821 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
4822
4823         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
4824         when dired is used on XEmacs.
4825
4826 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
4827
4828         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
4829         instead of `append'.
4830         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
4831         `elmo-plugged-p' directly.
4832         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
4833         of `elmo-plugged-p' directly.
4834
4835         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
4836         Eliminate unused variable.  Use `memq' for checking a process status.
4837         Use `cons' instead of `append' for updating the connection cache.
4838         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
4839         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
4840
4841 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
4842
4843         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
4844         `elmo-imap4-read-point' exactly.
4845
4846         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
4847         the local variable `folder' to `mailbox'.
4848         Rename the argument `fld' to `folder'.
4849
4850 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
4851
4852         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
4853         * elmo-imap4.el (elmo-imap4-commit): Ditto.
4854
4855 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4856
4857         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
4858         (elmo-pop3-number-uidl-hash): New buffer-local variable.
4859         (elmo-pop3-uidl-number-hash): Ditto.
4860         (elmo-pop3-size-hash): Ditto.
4861         (elmo-pop3-uidl-done): Ditto.
4862         (elmo-pop3-list-done): Ditto.
4863         (elmo-pop3-connection-get-process): New defmacro.
4864         (elmo-pop3-connection-get-buffer): Ditto.
4865         (elmo-pop3-close-connection): Delete buffer and process.
4866         (elmo-pop3-flush-connection): Don't delete buffer and process.
4867         (elmo-pop3-get-connection): Added optional argument `if-exists'.
4868         Setup UIDL and size hash.
4869         (elmo-pop3-send-command-no-erase): Deleted
4870         (elmo-pop3-send-command): Added optional argument `no-erase'.
4871         (elmo-pop3-parse-uidl-response): New function.
4872         (elmo-pop3-parse-list-response): Set size hash.
4873         (elmo-pop3-list-location): New function.
4874         (elmo-pop3-list-by-uidl-subr): Ditto.
4875         (elmo-pop3-list-by-list): Ditto.
4876         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
4877         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
4878         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
4879         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
4880         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
4881         Use uidl.
4882         (elmo-pop3-uidl-to-number): New function.
4883         (elmo-pop3-number-to-uidl): Ditto.
4884         (elmo-pop3-number-to-size): Ditto.
4885         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
4886         Set number by use of uidl.
4887         (elmo-pop3-msgdb-create-message): Likewise.
4888         Set size, loc-alist in msgdb.
4889         (elmo-pop3-read-msg): Set number by use of uidl.
4890         Added optional argument `msgdb'.
4891         (elmo-pop3-delete-msg): Ditto.
4892         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
4893         (elmo-pop3-commit): Close connection.
4894
4895         * elmo-pipe.el (elmo-pipe-max-of-folder):
4896         Bind `elmo-pop3-use-uidl' as nil.
4897         (elmo-pipe-drain): Ditto.
4898         Call `elmo-commit'.
4899
4900         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
4901         (elmo-msgdb-overview-entity-set-size): New defsubst.
4902
4903 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4904
4905         * elmo-vars.el (elmo-use-killed-list): New variable
4906         (Renamed from `elmo-nntp-use-killed-list').
4907         (elmo-nntp-use-killed-list): Eliminated.
4908
4909         * elmo-msgdb.el (elmo-msgdb-expand-path):
4910         Changed expanding msgdb path for elmo-multi.
4911
4912         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
4913         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
4914         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
4915         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
4916         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
4917         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
4918         (toplevel): Deleted time-stamp line.
4919
4920         * elmo2.el (elmo-clear-killed ): Defined as function
4921         (Abolished defining as a backend function).
4922         All other related modules are changed.
4923
4924 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4925
4926         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
4927
4928 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4929
4930         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
4931
4932 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4933
4934         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
4935
4936 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
4937
4938         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
4939         asynchronous folder check.
4940
4941         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
4942
4943         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
4944         `elmo-nntp-use-killed-list'.
4945         (elmo-nntp-list-folder): Use killed list.
4946         (elmo-nntp-max-of-folder): Ditto.
4947         (elmo-nntp-msgdb-create): Set killed list.
4948
4949         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
4950
4951         * elmo2.el (elmo-clear-killed): New backend function.
4952         All other related modules are changed.
4953
4954 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
4955
4956         * elmo-util.el (elmo-imap4-spec-folder): Use
4957         `elmo-imap4-spec-mailbox'; Mark as obsolete.
4958         All callers changed.
4959
4960 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
4961
4962         * mmelmo-2.el (initialize-instance):
4963         Use `mime-buffer-entity-buffer-internal' instead of
4964         `mime-entity-buffer'.
4965
4966         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
4967         (mime-entity-body): Implemented.
4968         (mime-goto-header-start-point): Deleted.
4969         (mime-goto-body-end-point): Ditto.
4970         (mime-entity-point-min): Ditto.
4971         (mime-entity-point-max): Ditto.
4972         (mime-entity-children): Ditto.
4973         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
4974         instead of `mime-entity-buffer'.
4975         (mime-entity-header-buffer): Ditto.
4976         (mime-entity-body-buffer): Ditto.
4977         (mime-write-entity-content): Ditto.
4978
4979         * pldap.el (ldap-static-if): New macro.
4980         (toplevel): Use it instead of `static-if'.
4981
4982 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
4983
4984         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
4985         included in `attrs' argument.
4986
4987 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
4988
4989         * elmo-util.el (elmo-get-passwd): Use old backquote style.
4990
4991         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
4992         (ldap-ldif-safe-init-char-regexp): Ditto.
4993         (ldap-ldif-safe-string-regexp): Ditto.
4994         (ldap/ldif-safe-string-p): New macro.
4995         (ldap/ldif-insert-field): Ditto.
4996         (ldap-modify): Use it.
4997         (ldap-add): Ditto.
4998         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
4999         (ldap-decode-attribute): Decode only when `attr' is consp.
5000         (ldap-delete): Bind `ret'.
5001         (toplevel): Require 'cl at compile time.
5002         Removed (require 'poe) and (require 'std11).
5003         (pldap-version): Eliminated.
5004         (ldap-search-basic): Removed auth and dn binding.
5005         (ldap-ldif-field-name-regexp): New constant.
5006         (ldap-ldif-field-head-regexp): Ditto.
5007         (ldap-ldif-next-field-head-regexp): Ditto.
5008         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
5009         (ldap/field-end): New function.
5010         (ldap/field-body): Use it.
5011         (ldap/collect-field): Ditto.
5012         (ldap-search-basic): Use `ldap/field-body'.
5013
5014 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
5015
5016         * pldap.el (ldap-default-attribute-encoder): New user option.
5017         (ldap/field-body): Decode base64 string.
5018         (ldap/collect-field): Ditto.
5019         (ldap-encode-attribute): New function.
5020         (ldap-add-entries): Use it.
5021         (ldap-modify-entries): Ditto.
5022         (ldap-search-entries): Enclosed decoding function with
5023         `with-temp-buffer' and set as unibyte.
5024         (ldap-search-basic): Set process buffer as unibyte.
5025
5026         * elmo-util.el (elmo-folder-identical-system-p):
5027         Eliminated name space checking.
5028
5029         * pldap.el: New module.
5030         toplevel: Changed condition to detect built-in ldap feature.
5031         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
5032         (ldap-add): Added error handling.
5033         (ldap-modify): Ditto.
5034         (ldap-delete): Ditto.
5035
5036 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
5037
5038         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
5039         Initialize local variables with `let'.  Inline a temporary
5040         variable for the progress percentage.  Sort `setq' to reduce
5041         function call in the while-loop.
5042
5043         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
5044         into the conditional branch.
5045
5046 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
5047
5048         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
5049         Move a conditional out of the while-loop.
5050
5051 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5052
5053         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
5054         elmo-msgdb-overview-get-entity-by-number.
5055         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
5056         throw.
5057
5058 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
5059
5060         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
5061         the local variable for a packed number self descriptively.
5062
5063 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5064
5065         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
5066         * elmo-localdir.el (elmo-localdir-pack-number): Use
5067         `elmo-msgdb-overview-get-entity' instead of
5068         `elmo-msgdb-overview-get-entity-by-number'.
5069         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
5070         (elmo-msgdb-search-overview-entity): Removed.
5071         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
5072         by message-id or number.
5073         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
5074         instead of `elmo-msgdb-overview-get-entity-by-number'.
5075
5076 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5077
5078         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
5079         non-nil, use hash table for overview.
5080         (elmo-hash-maximum-size): New variable.
5081         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
5082         (elmo-msgdb-make-overview-hashtb): New function.
5083         (elmo-msgdb-clear-overview-hashtb): New function.
5084         (elmo-clear-hash-val): New macro.
5085         All other related modules are changed.
5086
5087 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
5088
5089         * elmo2.el (elmo-move-msgs): If there's other message with
5090         same message-id, don't use cache.
5091
5092 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
5093
5094         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
5095         number is already packed.
5096
5097 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
5098
5099         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
5100
5101 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5102
5103         * elmo-vars.el (elmo-display-progress-threshold): New variable.
5104         All other related modules are changed.
5105
5106 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
5107
5108         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
5109         of refiling failure on Maildir.
5110
5111 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5112
5113         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
5114         decoded mime-charset with cache.
5115         (elmo-msgdb-overview-entity-get-from): Ditto.
5116         (elmo-msgdb-overview-entity-get-subject): Ditto.
5117         * elmo-vars.el (elmo-use-decoded-cache): New variable.
5118
5119 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
5120
5121         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
5122         (elmo-remove-passwd): Fill password with 0 before erase.
5123         * elmo-vars.el (elmo-passwd-life-time): New variable.
5124
5125 \f
5126 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
5127
5128         * elmo-cache.el (elmo-buffer-cache-add):
5129         Set message cache buffer as unibyte.
5130
5131 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5132
5133         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
5134         become nil.
5135
5136 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
5137
5138         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
5139         when display is finished.
5140         (elmo-nntp-msgdb-create): Ditto.
5141         (elmo-nntp-groups-read-response): Ditto.
5142         (elmo-nntp-retrieve-headers): Ditto.
5143         (elmo-nntp-msgdb-create-message): Ditto.
5144         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
5145         (elmo-pop3-msgdb-create-message): Ditto.
5146
5147 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
5148
5149         * elmo-maildir.el (elmo-maildir-msgdb-create):
5150         Use `elmo-msgdb-sort-by-date'.
5151
5152 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
5153
5154         * elmo2.el (elmo-read-msg-no-cache):
5155         Eliminated arguments after `outbuf'.
5156         Don't use cache even if it exists.
5157         (elmo-read-msg): Don't pass arguments after `outbuf' to
5158         `elmo-read-msg-no-cache'.
5159
5160 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
5161
5162         * elmo-archive.el (elmo-archive-list-folders):
5163         Use `file-name-directory' if base folder does not exist.
5164
5165 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
5166
5167         * elmo-archive.el (elmo-archive-list-folders): Don't use
5168         `file-name-directory'.
5169
5170 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
5171
5172         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
5173         If `force' is non-nil, try flushing all operation queues.
5174
5175 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
5176
5177         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
5178         as-binary-process.
5179
5180 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
5181
5182         * elmo-util.el (elmo-display-progress): Fixed.
5183
5184 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
5185
5186         * elmo-util.el (elmo-display-progress): New function.
5187         All other related modules are changed.
5188