* mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
[elisp/wanderlust.git] / elmo / ChangeLog
1 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
2
3         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
4         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5
6         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7         before greeting.
8         (elmo-imap4-read-part): Use "body.peek" to fetch part.
9         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
10
11 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
12
13         * mmelmo-imap4-2.el (mime-entity-children): Defined.
14
15         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
16         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
17         before STORE command.
18
19 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
20
21         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
22
23         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
24         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
25         of `response'.
26         (elmo-imap4-list-folders): Removed unused local variable.
27         (elmo-network-initialize-session): Ditto.
28         (elmo-imap4-delete-msg-by-id): Ditto.
29         (elmo-imap4-parse-fetch): Ditto.
30         (elmo-imap4-copy-msgs): Ditto.
31         Use `dst-spec' instead of `dst-folder'.
32         (elmo-network-authenticate-session): Check authenticate type `plain'.
33
34 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
35
36         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
37         garbage checking.
38         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
39         `elmo-imap4-response-value'.
40         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
41
42 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
43
44         * elmo-imap4.el (elmo-imap4-send-command):
45         Cause elmo-imap4-bye-error when current response is BYE.
46         (elmo-imap4-arrival-filter): Changed greeting response value.
47
48         * elmo2.el (elmo-imap4-bye-error): Define.
49
50         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
51         (elmo-imap4-server-diff): Ditto.
52         (elmo-imap4-response-bye-p): New macro.
53         (elmo-imap4-response-error-text): Get text from BYE response.
54         (elmo-imap4-read-response): Return if BYE response.
55         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
56         (elmo-imap4-folder-exists-p): Ditto.
57         (elmo-imap4-commit): Do nothing when different mailbox is selected.
58         (elmo-imap4-parse-bye): New function.
59         (elmo-imap4-parse-response): Remove needless let.
60         Call `elmo-imap4-parse-bye'.
61
62 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
63
64         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
65         the mailbox does not exist.
66         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
67
68 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
69
70         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
71
72 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
73
74         * elmo-vars.el (elmo-search-mime-charset): Abolished.
75
76         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
77         (elmo-network-initialize-session-buffer): Defined.
78
79         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
80         Abolished.
81         (mmelmo-imap4-get-mime-entity): Rewrite.
82
83         * elmo2.el (elmo-error): Capitalize error message.
84
85         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
86         (elmo-network-session-buffer): New macro.
87         (elmo-network-open-session): Use it.
88
89         * elmo-imap4.el: Rewrite.
90
91 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
92
93         * elmo-nntp.el (Toplevel): Require 'elmo-net.
94
95 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
96
97         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
98         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
99         (elmo-imap4-create-msgdb-from-overview-string): Use
100         `elmo-msgdb-create-overview-from-buffer'.
101
102 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
103
104         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
105         (elmo-imap4-default-hierarchy-delimiter): New variable.
106         (elmo-imap4-list-folders): Use it.
107
108 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
109
110         * elmo-net.el (elmo-network-open-session): Add user and
111         stream-type for process-buffer name.
112
113         * elmo-pop3.el (elmo-network-initialize-session): Call
114         buffer-disable-undo.
115
116         * elmo-imap4.el (elmo-network-initialize-session):
117         Set current-buffer as an argument for `buffer-disable-undo'.
118
119         * elmo-pop3.el (elmo-network-close-session): Don't use
120         `process-live-p'.
121
122         * elmo-vars.el (elmo-default-pop3-authenticate-type):
123         Set default as 'user.
124
125         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
126
127         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
128         and `elmo-imap4-flush-connection'.
129
130         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
131         (elmo-pop3-get-spec): Assume auth as symbol.
132         (elmo-open-network-stream): Moved to `elmo-net'.
133
134         * elmo-pop3.el (toplevel): Require 'elmo-net.
135         Define `sasl-cram-md5' to silence byte compilier.
136         (elmo-pop3-connection-cache) Abolished.
137         (elmo-pop3-authenticator-alist) New variable.
138         (elmo-pop3-session): Define.
139         (elmo-pop3-connection-get-process): Abolished.
140         (elmo-pop3-connection-get-buffer): Ditto.
141         (elmo-pop3-close-connection): Ditto.
142         (elmo-pop3-flush-connection): Ditto.
143         (elmo-pop3-get-connection): Ditto.
144         (elmo-pop3-get-session): New function.
145         (Replacement for `elmo-pop3-get-connection').
146         All other related modules are changed.
147         (elmo-network-close-session): Define.
148         (elmo-pop3-send-command): Abolished argument `buffer'.
149         All other related modules are changed.
150         (elmo-pop3-read-response): Likewise.
151         (elmo-pop3-open-connection): Abolished.
152         (elmo-pop3-auth-user): New function.
153         (elmo-pop3-auth-apop): Ditto.
154         (elmo-pop3-auth-cram-md5): Ditto.
155         (elmo-pop3-auth-scram-md5): Ditto.
156         (elmo-pop3-auth-digest-md5): Ditto.
157         (elmo-network-initialize-session): Define.
158         (elmo-network-authenticate-session): Ditto.
159         (elmo-network-setup-session): Ditto.
160
161         * elmo-imap4.el (toplevel): Require 'elmo-net.
162         (elmo-imap4-session): Define.
163         (elmo-imap4-connection-cache): Abolished.
164         (elmo-imap4-password-key): Ditto.
165         (elmo-imap4-flush-connection): Ditto.
166         (elmo-imap4-get-connection): Ditto.
167         All other related modules are changed.
168         (elmo-imap4-get-session): New function
169         (Replacement for `elmo-imap4-get-connection').
170         (elmo-imap4-read-response): Abolished argument `buffer'.
171         All other related modules are changed.
172         (elmo-imap4-send-command): Likewise.
173         (elmo-imap4-select-folder): Abolished.
174         All other related modules are changed.
175         (elmo-imap4-select-mailbox): New function.
176         (Replacement for `elmo-imap4-select-folder').
177         (elmo-imap4-auth-login): Simplify.
178         (Assume current buffer as process buffer)
179         (elmo-imap4-auth-cram-md5): Ditto.
180         (elmo-imap4-auth-digest-md5): Ditto.
181         (elmo-imap4-login): Ditto.
182         (elmo-imap4-open-connection): Abolished.
183         (elmo-imap4-open-connection-1): Abolished.
184         (elmo-network-initialize-sessoin): Define.
185         (elmo-network-authenticate-session): Ditto.
186         (elmo-network-setup-session): Ditto.
187
188         * elmo-net.el: New module.
189
190 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
191
192         * elmo-util.el (elmo-define-error): New function.
193
194         * elmo2.el (elmo-error): Define.
195         (elmo-open-error): Define.
196         (elmo-authenticate-error): Define.
197
198         * elmo-imap4.el (elmo-imap4-error): Abolish.
199         (elmo-imap4-error-type): Abolish.
200         (elmo-imap4-error-process): Abolish.
201         (elmo-imap4-error-message): Abolish
202         (elmo-imap4-list-folders): Don't quote lambda.
203         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
204         (elmo-imap4-parse-namespace): Ditto.    
205         (elmo-imap4-open-connection): Rewrite.
206         (elmo-imap4-open-connection-1): Simplified (authenticate only).
207         (elmo-imap4-get-connection): Abolish local variable `result'.
208
209 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
210
211         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
212         wrong-type-argument error when auth is nil.
213
214 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
215
216         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
217         (elmo-default-nntp-stream-type): Ditto.
218         (elmo-default-pop3-stream-type): Ditto.
219         (elmo-network-stream-type-alist): Ditto.
220         (elmo-default-imap4-ssl): Abolished.
221         (elmo-default-nntp-ssl): Ditto.
222         (elmo-default-pop3-ssl): Ditto.
223
224         * elmo-util.el: (toplevel): Removed needless requires.
225         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
226         (elmo-open-network-stream): Open network stream according to
227         the value of `elmo-network-stream-type-alist'.
228         (elmo-get-network-stream-type): New function.
229         (elmo-network-stream-type-spec-string): New macro.
230         (elmo-network-stream-type-symbol): Ditto.
231         (elmo-network-stream-type-function): Ditto.
232
233         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
234         network-stream-type. All other related portions are changed.
235         (elmo-pop3-open-connection): Ditto.
236
237         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
238         network-stream-type. All other related portions are changed.
239
240         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
241         network-stream-type.All other related portions are changed.
242         (elmo-imap4-error): New macro.
243         (elmo-imap4-error-type): Ditto.
244         (elmo-imap4-error-process): Ditto.
245         (elmo-imap4-error-message): Ditto.
246         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
247         (elmo-imap4-auth-cram-md5): Ditto.
248         (elmo-imap4-auth-digest-md5): Ditto.
249         (elmo-imap4-login): Ditto.
250         (elmo-imap4-open-connection): Remove password entry if authentication
251         was in vain.
252         (elmo-imap4-user-at-host): Abolished.
253         (elmo-imap4-password-key): New buffer local variable.
254         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
255         using protocol, port, auth and stream-type.
256
257         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
258
259 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
260
261         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
262
263         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
264
265         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
266         (elmo-imap4-authenticator-alist): New variable.
267         (elmo-imap4-open-connection-1): Rename from
268         elmo-imap4-open-connection.
269         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
270         only wraps elmo-imap4-open-connection-1.
271         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
272         user-at-host.
273         (elmo-imap4-auth-login): New function.
274         (elmo-imap4-auth-cram-md5): New function.
275         (elmo-imap4-auth-digest-md5): New function.
276         (elmo-imap4-login): New function.
277
278 2000-08-12  Kenichi OKADA <okada@opaopa.org>
279
280         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
281         function `error'.
282
283 2000-08-12  Kenichi OKADA <okada@opaopa.org>
284
285         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
286
287 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
288
289         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
290
291 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
292
293         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
294         for server responses, quote `*' regardless of where it appears.
295
296 2000-08-03  Kenichi OKADA <okada@opaopa.org>
297
298         * elmo-maildir.el (elmo-maildir-commit): New alias.
299
300 2000-08-03  Kenichi OKADA <okada@opaopa.org>
301
302         * elmo-util.el (elmo-display-progress):
303                 Use `progress-feedback-with-label'.
304
305 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
306
307         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
308         (elmo-imap4-non-atom-char-regex): Ditto.
309         (elmo-imap4-non-text-char-regex): Ditto.
310         (elmo-imap4-literal-threshold): Ditto.
311         (elmo-imap4-atom-p): New function.
312         (elmo-imap4-quotable-p): Ditto.
313         (elmo-imap4-nil): Ditto.
314         (elmo-imap4-atom): Ditto.
315         (elmo-imap4-quoted): Ditto.
316         (elmo-imap4-literal-subr): Ditto.
317         (elmo-imap4-literal): Ditto.
318         (elmo-imap4-buffer-literal): Ditto.
319         (elmo-imap4-string-subr): Ditto.
320         (elmo-imap4-string): Ditto.
321         (elmo-imap4-buffer-string): Ditto.
322         (elmo-imap4-astring-subr): Ditto.
323         (elmo-imap4-astring): Ditto.
324         (elmo-imap4-buffer-astring): Ditto.
325         (elmo-imap4-nstring): Ditto.
326         (elmo-imap4-buffer-nstring): Ditto.
327         (elmo-imap4-mailbox): New alias.
328         (elmo-imap4-field-body): Ditto.
329         (elmo-imap4-userid): Ditto.
330         (elmo-imap4-password): Ditto.
331         (elmo-imap4-format-quoted): New function.
332         (elmo-imap4-send-command): Rewritten.  Accept a list of command
333         arguments and handle "atom", "quoted" and "literal" string here.
334         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
335         `elmo-imap4-send-command'.
336         (elmo-imap4-folder-exists-p): Likewise.
337         (elmo-imap4-create-folder): Likewise.
338         (elmo-imap4-delete-folder): Likewise.
339         (elmo-imap4-rename-folder): Likewise.
340         (elmo-imap4-max-of-folder): Likewise.
341         (elmo-imap4-check-validity): Likewise.
342         (elmo-imap4-sync-validity): Likewise.
343         (elmo-imap4-server-diff): Likewise.
344         (elmo-imap4-select-folder): Likewise.
345         (elmo-imap4-copy-msgs): Likewise.
346         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
347         (elmo-imap4-mark-set-on-msgs): Likewise.
348         (elmo-imap4-read-part): Likewise.
349         (elmo-imap4-read-msg): Likewise.
350         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
351         `elmo-imap4-password' for `elmo-imap4-send-command'.
352         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
353         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
354         `elmo-imap4-buffer-literal'.
355         (elmo-imap4-append-msg): Likewise.
356
357         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
358         `delete' for removing dead connection from the connection cache.
359         Move deletion of the process buffer after that.
360         (elmo-imap4-list): Change `defsubst' to `defun'.
361         (elmo-imap4-commit): Make error message verbose.
362         (elmo-imap4-search): Ditto.
363         (elmo-imap4-list): Ditto.
364         (elmo-imap4-select-folder): Ditto.
365         (elmo-imap4-copy-msgs): Ditto.
366         (elmo-imap4-delete-msg-by-id): Ditto.
367         (elmo-imap4-append-msg-by-id): Ditto.
368         (elmo-imap4-append-msg): Ditto.
369
370 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
371
372         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
373         when dired is used on XEmacs.
374
375 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
376
377         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
378         instead of `append'.
379         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
380         `elmo-plugged-p' directly.
381         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
382         of `elmo-plugged-p' directly.
383
384         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
385         Eliminate unused variable.  Use `memq' for checking a process status.
386         Use `cons' instead of `append' for updating the connection cache.
387         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
388         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
389
390 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
391
392         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
393         `elmo-imap4-read-point' exactly.
394
395         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
396         the local variable `folder' to `mailbox'.
397         Rename the argument `fld' to `folder'.
398
399 2000-07-20  Kenichi OKADA <okada@opaopa.org>
400
401         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
402         * elmo-imap4.el (elmo-imap4-commit): Ditto.
403
404 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
405
406         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
407         (elmo-pop3-number-uidl-hash): New buffer-local variable.
408         (elmo-pop3-uidl-number-hash): Ditto.
409         (elmo-pop3-size-hash): Ditto.
410         (elmo-pop3-uidl-done): Ditto.
411         (elmo-pop3-list-done): Ditto.
412         (elmo-pop3-connection-get-process): New defmacro.
413         (elmo-pop3-connection-get-buffer): Ditto.
414         (elmo-pop3-close-connection): Delete buffer and process.
415         (elmo-pop3-flush-connection): Don't delete buffer and process.
416         (elmo-pop3-get-connection): Added optional argument `if-exists'.
417         Setup UIDL and size hash.
418         (elmo-pop3-send-command-no-erase): Deleted
419         (elmo-pop3-send-command): Added optional argument `no-erase'.
420         (elmo-pop3-parse-uidl-response): New function.
421         (elmo-pop3-parse-list-response): Set size hash.
422         (elmo-pop3-list-location): New function.
423         (elmo-pop3-list-by-uidl-subr): Ditto.
424         (elmo-pop3-list-by-list): Ditto.
425         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
426         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
427         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
428         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
429         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
430         Use uidl.
431         (elmo-pop3-uidl-to-number): New function.
432         (elmo-pop3-number-to-uidl): Ditto.
433         (elmo-pop3-number-to-size): Ditto.
434         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
435         Set number by use of uidl.
436         (elmo-pop3-msgdb-create-message): Likewise.
437         Set size, loc-alist in msgdb.
438         (elmo-pop3-read-msg): Set number by use of uidl.
439         Added optional argument `msgdb'.
440         (elmo-pop3-delete-msg): Ditto.
441         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
442         (elmo-pop3-commit): Close connection.
443
444         * elmo-pipe.el (elmo-pipe-max-of-folder):
445         Bind `elmo-pop3-use-uidl' as nil.
446         (elmo-pipe-drain): Ditto.
447         Call `elmo-commit'.
448
449         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
450         (elmo-msgdb-overview-entity-set-size): New defsubst.
451
452 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
453
454         * elmo-vars.el (elmo-use-killed-list): New variable
455         (Renamed from `elmo-nntp-use-killed-list').
456         (elmo-nntp-use-killed-list): Eliminated.
457
458         * elmo-msgdb.el (elmo-msgdb-expand-path):
459         Changed expanding msgdb path for elmo-multi.
460
461         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
462         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
463         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
464         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
465         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
466         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
467         (toplevel): Deleted time-stamp line.
468
469         * elmo2.el (elmo-clear-killed ): Defined as function
470         (Abolished defining as a backend function).
471         All other related modules are changed.
472
473 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
474
475         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
476
477 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
478
479         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
480
481 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
482
483         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
484
485 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
486
487         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
488         asynchronous folder check.
489
490         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
491
492         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
493         `elmo-nntp-use-killed-list'.
494         (elmo-nntp-list-folder): Use killed list.
495         (elmo-nntp-max-of-folder): Ditto.
496         (elmo-nntp-msgdb-create): Set killed list.
497
498         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
499
500         * elmo2.el (elmo-clear-killed): New backend function.
501         All other related modules are changed.
502
503 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
504
505         * elmo-util.el (elmo-imap4-spec-folder): Use
506         `elmo-imap4-spec-mailbox'; Mark as obsolete.
507         All callers changed.
508
509 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
510
511         * mmelmo-2.el (initialize-instance):
512         Use `mime-buffer-entity-buffer-internal' instead of
513         `mime-entity-buffer'.
514
515         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
516         (mime-entity-body): Implemented.
517         (mime-goto-header-start-point): Deleted.
518         (mime-goto-body-end-point): Ditto.
519         (mime-entity-point-min): Ditto.
520         (mime-entity-point-max): Ditto.
521         (mime-entity-children): Ditto.
522         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
523         instead of `mime-entity-buffer'.
524         (mime-entity-header-buffer): Ditto.
525         (mime-entity-body-buffer): Ditto.
526         (mime-write-entity-content): Ditto.
527
528         * pldap.el (ldap-static-if): New macro.
529         (toplevel): Use it instead of `static-if'.
530
531 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
532
533         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
534         included in `attrs' argument.
535
536 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
537
538         * elmo-util.el (elmo-get-passwd): Use old backquote style.
539
540         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
541         (ldap-ldif-safe-init-char-regexp): Ditto.
542         (ldap-ldif-safe-string-regexp): Ditto.
543         (ldap/ldif-safe-string-p): New macro.
544         (ldap/ldif-insert-field): Ditto.
545         (ldap-modify): Use it.
546         (ldap-add): Ditto.
547         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
548         (ldap-decode-attribute): Decode only when `attr' is consp.
549         (ldap-delete): Bind `ret'.
550         (toplevel): Require 'cl at compile time.
551         Removed (require 'poe) and (require 'std11).
552         (pldap-version): Eliminated.
553         (ldap-search-basic): Removed auth and dn binding.
554         (ldap-ldif-field-name-regexp): New constant.
555         (ldap-ldif-field-head-regexp): Ditto.
556         (ldap-ldif-next-field-head-regexp): Ditto.
557         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
558         (ldap/field-end): New function.
559         (ldap/field-body): Use it.
560         (ldap/collect-field): Ditto.
561         (ldap-search-basic): Use `ldap/field-body'.
562
563 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
564
565         * pldap.el (ldap-default-attribute-encoder): New user option.
566         (ldap/field-body): Decode base64 string.
567         (ldap/collect-field): Ditto.
568         (ldap-encode-attribute): New function.
569         (ldap-add-entries): Use it.
570         (ldap-modify-entries): Ditto.
571         (ldap-search-entries): Enclosed decoding function with
572         `with-temp-buffer' and set as unibyte.
573         (ldap-search-basic): Set process buffer as unibyte.
574
575         * elmo-util.el (elmo-folder-identical-system-p):
576         Eliminated name space checking.
577
578         * pldap.el: New module.
579         toplevel: Changed condition to detect built-in ldap feature.
580         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
581         (ldap-add): Added error handling.
582         (ldap-modify): Ditto.
583         (ldap-delete): Ditto.
584
585 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
586
587         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
588         Initialize local variables with `let'.  Inline a temporary
589         variable for the progress percentage.  Sort `setq' to reduce
590         function call in the while-loop.
591
592         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
593         into the conditional branch.
594
595 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
596
597         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
598         Move a conditional out of the while-loop.
599
600 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
601
602         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
603         elmo-msgdb-overview-get-entity-by-number.
604         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
605         throw.
606
607 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
608
609         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
610         the local variable for a packed number self descriptively.
611
612 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
613
614         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
615         * elmo-localdir.el (elmo-localdir-pack-number): Use
616         `elmo-msgdb-overview-get-entity' instead of
617         `elmo-msgdb-overview-get-entity-by-number'.
618         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
619         (elmo-msgdb-search-overview-entity): Removed.
620         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
621         by message-id or number.
622         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
623         instead of `elmo-msgdb-overview-get-entity-by-number'.
624
625 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
626
627         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
628         non-nil, use hash table for overview.
629         (elmo-hash-maximum-size): New variable.
630         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
631         (elmo-msgdb-make-overview-hashtb): New function.
632         (elmo-msgdb-clear-overview-hashtb): New function.
633         (elmo-clear-hash-val): New macro.
634         All other related modules are changed.
635
636 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
637
638         * elmo2.el (elmo-move-msgs): If there's other message with
639         same message-id, don't use cache.
640
641 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
642
643         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
644         number is already packed.
645
646 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
647
648         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
649
650 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
651
652         * elmo-vars.el (elmo-display-progress-threshold): New variable.
653         All other related modules are changed.
654
655 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
656
657         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
658         of refiling failure on Maildir.
659
660 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
661
662         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
663         decoded mime-charset with cache.
664         (elmo-msgdb-overview-entity-get-from): Ditto.
665         (elmo-msgdb-overview-entity-get-subject): Ditto.
666         * elmo-vars.el (elmo-use-decoded-cache): New variable.
667
668 2000-05-10  Kenichi OKADA <okada@opaopa.org>
669
670         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
671         (elmo-remove-passwd): Fill password with 0 before erase.
672         * elmo-vars.el (elmo-passwd-life-time): New variable.
673
674 \f
675 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
676
677         * elmo-cache.el (elmo-buffer-cache-add):
678         Set message cache buffer as unibyte.
679
680 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
681
682         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
683         become nil.
684
685 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
686
687         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
688         when display is finished.
689         (elmo-nntp-msgdb-create): Ditto.
690         (elmo-nntp-groups-read-response): Ditto.
691         (elmo-nntp-retrieve-headers): Ditto.
692         (elmo-nntp-msgdb-create-message): Ditto.
693         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
694         (elmo-pop3-msgdb-create-message): Ditto.
695
696 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
697
698         * elmo-maildir.el (elmo-maildir-msgdb-create):
699         Use `elmo-msgdb-sort-by-date'.
700
701 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
702
703         * elmo2.el (elmo-read-msg-no-cache):
704         Eliminated arguments after `outbuf'.
705         Don't use cache even if it exists.
706         (elmo-read-msg): Don't pass arguments after `outbuf' to
707         `elmo-read-msg-no-cache'.
708
709 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
710
711         * elmo-archive.el (elmo-archive-list-folders):
712         Use `file-name-directory' if base folder does not exist.
713
714 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
715
716         * elmo-archive.el (elmo-archive-list-folders): Don't use
717         `file-name-directory'.
718
719 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
720
721         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
722         If `force' is non-nil, try flushing all operation queues.
723
724 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
725
726         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
727         as-binary-process.
728
729 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
730
731         * elmo-util.el (elmo-display-progress): Fixed.
732
733 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
734
735         * elmo-util.el (elmo-display-progress): New function.
736         All other related modules are changed.
737