d2c144c88460fec68b42231af62a8a886862767e
[elisp/wanderlust.git] / elmo / ChangeLog
1 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
2
3         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
4
5 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
6
7         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8         for server responses, quote `*' regardless of where it appears.
9
10 2000-08-03  Kenichi OKADA <okada@opaopa.org>
11
12         * elmo-maildir.el (elmo-maildir-commit): New alias.
13
14 2000-08-03  Kenichi OKADA <okada@opaopa.org>
15
16         * elmo-util.el (elmo-display-progress):
17                 Use `progress-feedback-with-label'.
18
19 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
20
21         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
22         (elmo-imap4-non-atom-char-regex): Ditto.
23         (elmo-imap4-non-text-char-regex): Ditto.
24         (elmo-imap4-literal-threshold): Ditto.
25         (elmo-imap4-atom-p): New function.
26         (elmo-imap4-quotable-p): Ditto.
27         (elmo-imap4-nil): Ditto.
28         (elmo-imap4-atom): Ditto.
29         (elmo-imap4-quoted): Ditto.
30         (elmo-imap4-literal-subr): Ditto.
31         (elmo-imap4-literal): Ditto.
32         (elmo-imap4-buffer-literal): Ditto.
33         (elmo-imap4-string-subr): Ditto.
34         (elmo-imap4-string): Ditto.
35         (elmo-imap4-buffer-string): Ditto.
36         (elmo-imap4-astring-subr): Ditto.
37         (elmo-imap4-astring): Ditto.
38         (elmo-imap4-buffer-astring): Ditto.
39         (elmo-imap4-nstring): Ditto.
40         (elmo-imap4-buffer-nstring): Ditto.
41         (elmo-imap4-mailbox): New alias.
42         (elmo-imap4-field-body): Ditto.
43         (elmo-imap4-userid): Ditto.
44         (elmo-imap4-password): Ditto.
45         (elmo-imap4-format-quoted): New function.
46         (elmo-imap4-send-command): Rewritten.  Accept a list of command
47         arguments and handle "atom", "quoted" and "literal" string here.
48         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
49         `elmo-imap4-send-command'.
50         (elmo-imap4-folder-exists-p): Likewise.
51         (elmo-imap4-create-folder): Likewise.
52         (elmo-imap4-delete-folder): Likewise.
53         (elmo-imap4-rename-folder): Likewise.
54         (elmo-imap4-max-of-folder): Likewise.
55         (elmo-imap4-check-validity): Likewise.
56         (elmo-imap4-sync-validity): Likewise.
57         (elmo-imap4-server-diff): Likewise.
58         (elmo-imap4-select-folder): Likewise.
59         (elmo-imap4-copy-msgs): Likewise.
60         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
61         (elmo-imap4-mark-set-on-msgs): Likewise.
62         (elmo-imap4-read-part): Likewise.
63         (elmo-imap4-read-msg): Likewise.
64         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
65         `elmo-imap4-password' for `elmo-imap4-send-command'.
66         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
67         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
68         `elmo-imap4-buffer-literal'.
69         (elmo-imap4-append-msg): Likewise.
70
71         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
72         `delete' for removing dead connection from the connection cache.
73         Move deletion of the process buffer after that.
74         (elmo-imap4-list): Change `defsubst' to `defun'.
75         (elmo-imap4-commit): Make error message verbose.
76         (elmo-imap4-search): Ditto.
77         (elmo-imap4-list): Ditto.
78         (elmo-imap4-select-folder): Ditto.
79         (elmo-imap4-copy-msgs): Ditto.
80         (elmo-imap4-delete-msg-by-id): Ditto.
81         (elmo-imap4-append-msg-by-id): Ditto.
82         (elmo-imap4-append-msg): Ditto.
83
84 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
85
86         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
87         when dired is used on XEmacs.
88
89 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
90
91         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
92         instead of `append'.
93         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
94         `elmo-plugged-p' directly.
95         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
96         of `elmo-plugged-p' directly.
97
98         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
99         Eliminate unused variable.  Use `memq' for checking a process status.
100         Use `cons' instead of `append' for updating the connection cache.
101         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
102         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
103
104 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
105
106         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
107         `elmo-imap4-read-point' exactly.
108
109         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
110         the local variable `folder' to `mailbox'.
111         Rename the argument `fld' to `folder'.
112
113 2000-07-20  Kenichi OKADA <okada@opaopa.org>
114
115         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
116         * elmo-imap4.el (elmo-imap4-commit): Ditto.
117
118 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
119
120         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
121         (elmo-pop3-number-uidl-hash): New buffer-local variable.
122         (elmo-pop3-uidl-number-hash): Ditto.
123         (elmo-pop3-size-hash): Ditto.
124         (elmo-pop3-uidl-done): Ditto.
125         (elmo-pop3-list-done): Ditto.
126         (elmo-pop3-connection-get-process): New defmacro.
127         (elmo-pop3-connection-get-buffer): Ditto.
128         (elmo-pop3-close-connection): Delete buffer and process.
129         (elmo-pop3-flush-connection): Don't delete buffer and process.
130         (elmo-pop3-get-connection): Added optional argument `if-exists'.
131         Setup UIDL and size hash.
132         (elmo-pop3-send-command-no-erase): Deleted
133         (elmo-pop3-send-command): Added optional argument `no-erase'.
134         (elmo-pop3-parse-uidl-response): New function.
135         (elmo-pop3-parse-list-response): Set size hash.
136         (elmo-pop3-list-location): New function.
137         (elmo-pop3-list-by-uidl-subr): Ditto.
138         (elmo-pop3-list-by-list): Ditto.
139         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
140         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
141         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
142         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
143         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
144         Use uidl.
145         (elmo-pop3-uidl-to-number): New function.
146         (elmo-pop3-number-to-uidl): Ditto.
147         (elmo-pop3-number-to-size): Ditto.
148         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
149         Set number by use of uidl.
150         (elmo-pop3-msgdb-create-message): Likewise.
151         Set size, loc-alist in msgdb.
152         (elmo-pop3-read-msg): Set number by use of uidl.
153         Added optional argument `msgdb'.
154         (elmo-pop3-delete-msg): Ditto.
155         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
156         (elmo-pop3-commit): Close connection.
157
158         * elmo-pipe.el (elmo-pipe-max-of-folder):
159         Bind `elmo-pop3-use-uidl' as nil.
160         (elmo-pipe-drain): Ditto.
161         Call `elmo-commit'.
162
163         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
164         (elmo-msgdb-overview-entity-set-size): New defsubst.
165
166 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
167
168         * elmo-vars.el (elmo-use-killed-list): New variable
169         (Renamed from `elmo-nntp-use-killed-list').
170         (elmo-nntp-use-killed-list): Eliminated.
171
172         * elmo-msgdb.el (elmo-msgdb-expand-path):
173         Changed expanding msgdb path for elmo-multi.
174
175         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
176         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
177         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
178         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
179         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
180         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
181         (toplevel): Deleted time-stamp line.
182
183         * elmo2.el (elmo-clear-killed ): Defined as function
184         (Abolished defining as a backend function).
185         All other related modules are changed.
186
187 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
188
189         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
190
191 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
192
193         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
194
195 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
196
197         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
198
199 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
200
201         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
202         asynchronous folder check.
203
204         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
205
206         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
207         `elmo-nntp-use-killed-list'.
208         (elmo-nntp-list-folder): Use killed list.
209         (elmo-nntp-max-of-folder): Ditto.
210         (elmo-nntp-msgdb-create): Set killed list.
211
212         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
213
214         * elmo2.el (elmo-clear-killed): New backend function.
215         All other related modules are changed.
216
217 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
218
219         * elmo-util.el (elmo-imap4-spec-folder): Use
220         `elmo-imap4-spec-mailbox'; Mark as obsolete.
221         All callers changed.
222
223 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
224
225         * mmelmo-2.el (initialize-instance):
226         Use `mime-buffer-entity-buffer-internal' instead of
227         `mime-entity-buffer'.
228
229         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
230         (mime-entity-body): Implemented.
231         (mime-goto-header-start-point): Deleted.
232         (mime-goto-body-end-point): Ditto.
233         (mime-entity-point-min): Ditto.
234         (mime-entity-point-max): Ditto.
235         (mime-entity-children): Ditto.
236         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
237         instead of `mime-entity-buffer'.
238         (mime-entity-header-buffer): Ditto.
239         (mime-entity-body-buffer): Ditto.
240         (mime-write-entity-content): Ditto.
241
242         * pldap.el (ldap-static-if): New macro.
243         (toplevel): Use it instead of `static-if'.
244
245 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
246
247         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
248         included in `attrs' argument.
249
250 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
251
252         * elmo-util.el (elmo-get-passwd): Use old backquote style.
253
254         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
255         (ldap-ldif-safe-init-char-regexp): Ditto.
256         (ldap-ldif-safe-string-regexp): Ditto.
257         (ldap/ldif-safe-string-p): New macro.
258         (ldap/ldif-insert-field): Ditto.
259         (ldap-modify): Use it.
260         (ldap-add): Ditto.
261         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
262         (ldap-decode-attribute): Decode only when `attr' is consp.
263         (ldap-delete): Bind `ret'.
264         (toplevel): Require 'cl at compile time.
265         Removed (require 'poe) and (require 'std11).
266         (pldap-version): Eliminated.
267         (ldap-search-basic): Removed auth and dn binding.
268         (ldap-ldif-field-name-regexp): New constant.
269         (ldap-ldif-field-head-regexp): Ditto.
270         (ldap-ldif-next-field-head-regexp): Ditto.
271         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
272         (ldap/field-end): New function.
273         (ldap/field-body): Use it.
274         (ldap/collect-field): Ditto.
275         (ldap-search-basic): Use `ldap/field-body'.
276
277 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
278
279         * pldap.el (ldap-default-attribute-encoder): New user option.
280         (ldap/field-body): Decode base64 string.
281         (ldap/collect-field): Ditto.
282         (ldap-encode-attribute): New function.
283         (ldap-add-entries): Use it.
284         (ldap-modify-entries): Ditto.
285         (ldap-search-entries): Enclosed decoding function with
286         `with-temp-buffer' and set as unibyte.
287         (ldap-search-basic): Set process buffer as unibyte.
288
289         * elmo-util.el (elmo-folder-identical-system-p):
290         Eliminated name space checking.
291
292         * pldap.el: New module.
293         toplevel: Changed condition to detect built-in ldap feature.
294         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
295         (ldap-add): Added error handling.
296         (ldap-modify): Ditto.
297         (ldap-delete): Ditto.
298
299 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
300
301         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
302         Initialize local variables with `let'.  Inline a temporary
303         variable for the progress percentage.  Sort `setq' to reduce
304         function call in the while-loop.
305
306         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
307         into the conditional branch.
308
309 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
310
311         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
312         Move a conditional out of the while-loop.
313
314 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
315
316         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
317         elmo-msgdb-overview-get-entity-by-number.
318         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
319         throw.
320
321 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
322
323         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
324         the local variable for a packed number self descriptively.
325
326 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
327
328         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
329         * elmo-localdir.el (elmo-localdir-pack-number): Use
330         `elmo-msgdb-overview-get-entity' instead of
331         `elmo-msgdb-overview-get-entity-by-number'.
332         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
333         (elmo-msgdb-search-overview-entity): Removed.
334         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
335         by message-id or number.
336         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
337         instead of `elmo-msgdb-overview-get-entity-by-number'.
338
339 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
340
341         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
342         non-nil, use hash table for overview.
343         (elmo-hash-maximum-size): New variable.
344         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
345         (elmo-msgdb-make-overview-hashtb): New function.
346         (elmo-msgdb-clear-overview-hashtb): New function.
347         (elmo-clear-hash-val): New macro.
348         All other related modules are changed.
349
350 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
351
352         * elmo2.el (elmo-move-msgs): If there's other message with
353         same message-id, don't use cache.
354
355 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
356
357         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
358         number is already packed.
359
360 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
361
362         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
363
364 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
365
366         * elmo-vars.el (elmo-display-progress-threshold): New variable.
367         All other related modules are changed.
368
369 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
370
371         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
372         of refiling failure on Maildir.
373
374 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
375
376         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
377         decoded mime-charset with cache.
378         (elmo-msgdb-overview-entity-get-from): Ditto.
379         (elmo-msgdb-overview-entity-get-subject): Ditto.
380         * elmo-vars.el (elmo-use-decoded-cache): New variable.
381
382 2000-05-10  Kenichi OKADA <okada@opaopa.org>
383
384         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
385         (elmo-remove-passwd): Fill password with 0 before erase.
386         * elmo-vars.el (elmo-passwd-life-time): New variable.
387
388 \f
389 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
390
391         * elmo-cache.el (elmo-buffer-cache-add):
392         Set message cache buffer as unibyte.
393
394 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
395
396         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
397         become nil.
398
399 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
400
401         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
402         when display is finished.
403         (elmo-nntp-msgdb-create): Ditto.
404         (elmo-nntp-groups-read-response): Ditto.
405         (elmo-nntp-retrieve-headers): Ditto.
406         (elmo-nntp-msgdb-create-message): Ditto.
407         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
408         (elmo-pop3-msgdb-create-message): Ditto.
409
410 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
411
412         * elmo-maildir.el (elmo-maildir-msgdb-create):
413         Use `elmo-msgdb-sort-by-date'.
414
415 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
416
417         * elmo2.el (elmo-read-msg-no-cache):
418         Eliminated arguments after `outbuf'.
419         Don't use cache even if it exists.
420         (elmo-read-msg): Don't pass arguments after `outbuf' to
421         `elmo-read-msg-no-cache'.
422
423 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
424
425         * elmo-archive.el (elmo-archive-list-folders):
426         Use `file-name-directory' if base folder does not exist.
427
428 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
429
430         * elmo-archive.el (elmo-archive-list-folders): Don't use
431         `file-name-directory'.
432
433 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
434
435         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
436         If `force' is non-nil, try flushing all operation queues.
437
438 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
439
440         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
441         as-binary-process.
442
443 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
444
445         * elmo-util.el (elmo-display-progress): Fixed.
446
447 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
448
449         * elmo-util.el (elmo-display-progress): New function.
450         All other related modules are changed.
451