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