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