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