25c18b54bbb803f19eb8bd6aaa253d35a2045666
[elisp/wanderlust.git] / elmo / ChangeLog
1 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2
3         * elmo-util.el (elmo-string-matched-member): New function.
4
5 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
6
7         * elmo-util.el (elmo-unintern): New macro.
8         (elmo-number-set-member): Fixed docstring.
9
10         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
11         tag token.
12
13 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
14
15         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
16         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
17
18 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
19
20         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
21         `no-error'.
22         Added docstring.
23         Return non-nil if selecting folder succeeded.
24         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
25
26 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
27
28         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
29         `file-name-completion' returns t.
30         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
31         (elmo-maildir-set-mark): Put `info' part to the files in the cur
32         directory if it does not exist.
33         (elmo-maildir-update-current): Use `while' instead of `mapcar'
34         for iteration.
35
36 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
37
38         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
39         enclosure (It's harmful in unplugged status).
40
41         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
42
43         * mmelmo-1.el: Removed.
44
45         * mmelmo-2.el: Ditto.
46
47         * mmelmo-imap4-1.el: Ditto.
48
49         * mmelmo-imap4-2.el: Ditto.
50
51         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
52
53         * mmelmo.el: Merged mmelmo-2.el.
54
55         * elmo-version.el (elmo-version): Up to 2.3.92.
56
57 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
58
59         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
60         elmo-update-number): Remove last period in "...done." message.
61         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
62         Ditto.
63         * elmo-cache.el (elmo-cache-expire-by-size,
64         elmo-cache-get-sorted-cache-file-list,
65         elmo-cache-msgdb-create-as-numlist): Ditto.
66         * elmo-dop.el (elmo-dop-save-pending-messages,
67         (elmo-dop-flush-pending-append-operations): Ditto.
68         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
69         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
70         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
71         (elmo-localdir-pack-number): Ditto.
72         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
73         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
74         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
75         mime-write-entity-content): Ditto.
76         * pldap.el (ldap-search-basic): Ditto.
77
78 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
79
80         * elmo-version.el (elmo-version): Up to 2.3.91.
81
82         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
83         Only when filter is 'last'.
84
85         * elmo-util.el (elmo-condition-atom-regexp): New constant.
86         (elmo-condition-parse-search-value): Use it.
87         (elmo-read-search-condition-internal): Quote value only when
88         it is not an atom.
89
90 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
91
92         * elmo2.el (elmo-generic-folder-diff): Fix.
93
94 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
95
96         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
97         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
98         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
99         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
100         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
101         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
102
103 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
104
105         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
106         extra-fields.
107
108 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
109
110         * elmo-version.el (elmo-version): Up to 2.3.90.
111
112         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
113         (elmo-imap4-list-folder-important): Ditto.
114
115 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
116
117         * elmo-nntp.el (elmo-network-initialize-session): Fix.
118
119 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
120
121         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
122
123 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
124
125         * elmo-nntp.el (elmo-network-initialize-session):
126         Add starttls negotiation.
127
128 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
129
130         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
131         response.
132         (elmo-network-setup-session): Define.
133         Call `elmo-nntp-send-mode-reader' when session opened.
134
135 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
136
137         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
138
139 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
140
141         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
142         an invalid SPACE character ahead of `SEARCH' command.  Move
143         a valid SPACE character following `SEARCH' from conditional
144         `format' arguments to control-strings.
145
146 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
147
148         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
149         was succeeded.
150
151         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
152
153 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
154
155         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
156         `w32-get-true-file-link-count' as t.
157
158         * elmo-imap4.el (elmo-imap4-read): Abolished.
159         (Renamed to `elmo-read' and moved to elmo-util.el)
160         All other related portions are changed.
161
162         * elmo-util.el (elmo-read): New function.
163         (elmo-condition-parse-search-value): Use it.
164
165 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
166
167         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
168
169         * elmo-nntp.el (elmo-nntp-session): Define.
170         (elmo-nntp-setting): Abolished.
171         All other related portions are changed.
172         (elmo-nntp-get-server-command): Changed argument.
173         (elmo-nntp-set-server-command): Ditto.
174         (elmo-nntp-xover-p): Ditto.
175         (elmo-nntp-set-xover): Ditto.
176         (elmo-nntp-listgroup-p): Ditto.
177         (elmo-nntp-set-listgroup): Ditto.
178         (elmo-nntp-list-active-p): Ditto.
179         (elmo-nntp-set-list-active): Ditto.
180         (elmo-nntp-xhdr-p): Ditto.
181         (elmo-nntp-set-xhdr): Ditto.
182         (elmo-nntp-flush-connection): Abolished.
183         (elmo-nntp-get-connection): Abolished.
184         (elmo-nntp-get-session): New function.
185         (elmo-network-initialize-session): Defined.
186         (elmo-network-authenticate-session): Ditto.
187         (elmo-nntp-send-mode-reader): Changed argument.
188         (elmo-nntp-send-command): Changed argument.
189         All other related portions are changed.
190         (elmo-nntp-read-response): Ditto.
191         (elmo-nntp-read-raw-response): Ditto.
192         (elmo-nntp-read-contents): Ditto.
193         (elmo-nntp-read-body): Ditto.
194         (elmo-nntp-goto-folder): Abolished.
195         (elmo-nntp-select-group): New function.
196         All other related portions are changed.
197         (This function substitutes `elmo-nntp-goto-folder')
198         (elmo-nntp-msgdb-create-by-header): Rewrite.
199         (elmo-nntp-get-overview): Eliminated.
200         (elmo-nntp-get-message): Ditto.
201         (elmo-nntp-open-connection) Abolished.
202         (elmo-nntp-read-msg): Rewrite.
203         (elmo-nntp-post): Ditto.
204         (elmo-nntp-send-data): Abolished.
205         (elmo-nntp-send-buffer): New function.
206         (elmo-nntp-send-data-line): Define as inline function.
207         (elmo-nntp-get-folders-info-prepare): Use session as key.
208         (elmo-nntp-groups-read-response): Changed argument.
209         (elmo-nntp-retrieve-headers): Ditto.
210         (elmo-nntp-msgdb-create-message): Ditto.
211
212         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
213         when searching by 'since' or 'before'.
214
215 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
216
217         * elmo-version.el (toplevel): Use product-version-as-string for set
218         verstion-string, if defined.
219
220 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
221
222         * elmo-util.el: Doc fixes.
223
224 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
225
226         * elmo-archive.el (toplevel): Use product-provide.
227         * elmo-cache.el (toplevel): Ditto.
228         * elmo-database.el (toplevel): Ditto.
229         * elmo-date.el (toplevel): Ditto.
230         * elmo-dop.el (toplevel): Ditto.
231         * elmo-filter.el (toplevel): Ditto.
232         * elmo-imap4.el (toplevel): Ditto.
233         * elmo-internal.el (toplevel): Ditto.
234         * elmo-localdir.el (toplevel): Ditto.
235         * elmo-localnews.el (toplevel): Ditto.
236         * elmo-maildir.el (toplevel): Ditto.
237         * elmo-msgdb.el (toplevel): Ditto.
238         * elmo-multi.el (toplevel): Ditto.
239         * elmo-net.el (toplevel): Ditto.
240         * elmo-nntp.el (toplevel): Ditto.
241         * elmo-pipe.el (toplevel): Ditto.
242         * elmo-pop3.el (toplevel): Ditto.
243         * elmo-util.el (toplevel): Ditto.
244         * elmo-vars.el (toplevel): Ditto.
245         * elmo2.el (toplevel): Ditto.
246         * mmelmo-1.el (toplevel): Ditto.
247         * mmelmo-2.el (toplevel): Ditto.
248         * mmelmo-imap4-1.el (toplevel): Ditto.
249         * mmelmo-imap4-2.el (toplevel): Ditto.
250         * mmelmo-imap4.el (toplevel): Ditto.
251         * mmelmo.el (toplevel): Ditto.
252
253 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
254
255         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
256         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
257
258 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
259
260         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
261         before splitting.
262         (elmo-multi-split-number-alist): Ditto.
263
264 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
265
266         * elmo-version.el: New file.  Use product.el.
267         * elmo2.el: Add (require 'elmo-version).
268         * elmo-vars.el (elmo-appname, elmo-version): Move to
269         elmo-version.el
270
271 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
272
273         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
274         `elmo-msgdb-expand-path'.
275         (elmo-msgdb-load): Ditto.
276         Abolished 2nd argument. If 1st argument is not string, treat as spec.
277         (elmo-generic-list-folder-unread): Rewrite.
278         (elmo-generic-list-folder-important): Changed argument.
279         (elmo-list-folder-unread): Ditto.
280         (elmo-list-folder-important): Ditto.
281         (elmo-folder-diff): Rewrite.
282         (elmo-generic-folder-diff): New function.
283         (elmo-multi-get-number-alist-list): Abolished
284         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
285         (elmo-multi-folder-diff): Moved to elmo-multi.el
286         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
287
288         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
289         `elmo-msgdb-expand-path'.
290         (elmo-pop3-msgdb-create-as-numlist): Ditto.
291         (elmo-pop3-read-msg): Ditto.
292         (elmo-pop3-delete-msgs): Ditto.
293         (elmo-pop3-folder-diff): New alias.
294
295         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
296         `elmo-msgdb-expand-path'.
297         (elmo-pipe-list-folder-unread): Changed arguments.
298         (elmo-pipe-list-folder-important): Ditto.
299         (elmo-pipe-folder-diff): New alias.
300
301         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
302         `elmo-msgdb-expand-path'.
303         (elmo-nntp-max-of-folder): Ditto.
304         (elmo-nntp-msgdb-create): Ditto.
305         (elmo-nntp-delete-msgs): Ditto.
306         (elmo-nntp-folder-diff): New alias.
307
308         * elmo-multi.el (elmo-multi-folder-diff): New function.
309         (elmo-multi-split-mark-alist): Ditto.
310         (elmo-multi-split-number-alist): Ditto.
311         (elmo-multi-mark-alist-list): Abolished (Renamed to
312         elmo-multi-split-mark-alist).
313         (elmo-multi-list-folder-unread): Rewrite.
314         (elmo-multi-list-folder-important): Ditto.
315         (elmo-multi-list-folder): Set `spec' as 1st argument for
316         `elmo-msgdb-expand-path'.
317         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
318         instead of `elmo-multi-get-number-alist-list'.
319
320         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
321         If 1st argument is not string, treat as spec.
322         (elmo-list-folder-by-location): Set `spec' as 1st argument for
323         `elmo-msgdb-expand-path'.
324         (elmo-msgdb-flist-load): Ditto.
325         (elmo-msgdb-flist-save): Ditto.
326         (elmo-msgdb-delete-path): Ditto.
327         (elmo-msgdb-rename-path): Ditto.
328
329         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
330         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
331         (elmo-maildir-delete-mark-msgs): Ditto.
332         (elmo-maildir-msgdb-create): Ditto.
333         (elmo-maildir-read-msg): Ditto.
334         (elmo-maildir-delete-msgs): Ditto.
335         (elmo-maildir-list-folder-subr): Ditto.
336         (elmo-maildir-search): Ditto.
337         (elmo-maildir-get-msg-filename): Ditto.
338         (elmo-maildir-pack-number): Ditto.
339         (elmo-maildir-folder-diff): New alias.
340
341         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
342
343         * elmo-localdir.el (elmo-localdir-list-folder-subr):
344         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
345         (elmo-localdir-folder-diff): New alias.
346
347         * elmo-internal.el (elmo-internal-list-folder-subr):
348         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
349         (elmo-internal-list-folder-by-location): Ditto.
350         (elmo-internal-msgdb-create): Ditto.
351         (elmo-internal-delete-msgs): Ditto.
352         (elmo-internal-read-msg): Ditto.
353         (elmo-internal-folder-diff): New alias.
354
355         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
356         (elmo-imap4-list-folder): Set `spec' as 1st argument for
357         `elmo-msgdb-expand-path'.
358         (elmo-imap4-list-folder-unread): Changed arguments.
359         (elmo-imap4-list-folder-important): Ditto.
360
361         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
362         (elmo-filter-list-folder-important): Ditto.
363         (elmo-filter-folder-diff): New function.
364
365         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
366
367         * elmo-cache.el (elmo-cache-list-folder):
368         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
369         (elmo-cache-copy-msgs): Ditto.
370         (elmo-cache-folder-diff): New alias.
371
372         * elmo-archive.el (elmo-archive-list-folder-subr):
373         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
374         (elmo-archive-get-archive-name): Ditto.
375         (elmo-archive-create-file): Ditto.
376         (elmo-archive-append-msg): Ditto.
377         (elmo-archive-copy-msgs): Ditto.
378         (elmo-archive-copy-msgs-froms): Ditto.
379         (elmo-archive-get-msg-filename): Ditto.
380         (elmo-archive-folder-diff): New alias.
381
382 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
383
384         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
385         (elmo-pop3-stream-type-alist): New variable.
386         (elmo-nntp-stream-type-alist): New variable.
387
388         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
389         (elmo-kill-buffer): Ditto.
390         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
391         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
392         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
393         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
394         (elmo-imap4-get-spec): Take into account
395         `elmo-imap4-stream-type-alist'.
396
397 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
398
399         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
400         (elmo-nntp-list-folders-get-cache): Ditto.
401
402 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
403
404         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
405         character before 'uid'.
406
407 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
408
409         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
410
411         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
412
413         * elmo-util.el (elmo-number-set-member): New function.
414         (elmo-number-set-append-list): Ditto.
415         (elmo-number-set-append): Ditto.
416
417         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
418         Use `elmo-number-set-member'.
419         (elmo-living-messages): Ditto.
420         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
421         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
422
423         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
424         (elmo-imap4-add-to-cont-list): Abolished.
425         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
426         instead of elmo-imap4-add-to-cont-list.
427
428         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
429         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
430
431         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
432
433 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
434
435         * elmo-util.el (elmo-condition-parse-search-value):
436         Fixed date parsing.
437
438 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
439
440         * elmo-util.el (elmo-condition-find-key-internal): New function.
441         (elmo-condition-find-key): Ditto.
442
443         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
444         (elmo-msgdb-search-internal): Ditto.
445         (elmo-msgdb-search): Ditto.
446
447 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
448
449         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
450         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
451
452         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
453         (elmo-nntp-search-primitive): Fixed problem when condition is
454         'unmatch'.
455
456         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
457
458         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
459         (elmo-nntp-xhdr-p): New macro.
460         (elmo-nntp-set-xhdr): Ditto.
461         (elmo-nntp-parse-xhdr-response): New function.
462         (elmo-nntp-retrieve-field): Ditto.
463         (elmo-nntp-search-primitive): Ditto.
464         (elmo-nntp-search): Implemented.
465
466         * elmo-date.el (elmo-date-make-sortable-string): New macro.
467
468         * elmo-archive.el (elmo-archive-search): Set all number list to
469         `elmo-archive-field-condition-match'
470
471         * elmo-localdir.el (elmo-localdir-search): Likewise.
472
473         * elmo-maildir.el (elmo-maildir-search): Likewise.
474
475 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
476
477         * elmo-msgdb.el (elmo-living-messages): New function.
478         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
479         * elmo-cache.el (elmo-cache-list-folder): Ditto.
480         * elmo-dop.el (elmo-dop-list-folder): Ditto.
481         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
482         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
483         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
484         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
485         * elmo-multi.el (elmo-multi-list-folder): Ditto.
486         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
487         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
488         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
489
490 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
491
492         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
493
494         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
495
496         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
497
498         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
499         arguments for `SEARCH' command.
500         (elmo-imap4-parse-string): Set `POS' argument for char-after.
501         All other related portions are changed.
502
503         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
504
505         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
506         (elmo-list-folder-unread): Rewrite.
507         (elmo-list-folder-important): Ditto.
508
509         * elmo-util.el (elmo-filter-get-spec): Rewrite.
510         (elmo-condition-parse-error): New inline function.
511         (elmo-read-search-condition): New function.
512         (elmo-read-search-condition-internal): Ditto.
513         (elmo-parse-search-condition): Rewrite.
514         (elmo-condition-parse): New function.
515         (elmo-condition-parse-or-expr): Ditto.
516         (elmo-condition-parse-and-expr): Ditto.
517         (elmo-condition-parse-primitive): Ditto.
518         (elmo-condition-parse-search-value): Ditto.
519         (elmo-buffer-field-primitive-condition-match): Ditto.
520         (elmo-buffer-field-condition-match): Rewrite.
521         (elmo-file-field-condition-match): Ditto.
522
523         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
524         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
525
526         * elmo-internal.el (elmo-internal-search): Set `number' and
527         `number-list' argument of `elmo-file-field-condition-match'.
528
529         * elmo-maildir.el (elmo-maildir-search): Ditto.
530
531         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
532         `msgdb' as argument instead of `mark-alist'.
533         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
534         `overview'.
535
536         * elmo-multi.el: Likewise.
537
538         * elmo-pipe.el: Likewise.
539
540         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
541         (elmo-imap4-search-internal): Rewrite.
542         (elmo-imap4-search): Ditto.
543
544         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
545         (elmo-filter-list-folder-unread): Ditto.
546         (elmo-filter-list-folder-important): Ditto.
547         (elmo-filter-search): Rewrite.
548
549         * elmo-cache.el (elmo-cache-search-all): Set `number' and
550         `number-list' argument of `elmo-file-field-condition-match'.
551         (elmo-cache-search): Ditto.
552
553         * elmo-localdir.el: Likewise.
554
555         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
556         number-list and pass it to `elmo-buffer-field-condition-match'.
557         (elmo-archive-field-condition-match): Pass `number-list' to
558         `elmo-archive-field-condition-match'
559
560 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
561
562         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
563         `listgroup'.
564
565         * elmo2.el (elmo-folder-diff-async-callback): New variable.
566         (elmo-folder-diff-async-callback-data): Ditto.
567         (elmo-folder-diff-async): New function.
568
569         * elmo-net.el (elmo-network-session-name-prefix): New variable.
570         (elmo-network-session-cache-key): Use it as a prefix of the session
571         name.
572         (elmo-network-open-session): Ditto.
573
574         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
575         (elmo-imap4-status-callback-data): Ditto.
576         (elmo-imap4-server-diff-async-callback): New variable.
577         (elmo-imap4-server-diff-async-callback-data): Ditto.
578         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
579         `elmo-imap4-status-callback-data'.
580         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
581         `elmo-imap4-status-callback-data' as nil.
582         (elmo-imap4-server-diff): Ditto.
583         (elmo-imap4-server-diff-async-callback-1): New function.
584         (elmo-imap4-server-diff-async): Ditto.
585         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
586
587 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
588
589         * elmo-util.el (elmo-list-delete): Doc fix.
590         (elmo-delete-lists): Abolish.
591         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
592         instead of `elmo-delete-lists'.
593
594 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
595
596         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
597         before `sort'.
598
599 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
600
601         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
602         `elmo-imap4-literal-subr'.
603         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
604         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
605
606 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
607
608         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
609         (elmo-archive-list-folder): Fix.
610         (elmo-archive-max-of-folder): Fix.
611
612 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
613
614         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
615          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
616         (elmo-localdir-append-msg): Ditto.
617         (elmo-localdir-list-folder): Fix for `nonsort'.
618         (elmo-localdir-list-folder-subr): Fix for `killed'.
619         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
620         (elmo-maildir-list-folder-subr): Ditto.
621         * elmo-archive.el (elmo-archive-list-folder): Ditto.
622         (elmo-archive-list-folder-subr): Ditto.
623         * elmo-internal.el (elmo-internal-list-folder): Ditto.
624         (elmo-internal-list-folder-subr): Ditto.
625
626 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
627
628         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
629
630 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
631
632         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
633
634 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
635
636         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
637         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
638
639         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
640         before greeting.
641         (elmo-imap4-read-part): Use "body.peek" to fetch part.
642         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
643
644 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
645
646         * mmelmo-imap4-2.el (mime-entity-children): Defined.
647
648         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
649         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
650         before STORE command.
651
652 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
653
654         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
655
656         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
657         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
658         of `response'.
659         (elmo-imap4-list-folders): Removed unused local variable.
660         (elmo-network-initialize-session): Ditto.
661         (elmo-imap4-delete-msg-by-id): Ditto.
662         (elmo-imap4-parse-fetch): Ditto.
663         (elmo-imap4-copy-msgs): Ditto.
664         Use `dst-spec' instead of `dst-folder'.
665         (elmo-network-authenticate-session): Check authenticate type `plain'.
666
667 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
668
669         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
670         garbage checking.
671         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
672         `elmo-imap4-response-value'.
673         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
674
675 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
676
677         * elmo-imap4.el (elmo-imap4-send-command):
678         Cause elmo-imap4-bye-error when current response is BYE.
679         (elmo-imap4-arrival-filter): Changed greeting response value.
680
681         * elmo2.el (elmo-imap4-bye-error): Define.
682
683         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
684         (elmo-imap4-server-diff): Ditto.
685         (elmo-imap4-response-bye-p): New macro.
686         (elmo-imap4-response-error-text): Get text from BYE response.
687         (elmo-imap4-read-response): Return if BYE response.
688         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
689         (elmo-imap4-folder-exists-p): Ditto.
690         (elmo-imap4-commit): Do nothing when different mailbox is selected.
691         (elmo-imap4-parse-bye): New function.
692         (elmo-imap4-parse-response): Remove needless let.
693         Call `elmo-imap4-parse-bye'.
694
695 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
696
697         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
698         the mailbox does not exist.
699         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
700
701 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
702
703         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
704
705 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
706
707         * elmo-vars.el (elmo-search-mime-charset): Abolished.
708
709         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
710         (elmo-network-initialize-session-buffer): Defined.
711
712         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
713         Abolished.
714         (mmelmo-imap4-get-mime-entity): Rewrite.
715
716         * elmo2.el (elmo-error): Capitalize error message.
717
718         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
719         (elmo-network-session-buffer): New macro.
720         (elmo-network-open-session): Use it.
721
722         * elmo-imap4.el: Rewrite.
723
724 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
725
726         * elmo-nntp.el (Toplevel): Require 'elmo-net.
727
728 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
729
730         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
731         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
732         (elmo-imap4-create-msgdb-from-overview-string): Use
733         `elmo-msgdb-create-overview-from-buffer'.
734
735 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
736
737         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
738         (elmo-imap4-default-hierarchy-delimiter): New variable.
739         (elmo-imap4-list-folders): Use it.
740
741 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
742
743         * elmo-net.el (elmo-network-open-session): Add user and
744         stream-type for process-buffer name.
745
746         * elmo-pop3.el (elmo-network-initialize-session): Call
747         buffer-disable-undo.
748
749         * elmo-imap4.el (elmo-network-initialize-session):
750         Set current-buffer as an argument for `buffer-disable-undo'.
751
752         * elmo-pop3.el (elmo-network-close-session): Don't use
753         `process-live-p'.
754
755         * elmo-vars.el (elmo-default-pop3-authenticate-type):
756         Set default as 'user.
757
758         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
759
760         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
761         and `elmo-imap4-flush-connection'.
762
763         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
764         (elmo-pop3-get-spec): Assume auth as symbol.
765         (elmo-open-network-stream): Moved to `elmo-net'.
766
767         * elmo-pop3.el (toplevel): Require 'elmo-net.
768         Define `sasl-cram-md5' to silence byte compilier.
769         (elmo-pop3-connection-cache) Abolished.
770         (elmo-pop3-authenticator-alist) New variable.
771         (elmo-pop3-session): Define.
772         (elmo-pop3-connection-get-process): Abolished.
773         (elmo-pop3-connection-get-buffer): Ditto.
774         (elmo-pop3-close-connection): Ditto.
775         (elmo-pop3-flush-connection): Ditto.
776         (elmo-pop3-get-connection): Ditto.
777         (elmo-pop3-get-session): New function.
778         (Replacement for `elmo-pop3-get-connection').
779         All other related modules are changed.
780         (elmo-network-close-session): Define.
781         (elmo-pop3-send-command): Abolished argument `buffer'.
782         All other related modules are changed.
783         (elmo-pop3-read-response): Likewise.
784         (elmo-pop3-open-connection): Abolished.
785         (elmo-pop3-auth-user): New function.
786         (elmo-pop3-auth-apop): Ditto.
787         (elmo-pop3-auth-cram-md5): Ditto.
788         (elmo-pop3-auth-scram-md5): Ditto.
789         (elmo-pop3-auth-digest-md5): Ditto.
790         (elmo-network-initialize-session): Define.
791         (elmo-network-authenticate-session): Ditto.
792         (elmo-network-setup-session): Ditto.
793
794         * elmo-imap4.el (toplevel): Require 'elmo-net.
795         (elmo-imap4-session): Define.
796         (elmo-imap4-connection-cache): Abolished.
797         (elmo-imap4-password-key): Ditto.
798         (elmo-imap4-flush-connection): Ditto.
799         (elmo-imap4-get-connection): Ditto.
800         All other related modules are changed.
801         (elmo-imap4-get-session): New function
802         (Replacement for `elmo-imap4-get-connection').
803         (elmo-imap4-read-response): Abolished argument `buffer'.
804         All other related modules are changed.
805         (elmo-imap4-send-command): Likewise.
806         (elmo-imap4-select-folder): Abolished.
807         All other related modules are changed.
808         (elmo-imap4-select-mailbox): New function.
809         (Replacement for `elmo-imap4-select-folder').
810         (elmo-imap4-auth-login): Simplify.
811         (Assume current buffer as process buffer)
812         (elmo-imap4-auth-cram-md5): Ditto.
813         (elmo-imap4-auth-digest-md5): Ditto.
814         (elmo-imap4-login): Ditto.
815         (elmo-imap4-open-connection): Abolished.
816         (elmo-imap4-open-connection-1): Abolished.
817         (elmo-network-initialize-sessoin): Define.
818         (elmo-network-authenticate-session): Ditto.
819         (elmo-network-setup-session): Ditto.
820
821         * elmo-net.el: New module.
822
823 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
824
825         * elmo-util.el (elmo-define-error): New function.
826
827         * elmo2.el (elmo-error): Define.
828         (elmo-open-error): Define.
829         (elmo-authenticate-error): Define.
830
831         * elmo-imap4.el (elmo-imap4-error): Abolish.
832         (elmo-imap4-error-type): Abolish.
833         (elmo-imap4-error-process): Abolish.
834         (elmo-imap4-error-message): Abolish
835         (elmo-imap4-list-folders): Don't quote lambda.
836         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
837         (elmo-imap4-parse-namespace): Ditto.
838         (elmo-imap4-open-connection): Rewrite.
839         (elmo-imap4-open-connection-1): Simplified (authenticate only).
840         (elmo-imap4-get-connection): Abolish local variable `result'.
841
842 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
843
844         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
845         wrong-type-argument error when auth is nil.
846
847 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
848
849         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
850         (elmo-default-nntp-stream-type): Ditto.
851         (elmo-default-pop3-stream-type): Ditto.
852         (elmo-network-stream-type-alist): Ditto.
853         (elmo-default-imap4-ssl): Abolished.
854         (elmo-default-nntp-ssl): Ditto.
855         (elmo-default-pop3-ssl): Ditto.
856
857         * elmo-util.el: (toplevel): Removed needless requires.
858         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
859         (elmo-open-network-stream): Open network stream according to
860         the value of `elmo-network-stream-type-alist'.
861         (elmo-get-network-stream-type): New function.
862         (elmo-network-stream-type-spec-string): New macro.
863         (elmo-network-stream-type-symbol): Ditto.
864         (elmo-network-stream-type-function): Ditto.
865
866         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
867         network-stream-type. All other related portions are changed.
868         (elmo-pop3-open-connection): Ditto.
869
870         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
871         network-stream-type. All other related portions are changed.
872
873         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
874         network-stream-type.All other related portions are changed.
875         (elmo-imap4-error): New macro.
876         (elmo-imap4-error-type): Ditto.
877         (elmo-imap4-error-process): Ditto.
878         (elmo-imap4-error-message): Ditto.
879         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
880         (elmo-imap4-auth-cram-md5): Ditto.
881         (elmo-imap4-auth-digest-md5): Ditto.
882         (elmo-imap4-login): Ditto.
883         (elmo-imap4-open-connection): Remove password entry if authentication
884         was in vain.
885         (elmo-imap4-user-at-host): Abolished.
886         (elmo-imap4-password-key): New buffer local variable.
887         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
888         using protocol, port, auth and stream-type.
889
890         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
891
892 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
893
894         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
895
896         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
897
898         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
899         (elmo-imap4-authenticator-alist): New variable.
900         (elmo-imap4-open-connection-1): Rename from
901         elmo-imap4-open-connection.
902         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
903         only wraps elmo-imap4-open-connection-1.
904         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
905         user-at-host.
906         (elmo-imap4-auth-login): New function.
907         (elmo-imap4-auth-cram-md5): New function.
908         (elmo-imap4-auth-digest-md5): New function.
909         (elmo-imap4-login): New function.
910
911 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
912
913         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
914         function `error'.
915
916 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
917
918         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
919
920 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
921
922         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
923
924 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
925
926         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
927         for server responses, quote `*' regardless of where it appears.
928
929 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
930
931         * elmo-maildir.el (elmo-maildir-commit): New alias.
932
933 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
934
935         * elmo-util.el (elmo-display-progress):
936                 Use `progress-feedback-with-label'.
937
938 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
939
940         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
941         (elmo-imap4-non-atom-char-regex): Ditto.
942         (elmo-imap4-non-text-char-regex): Ditto.
943         (elmo-imap4-literal-threshold): Ditto.
944         (elmo-imap4-atom-p): New function.
945         (elmo-imap4-quotable-p): Ditto.
946         (elmo-imap4-nil): Ditto.
947         (elmo-imap4-atom): Ditto.
948         (elmo-imap4-quoted): Ditto.
949         (elmo-imap4-literal-subr): Ditto.
950         (elmo-imap4-literal): Ditto.
951         (elmo-imap4-buffer-literal): Ditto.
952         (elmo-imap4-string-subr): Ditto.
953         (elmo-imap4-string): Ditto.
954         (elmo-imap4-buffer-string): Ditto.
955         (elmo-imap4-astring-subr): Ditto.
956         (elmo-imap4-astring): Ditto.
957         (elmo-imap4-buffer-astring): Ditto.
958         (elmo-imap4-nstring): Ditto.
959         (elmo-imap4-buffer-nstring): Ditto.
960         (elmo-imap4-mailbox): New alias.
961         (elmo-imap4-field-body): Ditto.
962         (elmo-imap4-userid): Ditto.
963         (elmo-imap4-password): Ditto.
964         (elmo-imap4-format-quoted): New function.
965         (elmo-imap4-send-command): Rewritten.  Accept a list of command
966         arguments and handle "atom", "quoted" and "literal" string here.
967         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
968         `elmo-imap4-send-command'.
969         (elmo-imap4-folder-exists-p): Likewise.
970         (elmo-imap4-create-folder): Likewise.
971         (elmo-imap4-delete-folder): Likewise.
972         (elmo-imap4-rename-folder): Likewise.
973         (elmo-imap4-max-of-folder): Likewise.
974         (elmo-imap4-check-validity): Likewise.
975         (elmo-imap4-sync-validity): Likewise.
976         (elmo-imap4-server-diff): Likewise.
977         (elmo-imap4-select-folder): Likewise.
978         (elmo-imap4-copy-msgs): Likewise.
979         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
980         (elmo-imap4-mark-set-on-msgs): Likewise.
981         (elmo-imap4-read-part): Likewise.
982         (elmo-imap4-read-msg): Likewise.
983         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
984         `elmo-imap4-password' for `elmo-imap4-send-command'.
985         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
986         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
987         `elmo-imap4-buffer-literal'.
988         (elmo-imap4-append-msg): Likewise.
989
990         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
991         `delete' for removing dead connection from the connection cache.
992         Move deletion of the process buffer after that.
993         (elmo-imap4-list): Change `defsubst' to `defun'.
994         (elmo-imap4-commit): Make error message verbose.
995         (elmo-imap4-search): Ditto.
996         (elmo-imap4-list): Ditto.
997         (elmo-imap4-select-folder): Ditto.
998         (elmo-imap4-copy-msgs): Ditto.
999         (elmo-imap4-delete-msg-by-id): Ditto.
1000         (elmo-imap4-append-msg-by-id): Ditto.
1001         (elmo-imap4-append-msg): Ditto.
1002
1003 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1004
1005         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
1006         when dired is used on XEmacs.
1007
1008 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
1009
1010         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
1011         instead of `append'.
1012         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
1013         `elmo-plugged-p' directly.
1014         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
1015         of `elmo-plugged-p' directly.
1016
1017         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
1018         Eliminate unused variable.  Use `memq' for checking a process status.
1019         Use `cons' instead of `append' for updating the connection cache.
1020         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
1021         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
1022
1023 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
1024
1025         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
1026         `elmo-imap4-read-point' exactly.
1027
1028         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
1029         the local variable `folder' to `mailbox'.
1030         Rename the argument `fld' to `folder'.
1031
1032 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
1033
1034         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
1035         * elmo-imap4.el (elmo-imap4-commit): Ditto.
1036
1037 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
1038
1039         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
1040         (elmo-pop3-number-uidl-hash): New buffer-local variable.
1041         (elmo-pop3-uidl-number-hash): Ditto.
1042         (elmo-pop3-size-hash): Ditto.
1043         (elmo-pop3-uidl-done): Ditto.
1044         (elmo-pop3-list-done): Ditto.
1045         (elmo-pop3-connection-get-process): New defmacro.
1046         (elmo-pop3-connection-get-buffer): Ditto.
1047         (elmo-pop3-close-connection): Delete buffer and process.
1048         (elmo-pop3-flush-connection): Don't delete buffer and process.
1049         (elmo-pop3-get-connection): Added optional argument `if-exists'.
1050         Setup UIDL and size hash.
1051         (elmo-pop3-send-command-no-erase): Deleted
1052         (elmo-pop3-send-command): Added optional argument `no-erase'.
1053         (elmo-pop3-parse-uidl-response): New function.
1054         (elmo-pop3-parse-list-response): Set size hash.
1055         (elmo-pop3-list-location): New function.
1056         (elmo-pop3-list-by-uidl-subr): Ditto.
1057         (elmo-pop3-list-by-list): Ditto.
1058         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
1059         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
1060         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
1061         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
1062         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
1063         Use uidl.
1064         (elmo-pop3-uidl-to-number): New function.
1065         (elmo-pop3-number-to-uidl): Ditto.
1066         (elmo-pop3-number-to-size): Ditto.
1067         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
1068         Set number by use of uidl.
1069         (elmo-pop3-msgdb-create-message): Likewise.
1070         Set size, loc-alist in msgdb.
1071         (elmo-pop3-read-msg): Set number by use of uidl.
1072         Added optional argument `msgdb'.
1073         (elmo-pop3-delete-msg): Ditto.
1074         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
1075         (elmo-pop3-commit): Close connection.
1076
1077         * elmo-pipe.el (elmo-pipe-max-of-folder):
1078         Bind `elmo-pop3-use-uidl' as nil.
1079         (elmo-pipe-drain): Ditto.
1080         Call `elmo-commit'.
1081
1082         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
1083         (elmo-msgdb-overview-entity-set-size): New defsubst.
1084
1085 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1086
1087         * elmo-vars.el (elmo-use-killed-list): New variable
1088         (Renamed from `elmo-nntp-use-killed-list').
1089         (elmo-nntp-use-killed-list): Eliminated.
1090
1091         * elmo-msgdb.el (elmo-msgdb-expand-path):
1092         Changed expanding msgdb path for elmo-multi.
1093
1094         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1095         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1096         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1097         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1098         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1099         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1100         (toplevel): Deleted time-stamp line.
1101
1102         * elmo2.el (elmo-clear-killed ): Defined as function
1103         (Abolished defining as a backend function).
1104         All other related modules are changed.
1105
1106 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1107
1108         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1109
1110 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
1111
1112         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1113
1114 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1115
1116         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1117
1118 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
1119
1120         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1121         asynchronous folder check.
1122
1123         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1124
1125         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1126         `elmo-nntp-use-killed-list'.
1127         (elmo-nntp-list-folder): Use killed list.
1128         (elmo-nntp-max-of-folder): Ditto.
1129         (elmo-nntp-msgdb-create): Set killed list.
1130
1131         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1132
1133         * elmo2.el (elmo-clear-killed): New backend function.
1134         All other related modules are changed.
1135
1136 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
1137
1138         * elmo-util.el (elmo-imap4-spec-folder): Use
1139         `elmo-imap4-spec-mailbox'; Mark as obsolete.
1140         All callers changed.
1141
1142 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
1143
1144         * mmelmo-2.el (initialize-instance):
1145         Use `mime-buffer-entity-buffer-internal' instead of
1146         `mime-entity-buffer'.
1147
1148         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1149         (mime-entity-body): Implemented.
1150         (mime-goto-header-start-point): Deleted.
1151         (mime-goto-body-end-point): Ditto.
1152         (mime-entity-point-min): Ditto.
1153         (mime-entity-point-max): Ditto.
1154         (mime-entity-children): Ditto.
1155         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1156         instead of `mime-entity-buffer'.
1157         (mime-entity-header-buffer): Ditto.
1158         (mime-entity-body-buffer): Ditto.
1159         (mime-write-entity-content): Ditto.
1160
1161         * pldap.el (ldap-static-if): New macro.
1162         (toplevel): Use it instead of `static-if'.
1163
1164 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
1165
1166         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1167         included in `attrs' argument.
1168
1169 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
1170
1171         * elmo-util.el (elmo-get-passwd): Use old backquote style.
1172
1173         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1174         (ldap-ldif-safe-init-char-regexp): Ditto.
1175         (ldap-ldif-safe-string-regexp): Ditto.
1176         (ldap/ldif-safe-string-p): New macro.
1177         (ldap/ldif-insert-field): Ditto.
1178         (ldap-modify): Use it.
1179         (ldap-add): Ditto.
1180         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1181         (ldap-decode-attribute): Decode only when `attr' is consp.
1182         (ldap-delete): Bind `ret'.
1183         (toplevel): Require 'cl at compile time.
1184         Removed (require 'poe) and (require 'std11).
1185         (pldap-version): Eliminated.
1186         (ldap-search-basic): Removed auth and dn binding.
1187         (ldap-ldif-field-name-regexp): New constant.
1188         (ldap-ldif-field-head-regexp): Ditto.
1189         (ldap-ldif-next-field-head-regexp): Ditto.
1190         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1191         (ldap/field-end): New function.
1192         (ldap/field-body): Use it.
1193         (ldap/collect-field): Ditto.
1194         (ldap-search-basic): Use `ldap/field-body'.
1195
1196 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
1197
1198         * pldap.el (ldap-default-attribute-encoder): New user option.
1199         (ldap/field-body): Decode base64 string.
1200         (ldap/collect-field): Ditto.
1201         (ldap-encode-attribute): New function.
1202         (ldap-add-entries): Use it.
1203         (ldap-modify-entries): Ditto.
1204         (ldap-search-entries): Enclosed decoding function with
1205         `with-temp-buffer' and set as unibyte.
1206         (ldap-search-basic): Set process buffer as unibyte.
1207
1208         * elmo-util.el (elmo-folder-identical-system-p):
1209         Eliminated name space checking.
1210
1211         * pldap.el: New module.
1212         toplevel: Changed condition to detect built-in ldap feature.
1213         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1214         (ldap-add): Added error handling.
1215         (ldap-modify): Ditto.
1216         (ldap-delete): Ditto.
1217
1218 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
1219
1220         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1221         Initialize local variables with `let'.  Inline a temporary
1222         variable for the progress percentage.  Sort `setq' to reduce
1223         function call in the while-loop.
1224
1225         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1226         into the conditional branch.
1227
1228 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
1229
1230         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1231         Move a conditional out of the while-loop.
1232
1233 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1234
1235         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1236         elmo-msgdb-overview-get-entity-by-number.
1237         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1238         throw.
1239
1240 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
1241
1242         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1243         the local variable for a packed number self descriptively.
1244
1245 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1246
1247         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1248         * elmo-localdir.el (elmo-localdir-pack-number): Use
1249         `elmo-msgdb-overview-get-entity' instead of
1250         `elmo-msgdb-overview-get-entity-by-number'.
1251         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1252         (elmo-msgdb-search-overview-entity): Removed.
1253         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1254         by message-id or number.
1255         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1256         instead of `elmo-msgdb-overview-get-entity-by-number'.
1257
1258 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1259
1260         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1261         non-nil, use hash table for overview.
1262         (elmo-hash-maximum-size): New variable.
1263         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1264         (elmo-msgdb-make-overview-hashtb): New function.
1265         (elmo-msgdb-clear-overview-hashtb): New function.
1266         (elmo-clear-hash-val): New macro.
1267         All other related modules are changed.
1268
1269 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
1270
1271         * elmo2.el (elmo-move-msgs): If there's other message with
1272         same message-id, don't use cache.
1273
1274 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
1275
1276         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1277         number is already packed.
1278
1279 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
1280
1281         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1282
1283 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1284
1285         * elmo-vars.el (elmo-display-progress-threshold): New variable.
1286         All other related modules are changed.
1287
1288 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
1289
1290         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1291         of refiling failure on Maildir.
1292
1293 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1294
1295         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1296         decoded mime-charset with cache.
1297         (elmo-msgdb-overview-entity-get-from): Ditto.
1298         (elmo-msgdb-overview-entity-get-subject): Ditto.
1299         * elmo-vars.el (elmo-use-decoded-cache): New variable.
1300
1301 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
1302
1303         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1304         (elmo-remove-passwd): Fill password with 0 before erase.
1305         * elmo-vars.el (elmo-passwd-life-time): New variable.
1306
1307 \f
1308 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
1309
1310         * elmo-cache.el (elmo-buffer-cache-add):
1311         Set message cache buffer as unibyte.
1312
1313 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1314
1315         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1316         become nil.
1317
1318 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
1319
1320         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1321         when display is finished.
1322         (elmo-nntp-msgdb-create): Ditto.
1323         (elmo-nntp-groups-read-response): Ditto.
1324         (elmo-nntp-retrieve-headers): Ditto.
1325         (elmo-nntp-msgdb-create-message): Ditto.
1326         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1327         (elmo-pop3-msgdb-create-message): Ditto.
1328
1329 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
1330
1331         * elmo-maildir.el (elmo-maildir-msgdb-create):
1332         Use `elmo-msgdb-sort-by-date'.
1333
1334 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
1335
1336         * elmo2.el (elmo-read-msg-no-cache):
1337         Eliminated arguments after `outbuf'.
1338         Don't use cache even if it exists.
1339         (elmo-read-msg): Don't pass arguments after `outbuf' to
1340         `elmo-read-msg-no-cache'.
1341
1342 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
1343
1344         * elmo-archive.el (elmo-archive-list-folders):
1345         Use `file-name-directory' if base folder does not exist.
1346
1347 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
1348
1349         * elmo-archive.el (elmo-archive-list-folders): Don't use
1350         `file-name-directory'.
1351
1352 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
1353
1354         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1355         If `force' is non-nil, try flushing all operation queues.
1356
1357 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1358
1359         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1360         as-binary-process.
1361
1362 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1363
1364         * elmo-util.el (elmo-display-progress): Fixed.
1365
1366 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1367
1368         * elmo-util.el (elmo-display-progress): New function.
1369         All other related modules are changed.
1370