48df703c3c717f99490bd889cc20088bc24a95b6
[elisp/wanderlust.git] / elmo / ChangeLog
1 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2
3         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
4         Follow the options change of latest bogofilter.
5
6         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
7         (elmo-spam-bogofilter-good-switch): Ditto.
8         (elmo-spam-bogofilter-arguments-alist): New user option.
9         (elmo-spam-bogofilter-debug): Ditto.
10         (elmo-spam-bogofilter-call): Renamed from
11         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
12         is non-nil, insert output in buffer for debug.
13         (elmo-spam-bogofilter-arguments): New macro.
14         (elmo-spam-buffer-spam-p): Use it.
15         (elsp-bogofilter-register-buffer): Ditto.
16
17 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
18
19         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
20         regexp.
21
22 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
23
24         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
25         value as "ruby".
26         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
27         (elmo-spam-bsfilter-program): Set default value as full path for
28         `bsfilter'.
29         (elmo-spam-bsfilter-debug): New user option.
30         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
31         non-nil, insert output in buffer for debug. Fix treating of
32         argument.
33
34 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
35
36         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
37         `elmo-maildir-flag-specs' element instead of one.
38         (elmo-map-folder-unset-flag): Ditto.
39         (Reported by Ken Makimura <macky@astem.or.jp>)
40
41         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
42         (elmo-folder-unset-flag-plugged): Ditto.
43
44 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
45
46         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
47         to `reads' slot only if `in-msgdb' is nil.
48
49 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
50
51         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
52         and complement argument list.
53
54 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
55
56         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
57         instead of elmo-folder-list-flagged.
58
59 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
60
61         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
62
63         * elsp-bsfilter.el: New file.
64
65         * elmo-pipe.el (elmo-folder-list-unreads,
66         elmo-folder-list-answereds,
67         elmo-folder-list-importants,
68         elmo-folder-flag-as-important,
69         elmo-folder-unflag-important,
70         elmo-folder-flag-as-read,
71         elmo-folder-unflag-read,
72         elmo-folder-flag-as-answered,
73         elmo-folder-unflag-answered): Remove.
74         (elmo-folder-set-flag): Define.
75         (elmo-folder-unset-flag): Ditto.
76
77         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
78         (elmo-folder-set-flag): Define.
79         (elmo-folder-unset-flag): Ditto.
80         (elmo-folder-list-unreads): Remove.
81         (elmo-folder-list-flagged): Define.
82
83         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
84         (elmo-folder-list-unreads,
85         elmo-folder-list-importants,
86         elmo-folder-list-answereds,
87         elmo-folder-list-unreads-plugged,
88         elmo-folder-list-importants-plugged,
89         elmo-folder-list-answereds-plugged): Remove.
90         (elmo-folder-list-flagged-plugged): New method.
91         (elmo-folder-unflag-important,
92         elmo-folder-flag-as-important,
93         elmo-folder-unflag-read,
94         elmo-folder-flag-as-read,
95         elmo-folder-unflag-answered,
96         elmo-folder-flag-as-answered,
97         elmo-folder-flag-as-read-unplugged,
98         elmo-folder-unflag-read-unplugged,
99         elmo-folder-flag-as-important-unplugged,
100         elmo-folder-unflag-important-unplugged,
101         elmo-folder-flag-as-answered-unplugged,
102         elmo-folder-unflag-answered-unplugged): Remove.
103         (elmo-folder-set-flag): Define.
104         (elmo-folder-unset-flag): Ditto.
105         (elmo-folder-set-flag-unplugged): Ditto.
106         (elmo-folder-unset-flag-unplugged): Ditto.
107
108         * elmo-multi.el (elmo-folder-list-unreads,
109         elmo-folder-list-answereds,
110         elmo-folder-list-importants,
111         elmo-folder-flag-as-important,
112         elmo-folder-unflag-important,
113         elmo-folder-flag-as-read,
114         elmo-folder-unflag-read,
115         elmo-folder-flag-as-answered,
116         elmo-folder-unflag-answered): Remove.
117         (elmo-folder-set-flag): Define.
118         (elmo-folder-unset-flag): Ditto.
119
120         * elmo-map.el (elmo-map-folder-unflag-important,
121         elmo-map-folder-flag-as-important,
122         elmo-map-folder-unflag-read,
123         elmo-map-folder-flag-as-read,
124         elmo-map-folder-unflag-answered,
125         elmo-map-folder-flag-as-answered): Remove.
126         (elmo-map-folder-set-flag): New method.
127         (elmo-map-folder-unset-flag): Ditto.
128         (elmo-map-folder-list-unreads,
129         elmo-map-folder-list-importants,
130         elmo-map-folder-list-answereds): Remove.
131         (elmo-folder-list-flagged-internal): Define.
132         (elmo-map-folder-list-flagged): New method.
133
134         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
135         (elmo-map-folder-list-unreads,
136         elmo-map-folder-list-importants,
137         elmo-map-folder-list-flagged): Remove.
138         (elmo-map-folder-list-flagged): Define.
139         (elmo-map-folder-flag-as-important,
140         elmo-map-folder-unflag-important,
141         elmo-map-folder-flag-as-read,
142         elmo-map-folder-unflag-read,
143         elmo-map-folder-flag-as-answered,
144         elmo-map-folder-unflag-answered): Remove.
145         (elmo-maildir-set-mark-messages): New internal function.
146         (elmo-map-folder-set-flag): Define.
147         (elmo-map-folder-unset-flag): Ditto.
148
149         * elmo.el (toplevel): Added autoload setting for
150         `elmo-folder-list-global-flag-messages'.
151         (elmo-folder-list-unreads,
152         elmo-folder-list-importants,
153         elmo-folder-list-answereds): Remove.
154         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
155         Return a list whitch merged with messages have global flag.
156         (elmo-folder-list-flagged-internal): New method.
157         (elmo-folder-unflag-important,
158         elmo-folder-flag-as-important,
159         elmo-folder-unflag-read,
160         elmo-folder-flag-as-read,
161         elmo-folder-unflag-answered,
162         elmo-folder-flag-as-answered): Remove.
163         (elmo-folder-set-flag): New method.
164         (elmo-folder-unset-flag): Ditto.
165         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
166         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
167
168         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
169         (elmo-folder-list-unreads-plugged,
170         elmo-folder-list-importants-plugged,
171         elmo-folder-list-answereds-plugged,
172         elmo-folder-list-flagged-unplugged,
173         elmo-folder-unflag-important-plugged,
174         elmo-folder-flag-as-important-plugged,
175         elmo-folder-unflag-read-plugged,
176         elmo-folder-flag-as-read-plugged,
177         elmo-folder-unflag-answered-plugged,
178         elmo-folder-flag-as-answered-plugged): Remove.
179         (elmo-folder-set-flag-plugged,
180         elmo-folder-unset-flag-plugged): Define.
181
182         * elmo-flag.el (elmo-folder-initialize): Register to
183         `elmo-global-flag-list' if flag is not global.
184         (elmo-folder-append-messages): Set flag to source messages.
185
186         * elmo-filter.el (elmo-filter-folder-list-unreads,
187         elmo-folder-list-unreads,
188         elmo-filter-folder-list-importants,
189         elmo-folder-list-importants,
190         elmo-folder-flag-as-read,
191         elmo-folder-unflag-read,
192         elmo-folder-flag-as-important,
193         elmo-folder-unflag-important,
194         elmo-folder-flag-as-answered,
195         elmo-folder-unflag-answered): Remove.
196         (elmo-folder-set-flag): Define.
197         (elmo-folder-unset-flag): Ditto.
198
199         * elmo-dop.el (elmo-folder-flag-as-read-dop,
200         elmo-folder-unflag-read-dop,
201         elmo-folder-flag-as-important-dop,
202         elmo-folder-unflag-important-dop,
203         elmo-folder-flag-as-answered-dop,
204         elmo-folder-unflag-answered-dop): Remove.
205         (elmo-folder-set-flag-dop,
206         elmo-folder-unset-flag-dop,
207         elmo-folder-set-important-delayed,
208         elmo-folder-unset-important-delayed,
209         elmo-folder-set-read-delayed,
210         elmo-folder-unset-read-delayed,
211         elmo-folder-set-answered-delayed,
212         elmo-folder-unset-answered-delayed): New function.
213         (elmo-dop-queue-merge-method-list): Follow the above chagned.
214         (elmo-dop-queue-method-name-alist): Ditto.
215
216         * elmo-version.el (elmo-version): Up to 2.11.23.
217
218 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
219
220         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
221
222         * elsp-sa.el: New file.
223
224 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
225
226         * modb-standard.el (modb-standard-message-entity): New function.
227         (elmo-msgdb-message-entity): Use it.
228
229 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
230
231         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
232         behavior when one-level is nil.
233
234         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
235
236         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
237
238 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
239
240         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
241         get max number.
242         (elmo-generic-folder-diff): Ditto.
243
244         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
245         (elmo-folder-update-number): Ditto.
246
247         * elmo-dop.el (elmo-folder-status-dop): Ditto.
248         (elmo-folder-next-message-number-dop): Ditto.
249
250 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
251
252         * elmo-filter.el (elmo-folder-msgdb-create): Use
253         `elmo-message-entity' and `elmo-message-flags' instead of
254         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
255
256 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
257
258         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
259         `if-exists'.
260
261 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
262
263         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
264
265         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
266
267         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
268
269 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
270
271         * elmo-version.el (elmo-version): Up to 2.11.22.
272
273 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
274
275         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
276
277 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
278
279         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
280         if the message dose not exist.
281
282 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
283
284         * elmo-version.el (elmo-version): Up to 2.11.21.
285
286 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
287
288         * modb-standard.el (toplevel): Don't require mime.
289
290 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elsp-bogofilter.el (toplevel): Don't require path-util.
293         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
294         (elmo-spam-bogofilter-header): Abolish.
295         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
296         (elmo-spam-bogofilter-args): New user option.
297         (elsp-bogofilter-call-bogofilter): New internal function.
298         (elmo-spam-buffer-spam-p): Use it.
299         (elsp-bogofilter-register-buffer): Renamed from
300         `elmo-spam-bogofilter-register-buffer';
301         Use `elsp-bogofilter-call-bogofilter'.
302         (elmo-spam-register-spam-buffer): Follow the change above.
303         (elmo-spam-register-good-buffer): Ditto.
304
305 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
306
307         * modb-standard.el (elmo-msgdb-append-entity): If entity or
308         message-id is nil do nothing.
309
310 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
311
312         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
313         Revival.
314         (elmo-imap4-session): Removed use-flag slot.
315         (elmo-imap4-session-select-mailbox): Undo last change.
316         (elmo-folder-use-flag-p): Use
317         elmo-imap4-disuse-server-flag-mailbox-regexp.
318
319 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
320
321         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
322         (elmo-imap4-session-select-mailbox): Set it up.
323         (elmo-folder-use-flag-p): Return value of use-flag slot.
324
325 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
326
327         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
328         message-id is nil.
329         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
330
331         * modb-entity.el (elmo-message-entity-handler): Likewise.
332
333 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
334
335         * elmo.el (toplevel): Remove setting of autoloding for
336         elmo-global-flag-initialize.
337         (elmo-init): Don't call elmo-global-flag-initialize.
338         (toplevel): Added autoload setting for elmo-global-mark-migrate.
339
340         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
341         (elmo-global-mark-migrate): Don't call it.
342         (elmo-global-mark-upgrade): Ditto.
343
344 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
345
346         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
347         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
348
349         * elmo-vars.el (elmo-init-hook): New user option.
350
351         * elmo.el (elmo-init): Run the elmo-init-hook.
352
353         * elmo-flag.el (elmo-global-mark-migrate): New function.
354
355 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
356
357         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
358         Undo last change (move to elmo-msgdb-unset-flag).
359         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
360         flag is unset.
361
362 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
363
364         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
365         read flag is set.
366         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
367         (elmo-msgdb-unset-flag): Ditto.
368
369 2003-11-05  Andreas Fuchs <asf@boinkor.net>
370
371         * elmo-split.el (elmo-split): Return split message count.
372
373 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
374
375         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
376         is nil.
377
378 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
379
380         * elmo.el (elmo-folder-unflag-important): Call
381         `elmo-global-flag-detach' with 4th argument delete-if-none that is
382         a symbol `always'.
383
384         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
385         before unset flag.
386         (elmo-global-flag-detach): Delete the message from flag folder, if
387         `delete-if-none' is a symbol `always'.
388
389 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
390
391         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
392         `elmo-spam-spamfilter-decode-buffer'.
393         (elsp-spamfilter-register-buffer-internal): New internal function.
394         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
395         (elmo-spam-register-spam-buffer): Ditto.
396         (elmo-spam-register-good-buffer): Ditto.
397
398         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
399         change.
400         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
401         (elmo-spam-register-spam-buffer): Follow the API change.
402         (elmo-spam-register-good-buffer): Ditto.
403
404         * elmo-split.el (toplevel): Require elmo-spam when copmile.
405         (elmo-split-spam-p): Added argument plist; Call
406         `elmo-spam-buffer-spam-p' with new argument register.
407
408         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
409         `register'.
410         (elmo-spam-message-spam-p): Ditto.
411         (elmo-spam-register-spam-buffer): Added optional argument
412         `restore'.
413         (elmo-spam-register-good-buffer): Ditto.
414         (elmo-spam-register-spam-messages): Ditto.
415         (elmo-spam-register-good-messages): Ditto.
416
417 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
418
419         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
420         register into good corpus.
421         (elmo-spam-register-good-buffer): Fixed to register into bad
422         corpus.
423
424 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
425
426         * elmo-version.el (elmo-version): Up to 2.11.20.
427
428         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
429         change.
430
431         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
432         flag without depending on \Recent flag.
433
434 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
435
436         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
437         (elmo-spam-modified-p): Defined.
438         (elmo-spam-save-status): Set `modified' slot to nil.
439         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
440         (elmo-spam-register-good-buffer): Ditto.
441
442         * elmo-spam.el (elmo-spam-modified-p): New API.
443
444 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
445
446         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
447         duplicate definition.
448
449         * elmo-util.el (elmo-unfold-field-body): New function.
450         (elmo-msgdb-get-message-id-from-buffer): Use it.
451
452         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
453         Fixed the last change; Use elmo-unfold-field-body.
454
455 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
456
457         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
458         Unfold date value.
459
460 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
461
462         * elmo-spam.el (elmo-spam-save-status): New API.
463
464         * elsp-spamfilter.el: New file.
465
466 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
467
468         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
469
470 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elmo-split.el (elmo-split-spam-p): New function.
473
474         * elmo-spam.el: New file.
475
476         * elsp-bogofilter.el: Ditto.
477
478 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
479
480         * elmo.el (elmo-folder-next-message-number): New API.
481         (elmo-folder-next-message-number): Define.
482         (elmo-message-field): Don't check folder length.
483
484         * elmo-net.el (elmo-folder-next-message-number): Define.
485         (elmo-folder-next-message-number-unplugged): Define.
486
487         * elmo-map.el (elmo-folder-next-message-number): Define.
488         (elmo-folder-delete-messages): Clear hash value.
489
490         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
491
492         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
493         (elmo-folder-delete-messages-dop-delayed): Always return t.
494
495         * elmo-version.el (elmo-version): Up to 2.11.19.
496
497 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
498
499         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
500         change.
501
502         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
503         identical cons cell into the mark-alist and the hash table.
504
505 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
506
507         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
508         elmo-folder-list-messages with argument `visible-only' as t.
509
510         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
511         (elmo-folder-msgdb-create): Check the target folder.
512
513 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
514
515         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
516         `permanentflag' instead of `flags'.
517         (elmo-folder-open): Ditto.
518         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
519         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
520         (elmo-folder-use-flag-p): Always return t.
521         (elmo-imap4-session-select-mailbox): Use value of `flags' if
522         `permanentflags' does not exist.
523         (elmo-folder-open): Ditto.
524
525 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
526
527         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
528         is nil.
529         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
530
531         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
532         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
533         response.
534         (elmo-folder-open): Ditto.
535         (elmo-imap4-set-flag): Send store flag command only when the `flags'
536         slot of the session includes the flag.
537         (elmo-imap4-session-flag-available-p): New function.
538         (elmo-imap4-folder-list-flagged): Ditto.
539         (elmo-folder-list-unreads-plugged): Use it.
540         (elmo-folder-list-importants-plugged): Ditto.
541         (elmo-folder-list-answereds-plugged): Ditto.
542         (elmo-imap4-search-internal-primitive): Ditto.
543         (elmo-imap4-folder-list-any-plugged,
544         elmo-imap4-folder-list-digest-plugged): Abolish.
545
546         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
547         if numbers is nil.
548
549 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
550
551         * elmo-util.el (toplevel): Require emu for char-list-to-string.
552
553 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
554
555         * elmo-util.el (elmo-get-hash-val): Simplify.
556         (elmo-set-hash-val): Rewrite.
557
558 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
559
560         * elmo.el (elmo-folder-list-messages): Append killed messages into
561         result if `visible-only' is nil and `in-msgdb' is non-nil.
562
563         * elmo-util.el (elmo-uniq-list): Added optional argument
564         `delete-function'.
565
566         * modb.el (elmo-msgdb-flag-count): New API.
567
568         * modb-standard.el (modb-standard): Added slot flag-count.
569         (modb-standard-countup-flags): New function.
570         (modb-standard-load-flag): Call it.
571         (elmo-msgdb-append): Ditto.
572         (elmo-msgdb-clear): Clear slot flag-count.
573         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
574         (elmo-msgdb-unset-flag): Treat `all' flag and call
575         modb-standard-countup-flags.
576         (elmo-msgdb-flag-count): Define.
577         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
578         (elmo-msgdb-delete-messages): Ditto.
579
580         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
581         (elmo-msgdb-flag-count): Define.
582
583         * elmo.el (elmo-folder-list-messages): Undo last change.
584         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
585         (elmo-folder-kill-messages): Unset all flags to numbers.
586
587         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
588         elmo-folder-kill-messages.
589
590         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
591         (elmo-nntp-folder-delete-messages): Abolish.
592
593         * elmo-version.el (elmo-version): Up to 2.11.18.
594
595 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
596
597         * elmo.el (elmo-folder-kill-messages-before): Abolish.
598         (elmo-folder-kill-messages-range): New function.
599         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
600         instead of elmo-folder-kill-messages-before.
601
602 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
603
604         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
605         elmo-imap4-current-msgdb to decide entity handler.
606
607 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
608
609         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
610
611         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
612         inline function.
613         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
614         (elmo-msgdb-overview-entity-set-number,
615         elmo-msgdb-overview-entity-get-references,
616         elmo-msgdb-overview-entity-set-references,
617         elmo-msgdb-overview-entity-get-from-no-decode,
618         elmo-msgdb-overview-entity-get-from,
619         elmo-msgdb-overview-entity-set-from,
620         elmo-msgdb-overview-entity-get-subject,
621         elmo-msgdb-overview-entity-get-subject-no-decode,
622         elmo-msgdb-overview-entity-set-subject,
623         elmo-msgdb-overview-entity-get-date,
624         elmo-msgdb-overview-entity-set-date,
625         elmo-msgdb-overview-entity-get-to,
626         elmo-msgdb-overview-entity-get-cc,
627         elmo-msgdb-overview-entity-get-size,
628         elmo-msgdb-overview-entity-set-size,
629         elmo-msgdb-overview-entity-get-extra,
630         elmo-msgdb-overview-entity-set-extra,
631         elmo-msgdb-overview-entity-get-extra-field,
632         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
633         (elmo-msgdb-make-index): Use
634         `elmo-msgdb-overview-entity-get-number-internal'.
635         (elmo-msgdb-clear-index): Ditto.
636         (elmo-msgdb-append-entity): Ditto;
637         Use `elmo-msgdb-overview-entity-get-id-internal'.
638
639         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
640         elmo-msgdb-overview-entity-set-number,
641         elmo-msgdb-overview-entity-get-references,
642         elmo-msgdb-overview-entity-set-references,
643         elmo-msgdb-overview-entity-get-from-no-decode,
644         elmo-msgdb-overview-entity-get-from,
645         elmo-msgdb-overview-entity-set-from,
646         elmo-msgdb-overview-entity-get-subject,
647         elmo-msgdb-overview-entity-get-subject-no-decode,
648         elmo-msgdb-overview-entity-set-subject,
649         elmo-msgdb-overview-entity-get-date,
650         elmo-msgdb-overview-entity-set-date,
651         elmo-msgdb-overview-entity-get-to,
652         elmo-msgdb-overview-entity-get-cc,
653         elmo-msgdb-overview-entity-get-size,
654         elmo-msgdb-overview-entity-set-size,
655         elmo-msgdb-overview-entity-get-extra,
656         elmo-msgdb-overview-entity-set-extra,
657         elmo-msgdb-overview-entity-get-extra-field,
658         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
659         and rewrote for backward compatibility.
660
661 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
662
663         * elmo.el (elmo-message-entity-number,
664         elmo-message-entity-set-number,
665         elmo-message-entity-field,
666         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
667
668         * elmo-msgdb.el (elmo-message-entity-number,
669         elmo-message-entity-set-number,
670         elmo-message-entity-field,
671         elmo-message-entity-set-field): Moved from elmo.el.
672
673 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
674
675         * elmo.el (toplevel): Changed definition orders.
676
677 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
678
679         * modb.el (elmo-msgdb-search): New API .
680         (elmo-msgdb-match-condition): Ditto.
681
682         * modb-standard.el (elmo-msgdb-search): Define.
683
684         * modb-legacy.el (elmo-msgdb-search): Ditto.
685
686         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
687         from elmo-msgdb-match-condition-internal.
688
689         * elmo.el (elmo-folder-search-fast): Abolish.
690         (elmo-folder-search): Use elmo-msgdb-search and
691         elmo-with-progress-display.
692
693         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
694         as msgdb API.
695
696         * elmo.el (elmo-folder): Remove slot message-modified and
697         flag-modified.
698         (elmo-folder-set-message-modified): Abolish.
699         (elmo-generic-folder-commit): Follow the change above.
700         (elmo-folder-synchronize): Ditto.
701
702         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
703
704         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
705
706         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
707
708 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
709
710         * modb-standard.el (modb-standard-make-message-entity,
711         elmo-msgdb-make-message-entity,
712         elmo-msgdb-create-message-entity-from-buffer,
713         elmo-msgdb-message-entity-number,
714         elmo-msgdb-message-entity-set-number,
715         elmo-msgdb-message-entity-field,
716         elmo-msgdb-message-entity-set-field,
717         elmo-msgdb-copy-message-entity,
718         elmo-msgdb-match-condition-internal): Remove.
719
720         * modb-entity.el: New file (again).
721
722         * modb.el (toplevel): Require modb-entity.
723         (elmo-msgdb-message-entity-handler): New method.
724
725         * modb-standard.el (modb-standard-entity-id): Use
726         elmo-message-entity-handler.
727         (modb-standard-load-entity): Ditto.
728         (elmo-msgdb-append-entity): Ditto.
729         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
730
731         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
732         elmo-msgdb-decoded-cache-hashtb,
733         (modb-legacy-make-message-entity,
734         elmo-msgdb-make-message-entity,
735         elmo-msgdb-create-message-entity-from-buffer,
736         elmo-msgdb-message-entity-number,
737         elmo-msgdb-message-entity-set-number,
738         elmo-msgdb-message-entity-field,
739         elmo-msgdb-message-entity-set-field,
740         elmo-msgdb-copy-message-entity,
741         elmo-msgdb-match-condition-internal,
742         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
743
744         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
745         (elmo-message-entity-set-number): Ditto.
746         (elmo-message-entity-field): Ditto.
747         (elmo-message-entity-set-field): Ditto.
748
749         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
750
751         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
752
753         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
754
755         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
756         (elmo-nntp-msgdb-create-message): Ditto.
757
758         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
759         (elmo-folder-msgdb-create): Add unread flag.
760
761         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
762
763         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
764
765         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
766
767         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
768
769         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
770         elmo-msgdb-messge-entity-handler.
771         * elmo-version.el (elmo-version): Up to 2.11.17.
772
773 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
774
775         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
776         change.
777
778 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
779
780         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
781
782         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
783         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
784         (elmo-msgdb-flag-table): Ditto.
785         (elmo-msgdb-sort-by-date): Ditto.
786
787         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
788
789         * modb-standard.el (toplevel): Require mime.
790         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
791         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
792         elmo-msgdb-message-entity-number.
793         (elmo-msgdb-append-entity): Ditto.
794         (elmo-msgdb-create-message-entity-from-file): Remove.
795         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
796         corresponds to the entity.
797         (elmo-msgdb-message-entity-number): Do nothing currently.
798         (elmo-msgdb-message-entity-field): Ditto.
799         (elmo-msgdb-message-entity-set-field): Ditto.
800         (elmo-msgdb-copy-message-entity): Ditto.
801         (elmo-msgdb-match-condition-internal): Ditto.
802
803         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
804         elmo-util.el.
805         (elmo-msgdb-create-message-entity-from-file): Remove.
806
807         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
808         modb-legacy.el.
809         (elmo-multiple-field-body): Moved from elmo-util.el.
810
811         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
812
813 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
814
815         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
816         (elmo-msgdb-message-entity-field): Ditto.
817         (elmo-msgdb-message-entity-number): Ditto.
818
819 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
820
821         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
822         Fixed how to set extra field into entity.
823         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
824         symbol.
825
826         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
827         Fixed how to set extra field into entity.
828         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
829         symbol.
830
831 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
832
833         * modb.el (elmo-message-entity-db): New function.
834         (elmo-msgdb-make-message-entity): New API.
835         (elmo-msgdb-message-entity-number): Ditto.
836         (elmo-msgdb-message-entity-set-number): Ditto.
837         (elmo-msgdb-message-entity-field): Ditto.
838         (elmo-msgdb-message-entity-set-field): Ditto.
839         (elmo-msgdb-copy-message-entity): Ditto.
840         (elmo-msgdb-create-message-entity-from-file): Ditto.
841         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
842         (elmo-msgdb-match-condition-internal): Ditto.
843
844         * modb-standard.el (modb-legacy): Require modb-legacy.
845         (modb-standard-make-message-entity): New inline function.
846         (elmo-msgdb-make-message-entity): Define.
847         (elmo-msgdb-create-message-entity-from-file): Ditto.
848         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
849         (elmo-msgdb-message-entity-field): Ditto.
850         (elmo-msgdb-message-entity-set-field): Ditto.
851         (elmo-msgdb-copy-message-entity): Ditto.
852         (elmo-msgdb-match-condition-internal): Ditto.
853
854         * modb-legacy.el: Don't require modb-entity.
855         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
856         (elmo-msgdb-match-condition-primitive): Ditto.
857         (elmo-msgdb-get-decoded-cache): Ditto.
858         (elmo-msgdb-overview-entity-get-id): Ditto.
859         (elmo-msgdb-overview-entity-get-number): Ditto.
860         (elmo-msgdb-overview-entity-set-number): Ditto.
861         (elmo-msgdb-overview-entity-get-references): Ditto.
862         (elmo-msgdb-overview-entity-set-references): Ditto.
863         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
864         (elmo-msgdb-overview-entity-get-from): Ditto.
865         (elmo-msgdb-overview-entity-set-from): Ditto.
866         (elmo-msgdb-overview-entity-get-subject): Ditto.
867         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
868         (elmo-msgdb-overview-entity-set-subject): Ditto.
869         (elmo-msgdb-overview-entity-get-date): Ditto.
870         (elmo-msgdb-overview-entity-set-date): Ditto.
871         (elmo-msgdb-overview-entity-get-to): Ditto.
872         (elmo-msgdb-overview-entity-get-cc): Ditto.
873         (elmo-msgdb-overview-entity-get-size): Ditto.
874         (elmo-msgdb-overview-entity-set-size): Ditto.
875         (elmo-msgdb-overview-entity-get-extra): Ditto.
876         (elmo-msgdb-overview-entity-set-extra): Ditto.
877         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
878         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
879         (elmo-msgdb-number-load): Ditto.
880         (elmo-msgdb-overview-load): Ditto.
881         (elmo-msgdb-mark-load): Ditto.
882         (elmo-msgdb-number-save): Ditto.
883         (elmo-msgdb-mark-save): Ditto.
884         (elmo-msgdb-overview-save): Ditto.
885         (modb-legacy-make-message-entity): New inline function.
886         (elmo-msgdb-insert-file-header): Ditto.
887         (elmo-msgdb-make-message-entity): Define.
888         (elmo-msgdb-create-message-entity-from-file): Ditto.
889         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
890         (elmo-msgdb-message-entity-number): Ditto.
891         (elmo-msgdb-message-entity-set-number): Ditto.
892         (elmo-msgdb-message-entity-field): Ditto.
893         (elmo-msgdb-message-entity-set-field): Ditto.
894         (elmo-msgdb-copy-message-entity): Ditto.
895         (elmo-msgdb-match-condition-internal): Ditto.
896
897         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
898         (elmo-message-copy-entity): Rewrite.
899         (elmo-message-entity-number): Ditto.
900         (elmo-message-entity-set-number): Ditto.
901         (elmo-message-entity-field): Use elmo-message-entity-db.
902         (elmo-message-entity-set-field): Ditto.
903         (elmo-message-field): Rewrite.
904
905         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
906         elmo-msgdb.el
907         (elmo-msgdb-get-message-id-from-buffer): Ditto.
908
909         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
910         elmo-message-entity-field.
911         (elmo-shimbun-folder-shimbun-header): Ditto.
912         (elmo-shimbun-entity-to-header): Ditto.
913         (elmo-folder-msgdb-create): Ditto.
914         (elmo-shimbun-msgdb-create-entity): Ditto;
915         Use elmo-msgdb-create-message-entity-from-buffer.
916         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
917         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
918
919         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
920         elmo-msgdb-create-message-entity-from-file and 
921         elmo-message-entity-field.
922
923         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
924         elmo-message-entity-number.
925         (elmo-pop3-msgdb-create-message): Use
926         elmo-msgdb-create-message-entity-from-buffer,
927         elmo-message-entity-set-field, elmo-message-entity-number and
928         elmo-message-entity-set-number.
929
930         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
931         the API change in elmo-msgdb-make-message-entity.
932         (elmo-nntp-msgdb-create-message): Use
933         elmo-msgdb-create-message-entity-from-buffer.
934
935         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
936         elmo-message-entity-field and
937         elmo-msgdb-create-message-entity-from-file.
938
939         * elmo-msgdb.el (toplevel): Don't require modb-entity.
940         (elmo-msgdb-get-field): Abolish.
941         (elmo-msgdb-get-number): Rewrite.
942         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
943         (elmo-msgdb-flag-table): Ditto.
944         (elmo-msgdb-get-last-message-id,
945         elmo-msgdb-number-load, elmo-msgdb-overview-load,
946         elmo-msgdb-mark-load, elmo-msgdb-number-save,
947         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
948         (elmo-msgdb-create-overview-from-buffer,
949         elmo-msgdb-overview-get-parent-entity): Abolish.
950
951         * elmo-mime.el (elmo-mime-display-as-is): Use
952         elmo-message-entity-field.
953
954         * elmo-map.el (elmo-folder-pack-numbers): Use
955         elmo-message-entity-set-number.
956
957         * elmo-maildir.el (elmo-folder-msgdb-create): 
958         elmo-msgdb-create-message-entity-from-file instead of
959         elmo-msgdb-create-overview-entity-from-file.
960
961         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
962         msgdb.
963         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
964         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
965
966         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
967         elmo-messge-entity-field and elmo-message-entity-number.
968         (elmo-imap4-fetch-callback-1): Call
969         elmo-msgdb-create-message-entity-from-buffer instead of
970         elmo-msgdb-create-overview-from-buffer. 
971         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
972         (elmo-find-fetch-strategy): Likewise.
973
974         * elmo-flag.el (elmo-folder-msgdb-create): Call 
975         elmo-localdir-msgdb-create-entity with argument msgdb.
976
977         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
978         and elmo-message-entity-set-number.
979
980         * elmo-cache.el (elmo-folder-msgdb-create): Use
981         elmo-message-entity-field.
982         (elmo-folder-msgdb-create): Call
983         elmo-msgdb-create-message-entity-from-file instead of
984         elmo-msgdb-create-overview-entity-from-file.
985
986         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
987         argument msgdb; Call elmo-msgdb-create-message-from-buffer
988         instead of elmo-msgdb-create-overview-from-buffer.
989         (elmo-archive-msgdb-create-entity): Ditto.
990         (elmo-archive-msgdb-create-as-numlist-subr1): Use
991         elmo-message-entity-field.
992         (elmo-archive-parse-mmdf): Ditto.
993
994         * modb-entity.el: Removed.
995
996         * elmo-version.el (elmo-version): Up to 2.11.16.
997
998 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
999
1000         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
1001         `is-local'.
1002         (elmo-folder-flag-as-answered): Ditto.
1003
1004 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1005
1006         * modb-standard.el: New file.
1007
1008         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
1009         elmo-msgdb-convert-type is `sync'.
1010
1011         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
1012         (elmo-msgdb-convert-type): New user option.
1013
1014         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
1015         (elmo-load-msgdb): Auto detect saved type.
1016
1017         * elmo-version.el (elmo-version): Up to 2.11.15.
1018
1019 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
1020
1021         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
1022
1023         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
1024         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
1025         with argument `delete-if-none' when dst-folder is 'null.
1026
1027         * elmo-flag.el (elmo-folder-append-messages): Defined.
1028         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
1029
1030 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
1031
1032         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
1033
1034 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1035
1036         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
1037         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
1038         (elmo-folder-commit): Ditto.
1039
1040 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
1041
1042         * elmo-flag.el: New file.
1043
1044         * elmo-mark.el: Removed.
1045
1046         * modb-legacy.el (modb-legacy-new-mark,
1047         modb-legacy-unread-uncached-mark,
1048         modb-legacy-unread-cached-mark,
1049         modb-legacy-read-uncached-mark,
1050         modb-legacy-answered-cached-mark,
1051         modb-legacy-answered-uncached-mark,
1052         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
1053         All other related portions are changed.
1054
1055         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
1056         (elmo-folder-list-messages-with-global-mark): Abolish.
1057         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
1058         (elmo-folder-flag-as-important): Ditto.
1059         (elmo-folder-unflag-read): Ditto.
1060         (elmo-folder-flag-as-read): Ditto.
1061         (elmo-folder-unflag-answered): Ditto.
1062         (elmo-folder-flag-as-answered): Ditto.
1063         (elmo-message-encache): Return the cache path.
1064         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
1065         (elmo-message-set-flag): Transitional implementation.
1066         (elmo-message-unset-flag): Ditto.
1067         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
1068         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
1069         (elmo-init): Call elmo-global-flag-initialize.
1070         (toplevel): Added autoload settings for elmo-flag.
1071
1072         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
1073
1074         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
1075         (elmo-file-cache-delete): Don't treat global-mark.
1076
1077         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1078
1079         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1080
1081         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
1082         `elmo-global-flags-set'.
1083
1084         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
1085         `flag'.
1086         (elmo-folder-unflag-read): Ditto.
1087         (elmo-folder-unflag-important): Ditto.
1088         (elmo-folder-flag-as-important): Ditto.
1089         (elmo-folder-unflag-answered): Ditto.
1090         (elmo-folder-flag-as-answered): Ditto.
1091
1092         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
1093         `elmo-global-flags-set'.
1094         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
1095
1096         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
1097
1098         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
1099         `flag'.
1100         (elmo-folder-flag-as-important): Ditto.
1101         (elmo-folder-unflag-important): Ditto.
1102         (elmo-folder-flag-as-important): Ditto.
1103         (elmo-folder-unflag-read): Ditto.
1104         (elmo-folder-flag-as-read): Ditto.
1105         (elmo-folder-unflag-answered): Ditto.
1106         (elmo-folder-flag-as-answered): Ditto.
1107
1108         * elmo-multi.el (elmo-folder-list-importants): Don't call
1109         elmo-folder-list-messages-with-global-mark.
1110         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
1111         (elmo-folder-unflag-important): Ditto.
1112         (elmo-folder-flag-as-read): Ditto.
1113         (elmo-folder-unflag-read): Ditto.
1114         (elmo-folder-flag-as-answered): Ditto.
1115         (elmo-folder-unflag-answered): Ditto.
1116
1117         * elmo-msgdb.el (elmo-msgdb-new-mark,
1118         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
1119         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
1120         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
1121         (Moved to modb-legacy.el).
1122         (elmo-flag-table-get): Treat important flag too.
1123
1124         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
1125         `mark' to `flag'.
1126         (elmo-map-folder-flag-as-important): Ditto.
1127         (elmo-map-folder-unflag-read): Ditto.
1128         (elmo-map-folder-flag-as-read): Ditto.
1129         (elmo-map-folder-unflag-answered): Ditto.
1130         (elmo-map-folder-flag-as-answered): Ditto.
1131         (elmo-folder-unflag-important): Ditto.
1132         (elmo-folder-flag-as-important): Ditto.
1133         (elmo-folder-unflag-read): Ditto.
1134         (elmo-folder-flag-as-read): Ditto.
1135         (elmo-folder-unflag-answered): Ditto.
1136         (elmo-folder-flag-as-answered): Ditto.
1137
1138         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1139         (elmo-map-folder-flag-as-important): Renamed from `mark' to
1140         `flag'.
1141         (elmo-map-folder-unflag-important): Ditto.
1142         (elmo-map-folder-flag-as-read): Ditto.
1143         (elmo-map-folder-unflag-read): Ditto.
1144         (elmo-map-folder-flag-as-answered): Ditto.
1145         (elmo-map-folder-unflag-answered): Ditto.
1146
1147         * elmo-localdir.el (elmo-folder-msgdb-create): Call
1148         `elmo-global-flags-set'.
1149         (elmo-global-flags-set): Added autoload setting.
1150
1151         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
1152         `flag'.
1153
1154         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
1155         `elmo-msgdb-global-mark-set'.
1156         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
1157         Call `elmo-global-flags-set'.
1158         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
1159         `flag'.
1160         (elmo-folder-flag-as-important-plugged): Ditto.
1161         (elmo-folder-unflag-read-plugged): Ditto.
1162         (elmo-folder-flag-as-read-plugged): Ditto.
1163         (elmo-folder-unflag-answered-plugged): Ditto.
1164         (elmo-folder-flag-as-answered-plugged): Ditto.
1165         (elmo-global-flags-set): Added autoload setting.
1166
1167         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
1168         `flag'.
1169         (elmo-folder-unflag-read): Ditto.
1170         (elmo-folder-flag-as-important): Ditto.
1171         (elmo-folder-unflag-important): Ditto.
1172         (elmo-folder-flag-as-answered): Ditto.
1173         (elmo-folder-unflag-answered): Ditto.
1174
1175         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
1176         change of `mark'->`flag'.
1177         (elmo-dop-queue-method-name-alist): Ditto.
1178         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
1179         (elmo-folder-unflag-read-dop): Ditto.
1180         (elmo-folder-flag-as-important-dop): Ditto.
1181         (elmo-folder-unflag-important-dop): Ditto.
1182         (elmo-folder-flag-as-answered-dop): Ditto.
1183         (elmo-folder-unflag-answered-dop): Ditto.
1184
1185         * elmo-cache.el (elmo-folder-msgdb-create): Call
1186         `elmo-global-flags-set'.
1187
1188         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1189         Call `elmo-global-flags-set'.
1190         (elmo-archive-msgdb-create-as-numlist-subr2): Call
1191         elmo-archive-parse-mmdf with argument `folder'.
1192         (elmo-archive-parse-mmdf): Added argument `folder';
1193         Call `elmo-global-flags-set'.
1194
1195         * elmo-version.el (elmo-version): Up to 2.11.14.
1196
1197 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1198
1199         * modb.el (elmo-msgdb-length): Define.
1200
1201         * elmo.el (elmo-make-folder): Fixed.
1202         (elmo-generic-folder-append-messages): Follow the API change.
1203
1204         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
1205         API change.
1206
1207 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1208
1209         * modb.el: New file.
1210
1211         * modb-entity.el: Ditto.
1212
1213         * modb-legacy.el: Ditto.
1214
1215         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
1216         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
1217         of `elmo-msgdb-overview-get-entity'.
1218         (elmo-msgdb-get-field): Ditto.
1219         (elmo-msgdb-merge): Moved to `elmo.el'.
1220         (elmo-msgdb-length): Removed; redefine as modb method.
1221         (elmo-msgdb-change-mark): Abolish.
1222         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
1223         (elmo-msgdb-match-condition): Don't use mark.
1224         (elmo-msgdb-overview-get-entity): Abolish.
1225         Split modb part into `modb*.el'.
1226
1227         * elmo-vars.el (elmo-msgdb-default-type): New user option.
1228
1229         * elmo-shimbun.el (shimbun-mua-search-id): Use
1230         `elmo-msgdb-message-entity' instead of
1231         `elmo-msgdb-overview-get-entity'.
1232         (elmo-shimbun-folder-shimbun-header): Ditto.
1233         (elmo-shimbun-get-headers): Ditto.
1234         (elmo-shimbun-update-overview): Ditto.
1235
1236         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
1237
1238         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1239
1240         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
1241         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
1242
1243         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
1244         `elmo-msgdb-mark-to-flags'.
1245
1246         * elmo-map.el (elmo-folder-pack-numbers): Don't use
1247         `elmo-msgdb-set-path'.
1248
1249         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1250  
1251         * elmo-version.el (elmo-version): Up to 2.11.13.
1252
1253         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
1254
1255         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
1256         of mark.
1257
1258 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1259
1260         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
1261         mismatch.
1262
1263 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
1266         instead of `elmo-msgdb-get-cached'.
1267         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
1268
1269         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
1270         (elmo-msgdb-set-cached): Ditto.
1271         (elmo-msgdb-set-flag): Rewrite.
1272         (elmo-msgdb-unset-flag): Ditto.
1273
1274         * elmo-msgdb.el: Rewrite with luna.
1275
1276         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
1277         (elmo-folder-msgdb): Follow the change above.
1278         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
1279         (elmo-folder-unmark-important): Follow the API change.
1280         (elmo-folder-mark-as-important): Ditto.
1281         (elmo-folder-unmark-read): Ditto.
1282         (elmo-folder-mark-as-read): Ditto.
1283         (elmo-folder-unmark-answered): Ditto.
1284         (elmo-folder-mark-as-answered): Ditto.
1285         (elmo-folder-clear): Likewise.
1286
1287         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
1288         instead of `elmo-msgdb-load' (renamed).
1289
1290         * elmo-version.el (elmo-version): Up to 2.11.12.
1291
1292 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1293
1294         * elmo.el (elmo-generic-folder-append-messages): Follow the API
1295         change.
1296         (elmo-message-mark): Abolish.
1297         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
1298         instead of `elmo-msgdb-change-mark'.
1299
1300         * elmo-pipe.el (elmo-message-mark): Abolish.
1301
1302         * elmo-multi.el (elmo-message-mark): Ditto.
1303
1304         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
1305         (elmo-msgdb-unread-uncached-mark): Ditto.
1306         (elmo-msgdb-unread-cached-mark): Ditto.
1307         (elmo-msgdb-read-uncached-mark): Ditto.
1308         (elmo-msgdb-answered-cached-mark): Ditto.
1309         (elmo-msgdb-answered-uncached-mark): Ditto.
1310         (elmo-msgdb-important-mark): Ditto.
1311         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
1312         `use-cache'.
1313         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
1314         `flags'.
1315         (elmo-flag-table-load): Changed flag to list of flag.
1316         (elmo-flag-table-set): If flags is nil, set read flag.
1317         (elmo-flag-table-get): Return derived flags from global mark,
1318         cache status and saved flags.
1319         (elmo-msgdb-flag-table): Follow the change above.
1320         (elmo-msgdb-out-of-date-messages): New function.
1321
1322         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
1323
1324         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1325
1326         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1327
1328         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
1329         (elmo-nntp-msgdb-create-message): Ditto.
1330
1331         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1332
1333         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
1334         independent.
1335         (elmo-folder-msgdb-create): Follow the API change.
1336
1337         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1338         (elmo-folder-append-messages): Ditto.
1339
1340         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1341         (elmo-folder-append-buffer): Ditto.
1342
1343         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1344
1345         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1346
1347         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
1348         (elmo-archive-parse-mmdf): Ditto.
1349
1350         * elmo-version.el (elmo-version): Up to 2.11.11.
1351
1352 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1353
1354         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
1355         `elmo-msgdb-mark'.
1356
1357         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
1358
1359         * elmo-pipe.el (elmo-message-flags): Defined.
1360
1361         * elmo-multi.el (elmo-message-flags): Ditto.
1362
1363 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1364
1365         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
1366         `elmo-msgdb-delete-msgs'.
1367
1368         * elmo.el (elmo-folder-count-flags): Don't use
1369         `elmo-msgdb-get-mark-alist'.
1370         (elmo-folder-detach-messages): Follow the API change.
1371
1372         * elmo.el (elmo-folder-list-messages): Append killed messages into
1373         result if `visible-only' is nil.
1374
1375         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
1376         canceled messages.
1377         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
1378         (elmo-folder-update-number): Likewise.
1379
1380         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
1381         (elmo-pop3-sort-msgdb-by-original-number): Use
1382         `elmo-msgdb-sort-entities'.
1383
1384         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
1385         (elmo-msgdb-sort-by-date): Use it.
1386         (elmo-msgdb-overview-sort-by-date): Abolish.
1387
1388         * elmo-dop.el (elmo-folder-status-dop): Fixed.
1389
1390         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
1391         (elmo-msgdb-flags): New function.
1392         (elmo-msgdb-merge): Use elmo-msgdb-append.
1393
1394         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
1395         change.
1396
1397         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1398
1399         * elmo-dop.el (elmo-folder-status-dop): Use
1400         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
1401
1402 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1403
1404         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
1405
1406         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
1407
1408         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
1409
1410         * elmo-util.el (elmo-with-progress-display): New macro.
1411
1412         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
1413
1414 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1415
1416         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
1417         `elmo-folder-list-message-entities' instead of
1418         `elmo-msgdb-get-overview'.
1419         (elmo-map-folder-list-message-locations): Ditto.
1420
1421         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
1422         methods instead of treat directly).
1423         (elmo-msgdb-clear): Ditto.
1424         (elmo-msgdb-delete-msgs): Ditto.
1425         (elmo-msgdb-sort-by-date): Ditto.
1426
1427         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
1428         local variables.
1429         (elmo-nntp-folder-msgdb-create): Follow the API change.
1430
1431         * elmo-version.el (elmo-version): Up to 2.11.10.
1432
1433 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1434
1435         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
1436         (elmo-msgdb-flags-to-mark): Ditto.
1437         (elmo-msgdb-append-entity): Ditto.
1438
1439         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1440         Use `elmo-msgdb-append-entity' instead of construct msgdb.
1441         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
1442         (elmo-archive-parse-mmdf): Ditto.
1443
1444         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1445
1446         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1447
1448         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1449
1450         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1451
1452         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
1453
1454         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
1455
1456         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1457
1458         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1459
1460         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1461         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
1462         to empty msgdb.
1463
1464         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
1465         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
1466         instead of directly construction.
1467         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
1468         instead of construct msgdb.
1469
1470         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
1471         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
1472         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
1473         instead of construct msgdb.
1474
1475 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1476
1477         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
1478         when field is from or subject.
1479
1480 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
1481
1482         * elmo-multi.el (elmo-message-entity-parent): Define.
1483         (elmo-folder-search): Rewrite.
1484
1485 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1486
1487         * elmo-multi.el (elmo-message-cached-p): Define.
1488
1489         * elmo.el (elmo-message-cached-p): New method.
1490         (elmo-message-accessible-p): Use it instead of msgdb API directly.
1491         (elmo-message-flags): New method.
1492         (elmo-message-flagged-p): New function.
1493
1494         * elmo-version.el (elmo-version): Up to 2.11.9.
1495
1496 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1497
1498         * elmo-version.el (elmo-version): Up to 2.11.8.
1499
1500         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
1501
1502         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
1503
1504 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
1505
1506         * elmo.el (elmo-folder-detach-messages): Undo last change.
1507
1508 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
1509
1510         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
1511
1512         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
1513         only when src folder type is pop3.
1514
1515 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
1516
1517         * elmo-msgdb.el (elmo-msgdb-make-index): Use
1518         elmo-msgdb-overview-entity-get-number instead of
1519         elmo-message-entity-number.
1520
1521 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1522
1523         * elmo-version.el (elmo-version): Up to 2.11.7.
1524
1525 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
1526
1527         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
1528         function.
1529
1530         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
1531         (elmo-msgdb-merge): New function.
1532         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
1533         (elmo-msgdb-make-index): Rewrite.
1534
1535         * elmo-version.el (elmo-version): Up to 2.11.6.
1536
1537         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
1538         use it as a the path for loading message entities.
1539
1540         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
1541
1542 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
1543
1544         * elmo-filter.el (elmo-folder-set-message-modified): Set 
1545         message-modified slot of itself if it does not require target msgdb.
1546
1547         * elmo-mime.el (elmo-mime-message-display): Display message entirely
1548         if folder length is zero.
1549         (elmo-mime-display-as-is): Ditto.
1550
1551         * elmo-filter.el (elmo-folder-set-message-modified): Define.
1552
1553         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
1554
1555 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1556
1557         * elmo.el (elmo-folder-set-message-modified): New method.
1558         (elmo-generic-folder-commit): Use it.
1559         (elmo-folder-synchronize): Ditto.
1560
1561         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
1562         (elmo-folder-commit): Remove duplicate definition.
1563
1564 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
1565
1566         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
1567
1568 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1569
1570         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
1571         (elmo-strict-folder-diff): Ditto.
1572         (elmo-folder-set-info-max-by-numdb): Simplify.
1573
1574         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
1575         elmo-msgdb-list-messages.
1576
1577         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
1578         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
1579
1580 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
1581
1582         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
1583         visible-only is non-nil.
1584         (elmo-folder-confirm-appends): Changed message.
1585         (elmo-folder-synchronize): Added argument disable-killed.
1586
1587         * elmo-multi.el (elmo-folder-synchronize): Added argument
1588         disable-killed.
1589
1590         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
1591
1592         * elmo-version.el (elmo-version): Up to 2.11.5.
1593
1594         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
1595         elmo-list-filter.
1596
1597         * elmo-util.el (elmo-list-filter): Simplify.
1598
1599         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
1600         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
1601         (elmo-generic-folder-diff): Abolish argument.
1602         (elmo-msgdb-load): Don't use number-alist.
1603
1604         * elmo-filter.el (elmo-folder-diff): Abolish argument.
1605
1606         * elmo-pipe.el (elmo-folder-diff): Ditto.
1607
1608         * elmo-nmz.el (elmo-folder-diff): Ditto.
1609
1610         * elmo-net.el (elmo-folder-diff): Ditto.
1611
1612         * elmo-maildir.el (elmo-folder-diff): Ditto.
1613
1614         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
1615
1616         * elmo-multi.el (elmo-folder-diff): Ditto
1617         (elmo-multi-folder-diff): Rewrite.
1618
1619 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1620
1621         * elmo-pipe.el (elmo-folder-msgdb): Define.
1622
1623 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
1624
1625         * elmo.el (elmo-message-set-cached): Define as a method.
1626
1627         * elmo-pipe.el (elmo-message-set-cached): Define.
1628         (elmo-find-fetch-strategy): Ditto.
1629
1630         * elmo-multi.el (elmo-message-set-cached): Define.
1631         (elmo-find-fetch-strategy): Rewrite.
1632
1633         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
1634
1635         * elmo-pipe.el (elmo-message-folder): Fixed definition.
1636
1637 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
1638
1639         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
1640         instead of number-alist.
1641
1642         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
1643         mark nor message-id when msgdb of source folder is not loaded.
1644
1645         * elmo.el (elmo-generic-folder-append-messages): Ditto.
1646
1647         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1648
1649 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
1650
1651         * elmo.el (elmo-folder-length): Don't require msgdb.
1652
1653 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
1654
1655         * elmo.el (elmo-message-mark): Cause an error when empty folder.
1656         (elmo-message-field): Ditto.
1657
1658         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
1659         (elmo-map-folder-list-message-locations): Setup `answered-locations'
1660         slot.
1661         (elmo-map-folder-list-answereds): Define.
1662         (elmo-maildir-list-location): Treat 'R' info.
1663         (elmo-folder-msgdb-create): Treat flag-table.
1664         (elmo-folder-append-messages): Save flag-table.
1665
1666 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
1667
1668         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
1669         Use SELECT when elmo-imap4-use-select-to-update-status is t.
1670
1671 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1672
1673         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
1674
1675         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
1676         'read when mark is null.
1677
1678 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
1679
1680         * elmo-version.el (elmo-version): Up to 2.11.4.
1681
1682 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1683
1684         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
1685         (elmo-folder-mark-as-answered): Ditto.
1686
1687 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
1688
1689         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
1690         (elmo-pop3-get-session): Make msgdb directory after session.
1691         (elmo-folder-exists-p): Check exactly at the first time even when the
1692         elmo-pop3-exists-exactly is nil.
1693
1694         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
1695         (elmo-folder-list-messages): Define instead of
1696         elmo-folder-list-messages-internal.
1697         (elmo-folder-check): Check destination folder.
1698         (elmo-folder-synchronize): Drain the pipe.
1699
1700         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
1701         when msgdb is not loaded.
1702
1703         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
1704
1705         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
1706         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
1707         messages.
1708
1709         * elmo.el (elmo-folder-kill-messages-before): New function.
1710         (elmo-folder-kill-messages): Ditto.
1711         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
1712
1713         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
1714         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
1715         killed not by synchronize (e.g. scoring).
1716
1717 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1718
1719         * elmo.el (elmo-folder-search-fast): Return t if condition is not
1720         treated.
1721         (elmo-folder-search): Follow the change above.
1722
1723         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
1724         into the candidates of search field.
1725
1726 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
1727
1728         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
1729         (elmo-msgdb-unset-flag): Ditto.
1730
1731         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
1732
1733 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
1734
1735         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
1736         (elmo-folder-commit): Define.
1737         (elmo-folder-synchronize): Ditto.
1738         (elmo-folder-list-flagged): Ditto.
1739         (elmo-folder-commit): Ditto.
1740         (elmo-folder-length): Ditto.
1741         (elmo-folder-count-flags): Ditto.
1742         (elmo-message-mark): Ditto.
1743         (elmo-message-field): Ditto.
1744         (elmo-message-entity): Ditto.
1745         (elmo-message-folder): Ditto.
1746
1747 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
1748
1749         * elmo.el (elmo-message-field): Define as a method.
1750
1751         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
1752         (elmo-message-field): Define.
1753
1754         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
1755         (elmo-folder-list-importants): Ditto.
1756         (elmo-folder-list-answereds): Ditto.
1757
1758         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
1759         qualifier.
1760         (elmo-folder-mark-as-read): Ditto.
1761         (elmo-folder-unmark-read): Ditto.
1762         (elmo-folder-mark-as-answered): Ditto.
1763         (elmo-folder-unmark-answered): Ditto.
1764         (elmo-folder-list-flagged): Define.
1765         (elmo-folder-commit): Ditto.
1766         (elmo-folder-length): Ditto.
1767         (elmo-folder-count-flags): Ditto.
1768
1769 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1770
1771         * elmo.el (elmo-folder-detach-messages): New method.
1772         (elmo-folder-move-messages): Use it.
1773         (elmo-folder-synchronize): Ditto.
1774
1775         * elmo-multi.el (elmo-folder-detach-messages): Define.
1776
1777         * elmo.el (elmo-message-copy-entity): New function.
1778         (elmo-message-entity-set-number): Ditto.
1779         (elmo-message-mark): Define as method.
1780
1781         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
1782         (elmo-folder-synchronize): Return 0 (Should be reconsider).
1783         (elmo-message-entity): Fixed last change.
1784         (elmo-message-mark): Define.
1785         (elmo-folder-msgdb-create): Abolish.
1786         (elmo-multi-folder-append-msgdb): Ditto.
1787         (elmo-multi-folder-diff): Fixed.
1788         (elmo-multi-split-number-alist): Removed.
1789         (elmo-multi-split-mark-alist): Removed.
1790         (elmo-folder-list-messages): Define.
1791         (elmo-folder-list-messages-internal): Removed.
1792
1793         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
1794         local file messages.
1795         (elmo-folder-msgdb-create): Fixed read mark.
1796
1797 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1798
1799         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
1800         if mark is nil.
1801
1802 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1803
1804         * elmo.el (elmo-folder-list-message-entities): Define as inline
1805         function.
1806         (elmo-folder-messages): Abolish.
1807
1808         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
1809         folder.
1810         (elmo-folder-synchronize): Define.
1811         (elmo-message-entity): Define.
1812
1813 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
1814
1815         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
1816         elmo-imap4-session-select-mailbox.
1817
1818         * elmo.el (elmo-folder-move-messages): Don't display any message.
1819
1820         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
1821         parsing.
1822         (elmo-imap4-session-check): Don't wait CHECK response.
1823         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
1824
1825 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
1826
1827         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
1828
1829 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
1830
1831         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
1832         API.
1833         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
1834
1835
1836         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
1837         (elmo-folder-list-message-entities): Added argument in-msgdb and
1838         numbers.
1839         (elmo-folder-synchronize): Define as a method.
1840
1841         * elmo-nntp.el (elmo-folder-initialize): Don't use
1842         elmo-nntp-default-user if zero-length username is specified
1843         explicitly.
1844
1845 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1846
1847         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
1848         server name in case with username.
1849         (XXX: this is ad-hoc fix against username includes "@", it
1850         should be solved fundamentally)
1851
1852 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
1853
1854         * elmo-nntp.el (elmo-nntp-debug): New function.
1855         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
1856         (elmo-network-authenticate-session): Hide auth-info from the log.
1857
1858         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
1859         user name if it is equal to elmo-nntp-default-user.
1860
1861 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
1862
1863         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
1864         instead of shimbun-server-internal;
1865         Use shimbun-current-group instead of shimbun-current-group-internal.
1866         (elmo-folder-plugged-p): Use shimbun-server instead of
1867         shimbun-server-internal.
1868         (elmo-folder-set-plugged): Ditto.
1869         (elmo-net-port-info): Ditto.
1870         (elmo-folder-check): Ditto.
1871         (elmo-folder-expand-msgdb-path): Ditto.
1872         (elmo-folder-list-subfolders): Ditto.
1873
1874 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1875
1876         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
1877         Convert field-name to lower case.
1878         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1879
1880 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1881
1882         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
1883         `message' and `error' take format string.
1884
1885 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1886
1887         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
1888
1889 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1890
1891         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
1892         recursive call (can't byte compile on emacs 20.7).
1893
1894 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
1895
1896         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
1897         (elmo-folder-list-message-entities): New API.
1898         (elmo-message-entity): Ditto.
1899         (elmo-message-entity-parent): Ditto.
1900         (elmo-folder-do-each-message-entity): Ditto.
1901         (elmo-message-entity-number): Ditto.
1902         (elmo-message-entity-field): Ditto.
1903         (elmo-message-entity-set-field): Ditto.
1904         (elmo-folder-count-flags): Ditto.
1905         (elmo-folder-length): Ditto.
1906
1907         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
1908         not.
1909
1910         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
1911         (elmo-msgdb-count-marks): Abolish.
1912         (elmo-msgdb-make-entity): Ditto.
1913         (elmo-msgdb-do-each-entity): Ditto.
1914         (elmo-msgdb-message-entity): New inline function.
1915         (elmo-msgdb-message-entity-field): Ditto.
1916         (elmo-msgdb-message-entity-set-field): Ditto.
1917         (elmo-msgdb-make-message-entity): New function.
1918
1919 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
1920
1921         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
1922         to flag. (All other related portions are changed.)
1923         (elmo-folder-msgdb-create): Likewise.
1924         (elmo-generic-folder-append-messages): Use flag-table instead of
1925         seen-list.
1926         (elmo-folder-move-messages): Removed redundant process.
1927         (elmo-folder-synchronize): Likewise.
1928
1929         * elmo-msgdb.el (elmo-flag-table-get): New function.
1930         (elmo-flag-table-save): Fixed.
1931         (elmo-msgdb-length): New inline function.
1932         (elmo-msgdb-flag-table): New function.
1933         (elmo-msgdb-mark): Add optional argument new.
1934         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
1935         (elmo-msgdb-seen-list): Ditto.
1936         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1937
1938
1939 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
1940
1941         * elmo.el (elmo-message-set-mark): Abolish.
1942         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
1943         (All related portions are changed.)
1944
1945         * elmo-msgdb.el (toplevel): Added comment.
1946         (elmo-load-msgdb): Added 4th element `path'.
1947         (elmo-msgdb-append): Follow the change above.
1948         (elmo-msgdb-clear): Ditto.
1949         (elmo-msgdb-delete-msgs): Ditto.
1950         (elmo-msgdb-get-path): New inline function.
1951         (elmo-msgdb-set-path): Ditto.
1952         (elmo-flag-table-filename): New variable.
1953         (elmo-flag-table-load): New function.
1954         (elmo-flag-table-set): Ditto.
1955         (elmo-flag-table-save): Ditto.
1956         (elmo-msgdb-get-field-value): Abolish.
1957         (elmo-msgdb-overview-get-entity-by-number): Ditto.
1958
1959 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
1960
1961         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
1962         the folder has been deleted successfully.
1963         * elmo-imap4.el (elmo-folder-delete): Ditto.
1964         * elmo-archive.el (elmo-folder-delete): Ditto.
1965         * elmo-localdir.el (elmo-folder-delete): Ditto.
1966         * elmo-maildir.el (elmo-folder-delete): Ditto.
1967
1968 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
1969
1970         * elmo-util.el (elmo-string-member-ignore-case): New function.
1971         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
1972         (elmo-imap4-fetch-callback-1-subr): Likewise.
1973
1974 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
1975
1976         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
1977         the case of the name attribute "\Noselect".
1978
1979 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1980
1981         * elmo.el (elmo-folder-rename-internal): New method to cause error.
1982
1983         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
1984         flist, is not always a member of onum-alist.
1985
1986 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1987
1988         * elmo-version.el (elmo-version): Up to 2.11.3.
1989
1990 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1991
1992         * elmo-maildir.el (elmo-folder-rename-internal): New method,
1993         copied from localdir's one.
1994
1995         * elmo-pipe.el (elmo-folder-rename): New method, rename
1996         destination folder with leaving source folder as it is.
1997
1998 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
1999
2000         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
2001         replace-regexp.
2002
2003 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2004
2005         * elmo-version.el (elmo-version): Up to 2.11.2.
2006
2007 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2008
2009         * elmo-shimbun.el (elmo-folder-initialize): Do not call
2010         shimbun-open in case of "@".
2011         (elmo-folder-open-internal): Cope with shimbun = nil case.
2012         (elmo-folder-plugged-p): Ditto.
2013         (elmo-folder-list-subfolders): Make list for "@/" group.
2014
2015 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2016
2017         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
2018         mailbox (e.g. for %~/something).
2019
2020 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2021
2022         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
2023         Replace nested conditional with guard clauses.
2024
2025 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
2026
2027         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
2028         error [wl:11327].
2029
2030         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
2031         print-depth.
2032
2033 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2034
2035         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
2036         Replace nested conditional with guard clauses.
2037
2038 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2039
2040         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
2041         (elmo-passwd-alist-save): Ditto.
2042         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
2043
2044 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2045
2046         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
2047         dir-name only if it is absolute path.
2048         (TODO: distinguish +/something and +something)
2049
2050 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2051
2052         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
2053         path for "+~/something".
2054
2055 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2056
2057         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
2058         as non-directory, cause error before rename-file.
2059         * elmo-archive.el (elmo-folder-rename-internal): Create directory
2060         apropriately, mimic localdir's one.
2061         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
2062
2063 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
2064
2065         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
2066
2067 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
2068
2069         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
2070
2071         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
2072         
2073         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
2074         is included in the global-mark or not.
2075
2076 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2077
2078         * utf7.el (toplevel): Avoid error when the function
2079         find-coding-system does not exist.
2080
2081 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2082
2083         * elmo-nntp.el (elmo-folder-search): Body search is to search from
2084         cache even if the folder is plugged.
2085         (elmo-nntp-search-primitive): Do nothing when body search is
2086         invoked (although it is not used by the change above).
2087         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
2088
2089 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
2090
2091         * elmo-version.el (elmo-version): Up to 2.11.1.
2092
2093 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
2094
2095         * elmo-archive.el: Specify charset.
2096
2097 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
2098
2099         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
2100         process buffer lives or not.
2101
2102         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
2103         while flushing queues (It causes infinite loop).
2104
2105 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
2106
2107         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
2108
2109 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
2110
2111         * utf7.el (toplevel): Check the ucs features dynamically.
2112         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
2113
2114         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
2115         folder is creatabe or not if it already exists.
2116
2117 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
2118
2119         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
2120
2121         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
2122
2123         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
2124         (elmo-imap4-read-response): Take care of garbage response.
2125
2126 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2127
2128         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
2129         just return nil instead of error.
2130
2131 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2132
2133         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
2134         search-key is "body".
2135
2136 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
2137
2138         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
2139         of elmo-string-matched-assoc to use match-data.
2140         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
2141
2142 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2143
2144         * elmo-split.el (elmo-split->): New function.
2145         (elmo-split-<): Ditto.
2146
2147 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
2148
2149         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
2150         workaround for invalid message-id.
2151
2152 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
2153
2154         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
2155         return normal pop3 session or pop3 biff session.
2156
2157 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
2158
2159         * elmo-maildir.el (elmo-maildir-update-current): Don't append
2160         info part to the cur files when the new files already have it.
2161         (Adviced by Jared Rhine <jared@wordzoo.com>)
2162
2163 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2164
2165         * elmo-split.el (elmo-split-default-action): New variable.
2166         (elmo-split-subr): Use it if all other conditions are passed.
2167         Extend `fname' and rename it as `action'. (implemented
2168         Teranishi-san's idea in [wl:10800])
2169
2170 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2171
2172         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
2173         * elmo-util.el: Ditto.
2174
2175 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
2176
2177         * elmo.el (elmo-message-accessible-p): Renamed from
2178         elmo-message-cached-p and rewritten.
2179
2180 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
2181
2182         * elmo.el (elmo-folder-list-flagged): New generic function.
2183         (elmo-folder-list-importants): New implementation.
2184         (elmo-folder-list-answereds): Ditto.
2185         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
2186         Added 'digest'.
2187         (elmo-message-cached-p): New function.
2188         (elmo-message-set-flag): Ditto (no content).
2189         (elmo-message-unset-flag): Ditto.
2190         (elmo-folder-list-messages-mark-match): Abolish.
2191
2192         * elmo-util.el (elmo-regexp-opt): New function.
2193
2194         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
2195         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
2196         Added 'digest'.
2197         (elmo-msgdb-list-flagged): New function.
2198
2199         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
2200         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
2201         Added 'digest'.
2202
2203         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
2204
2205 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
2206
2207         * elmo-version.el (elmo-version): Up to 2.11.0.
2208
2209 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2210
2211         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
2212         `elmo-file-cache-exists-p'; use proper mark that depends on
2213         `use-cache'.
2214         (elmo-msgdb-unset-flag): Ditto.
2215         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
2216
2217         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
2218         with 4th argument `use-cache'.
2219
2220 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
2221
2222         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
2223         (elmo-folder-mark-as-important): Ditto.
2224         (elmo-folder-unmark-read): Ditto.
2225         (elmo-folder-mark-as-read): Ditto.
2226         (elmo-folder-unmark-answered): Ditto.
2227         (elmo-folder-mark-as-answered): Ditto.
2228
2229         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
2230         message status.
2231         (elmo-msgdb-mark): Likewise.
2232         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
2233         (elmo-msgdb-unset-flag): Likewise.
2234
2235         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
2236
2237 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2238
2239         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
2240         `last:' filter.
2241
2242 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2243
2244         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
2245         set spool-length to 0.
2246
2247 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2248
2249         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
2250         (elmo-dop-queue-flush): Fixed last change.
2251
2252 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2253
2254         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
2255         if require-msgdb slot is nil.
2256         (elmo-folder-list-importants): Likewise.
2257
2258 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2259
2260         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
2261         mark is changed.
2262
2263         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
2264         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
2265         is changed.
2266
2267 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
2268
2269         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
2270
2271 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
2272
2273         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
2274
2275         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
2276
2277 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2278
2279         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
2280         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
2281
2282 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2283
2284         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
2285         the problem reported by Sean Rima [wl-en:180].
2286
2287 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
2288
2289         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
2290
2291         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
2292
2293         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
2294
2295         * elmo-map.el (elmo-folder-unmark-read): Ditto.
2296
2297         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
2298
2299         * elmo-net.el (elmo-folder-unmark-read): Ditto.
2300
2301         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
2302
2303 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
2304
2305         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
2306         status number.
2307
2308 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
2309
2310         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
2311         (elmo-folder-mark-as-read): Follow the API change.
2312         (elmo-message-set-cached): New function.
2313
2314         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
2315
2316         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
2317
2318         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
2319         (elmo-folder-mark-as-important): Ditto.
2320         (elmo-folder-unmark-read): Ditto.
2321         (elmo-folder-mark-as-read): Ditto.
2322         (elmo-folder-unmark-answered): Ditto.
2323         (elmo-folder-mark-as-answered): Ditto.
2324
2325         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
2326         (elmo-folder-unmark-important): Ditto.
2327         (elmo-folder-mark-as-read): Ditto.
2328         (elmo-folder-unmark-read): Ditto.
2329         (elmo-folder-mark-as-answered): Ditto.
2330         (elmo-folder-unmark-answered): Ditto.
2331
2332         * elmo-mark.el (toplevel): Removed some mark method definitions.
2333
2334         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
2335         (elmo-map-folder-mark-as-answered): Ditto.
2336         (elmo-folder-unmark-important): Add :before qualifier.
2337         (elmo-folder-mark-as-important): Ditto.
2338         (elmo-folder-unmark-read): Ditto.
2339         (elmo-folder-mark-as-read): Ditto.
2340         (elmo-folder-unmark-answered): Define.
2341         (elmo-folder-mark-as-answered): Ditto.
2342
2343         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
2344         (elmo-map-folder-unmark-answered): Ditto.
2345
2346         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
2347
2348         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
2349         (elmo-folder-mark-as-important): Ditto.
2350         (elmo-folder-unmark-read): Ditto.
2351         (elmo-folder-mark-as-read): Ditto.
2352         (elmo-folder-unmark-answered): Ditto.
2353         (elmo-folder-mark-as-answered): Ditto.
2354
2355         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
2356         `mark'; evaluate mark condition.
2357         (elmo-msgdb-match-condition-internal): New function.
2358         (elmo-msgdb-match-condition): Call it; changed argument.
2359
2360         * elmo.el (elmo-folder-search): Follow the API change on
2361         `elmo-msgdb-match-condition'.
2362
2363 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2364
2365         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
2366         original mark is non-nil.
2367
2368 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
2369
2370         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
2371         (elmo-map-folder-list-answereds): New method.
2372         (elmo-folder-list-unreads): Add :around qualifier.
2373         (elmo-folder-list-importants): Ditto.
2374         (elmo-folder-list-answereds): Ditto.
2375
2376 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
2377
2378         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
2379
2380         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
2381         method if msgdb is not required.
2382         (elmo-filter-folder-list-importants): Don't treat global-mark.
2383
2384         * elmo.el (elmo-folder-list-importants): Ditto.
2385
2386         * elmo-net.el (elmo-folder-list-importants): Ditto.
2387
2388         * elmo-map.el (elmo-folder-list-importants): Ditto.
2389
2390         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
2391
2392         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
2393         (elmo-imap4-folder-list-any-plugged): New function.
2394         (elmo-imap4-search-internal-primitive): Use it.
2395
2396         * elmo-filter.el (elmo-folder-check): Synchronize original folder
2397         only when require-msgdb slot is non-nil.
2398         (elmo-folder-close): Clear target folder's msgdb.
2399
2400 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
2401
2402         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
2403         (elmo-pop3-msgdb-create-by-header): Ditto.
2404         (elmo-pop3-msgdb-create-message): Ditto.
2405
2406         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2407
2408         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2409
2410         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
2411
2412         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2413         (elmo-folder-msgdb-create): Ditto.
2414         (elmo-nntp-folder-msgdb-create): Ditto.
2415         (elmo-nntp-msgdb-create-by-header): Ditto.
2416         (elmo-nntp-msgdb-create-message): Ditto.
2417         (elmo-folder-list-unreads): Define.
2418
2419         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
2420         (elmo-folder-append-messages): Ditto.
2421         (elmo-folder-list-unreads): Define.
2422         (elmo-folder-list-importants): Ditto.
2423         (elmo-folder-list-answereds): Ditto.
2424
2425         * elmo-net.el (elmo-folder-list-unreads): Define.
2426         (elmo-folder-list-importants): Ditto.
2427         (elmo-folder-list-answereds): Ditto.
2428         (elmo-folder-list-answereds-plugged): Ditto.
2429         (elmo-folder-msgdb-create): Follow the API change.
2430         (elmo-folder-msgdb-create-unplugged): Ditto.
2431         (elmo-folder-unmark-answered): Define.
2432         (elmo-folder-mark-as-answered-unplugged): Ditto.
2433         (elmo-folder-unmark-answered-unplugged): Ditto.
2434
2435         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
2436         (elmo-msgdb-unread-uncached-mark): Ditto.
2437         (elmo-msgdb-unread-cached-mark): Ditto.
2438         (elmo-msgdb-read-uncached-mark): Ditto.
2439         (elmo-msgdb-answered-cached-mark): Ditto.
2440         (elmo-msgdb-answered-uncached-mark): Ditto.
2441         (elmo-msgdb-important-mark): Ditto.
2442         (elmo-msgdb-set-mark): Rewrite.
2443         (elmo-msgdb-count-marks): Rewrite.
2444         (elmo-msgdb-mark-alist-set): Abolish.
2445         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
2446         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
2447
2448         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
2449         (elmo-folder-close): Define.
2450         (elmo-folder-msgdb-create): Follow the API change.
2451         (elmo-folder-list-unreads): Rewrite.
2452         (elmo-folder-mark-as-important): Ditto.
2453         (elmo-folder-unmark-important): Ditto.
2454         (elmo-folder-mark-as-read): Ditto.
2455         (elmo-folder-unmark-read): Ditto.
2456         (elmo-folder-mark-as-answered): Define.
2457         (elmo-folder-unmark-answered): Ditto.
2458
2459         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
2460         (elmo-folder-append-messages): Ditto.
2461
2462         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
2463
2464         * elmo-map.el (elmo-folder-list-unreads): Ditto.
2465         (elmo-folder-list-importants): Ditto.
2466
2467         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2468         (elmo-folder-append-messages): Ditto.
2469
2470         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
2471         change.
2472         (elmo-folder-msgdb-create-plugged): Ditto.
2473         (elmo-folder-append-messages): Ditto.
2474         (elmo-folder-list-answereds-plugged): Define.
2475         (elmo-imap4-search-internal-primitive): Add `mark' processing.
2476         (elmo-folder-unmark-answered-plugged): Define.
2477         (elmo-folder-mark-as-answered-plugged): Ditto.
2478         (elmo-folder-search-requires-msgdb-p): Ditto.
2479
2480         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
2481         (elmo-folder-initialize): Set it.
2482         (elmo-folder-msgdb): Define.
2483         (elmo-folder-check): Call elmo-folder-synchronize.
2484         (elmo-folder-close): Define.
2485         (elmo-folder-commit): Ditto.
2486         (elmo-folder-msgdb-create): Rewrite.
2487         (elmo-folder-list-unreads): Ditto.
2488         (elmo-folder-list-importants): Ditto.
2489         (elmo-folder-mark-as-read): Ditto.
2490         (elmo-folder-unmark-read): Ditto.
2491         (elmo-folder-mark-as-important): Ditto.
2492         (elmo-folder-unmark-important): Ditto.
2493         (elmo-folder-mark-as-answered): Define.
2494         (elmo-folder-unmark-answered): Ditto.
2495
2496         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
2497         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
2498         (elmo-dop-queue-method-name-alist): Likewise.
2499         (elmo-folder-mark-as-answered-dop): New inline function.
2500         (elmo-folder-unmark-answered-dop): Ditto.
2501         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
2502
2503         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
2504         (elmo-folder-msgdb-create): Ditto.
2505         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2506         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
2507         (elmo-archive-parse-mmdf): Ditto.
2508
2509         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2510         (elmo-folder-list-unreads-internal): Ditto.
2511
2512         * elmo.el (elmo-folder-msgdb): Define as generic function.
2513         (elmo-folder-list-messages): Added argument `in-msgdb'.
2514         (elmo-folder-list-unreads): Define as generic function.
2515         (elmo-folder-list-importants): Ditto.
2516         (elmo-folder-list-answereds): Ditto.
2517         (elmo-folder-list-messages-with-global-mark): New function.
2518         (elmo-folder-msgdb-create): Removed mark arguments.
2519         (elmo-folder-unmark-answered): New generic function.
2520         (elmo-folder-mark-as-answered): Ditto.
2521         (elmo-folder-append-messages): Removed argunment `unread-marks'
2522         (elmo-folder-list-unreads-internal): Abolish.
2523         (elmo-folder-list-importants-internal): Ditto.
2524         (elmo-folder-search-requires-msgdb-p): New generic function.
2525         (elmo-folder-search-requires-msgdb-p-internal): New function.
2526         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
2527         elmo-msgdb-load.
2528         (elmo-folder-search-fast): Added key 'mark'.
2529         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
2530         instead of unread-marks argument.
2531         (elmo-folder-move-messages): Removed argunment `unread-marks'
2532         (elmo-folder-unmark-important): Define.
2533         (elmo-folder-mark-as-important): Ditto.
2534         (elmo-folder-unmark-read): Ditto.
2535         (elmo-folder-mark-as-read): Ditto.
2536         (elmo-folder-unmark-answered): Ditto.
2537         (elmo-folder-mark-as-answered): Ditto.
2538         (elmo-folder-replace-marks): Abolish.
2539         (elmo-generic-folder-append-msgdb): Append msgdb before checking
2540         duplicates.
2541         (elmo-folder-synchronize): Removed mark arguments;
2542         return crosspost only number.
2543
2544 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2545
2546         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
2547         Remove redundunt connectivity check.
2548
2549 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2550
2551         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
2552         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
2553
2554 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
2555
2556         * pldap.el (ldap-decode-string): Return string as-is if
2557         `ldap-coding-system' is nil.
2558         (ldap-encode-string): Ditto.
2559         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
2560         (ldap-default-host): Fixed docstring.
2561
2562 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
2563
2564         * elmo-util.el (elmo-warning): Define as a macro which uses
2565         `display-warning' if it is defined as a function.
2566
2567         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
2568         (elmo-split-equal): Use it.
2569         (elmo-split-match): Ditto.
2570         (elmo-split-message-entity): New buffer-local variable.
2571         (elmo-split-subr): Set it.
2572
2573         * elmo-version.el (elmo-version): Up to 2.9.15.
2574
2575 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
2576
2577         * elmo-imap4.el (elmo-network-initialize-session):
2578         Check capability after starttls.
2579
2580 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
2581
2582         * elmo-util.el (elmo-list-delete): Added optional argument
2583         DELETE-FUNCTION.
2584
2585         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
2586
2587         * elmo-util.el (elmo-warning): Ignore errors while recenter.
2588
2589         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
2590
2591         * elmo-imap4.el (elmo-folder-initialize): Don't use
2592         elmo-imap4-default-mailbox.
2593
2594 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2595
2596         * elmo-split.el (toplevel): Use `product-provide'.
2597         (elmo-split): Checkdoc.
2598
2599 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
2600
2601         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
2602         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
2603         the function `elmo-imap4-debug-1'.
2604
2605 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2606
2607         * elmo-split.el (elmo-split): Moved to run hooks and to show
2608         message from elmo-split-subr.
2609         (elmo-split-subr): Follow the change above.
2610
2611         * elmo-split.el (elmo-split-subr): New function (renamed from
2612         elmo-split-subr).
2613         (elmo-split): Changed to call elmo-split-subr by element of
2614         elmo-split-folder.
2615         (elmo-split-folder): Changed customization type to choice.
2616
2617 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2618
2619         * elmo-split.el (elmo-split-and): Fixed condition.
2620
2621 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
2622
2623         * elmo-split.el: New file.
2624         (elmo-split): Fixed logic.
2625         Display "Test:" instead of "Folder:" when reharsal.
2626
2627         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
2628         explicitly.
2629
2630         * elmo-version.el (elmo-version): Up to 2.9.14.
2631
2632         * elmo-util.el (elmo-expand-newtext): New function (renamed from
2633         wl-expand-newtext).
2634
2635 2002-06-10  Kenichi Sato <ksato@sonycom.com>
2636
2637         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
2638         message with no message-id field.
2639
2640 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
2641
2642         * elmo-version.el (elmo-version): Up to 2.9.13.
2643
2644         * elmo-dop.el (elmo-folder-status-dop): Fix.
2645
2646 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
2647
2648         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
2649
2650         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
2651         changing default value of default-mime-charset.
2652         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
2653
2654         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
2655
2656         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
2657         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
2658         instead of elmo-dop-queue-method-name-alist to check merging queue.
2659         (elmo-folder-delete-messages-dop): Delete from queue if negative
2660         message number.
2661         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
2662         file is already removed.
2663
2664 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2665
2666         * elmo-vars.el: Bind colon keywords for old Emacsen.
2667
2668 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2669
2670         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
2671         against non-exsisting charset.
2672
2673 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
2674
2675         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
2676         Use eword-decode-and-unfold-unstructured-field-body.
2677
2678         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
2679         (elmo-msgdb-create-overview-from-buffer): Use document charset if
2680         exists to decode raw subject string.
2681         (toplevel): Require 'mime.
2682
2683         * elmo-version.el (elmo-version): Up to 2.9.12.
2684
2685 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
2686
2687         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
2688         (elmo-msgdb-set-mark): Ditto.
2689
2690         * elmo-version.el (elmo-version): Up to 2.9.11.
2691
2692 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
2693
2694         * elmo-util.el (elmo-delete-match-files): New function.
2695
2696         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
2697         instead of elmo-delete-directory.
2698
2699         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
2700         elmo-hash-minimun-size as 63.
2701
2702         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
2703         elmo-diff-unread is nil.
2704
2705         * elmo-imap4.el (elmo-folder-open): Fix.
2706
2707         * elmo.el (elmo-message-mark): Rewrite.
2708         (elmo-message-field): Ditto.
2709         (elmo-message-set-mark): Ditto.
2710         (elmo-folder-replace-marks): New function.
2711         (elmo-generic-folder-append-msgdb): Removed third argument for
2712         elmo-msgdb-append.
2713         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
2714         (elmo-msgdb-load): New implementation.
2715
2716         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
2717
2718         * elmo-util.el (elmo-list-insert): New implementation.
2719
2720         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
2721         argument for elmo-msgdb-append.
2722         
2723
2724         * elmo-msgdb.el (elmo-load-msgdb): New function.
2725         (elmo-make-msgdb): Ditto.
2726         (elmo-msgdb-get-index): New inline function.
2727         (elmo-msgdb-set-index): Ditto.
2728         (elmo-msgdb-get-entity-hashtb): Ditto.
2729         (elmo-msgdb-get-mark-hashtb): Ditto.
2730         (elmo-msgdb-get-mark): Ditto.
2731         (elmo-msgdb-set-mark): Ditto.
2732         (elmo-msgdb-count-marks): Ditto.
2733         (elmo-msgdb-get-number): Ditto.
2734         (elmo-msgdb-get-field): Ditto.
2735         (elmo-msgdb-seen-list): Ditto.
2736         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
2737         (elmo-msgdb-delete-msgs): Follow the changes above.
2738         (elmo-msgdb-overview-get-entity): Ditto.
2739         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
2740         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
2741         and rewritten.
2742         (elmo-msgdb-make-index): Likewise.
2743         (elmo-msgdb-append): Removed third argument.
2744         (elmo-msgdb-clear): Clear index as nil.
2745         (elmo-folder-set-info-hashtb): Removed.
2746         (elmo-folder-set-info-max-by-numdb): Ditto.
2747         (elmo-folder-info-make-hashtb): Ditto.
2748
2749         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
2750
2751         * elmo-map.el (elmo-folder-pack-number): Ditto.
2752
2753 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
2754
2755         * elmo-version.el (elmo-version): Up to 2.9.10.
2756
2757         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
2758
2759         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
2760
2761 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
2762
2763         * elmo-utils.el (elmo-make-directory): Add option.
2764         Default file mode is 700.
2765
2766 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2767
2768         * elmo-shimbun.el (elmo-folder-local-p): Defined.
2769
2770 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
2771
2772         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
2773         mime-charset.
2774
2775         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
2776         and "smaller".
2777
2778 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2779
2780         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
2781         (elmo-shimbun-folder-entity-hash): New function.
2782         (elmo-shimbun-folder-shimbun-header): Ditto.
2783         (elmo-shimbun-entity-to-header): Ditto.
2784         (elmo-shimbun-msgdb-to-headers): Removed.
2785         (elmo-shimbun-folder-setup): Ditto.
2786         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
2787         for hash key.
2788         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
2789         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
2790         Removed useless local bind.
2791         (elmo-folder-open-internal): Don't call
2792         `elmo-shimbun-folder-setup'.
2793         (elmo-folder-close-internal): Clear entity-hash slot.
2794         (elmo-folder-clear): Ditto.
2795         (elmo-shimbun-msgdb-create-entity): Use
2796         `elmo-shimbun-folder-shimbun-header'.
2797         (elmo-map-message-fetch): Ditto.
2798         (elmo-shimbun-update-overview): Use overview entity instead of
2799         shimbun header to lookup id by references.
2800         (elmo-map-folder-list-message-locations): Use not only headers but
2801         also overviews to list locations.
2802
2803 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2804
2805         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
2806         msgdb path.
2807
2808         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
2809
2810 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2811
2812         * elmo-util.el (elmo-read-search-condition-internal): Give default
2813         value for date.
2814
2815 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
2816
2817         * elmo-util.el (elmo-condition-parse-search-value): Accept
2818         YYYY-MM-DD format to search.
2819         * elmo-date.el (elmo-date-get-datevec): Likewise.
2820
2821 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
2822
2823         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
2824         debugging code.
2825
2826 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2827
2828         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
2829         from t.
2830
2831         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
2832
2833         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
2834         case from `elmo-folder-exists-p'.
2835         (elmo-folder-exists-p): Removed.
2836         (elmo-folder-creatable-p) Ditto.
2837
2838         * elmo-net.el (elmo-folder-create): Defined.
2839         (elmo-folder-create-unplugged): New function.
2840         (elmo-folder-exists-p): Changed default value to nil from t.
2841
2842         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
2843         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
2844
2845         * elmo-dop.el (elmo-folder-create-dop): Renamed from
2846         `elmo-create-folder-dop' and append queue
2847         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
2848         (elmo-folder-create-dop-delayed): New function.
2849
2850         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
2851
2852         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
2853
2854         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
2855         (elmo-folder-writable-p) : Ditto.
2856
2857         * elmo-version.el (elmo-version): Up to 2.9.9.
2858
2859 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2860
2861         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
2862         `elmo-message-use-cache-p' returns nil.
2863         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2864         (ignore cache file and refer the substance in local folders)
2865
2866 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2867
2868         * elmo-version.el (elmo-version): Up to 2.9.8.
2869
2870 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
2871
2872         * elmo-version.el (elmo-version): Up to 2.9.7.
2873
2874         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
2875
2876 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
2877
2878         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
2879
2880 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2881
2882         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
2883         from --early.
2884         (elmo-map-folder-list-message-locations): Reverse location list.
2885
2886 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
2887
2888         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
2889
2890 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
2891
2892         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
2893         as a key.
2894         (elmo-nntp-folder-list-subfolders): Follow the change above.
2895
2896 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
2897
2898         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
2899         name if authentication type is specified.
2900
2901 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
2902
2903         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
2904         variable.
2905         (elmo-default-nntp-stream-type): Ditto.
2906         (elmo-default-pop3-stream-type): Ditto.
2907
2908 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2909
2910         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
2911
2912 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2913
2914         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
2915         elmo-vars.el.
2916         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
2917
2918         * elmo-vars.el (elmo-localnews-folder-path): Removed.
2919         (elmo-maildir-folder-path): Ditto.
2920         (elmo-maildir-list): Ditto (abolished).
2921
2922 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
2923
2924         * elmo-version.el (elmo-version): Up to 2.9.6.
2925
2926 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2927
2928         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
2929         (elmo-maildir-folder-path): Ditto.
2930         (elmo-msgdb-directory): Ditto.
2931         (elmo-passwd-life-time): Ditto.
2932         (elmo-msgdb-extra-fields): Ditto.
2933         (elmo-enable-disconnected-operation): Ditto.
2934
2935 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
2936
2937         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2938         other choices.
2939         (elmo-pop3-default-authenticate-type): Ditto.
2940
2941 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2942
2943         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2944         choices for custom.
2945         (elmo-pop3-default-authenticate-type): Ditto.
2946
2947 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
2948
2949         * elmo-imap4.el (elmo-folder-rename-internal): Change current
2950         mailbox to new-folder.
2951
2952 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
2953
2954         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
2955         less than new, set new as unread.
2956
2957         * elmo-util.el (elmo-string): Don't put text-property if nil.
2958
2959 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
2960
2961         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
2962         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
2963
2964 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
2965
2966         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2967         is nil on `completing-read'.
2968
2969 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
2970
2971         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
2972         for namespace part.
2973         (elmo-imap4-parse-namespace-subr): Ditto.
2974         (elmo-folder-list-subfolders): Append a delimiter when the specified
2975         folder path is a root with namespace and does not end with delimiter.
2976
2977 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2978
2979         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
2980         was used.
2981
2982 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2983
2984         * elmo-util.el (elmo-save-buffer): The first argument of message
2985         is a format control string.
2986
2987 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2988
2989         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
2990         `elmo-folder-diff').
2991         (elmo-diff-unread): Likewise.
2992
2993 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
2994
2995         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2996         is t on `completing-read'.
2997
2998 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2999
3000         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
3001         method of target folder with self mark-alist if MARK-ALIST is nil.
3002
3003 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
3004
3005         * elmo-version.el (elmo-version): Up to 2.9.5.
3006
3007 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
3008
3009         * elmo-dop.el (elmo-dop-queue-merge): Implement.
3010         (elmo-dop-merge-funcs): Remove.
3011
3012 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3013
3014         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
3015         Return t if PATH is directory, too.
3016         Use `dolist' instead of while loop.
3017
3018 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3019
3020         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
3021         is deleted.
3022
3023 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3024
3025         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
3026         return value to t.
3027         (elmo-folder-list-messages-unplugged): Return t if
3028         elmo-enable-disconnected-operation is nil.
3029
3030         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
3031         `elmo-folder-list-messages-internal'.
3032
3033 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
3034
3035         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
3036         Change to looking-at `[23][0-9]+'.
3037         (elmo-network-initialize-session): Use 'error-msg'
3038         * elmo-net.el (elmo-network-open-session): Set unplugged
3039         if elmo-network-initialize-session returns 'elmo-open-err.
3040
3041 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
3042
3043         * elmo-version.el (elmo-version): Up to 2.9.4.
3044
3045 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
3046
3047         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
3048         `elmo-folder-list-messages-internal'.
3049
3050 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3051
3052         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
3053         (elmo-message-match-condition): New method.
3054         (elmo-folder-search-fast): New inline function.
3055         (elmo-msgdb-search): Removed.
3056
3057         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
3058         target folder if it is unplugged.
3059         (elmo-folder-list-messages-internal): Return t if target folder is
3060         unplugged and itself is persistent; In this case, use list be
3061         searched already.
3062
3063         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
3064         (elmo-msgdb-search-internal-primitive): Ditto.
3065         (elmo-msgdb-match-condition): New function.
3066         (elmo-msgdb-match-condition-primitive): Ditto.
3067
3068         * elmo-util.el (elmo-filter-condition-p): New macro.
3069
3070         * elmo-cache.el (elmo-folder-search): Removed.
3071
3072         * elmo-localdir.el (elmo-folder-search): Ditto.
3073
3074         * elmo-maildir.el (elmo-folder-search): Ditto.
3075
3076         * elmo-mark.el (elmo-folder-search): Ditto.
3077
3078         * elmo-nmz.el (elmo-folder-search): Ditto.
3079
3080         * elmo-sendlog.el (elmo-folder-search): Ditto.
3081
3082         * elmo-shimbun.el (elmo-folder-search): Ditto.
3083
3084         * elmo-imap4.el (elmo-folder-search): Call method of parent class
3085         if folder is unplugged.
3086
3087         * elmo-nntp.el (elmo-folder-search): Likewise.
3088         (elmo-nntp-search-internal): New function.
3089
3090         * elmo-version.el (elmo-version): Up to 2.9.3.
3091
3092 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3093
3094         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
3095
3096 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
3097
3098         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
3099
3100 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
3101
3102         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
3103
3104 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
3105
3106         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
3107         (elmo-map-folder-list-message-locations): Do drive letter conversion
3108         on Windows environment.
3109         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
3110         (elmo-map-message-fetch): Ditto.
3111
3112 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
3113
3114         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
3115         (elmo-network-initialize-session): Ditto.
3116
3117 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
3118
3119         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
3120
3121         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
3122
3123         * elmo-util.el (elmo-progress-clear): Ditto.
3124
3125         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
3126         `DD-Mon-YYYY' type date.
3127
3128 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3129
3130         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
3131         `elmo-date-make-sortable-string' instead of
3132         `timezone-make-date-sortable'.
3133
3134         * elmo-date.el (elmo-date-make-sortable-string): Use
3135         `timezone-make-time-string'.
3136
3137 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
3138
3139         * elmo.el (elmo-folder-synchronize): Delete important messages too.
3140
3141         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
3142         `since'; Fix timezone.
3143
3144         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
3145
3146         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
3147
3148 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3149
3150         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
3151
3152 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3153
3154         * elmo.el (elmo-generic-folder-append-messages): Make
3155         fetch-strategy with `use-cache' as 'maybe. Check return value of
3156         `elmo-message-fetch'.
3157         (elmo-message-fetch): Return return value of
3158         `elmo-message-fetch-with-cache-process'.
3159         (elmo-message-fetch-with-cache-process): Return non-nil if
3160         fetching was succeed. Load cache when fetching was failed and
3161         fetch-strategy-use-cache is 'maybe.
3162
3163         * elmo-util.el (elmo-file-cache-load): New function.
3164
3165         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
3166         defun.
3167
3168         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
3169         non-nil if fetching was succeed.
3170
3171         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
3172
3173         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
3174
3175         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
3176         (elmo-message-fetch-with-cache-process): Likwise.
3177
3178         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
3179
3180         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
3181
3182         * elmo-version.el (elmo-version): Up to 2.9.2.
3183
3184 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
3185
3186         * elmo.el (elmo-folder-delete): Delete msgdb path.
3187
3188         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
3189
3190         * elmo-maildir.el (elmo-folder-delete): Ditto.
3191
3192         * elmo-localdir.el (elmo-folder-delete): Ditto.
3193
3194         * elmo-imap4.el (elmo-folder-delete): Ditto.
3195
3196 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
3197
3198         * elmo.el (luna-define-class): Added `biff' slot.
3199
3200         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
3201         (elmo-pop3-debug-inhibit-logging): Abolished.
3202         (elmo-network-close-session): Eliminated needless let.
3203         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
3204         (elmo-pop3-send-command): Added `no-log' argument.
3205         (elmo-pop3-process-filter): Use `with-current-buffer'.
3206         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
3207         if login failure.
3208         (elmo-pop3-auth-apop): Likewise.
3209         (elmo-network-authenticate-session): Likewise.
3210
3211         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
3212         if biff folder.
3213
3214         * elmo-net.el (elmo-network-session-password-key): Use class symbol
3215         string to determine protocol.
3216         (elmo-network-session-name-prefix): Abolished.
3217         (elmo-network-session-cache-key): Follow the change above.
3218         (elmo-network-open-session): Ditto.
3219
3220         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
3221         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
3222
3223         * elmo-version.el (elmo-version): Up to 2.9.1.
3224
3225         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
3226         unmatch condition checking.
3227
3228         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
3229         condition.
3230
3231 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3232
3233         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
3234
3235 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
3236
3237         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
3238         test for while loop to execute at least one SEARCH command.
3239
3240 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
3241
3242         * elmo-version.el (elmo-version): Up to 2.9.0.
3243
3244 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
3245
3246         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
3247         (elmo-archive-folder-path): Define.
3248         (elmo-folder-initialize): Setup `dir-name' slot.
3249         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
3250         Use `dir-name' as prefix of each subfolders.
3251         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
3252
3253 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3254
3255         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
3256         (elmo-pipe-folder-list-target-messages): New internal function.
3257         (elmo-pipe-drain): Use new argument `ignore-list' instead of
3258         `killed-list'.
3259         (elmo-pipe-folder-copied-list-load): New function.
3260         (elmo-pipe-folder-copied-list-save): Ditto.
3261         (elmo-folder-open-internal): Follow the change above.
3262         (elmo-folder-status): Fixed for copy.
3263
3264 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
3265
3266         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
3267
3268 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
3269
3270         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
3271         elmo-copy-file instead of elmo-add-name-to-file.
3272
3273         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
3274
3275         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
3276         "file://..." index.
3277
3278         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
3279         of accept-process-output as 1.
3280         (elmo-pop3-read-contents): Ditto.
3281         (elmo-pop3-read-body): Ditto.
3282
3283 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3284
3285         * elmo-version.el (product-version-as-string): Remove define.
3286
3287 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
3288
3289         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
3290         (elmo-imap4-copy-messages): Chop number set using
3291         `elmo-imap4-number-set-chop-length'.
3292         (elmo-imap4-set-flag): Ditto.
3293         (elmo-imap4-search-internal-primitive): Ditto.
3294
3295 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3296
3297         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
3298         `elmo-folder-make-temp-dir'
3299
3300         * elmo-vars.el (elmo-cache-directory): New variable.
3301         (elmo-cache-dir): Abolished.
3302         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
3303
3304         * elmo-version.el (elmo-version): Up to 2.7.7.
3305
3306 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
3307
3308         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
3309         defcustom; Set default value as t.
3310
3311 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
3312
3313         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
3314         (ldap-search-program-arguments): Changed default value.
3315         (ldap-search-basic): Accept exit status 4.
3316         (ldap/field-body): Parse options.
3317         (ldap/collect-field): Ditto.
3318         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
3319
3320         * elmo-imap4.el (elmo-imap4-process-bye): New function.
3321         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
3322         (elmo-imap4-accept-ok): Ditto.
3323         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
3324         'notify-bye, only BYE error is reported.
3325         (elmo-folder-exists-p-plugged): Set no-error argument of
3326         `elmo-imap4-session-select-mailbox' as 'notify-bye.
3327
3328         * elmo.el (elmo-imap4-bye-error): Changed message.
3329
3330         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
3331         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
3332         queues (It causes infinite loop).
3333
3334 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3335
3336         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
3337         (RECENT UNSEEN MESSAGES) extension.
3338
3339 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
3340
3341         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
3342         Check number of overview fields.
3343
3344 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
3345
3346         * elmo.el (elmo-folder-confirm-appends): Changed message.
3347         (elmo-folder-confirm-appends): Ditto.
3348
3349         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
3350         `with-temp-buffer'.
3351         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
3352
3353 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
3354
3355         * elmo.el (elmo-folder-confirm-appends): Check whether the value
3356         of elmo-folder-update-threshold is nil, which can be set by
3357         wl-summary-update-confirm-threshold.
3358
3359 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
3360
3361         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
3362         (elmo-nmz-index-alias-alist): Ditto.
3363         (elmo-map-folder-list-message-locations): Follow the change above.
3364
3365 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3366
3367         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
3368
3369         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
3370
3371         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
3372
3373         * elmo-util.el (elmo-read): Ditto.
3374         (elmo-display-error): Ditto.
3375
3376         * elmo-vars.el (elmo-date-match): Ditto.
3377
3378         * pldap.el (ldap-coding-system): Ditto.
3379
3380         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
3381         `elmo-inhibit-number-mapping' as nil.
3382
3383 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
3384
3385         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
3386         space delimiter for list response.
3387
3388 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
3389
3390         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
3391
3392 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
3393
3394         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
3395         (elmo-map-message-fetch): Fix.
3396         * elmo-map.el (elmo-folder-status): Fix for killed.
3397
3398 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
3399
3400         * elmo-sendlog.el: New file.
3401         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
3402
3403 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
3404
3405         * acap.el (acap-logging-out): New buffer local variable.
3406         (acap-close): Set it.
3407         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
3408         an error.
3409
3410 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
3411
3412         * acap.el (acap-response-bye-p): New function.
3413         (acap-response-bye-message): Ditto.
3414         (acap-wait-for-response): If bye response is received, cause an error.
3415         (acap-parse-response): Make bye response when 'Bye' is received.
3416
3417 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
3418
3419         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3420
3421 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3422
3423         * elmo-util.el (elmo-copy-file): Added argument
3424         `ok-if-already-exists'.
3425         (elmo-copy-file): Fixed typo.
3426
3427 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
3428
3429         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3430
3431 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
3432
3433         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
3434
3435 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
3436
3437         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
3438         to killed-list.
3439
3440 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
3441
3442         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
3443         (elmo-folder-initialize): Fix for `copy'.
3444         (elmo-pipe-drain): Ditto.
3445         (elmo-folder-open-internal): Ditto.
3446         (elmo-folder-newsgroups): Fix.
3447
3448 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
3449
3450         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
3451         for each message.
3452
3453         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
3454         recent value is returned from imap folder.
3455
3456         * elmo.el (elmo-folder-newsgroups): New generic function.
3457
3458         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
3459         (elmo-folder-initialize): Set it.
3460         (elmo-folder-expand-msgdb-path): Use it.
3461         (elmo-folder-newsgroups): Define.
3462
3463         * elmo-filter.el (elmo-folder-newsgroups): Define.
3464
3465         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
3466
3467         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
3468
3469         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
3470
3471 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3472
3473         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
3474         user option.
3475         (elmo-shimbun-header-extra-field): New inline function.
3476         (elmo-shimbun-header-set-extra-field): Ditto.
3477         (elmo-shimbun-folder-header-hash-setup): Ditto.
3478         (elmo-shimbun-update-overview): Ditto.
3479         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
3480         (elmo-shimbun-folder-setup): Use
3481         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
3482         (elmo-shimbun-get-headers): Ditto.
3483         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
3484         Insert `X-Shimbun-Id:' header if extra field is set.
3485         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
3486         field's value instead of `shimbun-header-id'.
3487
3488         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
3489         inline function.
3490         (elmo-msgdb-overview-entity-set-date): Ditto.
3491         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3492
3493 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
3494
3495         * mmimap.el (mmimap-entity-section): Changed body node number from
3496         "0" to "1".
3497
3498 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3499
3500         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
3501         `elmo-folder-delete-messages'.
3502
3503         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
3504         (elmo-folder-initialize): Changed to expand alias into index path.
3505
3506         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
3507         `elmo-mime-insert-header-from-buffer' with 6th arg
3508         `sorted-fields'.
3509
3510 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
3511
3512         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
3513
3514         * elmo.el (elmo-diff-new): New inline function.
3515         (elmo-diff-unread): Ditto.
3516         (elmo-diff-all): Ditto.
3517
3518         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
3519         value from responseb.
3520         (elmo-imap4-folder-diff-plugged): Ditto.
3521         (elmo-imap4-server-diff-async): Added recent argument.
3522         (elmo-server-diff-async): Ditto.
3523         (elmo-imap4-folder-diff-plugged): Ditto.
3524
3525         * elmo-version.el (elmo-version): Up to 2.7.6.
3526
3527 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3528
3529         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
3530         in quoted-stirng.
3531
3532 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
3533
3534         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
3535
3536         * elmo-imap4.el (elmo-folder-initialize): Ditto.
3537
3538         * elmo-nntp.el (elmo-folder-initialize): Ditto.
3539
3540         * elmo-multi.el (elmo-folder-initialize): Ditto.
3541
3542         * elmo-util.el (elmo-parse-token): New function.
3543         (elmo-parse-prefixed-element): Ditto.
3544
3545 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
3546
3547         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
3548         delete process.
3549         (elmo-imap4-accept-ok): Ditto.
3550
3551 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3552
3553         * mmimap.el (mime-imap-entity-header-string): Don't check first
3554         element of node-id is `0' (Follow last change).
3555
3556 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3557
3558         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
3559         assigned irregular node-id to nested multipart section.
3560         (initialize-instance): Followed above change.
3561
3562 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3563
3564         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
3565         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
3566         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
3567         `elmo-shimbun-get-headers');
3568         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
3569         visible article on summary exists in headers).
3570         (elmo-map-message-fetch): Cause an error when folder is unplugged.
3571
3572 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
3573
3574         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
3575         definition.
3576
3577 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
3578
3579         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
3580
3581 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3582
3583         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
3584         header separator into loop condition.
3585
3586 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3587
3588         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
3589         Return duplicate folder if it has subfolder.
3590
3591 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
3592
3593         * elmo.el (elmo-make-folder): Add folder name error check.
3594
3595         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
3596         (elmo-nntp-encode-group-string): New inline function.
3597         (elmo-nntp-decode-group-string): Ditto.
3598         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
3599         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
3600         Use `not' instead of `null';
3601         Use elmo-nntp-decode-group-string.
3602
3603         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
3604
3605         * elmo-version.el (elmo-version): Up to 2.7.5.
3606
3607 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3608
3609         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
3610         Hide progress gauge if `elmo-folder-move-messages' exits
3611         nonlocally.
3612
3613 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
3614
3615         * elmo-imap4.el (elmo-folder-initialize): Use
3616         `elmo-imap4-encode-folder-string' for folder name.
3617
3618 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3619
3620         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
3621         `done'.
3622
3623 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3624
3625         * elmo-util.el (elmo-progress-counter-alist): New internal
3626         variable.
3627         (elmo-progress-counter-value): New macro.
3628         (elmo-progress-counter-all-value): Ditto.
3629         (elmo-progress-counter-format): Ditto.
3630         (elmo-progress-counter-set-value): Ditto.
3631         (elmo-progress-set): New function.
3632         (elmo-progress-clear): Ditto.
3633         (elmo-progress-notify): Ditto.
3634
3635         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
3636         counter.
3637
3638         * elmo.el (elmo-generic-folder-append-messages): Call
3639         `elmo-progress-notify'.
3640         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
3641
3642         * elmo-archive.el (elmo-folder-append-messages): Call
3643         `elmo-progress-notify'.
3644
3645         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
3646
3647         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
3648
3649         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3650
3651 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
3652
3653         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
3654         'Create'.
3655         (elmo-message-encache-dop): Added argument `read'.
3656
3657         * elmo-shimbun.el (elmo-message-encache): Ditto.
3658
3659         * elmo-net.el (elmo-message-encache): Ditto.
3660
3661         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
3662         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
3663         elmo-imap4-seen-messages.
3664         (elmo-folder-msgdb-create-plugged): Initialize
3665         elmo-imap4-seen-messages;
3666         Set seen mark on elmo-imap4-seen-messages.
3667
3668         * elmo-pipe.el (elmo-folder-message-file-p): Define.
3669
3670         * elmo.el (elmo-generic-folder-append-messages): Check return value of
3671         elmo-folder-append-buffer.
3672         (elmo-folder-encache): Added optional argument `read'.
3673         (elmo-message-encache): Ditto.
3674
3675         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
3676
3677         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
3678
3679         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
3680         if append buffer content succeds.
3681
3682 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
3683
3684         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
3685         elmo-display-progress.
3686
3687         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
3688         Set 4th argument of mime-display-message.
3689         (elmo-mime-display-as-is): Ditto.
3690
3691 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
3692
3693         * elmo-nmz.el (toplevel): Require 'mime-edit.
3694         (elmo-nmz-content-type-alist): Abolished.
3695         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
3696         content is not a message.
3697         (elmo-map-message-fetch): Changed behavior exept for message content;
3698         Detect mime-charset automatically, Use `mime-find-file-type' to detect
3699         content-type, Add From: and Subject: field.
3700
3701 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3702
3703         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
3704         (elmo-map-message-fetch): Add `Content-Type' field if contents is
3705         not a message.
3706
3707 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3708
3709         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
3710         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
3711
3712         * elmo-archive.el (elmo-folder-writable-p): Defined.
3713
3714         * elmo-cache.el (elmo-folder-writable-p): Ditto.
3715
3716         * elmo-filter.el (elmo-folder-writable-p): Ditto.
3717
3718         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
3719
3720         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
3721
3722         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
3723
3724         * elmo-mark.el (elmo-folder-writable-p): Ditto.
3725
3726         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
3727
3728         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
3729
3730 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3731
3732         * elmo-util.el (elmo-address-quote-specials): New function;
3733         Renamed from `wl-address-quote-specials'.
3734
3735 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3736
3737         * elmo-version.el (elmo-version): Up to 2.7.4.
3738
3739 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
3740
3741         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
3742
3743 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3744
3745         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
3746         both compile-time and run-time to avoid byte-compile warning.
3747
3748 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
3749
3750         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
3751
3752 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
3753
3754         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
3755         option.
3756         (elmo-mime-display-as-is-internal): Use it.
3757
3758         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
3759         if `read-passwd' is not defined.
3760
3761 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
3762
3763         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
3764         by original number.
3765         (elmo-folder-status): Call `elmo-folder-open-internal';
3766         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
3767         (elmo-folder-close-internal): Set location-alist as nil.
3768         (elmo-folder-clear): Define.
3769         (elmo-folder-check): Don't set location-alist as nil.
3770
3771         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
3772
3773 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
3774
3775         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
3776         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
3777
3778         * mmimap.el (mime-imap-entity::requested): New slot.
3779         (mime-imap-location-fetch-entity-p): New generic function.
3780         (mime-decode-parameters): Define using `defun-maybe'.
3781         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
3782         content-type structure.
3783         (mime-entity-body): Return empty body if
3784         `mime-imap-location-fetch-entity-p' returns nil in the first request.
3785
3786         * elmo.el (elmo-message-displaying): New variable.
3787
3788         * elmo-mime.el (elmo-mime-message-display): Bind
3789         elmo-message-displaying as t.
3790
3791         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
3792
3793 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
3794
3795         * acap.el (acap-open): erase buffer before starting network process.
3796         (acap-store): Rewrite.
3797
3798 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
3799
3800         * elmo-imap4.el (elmo-imap4-default-mailbox,
3801         elmo-imap4-default-server
3802         elmo-imap4-default-authenticate-type,
3803         elmo-imap4-default-user,
3804         elmo-imap4-default-port,
3805         elmo-imap4-default-stream-type,
3806         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
3807
3808         * elmo-pop3.el (elmo-pop3-default-user,
3809         elmo-pop3-default-server,
3810         elmo-pop3-default-authenticate-type,
3811         elmo-pop3-default-port,
3812         elmo-pop3-default-stream-type,
3813         elmo-pop3-stream-type-alist): Ditto.
3814
3815         * elmo-nntp.el (elmo-nntp-default-server,
3816         elmo-nntp-default-user,
3817         elmo-nntp-default-port,
3818         elmo-nntp-default-stream-type,
3819         elmo-nntp-stream-type-alist): Ditto.
3820
3821         * elmo-vars.el: Follow changes above.
3822         (elmo-setting): New custom group; added 'elmo-setting group to
3823         above variables.
3824
3825         * elmo-version.el (elmo-version): Up to 2.7.3.
3826
3827         * acap.el (acap-parse-response): Don't delete process when BYE
3828         response (It causes hang-up on slow network environment).
3829         (toplevel): Added comment.
3830
3831 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
3832
3833         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
3834
3835         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
3836         parsing NIL.
3837         (acap-parse-return-metadata): Ditto.
3838
3839         * slp.el: New file.
3840         (toplevel): Fixed typo.
3841
3842         * acap.el: New file.
3843         (acap-network-stream-open): Show "Connecting..." message.
3844         (acap-parse-response): Fixed problem for BYE untagged response.
3845         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
3846         (toplevel): Added tiny comments.
3847
3848 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
3849
3850         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
3851         space delimiter for uidl response.
3852
3853 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
3854
3855         * elmo-vars.el (elmo-use-semi): Eliminated.
3856
3857         * elmo-util.el (elmo-string-assoc-all): New function.
3858
3859 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3860
3861         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
3862         property 'mime-preview-situation for `mime-preview-quit'.
3863
3864 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3865
3866         * elmo.el (elmo-message-fetch-with-cache-process): Call
3867         elmo-message-fetch-internal instead of causing an error when fetch
3868         strategy is 'entire but only 'section cache is available.
3869
3870 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
3871
3872         * elmo-version.el (elmo-version): Up to 2.7.2.
3873
3874         * elmo.el (elmo-generic-folder-append-messages): Make
3875         fetch-strategy with `use-cache'.
3876
3877         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
3878         (elmo-dop-queue-method-name): New macro.
3879
3880 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3881
3882         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
3883         unbalanced parenthesis.
3884
3885 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
3886
3887         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
3888
3889 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
3890
3891         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
3892         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
3893
3894 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3895
3896         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
3897         local variables.
3898
3899 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
3900
3901         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
3902         (elmo-message-use-cache-p): Define.
3903         (elmo-folder-msgdb-create): Treat cache.
3904
3905 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
3906
3907         * elmo-nntp.el (elmo-network-initialize-session): Call
3908         `elmo-nntp-send-mode-reader'.
3909         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
3910
3911 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
3912
3913         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
3914         alist.
3915         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
3916         assoc.
3917
3918         * elmo-net.el (elmo-network-get-session): Set stream-type argument
3919         for `elmo-plugged-p'.
3920         (elmo-open-network-stream): Fixed stream-type argument.
3921
3922 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
3923
3924         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
3925         unknown archive type is specified.
3926
3927 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
3928
3929         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
3930
3931         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
3932         while loading msgdb.
3933
3934         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
3935         (elmo-folder-open-internal): Rewrite.
3936
3937 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
3938
3939         * elmo-mime.el (elmo-mime-display-as-is-internal):
3940         Adjust buffer-multibyte status.
3941
3942 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
3943
3944         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
3945         of elmo-condition-find-key.
3946
3947         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
3948         (elmo-condition-in-msgdb-p): Ditto.
3949         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
3950         argument.
3951
3952 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
3953
3954         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
3955
3956 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
3957
3958         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
3959         label for elmo-display-progress.
3960
3961 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
3962
3963         * elmo.el (elmo-folder-clear): New method.
3964         (elmo-folder-clear): Define.
3965         (elmo-folder-synchronize): Call `elmo-folder-clear'.
3966
3967         * elmo-shimbun.el (elmo-folder-check): Rewrite.
3968         (elmo-folder-clear): Define.
3969
3970         * elmo-map.el (elmo-folder-clear): Define.
3971
3972         * elmo-version.el (elmo-version): Up to 2.7.1.
3973
3974 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
3975
3976         * elmo.el (elmo-folder-synchronize): Return list of nil when no
3977         updates.
3978
3979 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
3980
3981         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
3982         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
3983
3984 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
3985
3986         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
3987
3988         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
3989         and re-written.
3990
3991         * elmo-imap4.el (elmo-folder-initialize): Use
3992         elmo-get-network-stream-type.
3993
3994         * elmo-nntp.el (elmo-folder-initialize): Ditto.
3995
3996         * elmo-pop3.el (elmo-folder-initialize): Ditto.
3997
3998 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
3999
4000         * elmo.el (elmo-message-encache): Set unread argument for
4001         elmo-message-fetch.
4002
4003         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
4004
4005         * elmo.el (elmo-net-port-info): New method.
4006
4007         * elmo-shimbun.el (elmo-net-port-info): Define.
4008         (elmo-message-encache): Ditto.
4009
4010         * elmo-net.el (elmo-net-port-info): Define as method.
4011
4012         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
4013         unplugged status when elmo-enable-disconnected-operation is t.
4014
4015         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
4016         of spool folder before checking new number.
4017
4018 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
4019
4020         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
4021         (elmo-network-setup-session): Ditto.
4022         (elmo-message-fetch-plugged): Ditto.
4023         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
4024         (elmo-network-initialize-session): Ditto.
4025         (elmo-pop3-read-response): Abolish 3rd argument.
4026         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
4027         (elmo-pop3-read-contents): Ditto.
4028         (elmo-pop3-read-body): Ditto.
4029         (elmo-folder-status): Call elmo-folder-close.
4030         (elmo-pop3-lock): Abolish.
4031         (elmo-pop3-unlock): Ditto.
4032         (elmo-pop3-locked-p): Ditto.
4033         (elmo-folder-check): Don't call elmo-pop3-locked-p.
4034
4035 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
4036
4037         * elmo-version.el (elmo-version): Up to 2.7.0.
4038
4039         * elmo-pop3.el (elmo-pop3-debug): New variable.
4040         (elmo-pop3-debug-inhibit-logging): Ditto.
4041         (elmo-pop3-debug): New function.
4042         (elmo-pop3-send-command): Call elmo-pop3-debug.
4043         (elmo-pop3-read-response): Added keep-lock optional argument;
4044         Don't unlock if keep-lock is non-nil.
4045         (elmo-pop3-process-filter): Call elmo-pop3-debug.
4046         (elmo-network-authenticate-session): Bind
4047         elmo-pop3-debug-inhibit-logging as t.
4048         (elmo-network-setup-session): Call elmo-pop3-read-response with
4049         keep-lock argument.
4050         (elmo-pop3-read-msg): Ditto.
4051         (elmo-pop3-locked-p): Call elmo-pop3-debug.
4052         (elmo-pop3-read-body): Call elmo-pop3-unlock.
4053         (elmo-network-initialize-session): Call elmo-pop3-lock.
4054         (elmo-folder-close-internal): Don't clear location-alist slot.
4055         (elmo-folder-check): Clear location-alist slot.
4056
4057 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
4058
4059         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
4060         (elmo-pop3-send-command): Call elmo-pop3-lock.
4061         (elmo-pop3-read-response): Call elmo-pop3-unlock.
4062         (elmo-pop3-read-contents): Ditto.
4063         (elmo-pop3-lock): New function.
4064         (elmo-pop3-unlock): Ditto.
4065         (elmo-pop3-locked-p): Ditto.
4066         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
4067         returns t.
4068
4069 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
4070
4071         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
4072
4073         * elmo-util.el (elmo-file-field-primitive-condition-match):
4074         New inline function (Don't fetch file content if "first" or "last").
4075         (elmo-file-field-condition-match): Use
4076         elmo-file-field-primitive-condition-match.
4077
4078         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
4079         "first".
4080
4081         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
4082         (elmo-message-fetch-plugged): Fixed.
4083
4084         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
4085
4086 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
4087
4088         * elmo.el (elmo-folder-move-messages): Bind
4089         elmo-inhibit-display-retrieval-progress as t while moving messages.
4090
4091         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
4092         New variable.
4093         (elmo-inhibit-display-retrieval-progress): Ditto.
4094
4095         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
4096         for retrieval progress;
4097         Don't display progress when total buffer size is smaller than
4098         elmo-display-retrieval-progress-threshold.
4099         (elmo-message-fetch-plugged): Don't display progress when
4100         elmo-inhibit-display-retrieval-progress is non-nil.
4101
4102         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
4103         for retrieval progress;
4104         Don't display progress when literal size is smaller than
4105         elmo-display-retrieval-progress-threshold.
4106         (elmo-imap4-message-fetch): Don't display progress when
4107         elmo-inhibit-display-retrieval-progress is non-nil.
4108
4109 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4110
4111         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
4112         (elmo-imap4-find-next-line): Display progress whille literal fetching.
4113         (elmo-imap4-message-fetch): Likewise.
4114
4115         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
4116         (elmo-shimbun-index-range-alist): Ditto.
4117         (elmo-shimbun-use-entire-index): Abolish.
4118         (shimbun-mua-use-entire-index): Ditto.
4119         (elmo-shimbun-folder): Added new slot `range'.
4120         (elmo-folder-initialize): Setup slot `range'.
4121
4122 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
4123
4124         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
4125         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
4126         (elmo-shimbun-get-headers): Use return value of
4127         `shimbun-article-expiration-days'.
4128         (elmo-folder-close-internal): Clean up last-check slot.
4129
4130         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
4131         (elmo-pop3-total-size): New variable.
4132         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
4133
4134         * elmo.el (elmo-folder-reserve-status-p): New method.
4135
4136         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
4137         (elmo-shimbun-use-entire-index): New user option.
4138         (shimbun-elmo-mua): New class.
4139         (shimbun-mua-search-id): Define.
4140         (shimbun-mua-use-entire-index): Ditto.
4141         (elmo-shimbun-folder:last-check): New slot.
4142         (elmo-shimbun-headers-cache-header-list): Abolish.
4143         (elmo-shimbun-headers-cache-set-header-list): Ditto.
4144         (elmo-shimbun-headers-cache-header-hash): Ditto.
4145         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
4146         (elmo-shimbun-headers-cache-last-check): Ditto.
4147         (elmo-shimbun-headers-cache-set-last-check): Ditto.
4148         (elmo-shimbun-headers-check-p): Rewrite.
4149         (elmo-shimbun-msgdb-to-headers): New function.
4150         (elmo-shimbun-get-headers): Rewrite.
4151         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
4152         (elmo-folder-open-internal): Get headers only if
4153         `elmo-shimbun-headers-check-p' is non-nil.
4154         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
4155         is non-nil.
4156         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
4157         (elmo-quit): Removed.
4158
4159         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
4160         function.
4161         (elmo-msgdb-overview-entity-set-extra): Ditto.
4162         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
4163
4164         * elmo-map.el (elmo-folder-status): Don't call
4165         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
4166         is non-nil.
4167
4168 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4169
4170         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
4171         of `elmo-msgdb-search-internal-primitive' when condition's car is
4172         `and' or `or'.
4173
4174 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
4175
4176         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
4177
4178 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4179
4180         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
4181         call `elmo-pipe-drain'.
4182
4183 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4184
4185         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
4186         typo. (elmo-cache-folder -> elmo-mark-folder)
4187
4188 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4189
4190         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
4191         `elmo-message-fetch'.
4192
4193 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4194
4195         * elmo-net.el (elmo-message-encache): Fixed typo.
4196         (elmo-message-fetch-unplugged): Changed call
4197         `elmo-message-fetch-internal' without argument `outbuf'.
4198
4199 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
4200
4201         * elmo.el (elmo-message-encache): Define as generic function.
4202         (elmo-message-fetch-field): New generic function.
4203         (elmo-message-fetch-with-cache-process): Cause an error when
4204         fetch strategy is 'entire but only 'section cache is available.
4205         (toplevel): Fixed nmz folder definition.
4206
4207         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
4208         (elmo-msgdb-resume-list-filename): Ditto.
4209         (elmo-queue-filename): Ditto.
4210         (elmo-enable-disconnected-operation): Changed default value to t.
4211
4212         * elmo-util.el (elmo-cache-path-section-p): New function.
4213         (elmo-file-cache-get): Use it.
4214         (elmo-dop-queue-filename): Moved from elmo-dop.el.
4215         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
4216         (elmo-dop-queue-save): Ditto.
4217
4218         * elmo-net.el (elmo-folder-status-unplugged): Call
4219         elmo-folder-status-dop.
4220         (elmo-folder-list-messages-unplugged): Implemented.
4221         (elmo-folder-delete-messages-unplugged): Define.
4222         (elmo-folder-msgdb-create): Define.
4223         (elmo-folder-msgdb-create-unplugged): Define.
4224         (elmo-folder-mark-as-read-unplugged): Ditto.
4225         (elmo-folder-unmark-read-unplugged): Ditto.
4226         (elmo-folder-mark-as-important-unplugged): Ditto.
4227         (elmo-folder-unmark-important-unplugged): Ditto.
4228         (elmo-message-encache): Ditto.
4229
4230         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
4231         (elmo-dop-queue-save): Ditto.
4232
4233         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
4234         `elmo-folder-msgdb-create'.
4235         (elmo-folder-append-buffer): Implemented unplugged operation.
4236         (elmo-folder-append-messages): Call parent method in unplugged status.
4237         (elmo-message-fetch-unplugged): Removed definition.
4238         (elmo-message-fetch-field): Implemented.
4239
4240         * elmo-dop.el (toplevel): Require 'elmo-localdir.
4241         (elmo-dop-folder): Removed variable definition.
4242         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
4243         (elmo-dop-queue-flush): Implemented.
4244         (elmo-dop-queue-merge): Removed definition (TODO).
4245         (elmo-dop-spool-folder): New function.
4246         (elmo-dop-spool-folder-append-buffer): Ditto.
4247         (elmo-dop-spool-folder-list-messages): Ditto.
4248         (elmo-dop-list-deleting-messages): Ditto.
4249         (elmo-folder-append-buffer-dop): Ditto.
4250         (elmo-folder-delete-messages-dop): Ditto.
4251         (elmo-message-encache-dop): New inline function.
4252         (elmo-create-folder-dop): Ditto.
4253         (elmo-folder-mark-as-read-dop): Ditto.
4254         (elmo-folder-unmark-read-dop): Ditto.
4255         (elmo-folder-mark-as-important-dop): Ditto.
4256         (elmo-folder-unmark-important-dop): Ditto.
4257         (elmo-folder-status-dop): Fixed.
4258         (elmo-folder-append-buffer-dop-delayed): New function.
4259         (elmo-folder-delete-messages-dop-delayed): Ditto.
4260         (elmo-dop-msgdb): Ditto.
4261
4262 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4263
4264         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
4265
4266 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4267
4268         * elmo.el (elmo-folder-move-messages): Fixed problem when
4269         `dst-folder' is 'null.
4270
4271 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4272
4273         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
4274         instead of current mark.
4275
4276         * elmo-multi.el (elmo-folder-list-importants-internal): No
4277         operation if importants is not list.
4278
4279         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
4280         Return t if importants is not list.
4281
4282         * elmo-map.el (elmo-map-folder-list-importants): Define.
4283         (elmo-folder-list-importants-internal): Check return value of
4284         `elmo-map-folder-list-importants-internal'.
4285
4286         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
4287
4288         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
4289
4290         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
4291
4292         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
4293
4294 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
4295
4296         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
4297         (Patch is provided by <kita@coe.nttdata.co.jp>).
4298
4299 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4300
4301         * elmo.el (elmo-folder-synchronize): Don't check important mark in
4302         mark folder.
4303
4304 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4305
4306         * elmo.el (elmo-message-fetch): Define.
4307         (elmo-message-fetch-with-cache-process): New generic method.
4308         (elmo-message-fetch-internal): New generic method.
4309         (elmo-folder-synchronize):
4310
4311         * elmo-archive.el (elmo-message-fetch-internal): Define.
4312         (elmo-message-fetch): Eliminated.
4313
4314         * elmo-localdir.el (elmo-message-fetch-internal): Define.
4315         (elmo-message-fetch): Eliminated.
4316
4317         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
4318         argument OUTBUF.
4319         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
4320
4321         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
4322         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
4323
4324         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
4325         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
4326
4327         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
4328
4329         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
4330
4331         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
4332
4333         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
4334         (elmo-message-fetch-unplugged): New generic method.
4335         (elmo-message-fetch-internal): Remove cache process (Renamed from
4336         `elmo-message-fetch').
4337
4338         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
4339         (elmo-message-fetch): Eliminated.
4340         (elmo-message-fetch-unplugged): Ditto.
4341
4342         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
4343
4344 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4345
4346         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
4347         of `to-be-deleted' from number-alist to number-list.
4348
4349 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4350
4351         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
4352         (elmo-folder-mark-as-important): Ditto.
4353
4354 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
4355
4356         * elmo.el (elmo-folder): Added process-duplicates slot.
4357
4358         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
4359         (elmo-folder-unmark-read): Ditto.
4360         (elmo-folder-unmark-important): Ditto.
4361         (elmo-folder-mark-as-important): Ditto.
4362
4363         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
4364         duplicated message processing.
4365
4366         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
4367
4368 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4369
4370         * elmo-util.el (elmo-list-subdirectories-1): New function.
4371         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
4372         (elmo-mapcar-list-of-list): New function.
4373
4374         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
4375         `elmo-mapcar-list-of-list' instead of `mapcar'.
4376
4377         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
4378
4379         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
4380         `elmo-have-link-count'. Return the fully qualified folder name.
4381
4382 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
4383
4384         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
4385         (elmo-shimbun-headers-cache): New internal variable.
4386         (elmo-shimbun-headers-cache-header-list): New inline function.
4387         (elmo-shimbun-headers-cache-set-header-list): Ditto.
4388         (elmo-shimbun-headers-cache-header-hash): Ditto.
4389         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
4390         (elmo-shimbun-headers-cache-last-check): Ditto.
4391         (elmo-shimbun-headers-cache-set-last-check): Ditto.
4392         (elmo-shimbun-lapse-seconds): Ditto.
4393         (elmo-shimbun-headers-cache-check-p): Ditto.
4394         (elmo-shimbun-get-headers): New function.
4395         (elmo-folder-open-internal): Call it.
4396         (elmo-quit): Define (Clear headers-cache).
4397
4398 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
4399
4400         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
4401
4402         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
4403         (elmo-msgdb-flist-save): Ditto.
4404
4405         * elmo-shimbun.el (elmo-folder-list-subfolders):
4406         Use `shimbun-groups' instead of `shimbun-groups-internal'.
4407         (elmo-folder-exists-p): Ditto.
4408
4409         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
4410         argument for `shimbun-header-insert'.
4411
4412 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
4413
4414         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
4415         at first time.
4416
4417         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
4418         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
4419
4420 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
4421
4422         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
4423         (elmo-folder-plugged-p): Define.
4424         (elmo-folder-set-plugged): Ditto.
4425         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
4426         (elmo-folder-list-messages-internal): Return t if unplugged.
4427         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
4428
4429         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
4430         when elmo-folder-list-messages-internal method of children returns t.
4431
4432         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
4433         pair is nil.
4434         (elmo-folder-open-internal): Don't update if unplugged status.
4435
4436 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
4437
4438         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
4439         new message.
4440
4441 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
4442
4443         * elmo-util.el (elmo-file-cache-save): Ignore errors.
4444
4445         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
4446         saving.
4447
4448 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
4449
4450         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
4451
4452         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
4453         (elmo-folder-open-internal): Set up headers slot.
4454         (elmo-folder-check): Call elmo-folder-close-internal and
4455         elmo-folder-open-internal.
4456         (elmo-folder-close-internal): Clean up headers slot.
4457
4458 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4459
4460         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
4461         exactly folder list.
4462         (elmo-folder-append-messages): Fixed append archive with prefix.
4463
4464         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
4465         make temp files with start-number.
4466
4467         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
4468
4469 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4470
4471         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
4472         argument `visible-only'.
4473         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
4474         instead of `if'.
4475
4476         * elmo-pop3.el (elmo-folder-open-internal): Check
4477         `elmo-inhibit-number-mapping' is non-nil.
4478
4479         * elmo-pipe.el (elmo-folder-status): Fixed.
4480
4481 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
4482
4483         * elmo.el (elmo-dop-queue-flush): Added autload setting.
4484
4485         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
4486         (elmo-folder-open-internal): Setup `header-hash' slot.
4487         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
4488         information.
4489         (elmo-map-message-fetch): Ditto.
4490
4491 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
4492
4493         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4494         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4495         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4496         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
4497
4498         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
4499
4500 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
4501
4502         * sb-airs.el: Added footer.
4503
4504         * shimbun.el (shimbun-article): Define as luna-method.
4505
4506         * sb-tcup.el: New file.
4507
4508         * sb-airs.el (toplevel): Require 'sb-mhonarc.
4509         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
4510
4511 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4512
4513         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
4514         (shimbun-get-headers): Ditto.
4515
4516         * elmo.el: Moved obsolete variable definitions from
4517         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
4518
4519         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
4520         groups.
4521
4522         * shimbun.el: New file.
4523
4524         * elmo-shimbun.el: New file.
4525
4526         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4527         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4528         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4529         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
4530
4531 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
4532
4533         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
4534         hierarchy is t.
4535
4536 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
4537
4538         * elmo.el (elmo-folder-msgdb): Define as macro.
4539         (elmo-folder-open): Added argument `load-msgdb'.
4540         (elmo-generic-folder-open): Ditto.
4541         (elmo-folder-encache): New function.
4542
4543         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
4544
4545         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
4546
4547         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
4548         Eliminated argument FOLDER and added argument MSGDB.
4549         (elmo-dop-queue-load): Moved from elmo-dop.el.
4550         (elmo-dop-queue-save): Ditto.
4551
4552         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
4553
4554         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
4555
4556         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
4557         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
4558         (elmo-filter-folder-list-importants-internal): Ditto.
4559
4560         * elmo-map.el (elmo-folder-pack-number): Ditto.
4561
4562         * elmo-mime.el (elmo-mime-message-display): Ditto.
4563
4564         * elmo.el (elmo-generic-folder-commit): Ditto.
4565         (elmo-folder-list-unreads): Ditto.
4566         (elmo-folder-list-importants): Ditto.
4567         (elmo-generic-folder-commit): Ditto.
4568         (elmo-message-set-mark): Ditto.
4569         (elmo-generic-folder-append-msgdb): Ditto.
4570         (elmo-folder-synchronize): Ditto.
4571         (elmo-folder-messages): Ditto.
4572         (elmo-init): Call elmo-dop-queue-load.
4573         (elmo-folder-list-messages): Ditto.
4574
4575         * elmo-nntp.el (elmo-folder-update-number): Ditto.
4576         (elmo-nntp-folder-process-crosspost): Ditto.
4577         (elmo-folder-list-unreads-internal): Ditto.
4578
4579         * elmo-dop.el: Removed old functions.
4580
4581 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
4582
4583         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
4584         `folder' to `msgdb'.
4585
4586 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
4587
4588         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
4589         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
4590
4591         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
4592         case-fold-search.
4593
4594 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
4595
4596         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
4597         defined.
4598
4599         * mmimap.el (toplevel): Require 'mime-parse and 'static.
4600         (mmimap-parse-parameters-from-list): Define as alias for
4601         `mime-decode-parameter-plist' if it is defined as function.
4602         (mmimap-make-mime-entity): Added argument `number'.
4603         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
4604         as 0.
4605         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
4606
4607         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
4608
4609         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
4610
4611         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
4612
4613 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
4614
4615         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
4616
4617         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
4618         when elmo-imap4-default-authenticate-type is nil.
4619         (elmo-folder-list-subfolders): Ditto
4620         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
4621         (elmo-imap4-fetch-callback-1-subr): Renamed from
4622         `elmo-imap4-fetch-callback-1' and define as inline function.
4623         (elmo-imap4-fetch-callback-1):
4624         Renamed from `elmo-imap4-fetch-callback'.
4625         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
4626
4627         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
4628         msgdb path (To keep compatibility with main trunk).
4629
4630         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
4631
4632         * elmo-util.el (elmo-make-file-cache): Moved position of
4633         some macros.
4634
4635         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
4636         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
4637         instead of `elmo-pop3-inhibit-uidl'.
4638         (elmo-folder-exists-p): Ditto.
4639         (elmo-pop3-folder-list-messages): Ditto.
4640
4641         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
4642         instead of `elmo-pop3-inhibit-uidl'.
4643         (elmo-folder-status): Ditto.
4644
4645         * elmo-dop.el (elmo-dop-folder): New variable.
4646         (elmo-dop-lock-message): Eliminated.
4647         (elmo-dop-unlock-message): Ditto.
4648         (elmo-dop-lock-list-load): Ditto.
4649         (elmo-dop-lock-list-save): Ditto.
4650         (elmo-dop-delete-folder): Ditto.
4651         (elmo-dop-rename-folder): Ditto.
4652
4653         * elmo.el: Removed incomplete commentary.
4654
4655 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4656
4657         * elmo.el (toplevel): Require 'elmo-version first;
4658         for little `recursive-load-depth' settings.
4659         Fix "ends here" comment.
4660
4661 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
4662
4663         * elmo-util.el (toplevel): Require 'poem;
4664         Some functions are moved from elmo-cache.el.
4665
4666         * elmo-net.el (toplevel): Require 'elmo-cache.
4667
4668         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
4669
4670         * elmo.el (toplevel): Ditto.
4671
4672         * elmo-cache.el: Rewrite with luna;
4673         Some functions are moved to elmo-util.el.
4674
4675         * elmo-internal.el (elmo-internal-folder-list): New variable.
4676         (elmo-internal-folder-initialize): Rewrite.
4677         (elmo-folder-list-subfolders): Ditto.
4678
4679         * elmo-cache.el (elmo-cache-search-all): Eliminated.
4680         (elmo-cache-collect-sub-directories): Ditto.
4681
4682 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
4683
4684         * elmo-version.el (elmo-version): Up to 2.5.8.
4685
4686         * elmo.el (elmo-folder-list-messages-mark-match): New function.
4687
4688         * elmo-util.el (elmo-list-insert): New function.
4689
4690 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
4691
4692         * elmo.el (elmo-init): New function.
4693         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
4694
4695         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
4696         (Renamed from `elmo-localdir-header-chop-length').
4697
4698         * elmo-pop3.el (elmo-pop3-use-cache,
4699         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
4700
4701         * elmo-nntp.el (elmo-message-fetch): Define.
4702         (elmo-message-fetch-unplugged): Ditto.
4703         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
4704         (elmo-nntp-use-cache): Ditto.
4705         (elmo-nntp-max-number-precedes-list-active): Ditto.
4706
4707         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
4708
4709         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
4710         `elmo-msgdb-insert-file-header'.
4711         Use `elmo-msgdb-file-header-chop-length'.
4712
4713         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
4714         `elmo-vars.el'.
4715
4716         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
4717         (elmo-cache-msgdb-create-overview-entity-from-file): Use
4718         `elmo-msgdb-insert-file-header'.
4719
4720         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
4721         Use new variable;
4722         Define obsolete variables with `elmo-define-obsolete-variable',
4723
4724         * elmo-util.el (elmo-warning-buffer-name): New constant.
4725         (elmo-warning): New function.
4726         (elmo-obsolete-variable-alist): New variable.
4727         (elmo-obsolete-variable-show-warnings): New variable.
4728         (elmo-define-obsolete-variable): New function.
4729         (elmo-resque-obsolete-variable): Ditto.
4730         (elmo-resque-obsolete-variables): Ditto.
4731
4732 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
4733
4734         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
4735         Eliminated.
4736
4737         * elmo-pop3.el, elmo-nntp.el: Use custom.
4738
4739 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
4740
4741         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
4742         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
4743
4744 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
4745
4746         * Luna-fy Kenichi OKADA's following changes.
4747         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
4748         `nohide'.
4749         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
4750
4751 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
4752
4753         * elmo-util.el (elmo-display-progress): Prefer
4754         `progress-feedback-with-label' to `lprogress-display'.
4755
4756 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
4757
4758         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
4759
4760 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
4761
4762         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
4763         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
4764         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
4765         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
4766         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
4767         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
4768         * elmo-archive.el (elmo-archive-list-folder): Ditto.
4769         * elmo-filter.el (elmo-filter-list-folder): Ditto.
4770         * elmo-internal.el (elmo-internal-list-folder): Ditto.
4771         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
4772         * elmo-multi.el (elmo-multi-list-folder): Ditto.
4773         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
4774         * elmo-dop.el (elmo-dop-list-folder): Ditto.
4775
4776 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
4777
4778         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
4779         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
4780
4781 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
4782
4783         * elmo.el (elmo-folder-process-crosspost): New generic method.
4784         (elmo-folder-writable-p): Ditto.
4785         (elmo-folder-message-appendable-p): Eliminated.
4786         (elmo-generic-folder-append-msgdb): Rewrite.
4787         (elmo-newsgroups-hashtb): New internal variable.
4788         (elmo-crosspost-message-set): Eliminated.
4789         (elmo-crosspost-message-delete): Ditto.
4790         (elmo-setup-subscribed-newsgroups): New function.
4791         (elmo-crosspost-message-alist-modified): New internal variable.
4792         (elmo-crosspost-message-alist-load): New function (Renamed from
4793         `wl-crosspost-alist-load').
4794         (elmo-crosspost-message-alist-save): Ditto (Renamed from
4795         `wl-crosspost-alist-save').
4796
4797         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
4798
4799         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
4800         `unreads'.
4801         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
4802         elmo-newsgroups-hashtb).
4803         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
4804         `elmo-nntp-folder-update-crosspost-message-alist'.
4805         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
4806         `elmo-nntp-groups-hashtb'.
4807         (elmo-nntp-make-groups-hashtb): Eliminated.
4808         (elmo-nntp-parse-newsgroups): New function (Renamed from
4809         `wl-parse-newsgroups').
4810         (elmo-folder-creatable-p, elmo-folder-writable-p,
4811         elmo-folder-close-internal, elmo-folder-mark-as-read,
4812         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
4813         Define.
4814         (elmo-nntp-folder-update-crosspost-message-alist): New function.
4815
4816         * elmo-net.el (elmo-message-fetch): Check buffer size.
4817
4818         * elmo-multi.el (elmo-multi-split-number-alist): New function.
4819
4820         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
4821
4822         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
4823         before `close' command.
4824
4825         * elmo.el (elmo-folder-list-unreads-internal): Added argument
4826         `mark-alist' (All other related portions are changed).
4827
4828 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
4829
4830         * elmo-util.el (elmo-create-hash-size): Eliminated.
4831         (elmo-make-hash) Make a hash with `one less than a power of two'
4832         length.
4833
4834         * elmo-vars.el (elmo-hash-minimum-size): New variable.
4835         (elmo-hash-maximum-size): Changed value.
4836
4837 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
4838
4839         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
4840         (elmo-mime-message-display-as-is): Ditto.
4841
4842 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
4843
4844         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
4845         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
4846
4847 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
4848
4849         * elmo-mark.el: New file.
4850
4851         * elmo-internal.el: Rewrite (Almost empty).
4852
4853 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
4854
4855         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
4856         (mime-imap-entity-header-string): Ditto.
4857         (mmimap-entity-section): Rewrite.
4858
4859 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4860
4861         * elmo-nmz.el: New file.
4862
4863         * elmo-pipe.el: Rewrite with luna.
4864
4865 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
4866
4867         * elmo-archive.el: Rewrite with luna.
4868
4869         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
4870         (elmo-folder-list-importants-internal): Ditto.
4871
4872 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
4873
4874         * elmo-archive.el (elmo-archive-version): Abolish.
4875         (toplevel) Removed `boso' comment.
4876
4877 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
4878
4879         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
4880         elmo-msgdb-add-msgs-to-seen-list-subr;
4881         Changed argument seen-marks to unread-marks.
4882
4883         * elmo-nntp.el: Rewrite with luna.
4884
4885 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
4886
4887         * elmo-filter.el: Rewrite with luna.
4888
4889 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
4890
4891         * elmo-pop3.el: Rewrite with luna.
4892
4893 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
4894
4895         * elmo-multi.el: Rewrite with luna.
4896
4897         * elmo-vars.el (elmo-use-killed-list): Abolish.
4898         All other related portions are changed.
4899         (elmo-filename-replace-string-alist): Renamed from
4900         elmo-msgid-replace-string-alist.
4901
4902 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
4903
4904         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
4905
4906         * elmo-map.el: New file.
4907         * elmo-maildir.el: Rewrite with luna.
4908
4909 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
4910
4911         * elmo.el: Changed meaning of `elmo-folder-commit'.
4912         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
4913
4914 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
4915
4916         * elmo.el (elmo-folder-append-buffer): New function.
4917         (Renamed from `elmo-append-msg')
4918
4919 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
4920
4921         * elmo-mime.el: New file.
4922
4923 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
4924
4925         * elmo-cache.el: Rewrite.
4926
4927 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
4928
4929         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
4930
4931 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
4932
4933         * elmo-vars.el (elmo): New group.
4934         (elmo-strict-diff-folder-regexp): New variable.
4935
4936         * elmo-util.el (elmo-call-func): Abolish.
4937         (elmo-folder-get-type): Ditto.
4938         (elmo-*-get-spec): Ditto.
4939         (elmo-*-spec-*): Ditto.
4940         (elmo-imap4-identical-name-space-p): Ditto.
4941         (elmo-folder-identical-system-p): Ditto.
4942         (elmo-folder-direct-copy-alist): Ditto.
4943         (elmo-folder-direct-copy-p): Ditto.
4944
4945         * elmo-pipe.el (elmo-pipe-folder): New luna class.
4946         (elmo-folder-initialize): Define.
4947         (elmo-folder-get-primitive-list): Ditto.
4948
4949         * elmo-nntp.el (elmo-nntp-folder): New luna class.
4950         (elmo-folder-initialize): Define.
4951         Renamed `elmo-network-session-host-internal' to
4952         `elmo-network-session-server-internal'.
4953
4954         * elmo-multi.el (elmo-multi-folder): New luna class.
4955         (elmo-folder-initialize): Define.
4956         (elmo-folder-get-primitive-list): Ditto.
4957         (elmo-folder-contains-type): Ditto.
4958         (elmo-message-use-cache-p): Ditto.
4959
4960         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
4961         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
4962
4963         * elmo-maildir.el (elmo-maildir-folder): New luna class.
4964         (elmo-folder-initialize): Define.
4965
4966         * elmo-filter.el (elmo-filter-folder): New luna class.
4967         (elmo-folder-initialize): Define.
4968         (elmo-folder-get-primitive-list): Ditto.
4969         (elmo-folder-contains-type): Ditto.
4970
4971 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
4972
4973         * elmo-imap4.el: Rewrite with luna.
4974
4975         * mmimap.el: New file.
4976
4977         * mmelmo.el, mmelmo-imap4.el: Removed.
4978
4979         * elmo-net.el: Ditto.
4980
4981         * elmo-pop3.el (elmo-pop3-folder): New luna class.
4982         (elmo-folder-initialize): Define.
4983
4984         * elmo-archive.el (elmo-archive-folder): New luna class.
4985         (elmo-folder-initialize): Define.
4986
4987         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
4988         `elmo-folder-msgdb-path'.
4989         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
4990         `elmo-make-folder'.
4991
4992 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
4993
4994         * elmo.el: New file.
4995
4996         * elmo2.el: Renamed to elmo.el.
4997
4998 \f
4999 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
5000
5001         * elmo-cache.el (elmo-cache-expire-by-size): Count
5002         a disk usage for a cache file entry in KB even when
5003         its kind is a directory.
5004
5005 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
5006
5007         * elmo-version.el (elmo-version): Up to 2.5.7.
5008
5009 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5010
5011         * elmo-version.el (elmo-version): Up to 2.5.6.
5012
5013 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
5014
5015         * elmo-version.el (elmo-version): Up to 2.5.5.
5016
5017 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
5018
5019         * elmo-imap4.el (elmo-network-authenticate-session):
5020         Fixed a logic for response checking.
5021
5022 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
5023
5024         * elmo-net.el: Add autoload settings for `starttls-negotiate',
5025         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
5026         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
5027         `sasl-mechanisms'.
5028
5029         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
5030         for `starttls-open-stream' and `starttls-negotiate'.
5031
5032         * elmo-nntp.el: Remove autoload settings for
5033         `starttls-open-stream' and `starttls-negotiate'.
5034
5035         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
5036         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
5037         `luna-define-class' with `eval-and-compile'.
5038
5039 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
5040
5041         * elmo-util.el (elmo-read-search-condition-internal):
5042         Require an element of table for searching field.
5043
5044 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5045
5046         * elmo-version.el (elmo-version): Up to 2.5.4.
5047
5048 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
5049
5050         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
5051
5052 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
5053
5054         * elmo-nntp.el (elmo-network-initialize-session): omitted.
5055
5056 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
5057
5058         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
5059         before greeting.
5060
5061 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5062
5063         * elmo-imap4.el (elmo-imap4-delete-folder):
5064         Send "close" before "delete" (Use commented out line).
5065         (elmo-imap4-rename-folder): Ditto.
5066
5067         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
5068         folder string itself.
5069         (elmo-dop-list-deleted): New function.
5070         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
5071         killed.
5072
5073         * elmo-util.el (elmo-string-rassoc-all): New function.
5074
5075 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
5076
5077         * elmo-version.el (elmo-version): Up to 2.5.3.
5078
5079         * elmo-net.el (elmo-network-get-session): Changed logic for
5080         checking process status.
5081
5082         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
5083         process is nil;
5084         Changed logic for checking process status.
5085
5086 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
5087
5088         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
5089         before greeting.
5090         (elmo-network-setup-session): Set UIDL hash size according to
5091         the length of list response.
5092         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
5093         according to the length of list response;
5094         Return the length of list response.
5095         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
5096
5097 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
5098
5099         * elmo-imap4.el (toplevel): Require 'ssl.
5100         Add autoload 'starttls.
5101         * elmo-pop3.el (toplevel): Ditto.
5102         * elmo-nntp.el (toplevel): Ditto.
5103
5104 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5105
5106         * elmo-imap4.el (toplevel): defun at compile time.
5107         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
5108         sasl-next-step, sasl-step-data, sasl-step-set-data.
5109         * elmo-pop3.el (toplevel): Ditto.
5110
5111 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5112
5113         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
5114
5115 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5116
5117         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
5118         if error.
5119         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
5120         and `elmo-pop-auth-apop'.
5121
5122 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5123
5124         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
5125
5126 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5127
5128         * elmo-pop3.el (elmo-network-authenticate-session): Split
5129         encoded response value.
5130
5131 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5132
5133         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
5134         `elmo-pop3-force-login'.
5135         Redefine `sasl-mechanisms'.
5136         * elmo-vars.el (elmo-pop3-force-login): Ditto.
5137
5138 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5139
5140         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
5141         Delete `elmo-imap4-authenticator-alist'.
5142         (elmo-imap4-auth-cram-md5): Delete.
5143         (elmo-imap4-auth-digest-md5): Delete.
5144
5145 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5146
5147         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
5148         (elmo-pop3-auth-scram-md5): Ditto.
5149         (elmo-pop3-auth-cram-md5): Ditto.
5150
5151 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5152
5153         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
5154         Delete `elmo-pop3-authenticator-alist'.
5155
5156 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5157
5158         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
5159         new SASL API.
5160         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
5161
5162 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
5163
5164         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
5165
5166 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
5167
5168         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
5169         Fixed problem when `elmo-pop3-use-uidl' is nil.
5170         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
5171
5172 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5173
5174         * elmo-version.el (elmo-version): Up to 2.5.2.
5175
5176 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
5177
5178         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
5179         New function.
5180         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
5181         (elmo-pop3-msgdb-create-as-numlist): Use it.
5182
5183         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
5184         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
5185
5186         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
5187         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
5188
5189 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
5190
5191         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
5192         when elmo-mark-as-read is called with second argument nil.
5193
5194 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
5195
5196         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
5197         Moved to elmo-util.el.
5198
5199         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
5200         Moved from elmo-pipe.el
5201
5202         * elmo-archive.el (elmo-archive-call-process): Enclose with
5203         static-if.
5204
5205         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
5206         "RFC822" (because RFC822.PEEK is obsolete).
5207         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
5208
5209 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
5210
5211         * elmo-archive.el (elmo-archive-call-process): Don't check for
5212         the exit status when Nemacs is running.
5213
5214 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
5215
5216         * elmo-net.el (elmo-network-session-password-key): Don't set default to
5217         'plain.
5218
5219         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
5220         (elmo-pop3-get-spec): Set default of auth to 'user.
5221
5222         * elmo-imap4.el (elmo-imap4-session-check):
5223         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5224         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
5225         (elmo-imap4-auth-login): New function; Revival.
5226         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
5227         `elmo-imap4-auth-login'.
5228
5229 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5230
5231         * elmo2.el (toplevel): Move `product-provide' declare.
5232         * mmelmo.el (toplevel): Ditto.
5233
5234 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5235
5236         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
5237
5238 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
5239
5240         * elmo-util.el (elmo-folder-get-store-type): New function.
5241         (elmo-folder-direct-copy-p): Use it.
5242
5243 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5244
5245         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
5246         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
5247         and result of `elmo-imap4-use-flag-p'.
5248         (elmo-imap4-fetch-callback-1): Set mark according to
5249         the result of `elmo-imap4-use-flag-p'.
5250
5251 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
5252
5253         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
5254         (elmo-generic-list-folder-unread): Ditto.
5255         (elmo-folder-get-info): Ditto.
5256         (elmo-folder-set-info-max-by-numdb): Ditto.
5257         (elmo-folder-get-info-max): Ditto.
5258         (elmo-folder-get-info-length): Ditto.
5259         (elmo-folder-get-info-unread): Ditto.
5260         (elmo-folder-info-make-hashtb): Ditto.
5261
5262         * elmo2.el: Removed above functions.
5263
5264 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
5265
5266         * elmo-imap4.el (toplevel): Require 'ssl.
5267         Add autoload 'starttls.
5268         * elmo-pop3.el (toplevel): Ditto.
5269         * elmo-nntp.el (toplevel): Ditto.
5270
5271 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5272
5273         * elmo-imap4.el (toplevel): defun at compile time.
5274         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
5275         sasl-next-step, sasl-step-data, sasl-step-set-data.
5276         * elmo-pop3.el (toplevel): Ditto.
5277
5278 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5279
5280         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
5281
5282 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5283
5284         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
5285         if error.
5286         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
5287         and `elmo-pop-auth-apop'.
5288
5289 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5290
5291         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
5292
5293 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5294
5295         * elmo-pop3.el (elmo-network-authenticate-session): Split
5296         encoded response value.
5297
5298 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5299
5300         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
5301         `elmo-pop3-force-login'.
5302         Redefine `sasl-mechanisms'.
5303         * elmo-vars.el (elmo-pop3-force-login): Ditto.
5304
5305 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5306
5307         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
5308         Delete `elmo-imap4-authenticator-alist'.
5309         (elmo-imap4-auth-cram-md5): Delete.
5310         (elmo-imap4-auth-digest-md5): Delete.
5311
5312 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
5313
5314         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
5315         (elmo-pop3-auth-scram-md5): Ditto.
5316         (elmo-pop3-auth-cram-md5): Ditto.
5317
5318 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5319
5320         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
5321         Delete `elmo-pop3-authenticator-alist'.
5322
5323 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
5324
5325         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
5326         new SASL API.
5327         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
5328
5329 \f
5330 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
5331
5332         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
5333
5334 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
5335
5336         * elmo-nntp.el (elmo-nntp-get-folders-info):
5337         Fixed problem when '\' character is contained in user-id.
5338         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
5339
5340 \f
5341 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5342
5343         * elmo-imap4.el (elmo-imap4-delete-folder):
5344         Send "close" before "delete" (Use commented out line).
5345         (elmo-imap4-rename-folder): Ditto.
5346
5347         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
5348         folder string itself.
5349         (elmo-dop-list-deleted): New function.
5350         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
5351         killed.
5352
5353         * elmo-util.el (elmo-string-rassoc-all): New function.
5354
5355         * elmo-version.el (elmo-version): Up to 2.5.1.
5356
5357 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
5358
5359         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
5360
5361         * elmo-internal.el (elmo-internal-search): Fix last change.
5362
5363 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5364
5365         * elmo-internal.el (elmo-internal-search): Rewrite.
5366         (Fixed problem which is pointed out by Akihiro MOTOKI
5367         <motoki@da.jp.nec.com>)
5368
5369         * elmo-version.el (elmo-version): Up to 2.5.0.
5370
5371 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
5372
5373         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
5374
5375 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
5376
5377         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
5378         non-nil, make hierarchy.
5379
5380 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
5381
5382         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
5383         `elmo-pop3-use-uidl' must be bound to nil.
5384         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
5385
5386 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
5387
5388         * elmo-util.el (elmo-copy-file): Don't cause an error after
5389         `add-name-to-file' failed.
5390
5391         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
5392         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
5393
5394 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5395
5396         * elmo-version.el (elmo-version): Up to 2.3.93.
5397
5398 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5399
5400         * elmo-util.el (elmo-flatten): New function.
5401
5402 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5403
5404         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
5405         sync Author header.
5406         * elmo-cache.el (toplevel): Ditto.
5407         * elmo-database.el (toplevel): Ditto.
5408         * elmo-date.el (toplevel): Ditto.
5409         * elmo-dop.el (toplevel): Ditto.
5410         * elmo-filter.el (toplevel): Ditto.
5411         * elmo-imap4.el (toplevel): Ditto.
5412         * elmo-internal.el (toplevel): Ditto.
5413         * elmo-localdir.el (toplevel): Ditto.
5414         * elmo-localnews.el (toplevel): Ditto.
5415         * elmo-maildir.el (toplevel): Ditto.
5416         * elmo-msgdb.el (toplevel): Ditto.
5417         * elmo-multi.el (toplevel): Ditto.
5418         * elmo-net.el (toplevel): Ditto.
5419         * elmo-nntp.el (toplevel): Ditto.
5420         * elmo-pipe.el (toplevel): Ditto.
5421         * elmo-pop3.el (toplevel): Ditto.
5422         * elmo-util.el (toplevel): Ditto.
5423         * elmo-vars.el (toplevel): Ditto.
5424         * elmo2.el (toplevel): Ditto.
5425         * mmelmo-imap4.el (toplevel): Ditto.
5426         * mmelmo.el (toplevel): Ditto.
5427
5428         * elmo-version.el (elmo-version): Move to top.
5429
5430         * elmo-cache.el (toplevel): Fixed multiple Author header format.
5431         * elmo-imap4.el (toplevel): Ditto.
5432         * elmo-localdir.el (toplevel): Ditto.
5433         * elmo-msgdb.el (toplevel): Ditto.
5434         * elmo-nntp.el (toplevel): Ditto.
5435         * elmo-pop3.el (toplevel): Ditto.
5436         * elmo-version.el (toplevel): Ditto.
5437
5438         * elmo-localnews.el (toplevel): Added Keyword header.
5439
5440 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
5441
5442         * elmo-version.el (product-version-as-string): Defined using
5443         `defun-maybe'.
5444         (toplevel): Use it.
5445
5446         * elmo-localdir.el (toplevel): Updated copyright notice.
5447         * elmo-version.el (toplevel): Ditto.
5448         * elmo-msgdb.el (toplevel): Ditto.
5449         * elmo-imap4.el (toplevel): Ditto.
5450         * elmo-nntp.el (toplevel): Ditto.
5451         * elmo-pop3.el (toplevel): Ditto.
5452
5453 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
5454
5455         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
5456         messages.
5457
5458         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
5459         parameter value (It sometimes contains raw kanji).
5460
5461 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
5462
5463         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
5464         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
5465
5466 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
5467
5468         * elmo-imap4.el (elmo-network-initialize-session): Fix.
5469
5470 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
5471
5472         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
5473         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
5474
5475 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
5476
5477         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
5478         value if selecting folder succceeded.
5479         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
5480
5481 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5482
5483         * elmo-util.el (elmo-make-directory): Fixed permission lateral
5484         representation.
5485
5486         * elmo-util.el (elmo-string-matched-member): New function.
5487
5488 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
5489
5490         * elmo-util.el (elmo-unintern): New macro.
5491         (elmo-number-set-member): Fixed docstring.
5492
5493         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
5494         tag token.
5495
5496 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
5497
5498         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
5499         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
5500
5501 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
5502
5503         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
5504         `no-error'.
5505         Added docstring.
5506         Return non-nil if selecting folder succeeded.
5507         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
5508
5509 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
5510
5511         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
5512         `file-name-completion' returns t.
5513         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
5514         (elmo-maildir-set-mark): Put `info' part to the files in the cur
5515         directory if it does not exist.
5516         (elmo-maildir-update-current): Use `while' instead of `mapcar'
5517         for iteration.
5518
5519 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
5520
5521         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
5522         enclosure (It's harmful in unplugged status).
5523
5524         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
5525
5526         * mmelmo-1.el: Removed.
5527
5528         * mmelmo-2.el: Ditto.
5529
5530         * mmelmo-imap4-1.el: Ditto.
5531
5532         * mmelmo-imap4-2.el: Ditto.
5533
5534         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
5535
5536         * mmelmo.el: Merged mmelmo-2.el.
5537
5538         * elmo-version.el (elmo-version): Up to 2.3.92.
5539
5540 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5541
5542         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
5543         elmo-update-number): Remove last period in "...done." message.
5544         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
5545         Ditto.
5546         * elmo-cache.el (elmo-cache-expire-by-size,
5547         elmo-cache-get-sorted-cache-file-list,
5548         elmo-cache-msgdb-create-as-numlist): Ditto.
5549         * elmo-dop.el (elmo-dop-save-pending-messages,
5550         (elmo-dop-flush-pending-append-operations): Ditto.
5551         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
5552         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
5553         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
5554         (elmo-localdir-pack-number): Ditto.
5555         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
5556         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
5557         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
5558         mime-write-entity-content): Ditto.
5559         * pldap.el (ldap-search-basic): Ditto.
5560
5561 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
5562
5563         * elmo-version.el (elmo-version): Up to 2.3.91.
5564
5565         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
5566         Only when filter is 'last'.
5567
5568         * elmo-util.el (elmo-condition-atom-regexp): New constant.
5569         (elmo-condition-parse-search-value): Use it.
5570         (elmo-read-search-condition-internal): Quote value only when
5571         it is not an atom.
5572
5573 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
5574
5575         * elmo2.el (elmo-generic-folder-diff): Fix.
5576
5577 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
5578
5579         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
5580         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
5581         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
5582         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5583         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
5584         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
5585
5586 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
5587
5588         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
5589         extra-fields.
5590
5591 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
5592
5593         * elmo-version.el (elmo-version): Up to 2.3.90.
5594
5595         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
5596         (elmo-imap4-list-folder-important): Ditto.
5597
5598 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
5599
5600         * elmo-nntp.el (elmo-network-initialize-session): Fix.
5601
5602 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
5603
5604         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
5605
5606 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
5607
5608         * elmo-nntp.el (elmo-network-initialize-session):
5609         Add starttls negotiation.
5610
5611 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
5612
5613         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
5614         response.
5615         (elmo-network-setup-session): Define.
5616         Call `elmo-nntp-send-mode-reader' when session opened.
5617
5618 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
5619
5620         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
5621
5622 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
5623
5624         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
5625         an invalid SPACE character ahead of `SEARCH' command.  Move
5626         a valid SPACE character following `SEARCH' from conditional
5627         `format' arguments to control-strings.
5628
5629 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
5630
5631         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
5632         was succeeded.
5633
5634         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
5635
5636 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
5637
5638         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
5639         `w32-get-true-file-link-count' as t.
5640
5641         * elmo-imap4.el (elmo-imap4-read): Abolished.
5642         (Renamed to `elmo-read' and moved to elmo-util.el)
5643         All other related portions are changed.
5644
5645         * elmo-util.el (elmo-read): New function.
5646         (elmo-condition-parse-search-value): Use it.
5647
5648 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5649
5650         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
5651
5652         * elmo-nntp.el (elmo-nntp-session): Define.
5653         (elmo-nntp-setting): Abolished.
5654         All other related portions are changed.
5655         (elmo-nntp-get-server-command): Changed argument.
5656         (elmo-nntp-set-server-command): Ditto.
5657         (elmo-nntp-xover-p): Ditto.
5658         (elmo-nntp-set-xover): Ditto.
5659         (elmo-nntp-listgroup-p): Ditto.
5660         (elmo-nntp-set-listgroup): Ditto.
5661         (elmo-nntp-list-active-p): Ditto.
5662         (elmo-nntp-set-list-active): Ditto.
5663         (elmo-nntp-xhdr-p): Ditto.
5664         (elmo-nntp-set-xhdr): Ditto.
5665         (elmo-nntp-flush-connection): Abolished.
5666         (elmo-nntp-get-connection): Abolished.
5667         (elmo-nntp-get-session): New function.
5668         (elmo-network-initialize-session): Defined.
5669         (elmo-network-authenticate-session): Ditto.
5670         (elmo-nntp-send-mode-reader): Changed argument.
5671         (elmo-nntp-send-command): Changed argument.
5672         All other related portions are changed.
5673         (elmo-nntp-read-response): Ditto.
5674         (elmo-nntp-read-raw-response): Ditto.
5675         (elmo-nntp-read-contents): Ditto.
5676         (elmo-nntp-read-body): Ditto.
5677         (elmo-nntp-goto-folder): Abolished.
5678         (elmo-nntp-select-group): New function.
5679         All other related portions are changed.
5680         (This function substitutes `elmo-nntp-goto-folder')
5681         (elmo-nntp-msgdb-create-by-header): Rewrite.
5682         (elmo-nntp-get-overview): Eliminated.
5683         (elmo-nntp-get-message): Ditto.
5684         (elmo-nntp-open-connection) Abolished.
5685         (elmo-nntp-read-msg): Rewrite.
5686         (elmo-nntp-post): Ditto.
5687         (elmo-nntp-send-data): Abolished.
5688         (elmo-nntp-send-buffer): New function.
5689         (elmo-nntp-send-data-line): Define as inline function.
5690         (elmo-nntp-get-folders-info-prepare): Use session as key.
5691         (elmo-nntp-groups-read-response): Changed argument.
5692         (elmo-nntp-retrieve-headers): Ditto.
5693         (elmo-nntp-msgdb-create-message): Ditto.
5694
5695         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
5696         when searching by 'since' or 'before'.
5697
5698 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5699
5700         * elmo-version.el (toplevel): Use product-version-as-string for set
5701         verstion-string, if defined.
5702
5703 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
5704
5705         * elmo-util.el: Doc fixes.
5706
5707 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5708
5709         * elmo-archive.el (toplevel): Use product-provide.
5710         * elmo-cache.el (toplevel): Ditto.
5711         * elmo-database.el (toplevel): Ditto.
5712         * elmo-date.el (toplevel): Ditto.
5713         * elmo-dop.el (toplevel): Ditto.
5714         * elmo-filter.el (toplevel): Ditto.
5715         * elmo-imap4.el (toplevel): Ditto.
5716         * elmo-internal.el (toplevel): Ditto.
5717         * elmo-localdir.el (toplevel): Ditto.
5718         * elmo-localnews.el (toplevel): Ditto.
5719         * elmo-maildir.el (toplevel): Ditto.
5720         * elmo-msgdb.el (toplevel): Ditto.
5721         * elmo-multi.el (toplevel): Ditto.
5722         * elmo-net.el (toplevel): Ditto.
5723         * elmo-nntp.el (toplevel): Ditto.
5724         * elmo-pipe.el (toplevel): Ditto.
5725         * elmo-pop3.el (toplevel): Ditto.
5726         * elmo-util.el (toplevel): Ditto.
5727         * elmo-vars.el (toplevel): Ditto.
5728         * elmo2.el (toplevel): Ditto.
5729         * mmelmo-1.el (toplevel): Ditto.
5730         * mmelmo-2.el (toplevel): Ditto.
5731         * mmelmo-imap4-1.el (toplevel): Ditto.
5732         * mmelmo-imap4-2.el (toplevel): Ditto.
5733         * mmelmo-imap4.el (toplevel): Ditto.
5734         * mmelmo.el (toplevel): Ditto.
5735
5736 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
5737
5738         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
5739         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
5740
5741 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
5742
5743         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
5744         before splitting.
5745         (elmo-multi-split-number-alist): Ditto.
5746
5747 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5748
5749         * elmo-version.el: New file.  Use product.el.
5750         * elmo2.el: Add (require 'elmo-version).
5751         * elmo-vars.el (elmo-appname, elmo-version): Move to
5752         elmo-version.el
5753
5754 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
5755
5756         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
5757         `elmo-msgdb-expand-path'.
5758         (elmo-msgdb-load): Ditto.
5759         Abolished 2nd argument. If 1st argument is not string, treat as spec.
5760         (elmo-generic-list-folder-unread): Rewrite.
5761         (elmo-generic-list-folder-important): Changed argument.
5762         (elmo-list-folder-unread): Ditto.
5763         (elmo-list-folder-important): Ditto.
5764         (elmo-folder-diff): Rewrite.
5765         (elmo-generic-folder-diff): New function.
5766         (elmo-multi-get-number-alist-list): Abolished
5767         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
5768         (elmo-multi-folder-diff): Moved to elmo-multi.el
5769         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
5770
5771         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
5772         `elmo-msgdb-expand-path'.
5773         (elmo-pop3-msgdb-create-as-numlist): Ditto.
5774         (elmo-pop3-read-msg): Ditto.
5775         (elmo-pop3-delete-msgs): Ditto.
5776         (elmo-pop3-folder-diff): New alias.
5777
5778         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
5779         `elmo-msgdb-expand-path'.
5780         (elmo-pipe-list-folder-unread): Changed arguments.
5781         (elmo-pipe-list-folder-important): Ditto.
5782         (elmo-pipe-folder-diff): New alias.
5783
5784         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
5785         `elmo-msgdb-expand-path'.
5786         (elmo-nntp-max-of-folder): Ditto.
5787         (elmo-nntp-msgdb-create): Ditto.
5788         (elmo-nntp-delete-msgs): Ditto.
5789         (elmo-nntp-folder-diff): New alias.
5790
5791         * elmo-multi.el (elmo-multi-folder-diff): New function.
5792         (elmo-multi-split-mark-alist): Ditto.
5793         (elmo-multi-split-number-alist): Ditto.
5794         (elmo-multi-mark-alist-list): Abolished (Renamed to
5795         elmo-multi-split-mark-alist).
5796         (elmo-multi-list-folder-unread): Rewrite.
5797         (elmo-multi-list-folder-important): Ditto.
5798         (elmo-multi-list-folder): Set `spec' as 1st argument for
5799         `elmo-msgdb-expand-path'.
5800         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
5801         instead of `elmo-multi-get-number-alist-list'.
5802
5803         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
5804         If 1st argument is not string, treat as spec.
5805         (elmo-list-folder-by-location): Set `spec' as 1st argument for
5806         `elmo-msgdb-expand-path'.
5807         (elmo-msgdb-flist-load): Ditto.
5808         (elmo-msgdb-flist-save): Ditto.
5809         (elmo-msgdb-delete-path): Ditto.
5810         (elmo-msgdb-rename-path): Ditto.
5811
5812         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
5813         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5814         (elmo-maildir-delete-mark-msgs): Ditto.
5815         (elmo-maildir-msgdb-create): Ditto.
5816         (elmo-maildir-read-msg): Ditto.
5817         (elmo-maildir-delete-msgs): Ditto.
5818         (elmo-maildir-list-folder-subr): Ditto.
5819         (elmo-maildir-search): Ditto.
5820         (elmo-maildir-get-msg-filename): Ditto.
5821         (elmo-maildir-pack-number): Ditto.
5822         (elmo-maildir-folder-diff): New alias.
5823
5824         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
5825
5826         * elmo-localdir.el (elmo-localdir-list-folder-subr):
5827         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5828         (elmo-localdir-folder-diff): New alias.
5829
5830         * elmo-internal.el (elmo-internal-list-folder-subr):
5831         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5832         (elmo-internal-list-folder-by-location): Ditto.
5833         (elmo-internal-msgdb-create): Ditto.
5834         (elmo-internal-delete-msgs): Ditto.
5835         (elmo-internal-read-msg): Ditto.
5836         (elmo-internal-folder-diff): New alias.
5837
5838         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
5839         (elmo-imap4-list-folder): Set `spec' as 1st argument for
5840         `elmo-msgdb-expand-path'.
5841         (elmo-imap4-list-folder-unread): Changed arguments.
5842         (elmo-imap4-list-folder-important): Ditto.
5843
5844         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
5845         (elmo-filter-list-folder-important): Ditto.
5846         (elmo-filter-folder-diff): New function.
5847
5848         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
5849
5850         * elmo-cache.el (elmo-cache-list-folder):
5851         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5852         (elmo-cache-copy-msgs): Ditto.
5853         (elmo-cache-folder-diff): New alias.
5854
5855         * elmo-archive.el (elmo-archive-list-folder-subr):
5856         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5857         (elmo-archive-get-archive-name): Ditto.
5858         (elmo-archive-create-file): Ditto.
5859         (elmo-archive-append-msg): Ditto.
5860         (elmo-archive-copy-msgs): Ditto.
5861         (elmo-archive-copy-msgs-froms): Ditto.
5862         (elmo-archive-get-msg-filename): Ditto.
5863         (elmo-archive-folder-diff): New alias.
5864
5865 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
5866
5867         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
5868         (elmo-pop3-stream-type-alist): New variable.
5869         (elmo-nntp-stream-type-alist): New variable.
5870
5871         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
5872         (elmo-kill-buffer): Ditto.
5873         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
5874         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
5875         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
5876         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
5877         (elmo-imap4-get-spec): Take into account
5878         `elmo-imap4-stream-type-alist'.
5879
5880 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
5881
5882         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
5883         (elmo-nntp-list-folders-get-cache): Ditto.
5884
5885 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
5886
5887         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
5888         character before 'uid'.
5889
5890 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
5891
5892         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
5893
5894         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
5895
5896         * elmo-util.el (elmo-number-set-member): New function.
5897         (elmo-number-set-append-list): Ditto.
5898         (elmo-number-set-append): Ditto.
5899
5900         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
5901         Use `elmo-number-set-member'.
5902         (elmo-living-messages): Ditto.
5903         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
5904         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
5905
5906         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
5907         (elmo-imap4-add-to-cont-list): Abolished.
5908         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
5909         instead of elmo-imap4-add-to-cont-list.
5910
5911         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
5912         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
5913
5914         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
5915
5916 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
5917
5918         * elmo-util.el (elmo-condition-parse-search-value):
5919         Fixed date parsing.
5920
5921 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
5922
5923         * elmo-util.el (elmo-condition-find-key-internal): New function.
5924         (elmo-condition-find-key): Ditto.
5925
5926         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
5927         (elmo-msgdb-search-internal): Ditto.
5928         (elmo-msgdb-search): Ditto.
5929
5930 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
5931
5932         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
5933         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
5934
5935         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
5936         (elmo-nntp-search-primitive): Fixed problem when condition is
5937         'unmatch'.
5938
5939         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
5940
5941         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
5942         (elmo-nntp-xhdr-p): New macro.
5943         (elmo-nntp-set-xhdr): Ditto.
5944         (elmo-nntp-parse-xhdr-response): New function.
5945         (elmo-nntp-retrieve-field): Ditto.
5946         (elmo-nntp-search-primitive): Ditto.
5947         (elmo-nntp-search): Implemented.
5948
5949         * elmo-date.el (elmo-date-make-sortable-string): New macro.
5950
5951         * elmo-archive.el (elmo-archive-search): Set all number list to
5952         `elmo-archive-field-condition-match'
5953
5954         * elmo-localdir.el (elmo-localdir-search): Likewise.
5955
5956         * elmo-maildir.el (elmo-maildir-search): Likewise.
5957
5958 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
5959
5960         * elmo-msgdb.el (elmo-living-messages): New function.
5961         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
5962         * elmo-cache.el (elmo-cache-list-folder): Ditto.
5963         * elmo-dop.el (elmo-dop-list-folder): Ditto.
5964         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
5965         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
5966         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
5967         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
5968         * elmo-multi.el (elmo-multi-list-folder): Ditto.
5969         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
5970         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
5971         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
5972
5973 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
5974
5975         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
5976
5977         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
5978
5979         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
5980
5981         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5982         arguments for `SEARCH' command.
5983         (elmo-imap4-parse-string): Set `POS' argument for char-after.
5984         All other related portions are changed.
5985
5986         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
5987
5988         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
5989         (elmo-list-folder-unread): Rewrite.
5990         (elmo-list-folder-important): Ditto.
5991
5992         * elmo-util.el (elmo-filter-get-spec): Rewrite.
5993         (elmo-condition-parse-error): New inline function.
5994         (elmo-read-search-condition): New function.
5995         (elmo-read-search-condition-internal): Ditto.
5996         (elmo-parse-search-condition): Rewrite.
5997         (elmo-condition-parse): New function.
5998         (elmo-condition-parse-or-expr): Ditto.
5999         (elmo-condition-parse-and-expr): Ditto.
6000         (elmo-condition-parse-primitive): Ditto.
6001         (elmo-condition-parse-search-value): Ditto.
6002         (elmo-buffer-field-primitive-condition-match): Ditto.
6003         (elmo-buffer-field-condition-match): Rewrite.
6004         (elmo-file-field-condition-match): Ditto.
6005
6006         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
6007         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
6008
6009         * elmo-internal.el (elmo-internal-search): Set `number' and
6010         `number-list' argument of `elmo-file-field-condition-match'.
6011
6012         * elmo-maildir.el (elmo-maildir-search): Ditto.
6013
6014         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
6015         `msgdb' as argument instead of `mark-alist'.
6016         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
6017         `overview'.
6018
6019         * elmo-multi.el: Likewise.
6020
6021         * elmo-pipe.el: Likewise.
6022
6023         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
6024         (elmo-imap4-search-internal): Rewrite.
6025         (elmo-imap4-search): Ditto.
6026
6027         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
6028         (elmo-filter-list-folder-unread): Ditto.
6029         (elmo-filter-list-folder-important): Ditto.
6030         (elmo-filter-search): Rewrite.
6031
6032         * elmo-cache.el (elmo-cache-search-all): Set `number' and
6033         `number-list' argument of `elmo-file-field-condition-match'.
6034         (elmo-cache-search): Ditto.
6035
6036         * elmo-localdir.el: Likewise.
6037
6038         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
6039         number-list and pass it to `elmo-buffer-field-condition-match'.
6040         (elmo-archive-field-condition-match): Pass `number-list' to
6041         `elmo-archive-field-condition-match'
6042
6043 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
6044
6045         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
6046         `listgroup'.
6047
6048         * elmo2.el (elmo-folder-diff-async-callback): New variable.
6049         (elmo-folder-diff-async-callback-data): Ditto.
6050         (elmo-folder-diff-async): New function.
6051
6052         * elmo-net.el (elmo-network-session-name-prefix): New variable.
6053         (elmo-network-session-cache-key): Use it as a prefix of the session
6054         name.
6055         (elmo-network-open-session): Ditto.
6056
6057         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
6058         (elmo-imap4-status-callback-data): Ditto.
6059         (elmo-imap4-server-diff-async-callback): New variable.
6060         (elmo-imap4-server-diff-async-callback-data): Ditto.
6061         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
6062         `elmo-imap4-status-callback-data'.
6063         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
6064         `elmo-imap4-status-callback-data' as nil.
6065         (elmo-imap4-server-diff): Ditto.
6066         (elmo-imap4-server-diff-async-callback-1): New function.
6067         (elmo-imap4-server-diff-async): Ditto.
6068         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
6069
6070 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
6071
6072         * elmo-util.el (elmo-list-delete): Doc fix.
6073         (elmo-delete-lists): Abolish.
6074         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
6075         instead of `elmo-delete-lists'.
6076
6077 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
6078
6079         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
6080         before `sort'.
6081
6082 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
6083
6084         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
6085         `elmo-imap4-literal-subr'.
6086         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
6087         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
6088
6089 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
6090
6091         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
6092         (elmo-archive-list-folder): Fix.
6093         (elmo-archive-max-of-folder): Fix.
6094
6095 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
6096
6097         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
6098          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
6099         (elmo-localdir-append-msg): Ditto.
6100         (elmo-localdir-list-folder): Fix for `nonsort'.
6101         (elmo-localdir-list-folder-subr): Fix for `killed'.
6102         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6103         (elmo-maildir-list-folder-subr): Ditto.
6104         * elmo-archive.el (elmo-archive-list-folder): Ditto.
6105         (elmo-archive-list-folder-subr): Ditto.
6106         * elmo-internal.el (elmo-internal-list-folder): Ditto.
6107         (elmo-internal-list-folder-subr): Ditto.
6108
6109 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6110
6111         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
6112
6113 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
6114
6115         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
6116
6117 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6118
6119         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
6120         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6121
6122         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
6123         before greeting.
6124         (elmo-imap4-read-part): Use "body.peek" to fetch part.
6125         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6126
6127 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
6128
6129         * mmelmo-imap4-2.el (mime-entity-children): Defined.
6130
6131         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
6132         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
6133         before STORE command.
6134
6135 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
6136
6137         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
6138
6139         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
6140         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
6141         of `response'.
6142         (elmo-imap4-list-folders): Removed unused local variable.
6143         (elmo-network-initialize-session): Ditto.
6144         (elmo-imap4-delete-msg-by-id): Ditto.
6145         (elmo-imap4-parse-fetch): Ditto.
6146         (elmo-imap4-copy-msgs): Ditto.
6147         Use `dst-spec' instead of `dst-folder'.
6148         (elmo-network-authenticate-session): Check authenticate type `plain'.
6149
6150 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
6151
6152         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
6153         garbage checking.
6154         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
6155         `elmo-imap4-response-value'.
6156         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
6157
6158 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6159
6160         * elmo-imap4.el (elmo-imap4-send-command):
6161         Cause elmo-imap4-bye-error when current response is BYE.
6162         (elmo-imap4-arrival-filter): Changed greeting response value.
6163
6164         * elmo2.el (elmo-imap4-bye-error): Define.
6165
6166         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
6167         (elmo-imap4-server-diff): Ditto.
6168         (elmo-imap4-response-bye-p): New macro.
6169         (elmo-imap4-response-error-text): Get text from BYE response.
6170         (elmo-imap4-read-response): Return if BYE response.
6171         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
6172         (elmo-imap4-folder-exists-p): Ditto.
6173         (elmo-imap4-commit): Do nothing when different mailbox is selected.
6174         (elmo-imap4-parse-bye): New function.
6175         (elmo-imap4-parse-response): Remove needless let.
6176         Call `elmo-imap4-parse-bye'.
6177
6178 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
6179
6180         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
6181         the mailbox does not exist.
6182         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
6183
6184 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
6185
6186         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
6187
6188 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6189
6190         * elmo-vars.el (elmo-search-mime-charset): Abolished.
6191
6192         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
6193         (elmo-network-initialize-session-buffer): Defined.
6194
6195         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
6196         Abolished.
6197         (mmelmo-imap4-get-mime-entity): Rewrite.
6198
6199         * elmo2.el (elmo-error): Capitalize error message.
6200
6201         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
6202         (elmo-network-session-buffer): New macro.
6203         (elmo-network-open-session): Use it.
6204
6205         * elmo-imap4.el: Rewrite.
6206
6207 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6208
6209         * elmo-nntp.el (Toplevel): Require 'elmo-net.
6210
6211 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
6212
6213         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
6214         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
6215         (elmo-imap4-create-msgdb-from-overview-string): Use
6216         `elmo-msgdb-create-overview-from-buffer'.
6217
6218 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
6219
6220         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
6221         (elmo-imap4-default-hierarchy-delimiter): New variable.
6222         (elmo-imap4-list-folders): Use it.
6223
6224 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
6225
6226         * elmo-net.el (elmo-network-open-session): Add user and
6227         stream-type for process-buffer name.
6228
6229         * elmo-pop3.el (elmo-network-initialize-session): Call
6230         buffer-disable-undo.
6231
6232         * elmo-imap4.el (elmo-network-initialize-session):
6233         Set current-buffer as an argument for `buffer-disable-undo'.
6234
6235         * elmo-pop3.el (elmo-network-close-session): Don't use
6236         `process-live-p'.
6237
6238         * elmo-vars.el (elmo-default-pop3-authenticate-type):
6239         Set default as 'user.
6240
6241         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
6242
6243         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
6244         and `elmo-imap4-flush-connection'.
6245
6246         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
6247         (elmo-pop3-get-spec): Assume auth as symbol.
6248         (elmo-open-network-stream): Moved to `elmo-net'.
6249
6250         * elmo-pop3.el (toplevel): Require 'elmo-net.
6251         Define `sasl-cram-md5' to silence byte compilier.
6252         (elmo-pop3-connection-cache) Abolished.
6253         (elmo-pop3-authenticator-alist) New variable.
6254         (elmo-pop3-session): Define.
6255         (elmo-pop3-connection-get-process): Abolished.
6256         (elmo-pop3-connection-get-buffer): Ditto.
6257         (elmo-pop3-close-connection): Ditto.
6258         (elmo-pop3-flush-connection): Ditto.
6259         (elmo-pop3-get-connection): Ditto.
6260         (elmo-pop3-get-session): New function.
6261         (Replacement for `elmo-pop3-get-connection').
6262         All other related modules are changed.
6263         (elmo-network-close-session): Define.
6264         (elmo-pop3-send-command): Abolished argument `buffer'.
6265         All other related modules are changed.
6266         (elmo-pop3-read-response): Likewise.
6267         (elmo-pop3-open-connection): Abolished.
6268         (elmo-pop3-auth-user): New function.
6269         (elmo-pop3-auth-apop): Ditto.
6270         (elmo-pop3-auth-cram-md5): Ditto.
6271         (elmo-pop3-auth-scram-md5): Ditto.
6272         (elmo-pop3-auth-digest-md5): Ditto.
6273         (elmo-network-initialize-session): Define.
6274         (elmo-network-authenticate-session): Ditto.
6275         (elmo-network-setup-session): Ditto.
6276
6277         * elmo-imap4.el (toplevel): Require 'elmo-net.
6278         (elmo-imap4-session): Define.
6279         (elmo-imap4-connection-cache): Abolished.
6280         (elmo-imap4-password-key): Ditto.
6281         (elmo-imap4-flush-connection): Ditto.
6282         (elmo-imap4-get-connection): Ditto.
6283         All other related modules are changed.
6284         (elmo-imap4-get-session): New function
6285         (Replacement for `elmo-imap4-get-connection').
6286         (elmo-imap4-read-response): Abolished argument `buffer'.
6287         All other related modules are changed.
6288         (elmo-imap4-send-command): Likewise.
6289         (elmo-imap4-select-folder): Abolished.
6290         All other related modules are changed.
6291         (elmo-imap4-select-mailbox): New function.
6292         (Replacement for `elmo-imap4-select-folder').
6293         (elmo-imap4-auth-login): Simplify.
6294         (Assume current buffer as process buffer)
6295         (elmo-imap4-auth-cram-md5): Ditto.
6296         (elmo-imap4-auth-digest-md5): Ditto.
6297         (elmo-imap4-login): Ditto.
6298         (elmo-imap4-open-connection): Abolished.
6299         (elmo-imap4-open-connection-1): Abolished.
6300         (elmo-network-initialize-sessoin): Define.
6301         (elmo-network-authenticate-session): Ditto.
6302         (elmo-network-setup-session): Ditto.
6303
6304         * elmo-net.el: New module.
6305
6306 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
6307
6308         * elmo-util.el (elmo-define-error): New function.
6309
6310         * elmo2.el (elmo-error): Define.
6311         (elmo-open-error): Define.
6312         (elmo-authenticate-error): Define.
6313
6314         * elmo-imap4.el (elmo-imap4-error): Abolish.
6315         (elmo-imap4-error-type): Abolish.
6316         (elmo-imap4-error-process): Abolish.
6317         (elmo-imap4-error-message): Abolish
6318         (elmo-imap4-list-folders): Don't quote lambda.
6319         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
6320         (elmo-imap4-parse-namespace): Ditto.
6321         (elmo-imap4-open-connection): Rewrite.
6322         (elmo-imap4-open-connection-1): Simplified (authenticate only).
6323         (elmo-imap4-get-connection): Abolish local variable `result'.
6324
6325 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
6326
6327         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
6328         wrong-type-argument error when auth is nil.
6329
6330 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
6331
6332         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
6333         (elmo-default-nntp-stream-type): Ditto.
6334         (elmo-default-pop3-stream-type): Ditto.
6335         (elmo-network-stream-type-alist): Ditto.
6336         (elmo-default-imap4-ssl): Abolished.
6337         (elmo-default-nntp-ssl): Ditto.
6338         (elmo-default-pop3-ssl): Ditto.
6339
6340         * elmo-util.el: (toplevel): Removed needless requires.
6341         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
6342         (elmo-open-network-stream): Open network stream according to
6343         the value of `elmo-network-stream-type-alist'.
6344         (elmo-get-network-stream-type): New function.
6345         (elmo-network-stream-type-spec-string): New macro.
6346         (elmo-network-stream-type-symbol): Ditto.
6347         (elmo-network-stream-type-function): Ditto.
6348
6349         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
6350         network-stream-type. All other related portions are changed.
6351         (elmo-pop3-open-connection): Ditto.
6352
6353         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
6354         network-stream-type. All other related portions are changed.
6355
6356         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
6357         network-stream-type.All other related portions are changed.
6358         (elmo-imap4-error): New macro.
6359         (elmo-imap4-error-type): Ditto.
6360         (elmo-imap4-error-process): Ditto.
6361         (elmo-imap4-error-message): Ditto.
6362         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
6363         (elmo-imap4-auth-cram-md5): Ditto.
6364         (elmo-imap4-auth-digest-md5): Ditto.
6365         (elmo-imap4-login): Ditto.
6366         (elmo-imap4-open-connection): Remove password entry if authentication
6367         was in vain.
6368         (elmo-imap4-user-at-host): Abolished.
6369         (elmo-imap4-password-key): New buffer local variable.
6370         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
6371         using protocol, port, auth and stream-type.
6372
6373         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
6374
6375 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
6376
6377         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
6378
6379         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
6380
6381         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
6382         (elmo-imap4-authenticator-alist): New variable.
6383         (elmo-imap4-open-connection-1): Rename from
6384         elmo-imap4-open-connection.
6385         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
6386         only wraps elmo-imap4-open-connection-1.
6387         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
6388         user-at-host.
6389         (elmo-imap4-auth-login): New function.
6390         (elmo-imap4-auth-cram-md5): New function.
6391         (elmo-imap4-auth-digest-md5): New function.
6392         (elmo-imap4-login): New function.
6393
6394 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
6395
6396         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
6397         function `error'.
6398
6399 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
6400
6401         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
6402
6403 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
6404
6405         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
6406
6407 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
6408
6409         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
6410         for server responses, quote `*' regardless of where it appears.
6411
6412 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
6413
6414         * elmo-maildir.el (elmo-maildir-commit): New alias.
6415
6416 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
6417
6418         * elmo-util.el (elmo-display-progress):
6419                 Use `progress-feedback-with-label'.
6420
6421 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
6422
6423         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
6424         (elmo-imap4-non-atom-char-regex): Ditto.
6425         (elmo-imap4-non-text-char-regex): Ditto.
6426         (elmo-imap4-literal-threshold): Ditto.
6427         (elmo-imap4-atom-p): New function.
6428         (elmo-imap4-quotable-p): Ditto.
6429         (elmo-imap4-nil): Ditto.
6430         (elmo-imap4-atom): Ditto.
6431         (elmo-imap4-quoted): Ditto.
6432         (elmo-imap4-literal-subr): Ditto.
6433         (elmo-imap4-literal): Ditto.
6434         (elmo-imap4-buffer-literal): Ditto.
6435         (elmo-imap4-string-subr): Ditto.
6436         (elmo-imap4-string): Ditto.
6437         (elmo-imap4-buffer-string): Ditto.
6438         (elmo-imap4-astring-subr): Ditto.
6439         (elmo-imap4-astring): Ditto.
6440         (elmo-imap4-buffer-astring): Ditto.
6441         (elmo-imap4-nstring): Ditto.
6442         (elmo-imap4-buffer-nstring): Ditto.
6443         (elmo-imap4-mailbox): New alias.
6444         (elmo-imap4-field-body): Ditto.
6445         (elmo-imap4-userid): Ditto.
6446         (elmo-imap4-password): Ditto.
6447         (elmo-imap4-format-quoted): New function.
6448         (elmo-imap4-send-command): Rewritten.  Accept a list of command
6449         arguments and handle "atom", "quoted" and "literal" string here.
6450         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
6451         `elmo-imap4-send-command'.
6452         (elmo-imap4-folder-exists-p): Likewise.
6453         (elmo-imap4-create-folder): Likewise.
6454         (elmo-imap4-delete-folder): Likewise.
6455         (elmo-imap4-rename-folder): Likewise.
6456         (elmo-imap4-max-of-folder): Likewise.
6457         (elmo-imap4-check-validity): Likewise.
6458         (elmo-imap4-sync-validity): Likewise.
6459         (elmo-imap4-server-diff): Likewise.
6460         (elmo-imap4-select-folder): Likewise.
6461         (elmo-imap4-copy-msgs): Likewise.
6462         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
6463         (elmo-imap4-mark-set-on-msgs): Likewise.
6464         (elmo-imap4-read-part): Likewise.
6465         (elmo-imap4-read-msg): Likewise.
6466         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
6467         `elmo-imap4-password' for `elmo-imap4-send-command'.
6468         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
6469         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
6470         `elmo-imap4-buffer-literal'.
6471         (elmo-imap4-append-msg): Likewise.
6472
6473         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
6474         `delete' for removing dead connection from the connection cache.
6475         Move deletion of the process buffer after that.
6476         (elmo-imap4-list): Change `defsubst' to `defun'.
6477         (elmo-imap4-commit): Make error message verbose.
6478         (elmo-imap4-search): Ditto.
6479         (elmo-imap4-list): Ditto.
6480         (elmo-imap4-select-folder): Ditto.
6481         (elmo-imap4-copy-msgs): Ditto.
6482         (elmo-imap4-delete-msg-by-id): Ditto.
6483         (elmo-imap4-append-msg-by-id): Ditto.
6484         (elmo-imap4-append-msg): Ditto.
6485
6486 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6487
6488         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
6489         when dired is used on XEmacs.
6490
6491 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
6492
6493         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
6494         instead of `append'.
6495         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
6496         `elmo-plugged-p' directly.
6497         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
6498         of `elmo-plugged-p' directly.
6499
6500         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
6501         Eliminate unused variable.  Use `memq' for checking a process status.
6502         Use `cons' instead of `append' for updating the connection cache.
6503         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
6504         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
6505
6506 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
6507
6508         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
6509         `elmo-imap4-read-point' exactly.
6510
6511         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
6512         the local variable `folder' to `mailbox'.
6513         Rename the argument `fld' to `folder'.
6514
6515 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
6516
6517         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
6518         * elmo-imap4.el (elmo-imap4-commit): Ditto.
6519
6520 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
6521
6522         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
6523         (elmo-pop3-number-uidl-hash): New buffer-local variable.
6524         (elmo-pop3-uidl-number-hash): Ditto.
6525         (elmo-pop3-size-hash): Ditto.
6526         (elmo-pop3-uidl-done): Ditto.
6527         (elmo-pop3-list-done): Ditto.
6528         (elmo-pop3-connection-get-process): New defmacro.
6529         (elmo-pop3-connection-get-buffer): Ditto.
6530         (elmo-pop3-close-connection): Delete buffer and process.
6531         (elmo-pop3-flush-connection): Don't delete buffer and process.
6532         (elmo-pop3-get-connection): Added optional argument `if-exists'.
6533         Setup UIDL and size hash.
6534         (elmo-pop3-send-command-no-erase): Deleted
6535         (elmo-pop3-send-command): Added optional argument `no-erase'.
6536         (elmo-pop3-parse-uidl-response): New function.
6537         (elmo-pop3-parse-list-response): Set size hash.
6538         (elmo-pop3-list-location): New function.
6539         (elmo-pop3-list-by-uidl-subr): Ditto.
6540         (elmo-pop3-list-by-list): Ditto.
6541         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
6542         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
6543         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
6544         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
6545         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
6546         Use uidl.
6547         (elmo-pop3-uidl-to-number): New function.
6548         (elmo-pop3-number-to-uidl): Ditto.
6549         (elmo-pop3-number-to-size): Ditto.
6550         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
6551         Set number by use of uidl.
6552         (elmo-pop3-msgdb-create-message): Likewise.
6553         Set size, loc-alist in msgdb.
6554         (elmo-pop3-read-msg): Set number by use of uidl.
6555         Added optional argument `msgdb'.
6556         (elmo-pop3-delete-msg): Ditto.
6557         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
6558         (elmo-pop3-commit): Close connection.
6559
6560         * elmo-pipe.el (elmo-pipe-max-of-folder):
6561         Bind `elmo-pop3-use-uidl' as nil.
6562         (elmo-pipe-drain): Ditto.
6563         Call `elmo-commit'.
6564
6565         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
6566         (elmo-msgdb-overview-entity-set-size): New defsubst.
6567
6568 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6569
6570         * elmo-vars.el (elmo-use-killed-list): New variable
6571         (Renamed from `elmo-nntp-use-killed-list').
6572         (elmo-nntp-use-killed-list): Eliminated.
6573
6574         * elmo-msgdb.el (elmo-msgdb-expand-path):
6575         Changed expanding msgdb path for elmo-multi.
6576
6577         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
6578         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
6579         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
6580         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
6581         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
6582         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
6583         (toplevel): Deleted time-stamp line.
6584
6585         * elmo2.el (elmo-clear-killed ): Defined as function
6586         (Abolished defining as a backend function).
6587         All other related modules are changed.
6588
6589 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6590
6591         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
6592
6593 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6594
6595         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
6596
6597 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6598
6599         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
6600
6601 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
6602
6603         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
6604         asynchronous folder check.
6605
6606         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
6607
6608         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
6609         `elmo-nntp-use-killed-list'.
6610         (elmo-nntp-list-folder): Use killed list.
6611         (elmo-nntp-max-of-folder): Ditto.
6612         (elmo-nntp-msgdb-create): Set killed list.
6613
6614         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
6615
6616         * elmo2.el (elmo-clear-killed): New backend function.
6617         All other related modules are changed.
6618
6619 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
6620
6621         * elmo-util.el (elmo-imap4-spec-folder): Use
6622         `elmo-imap4-spec-mailbox'; Mark as obsolete.
6623         All callers changed.
6624
6625 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
6626
6627         * mmelmo-2.el (initialize-instance):
6628         Use `mime-buffer-entity-buffer-internal' instead of
6629         `mime-entity-buffer'.
6630
6631         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
6632         (mime-entity-body): Implemented.
6633         (mime-goto-header-start-point): Deleted.
6634         (mime-goto-body-end-point): Ditto.
6635         (mime-entity-point-min): Ditto.
6636         (mime-entity-point-max): Ditto.
6637         (mime-entity-children): Ditto.
6638         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
6639         instead of `mime-entity-buffer'.
6640         (mime-entity-header-buffer): Ditto.
6641         (mime-entity-body-buffer): Ditto.
6642         (mime-write-entity-content): Ditto.
6643
6644         * pldap.el (ldap-static-if): New macro.
6645         (toplevel): Use it instead of `static-if'.
6646
6647 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6648
6649         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
6650         included in `attrs' argument.
6651
6652 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
6653
6654         * elmo-util.el (elmo-get-passwd): Use old backquote style.
6655
6656         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
6657         (ldap-ldif-safe-init-char-regexp): Ditto.
6658         (ldap-ldif-safe-string-regexp): Ditto.
6659         (ldap/ldif-safe-string-p): New macro.
6660         (ldap/ldif-insert-field): Ditto.
6661         (ldap-modify): Use it.
6662         (ldap-add): Ditto.
6663         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
6664         (ldap-decode-attribute): Decode only when `attr' is consp.
6665         (ldap-delete): Bind `ret'.
6666         (toplevel): Require 'cl at compile time.
6667         Removed (require 'poe) and (require 'std11).
6668         (pldap-version): Eliminated.
6669         (ldap-search-basic): Removed auth and dn binding.
6670         (ldap-ldif-field-name-regexp): New constant.
6671         (ldap-ldif-field-head-regexp): Ditto.
6672         (ldap-ldif-next-field-head-regexp): Ditto.
6673         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
6674         (ldap/field-end): New function.
6675         (ldap/field-body): Use it.
6676         (ldap/collect-field): Ditto.
6677         (ldap-search-basic): Use `ldap/field-body'.
6678
6679 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6680
6681         * pldap.el (ldap-default-attribute-encoder): New user option.
6682         (ldap/field-body): Decode base64 string.
6683         (ldap/collect-field): Ditto.
6684         (ldap-encode-attribute): New function.
6685         (ldap-add-entries): Use it.
6686         (ldap-modify-entries): Ditto.
6687         (ldap-search-entries): Enclosed decoding function with
6688         `with-temp-buffer' and set as unibyte.
6689         (ldap-search-basic): Set process buffer as unibyte.
6690
6691         * elmo-util.el (elmo-folder-identical-system-p):
6692         Eliminated name space checking.
6693
6694         * pldap.el: New module.
6695         toplevel: Changed condition to detect built-in ldap feature.
6696         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
6697         (ldap-add): Added error handling.
6698         (ldap-modify): Ditto.
6699         (ldap-delete): Ditto.
6700
6701 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
6702
6703         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
6704         Initialize local variables with `let'.  Inline a temporary
6705         variable for the progress percentage.  Sort `setq' to reduce
6706         function call in the while-loop.
6707
6708         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
6709         into the conditional branch.
6710
6711 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
6712
6713         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
6714         Move a conditional out of the while-loop.
6715
6716 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6717
6718         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
6719         elmo-msgdb-overview-get-entity-by-number.
6720         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
6721         throw.
6722
6723 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
6724
6725         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
6726         the local variable for a packed number self descriptively.
6727
6728 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6729
6730         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
6731         * elmo-localdir.el (elmo-localdir-pack-number): Use
6732         `elmo-msgdb-overview-get-entity' instead of
6733         `elmo-msgdb-overview-get-entity-by-number'.
6734         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
6735         (elmo-msgdb-search-overview-entity): Removed.
6736         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
6737         by message-id or number.
6738         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
6739         instead of `elmo-msgdb-overview-get-entity-by-number'.
6740
6741 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6742
6743         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
6744         non-nil, use hash table for overview.
6745         (elmo-hash-maximum-size): New variable.
6746         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
6747         (elmo-msgdb-make-overview-hashtb): New function.
6748         (elmo-msgdb-clear-overview-hashtb): New function.
6749         (elmo-clear-hash-val): New macro.
6750         All other related modules are changed.
6751
6752 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
6753
6754         * elmo2.el (elmo-move-msgs): If there's other message with
6755         same message-id, don't use cache.
6756
6757 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
6758
6759         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
6760         number is already packed.
6761
6762 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
6763
6764         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
6765
6766 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6767
6768         * elmo-vars.el (elmo-display-progress-threshold): New variable.
6769         All other related modules are changed.
6770
6771 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
6772
6773         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
6774         of refiling failure on Maildir.
6775
6776 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6777
6778         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
6779         decoded mime-charset with cache.
6780         (elmo-msgdb-overview-entity-get-from): Ditto.
6781         (elmo-msgdb-overview-entity-get-subject): Ditto.
6782         * elmo-vars.el (elmo-use-decoded-cache): New variable.
6783
6784 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
6785
6786         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
6787         (elmo-remove-passwd): Fill password with 0 before erase.
6788         * elmo-vars.el (elmo-passwd-life-time): New variable.
6789
6790 \f
6791 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6792
6793         * elmo-cache.el (elmo-buffer-cache-add):
6794         Set message cache buffer as unibyte.
6795
6796 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6797
6798         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
6799         become nil.
6800
6801 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
6802
6803         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
6804         when display is finished.
6805         (elmo-nntp-msgdb-create): Ditto.
6806         (elmo-nntp-groups-read-response): Ditto.
6807         (elmo-nntp-retrieve-headers): Ditto.
6808         (elmo-nntp-msgdb-create-message): Ditto.
6809         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
6810         (elmo-pop3-msgdb-create-message): Ditto.
6811
6812 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
6813
6814         * elmo-maildir.el (elmo-maildir-msgdb-create):
6815         Use `elmo-msgdb-sort-by-date'.
6816
6817 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
6818
6819         * elmo2.el (elmo-read-msg-no-cache):
6820         Eliminated arguments after `outbuf'.
6821         Don't use cache even if it exists.
6822         (elmo-read-msg): Don't pass arguments after `outbuf' to
6823         `elmo-read-msg-no-cache'.
6824
6825 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
6826
6827         * elmo-archive.el (elmo-archive-list-folders):
6828         Use `file-name-directory' if base folder does not exist.
6829
6830 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
6831
6832         * elmo-archive.el (elmo-archive-list-folders): Don't use
6833         `file-name-directory'.
6834
6835 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
6836
6837         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
6838         If `force' is non-nil, try flushing all operation queues.
6839
6840 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6841
6842         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
6843         as-binary-process.
6844
6845 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6846
6847         * elmo-util.el (elmo-display-progress): Fixed.
6848
6849 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6850
6851         * elmo-util.el (elmo-display-progress): New function.
6852         All other related modules are changed.
6853