1 2000-02-17 Kenichi OKADA <okada@opaopa.org>
3 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
5 2001-02-13 OKAZAKI Tetsurou <refactor@acidrain.localnet>
7 * elmo-imap4.el (elmo-imap4-prefetch-msg): Set `msgdb'
8 argument of `elmo-imap4-read-msg' as nil.
10 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
12 * elmo2.el (elmo-prefetch-msg): Set `unread' argument of
13 `elmo-read-msg' as 'unread.
14 (elmo-read-msg-with-cache): Set `msgdb' argument as nil.
16 * elmo-archive.el (elmo-archive-read-msg): Fixed arguments.
17 * elmo-cache.el (elmo-cache-read-msg): Ditto.
18 * elmo-filter.el (elmo-filter-read-msg): Ditto.
19 * elmo-imap4.el (elmo-imap4-read-msg): Ditto.
20 * elmo-internal.el (elmo-internal-read-msg): Ditto.
21 * elmo-localdir.el (elmo-localdir-read-msg): Ditto.
22 * elmo-localnews.el (elmo-localnews-read-msg): Ditto.
23 * elmo-maildir.el (elmo-maildir-read-msg): Ditto.
24 * elmo-multi.el (elmo-multi-read-msg): Ditto.
25 * elmo-nntp.el (elmo-nntp-read-msg): Ditto.
26 * elmo-pipe.el (elmo-pipe-read-msg): Ditto.
27 * elmo-pop3.el (elmo-pop3-read-msg): Ditto.
29 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
31 * elmo2.el (elmo-buffer-cache-message): Call `elmo-read-msg' with
32 argument `unread' as non-nil.
33 (elmo-read-msg-with-cache): Added argument `unread'.
34 (elmo-read-msg-no-cache): Ditto.
35 (elmo-read-msg): Ditto.
37 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
39 * elmo-pipe.el (elmo-pipe-drain): Bind `elmo-inhibit-read-cache' as t
40 while moving messages.
42 * elmo2.el (elmo-read-msg): Don't use cache if
43 `elmo-inhibit-read-cache' is non-nil.
45 * elmo-vars.el (elmo-inhibit-read-cache): New global switch.
48 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
50 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
52 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
54 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
55 Fixed problem when `elmo-pop3-use-uidl' is nil.
56 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
58 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
60 * elmo-version.el (elmo-version): Up to 2.4.1.
62 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
64 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
66 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
67 (elmo-pop3-msgdb-create-as-numlist): Use it.
69 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
70 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
72 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
73 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
75 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
77 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
78 when elmo-mark-as-read is called with second argument nil.
80 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
82 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
83 Moved to elmo-util.el.
85 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
86 Moved from elmo-pipe.el
88 * elmo-archive.el (elmo-archive-call-process): Enclose with
91 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
92 "RFC822" (because RFC822.PEEK is obsolete).
93 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
95 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
97 * elmo-archive.el (elmo-archive-call-process): Don't check for
98 the exit status when Nemacs is running.
100 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
102 * elmo-net.el (elmo-network-session-password-key): Don't set default to
105 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
106 (elmo-pop3-get-spec): Set default of auth to 'user.
108 * elmo-imap4.el (elmo-imap4-session-check):
109 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
110 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
111 (elmo-imap4-auth-login): New function; Revival.
112 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
113 `elmo-imap4-auth-login'.
115 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
117 * elmo2.el (toplevel): Move `product-provide' declare.
118 * mmelmo.el (toplevel): Ditto.
120 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
122 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
124 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
126 * elmo-util.el (elmo-folder-get-store-type): New function.
127 (elmo-folder-direct-copy-p): Use it.
129 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
131 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
132 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
133 and result of `elmo-imap4-use-flag-p'.
134 (elmo-imap4-fetch-callback-1): Set mark according to
135 the result of `elmo-imap4-use-flag-p'.
137 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
139 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
140 (elmo-generic-list-folder-unread): Ditto.
141 (elmo-folder-get-info): Ditto.
142 (elmo-folder-set-info-max-by-numdb): Ditto.
143 (elmo-folder-get-info-max): Ditto.
144 (elmo-folder-get-info-length): Ditto.
145 (elmo-folder-get-info-unread): Ditto.
146 (elmo-folder-info-make-hashtb): Ditto.
148 * elmo2.el: Removed above functions.
150 * elmo-imap4.el (elmo-network-authenticate-session):
151 Fixed a logic for response checking.
153 2000-12-15 Daiki Ueno <ueno@unixuser.org>
155 * elmo-net.el: Add autoload settings for `starttls-negotiate',
156 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
157 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
160 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
161 for `starttls-open-stream' and `starttls-negotiate'.
163 * elmo-nntp.el: Remove autoload settings for
164 `starttls-open-stream' and `starttls-negotiate'.
166 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
167 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
168 `luna-define-class' with `eval-and-compile'.
170 2000-11-21 Kenichi OKADA <okada@opaopa.org>
172 * elmo-imap4.el (toplevel): Require 'ssl.
173 Add autoload 'starttls.
174 * elmo-pop3.el (toplevel): Ditto.
175 * elmo-nntp.el (toplevel): Ditto.
177 2000-11-20 Kenichi OKADA <okada@opaopa.org>
179 * elmo-imap4.el (toplevel): defun at compile time.
180 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
181 sasl-next-step, sasl-step-data, sasl-step-set-data.
182 * elmo-pop3.el (toplevel): Ditto.
184 2000-11-20 Kenichi OKADA <okada@opaopa.org>
186 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
188 2000-11-20 Kenichi OKADA <okada@opaopa.org>
190 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
192 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
193 and `elmo-pop-auth-apop'.
195 2000-11-20 Kenichi OKADA <okada@opaopa.org>
197 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
199 2000-11-20 Kenichi OKADA <okada@opaopa.org>
201 * elmo-pop3.el (elmo-network-authenticate-session): Split
202 encoded response value.
204 2000-11-20 Kenichi OKADA <okada@opaopa.org>
206 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
207 `elmo-pop3-force-login'.
208 Redefine `sasl-mechanisms'.
209 * elmo-vars.el (elmo-pop3-force-login): Ditto.
211 2000-11-20 Kenichi OKADA <okada@opaopa.org>
213 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
214 Delete `elmo-imap4-authenticator-alist'.
215 (elmo-imap4-auth-cram-md5): Delete.
216 (elmo-imap4-auth-digest-md5): Delete.
218 2000-11-20 Kenichi OKADA <okada@opaopa.org>
220 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
221 (elmo-pop3-auth-scram-md5): Ditto.
222 (elmo-pop3-auth-cram-md5): Ditto.
224 2000-11-19 Kenichi OKADA <okada@opaopa.org>
226 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
227 Delete `elmo-pop3-authenticator-alist'.
229 2000-11-19 Kenichi OKADA <okada@opaopa.org>
231 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
233 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
236 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
238 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
240 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
242 * elmo-nntp.el (elmo-nntp-get-folders-info):
243 Fixed problem when '\' character is contained in user-id.
244 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
247 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
249 * elmo-imap4.el (elmo-imap4-delete-folder):
250 Send "close" before "delete" (Use commented out line).
251 (elmo-imap4-rename-folder): Ditto.
253 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
254 folder string itself.
255 (elmo-dop-list-deleted): New function.
256 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
259 * elmo-util.el (elmo-string-rassoc-all): New function.
261 2000-11-26 Kenichi OKADA <okada@opaopa.org>
263 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
265 2000-11-22 Kenichi OKADA <okada@opaopa.org>
267 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
270 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
272 * elmo-net.el (elmo-network-get-session): Changed logic for
273 checking process status.
275 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
277 Changed logic for checking process status.
279 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
281 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
283 (elmo-network-setup-session): Set UIDL hash size according to
284 the length of list response.
285 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
286 according to the length of list response;
287 Return the length of list response.
288 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
290 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
292 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
294 * elmo-internal.el (elmo-internal-search): Fix last change.
296 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
298 * elmo-internal.el (elmo-internal-search): Rewrite.
299 (Fixed problem which is pointed out by Akihiro MOTOKI
300 <motoki@da.jp.nec.com>)
302 * elmo-version.el (elmo-version): Up to 2.4.0.
304 2000-11-06 Kenichi OKADA <okada@opaopa.org>
306 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
308 2000-11-06 Kenichi OKADA <okada@opaopa.org>
310 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
311 non-nil, make hierarchy.
313 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
315 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
316 `elmo-pop3-use-uidl' must be bound to nil.
317 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
319 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
321 * elmo-util.el (elmo-copy-file): Don't cause an error after
322 `add-name-to-file' failed.
324 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
325 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
327 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
329 * elmo-version.el (elmo-version): Up to 2.3.93.
331 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
333 * elmo-util.el (elmo-flatten): New function.
335 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
337 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
339 * elmo-cache.el (toplevel): Ditto.
340 * elmo-database.el (toplevel): Ditto.
341 * elmo-date.el (toplevel): Ditto.
342 * elmo-dop.el (toplevel): Ditto.
343 * elmo-filter.el (toplevel): Ditto.
344 * elmo-imap4.el (toplevel): Ditto.
345 * elmo-internal.el (toplevel): Ditto.
346 * elmo-localdir.el (toplevel): Ditto.
347 * elmo-localnews.el (toplevel): Ditto.
348 * elmo-maildir.el (toplevel): Ditto.
349 * elmo-msgdb.el (toplevel): Ditto.
350 * elmo-multi.el (toplevel): Ditto.
351 * elmo-net.el (toplevel): Ditto.
352 * elmo-nntp.el (toplevel): Ditto.
353 * elmo-pipe.el (toplevel): Ditto.
354 * elmo-pop3.el (toplevel): Ditto.
355 * elmo-util.el (toplevel): Ditto.
356 * elmo-vars.el (toplevel): Ditto.
357 * elmo2.el (toplevel): Ditto.
358 * mmelmo-imap4.el (toplevel): Ditto.
359 * mmelmo.el (toplevel): Ditto.
361 * elmo-version.el (elmo-version): Move to top.
363 * elmo-cache.el (toplevel): Fixed multiple Author header format.
364 * elmo-imap4.el (toplevel): Ditto.
365 * elmo-localdir.el (toplevel): Ditto.
366 * elmo-msgdb.el (toplevel): Ditto.
367 * elmo-nntp.el (toplevel): Ditto.
368 * elmo-pop3.el (toplevel): Ditto.
369 * elmo-version.el (toplevel): Ditto.
371 * elmo-localnews.el (toplevel): Added Keyword header.
373 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
375 * elmo-version.el (product-version-as-string): Defined using
379 * elmo-localdir.el (toplevel): Updated copyright notice.
380 * elmo-version.el (toplevel): Ditto.
381 * elmo-msgdb.el (toplevel): Ditto.
382 * elmo-imap4.el (toplevel): Ditto.
383 * elmo-nntp.el (toplevel): Ditto.
384 * elmo-pop3.el (toplevel): Ditto.
386 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
388 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
391 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
392 parameter value (It sometimes contains raw kanji).
394 2000-10-28 Kenichi OKADA <okada@opaopa.org>
396 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
397 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
399 2000-10-28 Kenichi OKADA <okada@opaopa.org>
401 * elmo-imap4.el (elmo-network-initialize-session): Fix.
403 2000-10-28 Kenichi OKADA <okada@opaopa.org>
405 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
406 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
408 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
410 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
411 value if selecting folder succceeded.
412 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
414 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
416 * elmo-util.el (elmo-make-directory): Fixed permission lateral
419 * elmo-util.el (elmo-string-matched-member): New function.
421 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
423 * elmo-util.el (elmo-unintern): New macro.
424 (elmo-number-set-member): Fixed docstring.
426 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
429 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
431 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
432 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
434 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
436 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
439 Return non-nil if selecting folder succeeded.
440 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
442 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
444 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
445 `file-name-completion' returns t.
446 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
447 (elmo-maildir-set-mark): Put `info' part to the files in the cur
448 directory if it does not exist.
449 (elmo-maildir-update-current): Use `while' instead of `mapcar'
452 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
454 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
455 enclosure (It's harmful in unplugged status).
457 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
459 * mmelmo-1.el: Removed.
461 * mmelmo-2.el: Ditto.
463 * mmelmo-imap4-1.el: Ditto.
465 * mmelmo-imap4-2.el: Ditto.
467 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
469 * mmelmo.el: Merged mmelmo-2.el.
471 * elmo-version.el (elmo-version): Up to 2.3.92.
473 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
475 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
476 elmo-update-number): Remove last period in "...done." message.
477 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
479 * elmo-cache.el (elmo-cache-expire-by-size,
480 elmo-cache-get-sorted-cache-file-list,
481 elmo-cache-msgdb-create-as-numlist): Ditto.
482 * elmo-dop.el (elmo-dop-save-pending-messages,
483 (elmo-dop-flush-pending-append-operations): Ditto.
484 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
485 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
486 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
487 (elmo-localdir-pack-number): Ditto.
488 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
489 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
490 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
491 mime-write-entity-content): Ditto.
492 * pldap.el (ldap-search-basic): Ditto.
494 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
496 * elmo-version.el (elmo-version): Up to 2.3.91.
498 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
499 Only when filter is 'last'.
501 * elmo-util.el (elmo-condition-atom-regexp): New constant.
502 (elmo-condition-parse-search-value): Use it.
503 (elmo-read-search-condition-internal): Quote value only when
506 2000-10-18 Kenichi OKADA <okada@opaopa.org>
508 * elmo2.el (elmo-generic-folder-diff): Fix.
510 2000-10-17 Kenichi OKADA <okada@opaopa.org>
512 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
513 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
514 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
515 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
516 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
517 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
519 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
521 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
524 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
526 * elmo-version.el (elmo-version): Up to 2.3.90.
528 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
529 (elmo-imap4-list-folder-important): Ditto.
531 2000-10-16 Kenichi OKADA <okada@opaopa.org>
533 * elmo-nntp.el (elmo-network-initialize-session): Fix.
535 2000-10-16 Kenichi OKADA <okada@opaopa.org>
537 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
539 2000-10-15 Kenichi OKADA <okada@opaopa.org>
541 * elmo-nntp.el (elmo-network-initialize-session):
542 Add starttls negotiation.
544 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
546 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
548 (elmo-network-setup-session): Define.
549 Call `elmo-nntp-send-mode-reader' when session opened.
551 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
553 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
555 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
557 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
558 an invalid SPACE character ahead of `SEARCH' command. Move
559 a valid SPACE character following `SEARCH' from conditional
560 `format' arguments to control-strings.
562 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
564 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
567 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
569 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
571 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
572 `w32-get-true-file-link-count' as t.
574 * elmo-imap4.el (elmo-imap4-read): Abolished.
575 (Renamed to `elmo-read' and moved to elmo-util.el)
576 All other related portions are changed.
578 * elmo-util.el (elmo-read): New function.
579 (elmo-condition-parse-search-value): Use it.
581 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
583 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
585 * elmo-nntp.el (elmo-nntp-session): Define.
586 (elmo-nntp-setting): Abolished.
587 All other related portions are changed.
588 (elmo-nntp-get-server-command): Changed argument.
589 (elmo-nntp-set-server-command): Ditto.
590 (elmo-nntp-xover-p): Ditto.
591 (elmo-nntp-set-xover): Ditto.
592 (elmo-nntp-listgroup-p): Ditto.
593 (elmo-nntp-set-listgroup): Ditto.
594 (elmo-nntp-list-active-p): Ditto.
595 (elmo-nntp-set-list-active): Ditto.
596 (elmo-nntp-xhdr-p): Ditto.
597 (elmo-nntp-set-xhdr): Ditto.
598 (elmo-nntp-flush-connection): Abolished.
599 (elmo-nntp-get-connection): Abolished.
600 (elmo-nntp-get-session): New function.
601 (elmo-network-initialize-session): Defined.
602 (elmo-network-authenticate-session): Ditto.
603 (elmo-nntp-send-mode-reader): Changed argument.
604 (elmo-nntp-send-command): Changed argument.
605 All other related portions are changed.
606 (elmo-nntp-read-response): Ditto.
607 (elmo-nntp-read-raw-response): Ditto.
608 (elmo-nntp-read-contents): Ditto.
609 (elmo-nntp-read-body): Ditto.
610 (elmo-nntp-goto-folder): Abolished.
611 (elmo-nntp-select-group): New function.
612 All other related portions are changed.
613 (This function substitutes `elmo-nntp-goto-folder')
614 (elmo-nntp-msgdb-create-by-header): Rewrite.
615 (elmo-nntp-get-overview): Eliminated.
616 (elmo-nntp-get-message): Ditto.
617 (elmo-nntp-open-connection) Abolished.
618 (elmo-nntp-read-msg): Rewrite.
619 (elmo-nntp-post): Ditto.
620 (elmo-nntp-send-data): Abolished.
621 (elmo-nntp-send-buffer): New function.
622 (elmo-nntp-send-data-line): Define as inline function.
623 (elmo-nntp-get-folders-info-prepare): Use session as key.
624 (elmo-nntp-groups-read-response): Changed argument.
625 (elmo-nntp-retrieve-headers): Ditto.
626 (elmo-nntp-msgdb-create-message): Ditto.
628 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
629 when searching by 'since' or 'before'.
631 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
633 * elmo-version.el (toplevel): Use product-version-as-string for set
634 verstion-string, if defined.
636 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
638 * elmo-util.el: Doc fixes.
640 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
642 * elmo-archive.el (toplevel): Use product-provide.
643 * elmo-cache.el (toplevel): Ditto.
644 * elmo-database.el (toplevel): Ditto.
645 * elmo-date.el (toplevel): Ditto.
646 * elmo-dop.el (toplevel): Ditto.
647 * elmo-filter.el (toplevel): Ditto.
648 * elmo-imap4.el (toplevel): Ditto.
649 * elmo-internal.el (toplevel): Ditto.
650 * elmo-localdir.el (toplevel): Ditto.
651 * elmo-localnews.el (toplevel): Ditto.
652 * elmo-maildir.el (toplevel): Ditto.
653 * elmo-msgdb.el (toplevel): Ditto.
654 * elmo-multi.el (toplevel): Ditto.
655 * elmo-net.el (toplevel): Ditto.
656 * elmo-nntp.el (toplevel): Ditto.
657 * elmo-pipe.el (toplevel): Ditto.
658 * elmo-pop3.el (toplevel): Ditto.
659 * elmo-util.el (toplevel): Ditto.
660 * elmo-vars.el (toplevel): Ditto.
661 * elmo2.el (toplevel): Ditto.
662 * mmelmo-1.el (toplevel): Ditto.
663 * mmelmo-2.el (toplevel): Ditto.
664 * mmelmo-imap4-1.el (toplevel): Ditto.
665 * mmelmo-imap4-2.el (toplevel): Ditto.
666 * mmelmo-imap4.el (toplevel): Ditto.
667 * mmelmo.el (toplevel): Ditto.
669 2000-10-10 Kenichi OKADA <okada@opaopa.org>
671 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
672 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
674 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
676 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
678 (elmo-multi-split-number-alist): Ditto.
680 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
682 * elmo-version.el: New file. Use product.el.
683 * elmo2.el: Add (require 'elmo-version).
684 * elmo-vars.el (elmo-appname, elmo-version): Move to
687 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
689 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
690 `elmo-msgdb-expand-path'.
691 (elmo-msgdb-load): Ditto.
692 Abolished 2nd argument. If 1st argument is not string, treat as spec.
693 (elmo-generic-list-folder-unread): Rewrite.
694 (elmo-generic-list-folder-important): Changed argument.
695 (elmo-list-folder-unread): Ditto.
696 (elmo-list-folder-important): Ditto.
697 (elmo-folder-diff): Rewrite.
698 (elmo-generic-folder-diff): New function.
699 (elmo-multi-get-number-alist-list): Abolished
700 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
701 (elmo-multi-folder-diff): Moved to elmo-multi.el
702 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
704 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
705 `elmo-msgdb-expand-path'.
706 (elmo-pop3-msgdb-create-as-numlist): Ditto.
707 (elmo-pop3-read-msg): Ditto.
708 (elmo-pop3-delete-msgs): Ditto.
709 (elmo-pop3-folder-diff): New alias.
711 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
712 `elmo-msgdb-expand-path'.
713 (elmo-pipe-list-folder-unread): Changed arguments.
714 (elmo-pipe-list-folder-important): Ditto.
715 (elmo-pipe-folder-diff): New alias.
717 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
718 `elmo-msgdb-expand-path'.
719 (elmo-nntp-max-of-folder): Ditto.
720 (elmo-nntp-msgdb-create): Ditto.
721 (elmo-nntp-delete-msgs): Ditto.
722 (elmo-nntp-folder-diff): New alias.
724 * elmo-multi.el (elmo-multi-folder-diff): New function.
725 (elmo-multi-split-mark-alist): Ditto.
726 (elmo-multi-split-number-alist): Ditto.
727 (elmo-multi-mark-alist-list): Abolished (Renamed to
728 elmo-multi-split-mark-alist).
729 (elmo-multi-list-folder-unread): Rewrite.
730 (elmo-multi-list-folder-important): Ditto.
731 (elmo-multi-list-folder): Set `spec' as 1st argument for
732 `elmo-msgdb-expand-path'.
733 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
734 instead of `elmo-multi-get-number-alist-list'.
736 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
737 If 1st argument is not string, treat as spec.
738 (elmo-list-folder-by-location): Set `spec' as 1st argument for
739 `elmo-msgdb-expand-path'.
740 (elmo-msgdb-flist-load): Ditto.
741 (elmo-msgdb-flist-save): Ditto.
742 (elmo-msgdb-delete-path): Ditto.
743 (elmo-msgdb-rename-path): Ditto.
745 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
746 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
747 (elmo-maildir-delete-mark-msgs): Ditto.
748 (elmo-maildir-msgdb-create): Ditto.
749 (elmo-maildir-read-msg): Ditto.
750 (elmo-maildir-delete-msgs): Ditto.
751 (elmo-maildir-list-folder-subr): Ditto.
752 (elmo-maildir-search): Ditto.
753 (elmo-maildir-get-msg-filename): Ditto.
754 (elmo-maildir-pack-number): Ditto.
755 (elmo-maildir-folder-diff): New alias.
757 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
759 * elmo-localdir.el (elmo-localdir-list-folder-subr):
760 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
761 (elmo-localdir-folder-diff): New alias.
763 * elmo-internal.el (elmo-internal-list-folder-subr):
764 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
765 (elmo-internal-list-folder-by-location): Ditto.
766 (elmo-internal-msgdb-create): Ditto.
767 (elmo-internal-delete-msgs): Ditto.
768 (elmo-internal-read-msg): Ditto.
769 (elmo-internal-folder-diff): New alias.
771 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
772 (elmo-imap4-list-folder): Set `spec' as 1st argument for
773 `elmo-msgdb-expand-path'.
774 (elmo-imap4-list-folder-unread): Changed arguments.
775 (elmo-imap4-list-folder-important): Ditto.
777 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
778 (elmo-filter-list-folder-important): Ditto.
779 (elmo-filter-folder-diff): New function.
781 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
783 * elmo-cache.el (elmo-cache-list-folder):
784 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
785 (elmo-cache-copy-msgs): Ditto.
786 (elmo-cache-folder-diff): New alias.
788 * elmo-archive.el (elmo-archive-list-folder-subr):
789 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
790 (elmo-archive-get-archive-name): Ditto.
791 (elmo-archive-create-file): Ditto.
792 (elmo-archive-append-msg): Ditto.
793 (elmo-archive-copy-msgs): Ditto.
794 (elmo-archive-copy-msgs-froms): Ditto.
795 (elmo-archive-get-msg-filename): Ditto.
796 (elmo-archive-folder-diff): New alias.
798 2000-10-06 Daiki Ueno <ueno@unixuser.org>
800 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
801 (elmo-pop3-stream-type-alist): New variable.
802 (elmo-nntp-stream-type-alist): New variable.
804 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
805 (elmo-kill-buffer): Ditto.
806 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
807 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
808 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
809 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
810 (elmo-imap4-get-spec): Take into account
811 `elmo-imap4-stream-type-alist'.
813 2000-10-06 Kenichi OKADA <okada@opaopa.org>
815 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
816 (elmo-nntp-list-folders-get-cache): Ditto.
818 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
820 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
821 character before 'uid'.
823 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
825 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
827 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
829 * elmo-util.el (elmo-number-set-member): New function.
830 (elmo-number-set-append-list): Ditto.
831 (elmo-number-set-append): Ditto.
833 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
834 Use `elmo-number-set-member'.
835 (elmo-living-messages): Ditto.
836 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
837 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
839 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
840 (elmo-imap4-add-to-cont-list): Abolished.
841 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
842 instead of elmo-imap4-add-to-cont-list.
844 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
845 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
847 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
849 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
851 * elmo-util.el (elmo-condition-parse-search-value):
854 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
856 * elmo-util.el (elmo-condition-find-key-internal): New function.
857 (elmo-condition-find-key): Ditto.
859 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
860 (elmo-msgdb-search-internal): Ditto.
861 (elmo-msgdb-search): Ditto.
863 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
865 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
866 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
868 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
869 (elmo-nntp-search-primitive): Fixed problem when condition is
872 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
874 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
875 (elmo-nntp-xhdr-p): New macro.
876 (elmo-nntp-set-xhdr): Ditto.
877 (elmo-nntp-parse-xhdr-response): New function.
878 (elmo-nntp-retrieve-field): Ditto.
879 (elmo-nntp-search-primitive): Ditto.
880 (elmo-nntp-search): Implemented.
882 * elmo-date.el (elmo-date-make-sortable-string): New macro.
884 * elmo-archive.el (elmo-archive-search): Set all number list to
885 `elmo-archive-field-condition-match'
887 * elmo-localdir.el (elmo-localdir-search): Likewise.
889 * elmo-maildir.el (elmo-maildir-search): Likewise.
891 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
893 * elmo-msgdb.el (elmo-living-messages): New function.
894 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
895 * elmo-cache.el (elmo-cache-list-folder): Ditto.
896 * elmo-dop.el (elmo-dop-list-folder): Ditto.
897 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
898 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
899 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
900 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
901 * elmo-multi.el (elmo-multi-list-folder): Ditto.
902 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
903 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
904 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
906 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
908 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
910 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
912 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
914 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
915 arguments for `SEARCH' command.
916 (elmo-imap4-parse-string): Set `POS' argument for char-after.
917 All other related portions are changed.
919 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
921 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
922 (elmo-list-folder-unread): Rewrite.
923 (elmo-list-folder-important): Ditto.
925 * elmo-util.el (elmo-filter-get-spec): Rewrite.
926 (elmo-condition-parse-error): New inline function.
927 (elmo-read-search-condition): New function.
928 (elmo-read-search-condition-internal): Ditto.
929 (elmo-parse-search-condition): Rewrite.
930 (elmo-condition-parse): New function.
931 (elmo-condition-parse-or-expr): Ditto.
932 (elmo-condition-parse-and-expr): Ditto.
933 (elmo-condition-parse-primitive): Ditto.
934 (elmo-condition-parse-search-value): Ditto.
935 (elmo-buffer-field-primitive-condition-match): Ditto.
936 (elmo-buffer-field-condition-match): Rewrite.
937 (elmo-file-field-condition-match): Ditto.
939 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
940 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
942 * elmo-internal.el (elmo-internal-search): Set `number' and
943 `number-list' argument of `elmo-file-field-condition-match'.
945 * elmo-maildir.el (elmo-maildir-search): Ditto.
947 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
948 `msgdb' as argument instead of `mark-alist'.
949 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
952 * elmo-multi.el: Likewise.
954 * elmo-pipe.el: Likewise.
956 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
957 (elmo-imap4-search-internal): Rewrite.
958 (elmo-imap4-search): Ditto.
960 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
961 (elmo-filter-list-folder-unread): Ditto.
962 (elmo-filter-list-folder-important): Ditto.
963 (elmo-filter-search): Rewrite.
965 * elmo-cache.el (elmo-cache-search-all): Set `number' and
966 `number-list' argument of `elmo-file-field-condition-match'.
967 (elmo-cache-search): Ditto.
969 * elmo-localdir.el: Likewise.
971 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
972 number-list and pass it to `elmo-buffer-field-condition-match'.
973 (elmo-archive-field-condition-match): Pass `number-list' to
974 `elmo-archive-field-condition-match'
976 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
978 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
981 * elmo2.el (elmo-folder-diff-async-callback): New variable.
982 (elmo-folder-diff-async-callback-data): Ditto.
983 (elmo-folder-diff-async): New function.
985 * elmo-net.el (elmo-network-session-name-prefix): New variable.
986 (elmo-network-session-cache-key): Use it as a prefix of the session
988 (elmo-network-open-session): Ditto.
990 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
991 (elmo-imap4-status-callback-data): Ditto.
992 (elmo-imap4-server-diff-async-callback): New variable.
993 (elmo-imap4-server-diff-async-callback-data): Ditto.
994 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
995 `elmo-imap4-status-callback-data'.
996 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
997 `elmo-imap4-status-callback-data' as nil.
998 (elmo-imap4-server-diff): Ditto.
999 (elmo-imap4-server-diff-async-callback-1): New function.
1000 (elmo-imap4-server-diff-async): Ditto.
1001 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
1003 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
1005 * elmo-util.el (elmo-list-delete): Doc fix.
1006 (elmo-delete-lists): Abolish.
1007 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
1008 instead of `elmo-delete-lists'.
1010 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
1012 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
1015 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
1017 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
1018 `elmo-imap4-literal-subr'.
1019 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
1020 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
1022 2000-09-15 Kenichi OKADA <okada@opaopa.org>
1024 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
1025 (elmo-archive-list-folder): Fix.
1026 (elmo-archive-max-of-folder): Fix.
1028 2000-09-15 Kenichi OKADA <okada@opaopa.org>
1030 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
1031 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
1032 (elmo-localdir-append-msg): Ditto.
1033 (elmo-localdir-list-folder): Fix for `nonsort'.
1034 (elmo-localdir-list-folder-subr): Fix for `killed'.
1035 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
1036 (elmo-maildir-list-folder-subr): Ditto.
1037 * elmo-archive.el (elmo-archive-list-folder): Ditto.
1038 (elmo-archive-list-folder-subr): Ditto.
1039 * elmo-internal.el (elmo-internal-list-folder): Ditto.
1040 (elmo-internal-list-folder-subr): Ditto.
1042 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
1044 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
1046 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
1048 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
1050 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
1052 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
1053 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
1055 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
1057 (elmo-imap4-read-part): Use "body.peek" to fetch part.
1058 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
1060 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
1062 * mmelmo-imap4-2.el (mime-entity-children): Defined.
1064 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
1065 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
1066 before STORE command.
1068 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
1070 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
1072 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
1073 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
1075 (elmo-imap4-list-folders): Removed unused local variable.
1076 (elmo-network-initialize-session): Ditto.
1077 (elmo-imap4-delete-msg-by-id): Ditto.
1078 (elmo-imap4-parse-fetch): Ditto.
1079 (elmo-imap4-copy-msgs): Ditto.
1080 Use `dst-spec' instead of `dst-folder'.
1081 (elmo-network-authenticate-session): Check authenticate type `plain'.
1083 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
1085 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
1087 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
1088 `elmo-imap4-response-value'.
1089 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
1091 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1093 * elmo-imap4.el (elmo-imap4-send-command):
1094 Cause elmo-imap4-bye-error when current response is BYE.
1095 (elmo-imap4-arrival-filter): Changed greeting response value.
1097 * elmo2.el (elmo-imap4-bye-error): Define.
1099 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
1100 (elmo-imap4-server-diff): Ditto.
1101 (elmo-imap4-response-bye-p): New macro.
1102 (elmo-imap4-response-error-text): Get text from BYE response.
1103 (elmo-imap4-read-response): Return if BYE response.
1104 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
1105 (elmo-imap4-folder-exists-p): Ditto.
1106 (elmo-imap4-commit): Do nothing when different mailbox is selected.
1107 (elmo-imap4-parse-bye): New function.
1108 (elmo-imap4-parse-response): Remove needless let.
1109 Call `elmo-imap4-parse-bye'.
1111 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
1113 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
1114 the mailbox does not exist.
1115 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
1117 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
1119 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
1121 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
1123 * elmo-vars.el (elmo-search-mime-charset): Abolished.
1125 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
1126 (elmo-network-initialize-session-buffer): Defined.
1128 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
1130 (mmelmo-imap4-get-mime-entity): Rewrite.
1132 * elmo2.el (elmo-error): Capitalize error message.
1134 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
1135 (elmo-network-session-buffer): New macro.
1136 (elmo-network-open-session): Use it.
1138 * elmo-imap4.el: Rewrite.
1140 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1142 * elmo-nntp.el (Toplevel): Require 'elmo-net.
1144 2000-08-27 Daiki Ueno <ueno@unixuser.org>
1146 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
1147 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
1148 (elmo-imap4-create-msgdb-from-overview-string): Use
1149 `elmo-msgdb-create-overview-from-buffer'.
1151 2000-08-26 Daiki Ueno <ueno@unixuser.org>
1153 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
1154 (elmo-imap4-default-hierarchy-delimiter): New variable.
1155 (elmo-imap4-list-folders): Use it.
1157 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
1159 * elmo-net.el (elmo-network-open-session): Add user and
1160 stream-type for process-buffer name.
1162 * elmo-pop3.el (elmo-network-initialize-session): Call
1163 buffer-disable-undo.
1165 * elmo-imap4.el (elmo-network-initialize-session):
1166 Set current-buffer as an argument for `buffer-disable-undo'.
1168 * elmo-pop3.el (elmo-network-close-session): Don't use
1171 * elmo-vars.el (elmo-default-pop3-authenticate-type):
1172 Set default as 'user.
1174 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
1176 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
1177 and `elmo-imap4-flush-connection'.
1179 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
1180 (elmo-pop3-get-spec): Assume auth as symbol.
1181 (elmo-open-network-stream): Moved to `elmo-net'.
1183 * elmo-pop3.el (toplevel): Require 'elmo-net.
1184 Define `sasl-cram-md5' to silence byte compilier.
1185 (elmo-pop3-connection-cache) Abolished.
1186 (elmo-pop3-authenticator-alist) New variable.
1187 (elmo-pop3-session): Define.
1188 (elmo-pop3-connection-get-process): Abolished.
1189 (elmo-pop3-connection-get-buffer): Ditto.
1190 (elmo-pop3-close-connection): Ditto.
1191 (elmo-pop3-flush-connection): Ditto.
1192 (elmo-pop3-get-connection): Ditto.
1193 (elmo-pop3-get-session): New function.
1194 (Replacement for `elmo-pop3-get-connection').
1195 All other related modules are changed.
1196 (elmo-network-close-session): Define.
1197 (elmo-pop3-send-command): Abolished argument `buffer'.
1198 All other related modules are changed.
1199 (elmo-pop3-read-response): Likewise.
1200 (elmo-pop3-open-connection): Abolished.
1201 (elmo-pop3-auth-user): New function.
1202 (elmo-pop3-auth-apop): Ditto.
1203 (elmo-pop3-auth-cram-md5): Ditto.
1204 (elmo-pop3-auth-scram-md5): Ditto.
1205 (elmo-pop3-auth-digest-md5): Ditto.
1206 (elmo-network-initialize-session): Define.
1207 (elmo-network-authenticate-session): Ditto.
1208 (elmo-network-setup-session): Ditto.
1210 * elmo-imap4.el (toplevel): Require 'elmo-net.
1211 (elmo-imap4-session): Define.
1212 (elmo-imap4-connection-cache): Abolished.
1213 (elmo-imap4-password-key): Ditto.
1214 (elmo-imap4-flush-connection): Ditto.
1215 (elmo-imap4-get-connection): Ditto.
1216 All other related modules are changed.
1217 (elmo-imap4-get-session): New function
1218 (Replacement for `elmo-imap4-get-connection').
1219 (elmo-imap4-read-response): Abolished argument `buffer'.
1220 All other related modules are changed.
1221 (elmo-imap4-send-command): Likewise.
1222 (elmo-imap4-select-folder): Abolished.
1223 All other related modules are changed.
1224 (elmo-imap4-select-mailbox): New function.
1225 (Replacement for `elmo-imap4-select-folder').
1226 (elmo-imap4-auth-login): Simplify.
1227 (Assume current buffer as process buffer)
1228 (elmo-imap4-auth-cram-md5): Ditto.
1229 (elmo-imap4-auth-digest-md5): Ditto.
1230 (elmo-imap4-login): Ditto.
1231 (elmo-imap4-open-connection): Abolished.
1232 (elmo-imap4-open-connection-1): Abolished.
1233 (elmo-network-initialize-sessoin): Define.
1234 (elmo-network-authenticate-session): Ditto.
1235 (elmo-network-setup-session): Ditto.
1237 * elmo-net.el: New module.
1239 2000-08-22 Daiki Ueno <ueno@unixuser.org>
1241 * elmo-util.el (elmo-define-error): New function.
1243 * elmo2.el (elmo-error): Define.
1244 (elmo-open-error): Define.
1245 (elmo-authenticate-error): Define.
1247 * elmo-imap4.el (elmo-imap4-error): Abolish.
1248 (elmo-imap4-error-type): Abolish.
1249 (elmo-imap4-error-process): Abolish.
1250 (elmo-imap4-error-message): Abolish
1251 (elmo-imap4-list-folders): Don't quote lambda.
1252 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
1253 (elmo-imap4-parse-namespace): Ditto.
1254 (elmo-imap4-open-connection): Rewrite.
1255 (elmo-imap4-open-connection-1): Simplified (authenticate only).
1256 (elmo-imap4-get-connection): Abolish local variable `result'.
1258 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
1260 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
1261 wrong-type-argument error when auth is nil.
1263 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
1265 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
1266 (elmo-default-nntp-stream-type): Ditto.
1267 (elmo-default-pop3-stream-type): Ditto.
1268 (elmo-network-stream-type-alist): Ditto.
1269 (elmo-default-imap4-ssl): Abolished.
1270 (elmo-default-nntp-ssl): Ditto.
1271 (elmo-default-pop3-ssl): Ditto.
1273 * elmo-util.el: (toplevel): Removed needless requires.
1274 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
1275 (elmo-open-network-stream): Open network stream according to
1276 the value of `elmo-network-stream-type-alist'.
1277 (elmo-get-network-stream-type): New function.
1278 (elmo-network-stream-type-spec-string): New macro.
1279 (elmo-network-stream-type-symbol): Ditto.
1280 (elmo-network-stream-type-function): Ditto.
1282 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
1283 network-stream-type. All other related portions are changed.
1284 (elmo-pop3-open-connection): Ditto.
1286 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
1287 network-stream-type. All other related portions are changed.
1289 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
1290 network-stream-type.All other related portions are changed.
1291 (elmo-imap4-error): New macro.
1292 (elmo-imap4-error-type): Ditto.
1293 (elmo-imap4-error-process): Ditto.
1294 (elmo-imap4-error-message): Ditto.
1295 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
1296 (elmo-imap4-auth-cram-md5): Ditto.
1297 (elmo-imap4-auth-digest-md5): Ditto.
1298 (elmo-imap4-login): Ditto.
1299 (elmo-imap4-open-connection): Remove password entry if authentication
1301 (elmo-imap4-user-at-host): Abolished.
1302 (elmo-imap4-password-key): New buffer local variable.
1303 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
1304 using protocol, port, auth and stream-type.
1306 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
1308 2000-08-13 Daiki Ueno <ueno@unixuser.org>
1310 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
1312 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
1314 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
1315 (elmo-imap4-authenticator-alist): New variable.
1316 (elmo-imap4-open-connection-1): Rename from
1317 elmo-imap4-open-connection.
1318 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
1319 only wraps elmo-imap4-open-connection-1.
1320 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
1322 (elmo-imap4-auth-login): New function.
1323 (elmo-imap4-auth-cram-md5): New function.
1324 (elmo-imap4-auth-digest-md5): New function.
1325 (elmo-imap4-login): New function.
1327 2000-08-12 Kenichi OKADA <okada@opaopa.org>
1329 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
1332 2000-08-12 Kenichi OKADA <okada@opaopa.org>
1334 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
1336 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
1338 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
1340 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
1342 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
1343 for server responses, quote `*' regardless of where it appears.
1345 2000-08-03 Kenichi OKADA <okada@opaopa.org>
1347 * elmo-maildir.el (elmo-maildir-commit): New alias.
1349 2000-08-03 Kenichi OKADA <okada@opaopa.org>
1351 * elmo-util.el (elmo-display-progress):
1352 Use `progress-feedback-with-label'.
1354 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
1356 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
1357 (elmo-imap4-non-atom-char-regex): Ditto.
1358 (elmo-imap4-non-text-char-regex): Ditto.
1359 (elmo-imap4-literal-threshold): Ditto.
1360 (elmo-imap4-atom-p): New function.
1361 (elmo-imap4-quotable-p): Ditto.
1362 (elmo-imap4-nil): Ditto.
1363 (elmo-imap4-atom): Ditto.
1364 (elmo-imap4-quoted): Ditto.
1365 (elmo-imap4-literal-subr): Ditto.
1366 (elmo-imap4-literal): Ditto.
1367 (elmo-imap4-buffer-literal): Ditto.
1368 (elmo-imap4-string-subr): Ditto.
1369 (elmo-imap4-string): Ditto.
1370 (elmo-imap4-buffer-string): Ditto.
1371 (elmo-imap4-astring-subr): Ditto.
1372 (elmo-imap4-astring): Ditto.
1373 (elmo-imap4-buffer-astring): Ditto.
1374 (elmo-imap4-nstring): Ditto.
1375 (elmo-imap4-buffer-nstring): Ditto.
1376 (elmo-imap4-mailbox): New alias.
1377 (elmo-imap4-field-body): Ditto.
1378 (elmo-imap4-userid): Ditto.
1379 (elmo-imap4-password): Ditto.
1380 (elmo-imap4-format-quoted): New function.
1381 (elmo-imap4-send-command): Rewritten. Accept a list of command
1382 arguments and handle "atom", "quoted" and "literal" string here.
1383 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
1384 `elmo-imap4-send-command'.
1385 (elmo-imap4-folder-exists-p): Likewise.
1386 (elmo-imap4-create-folder): Likewise.
1387 (elmo-imap4-delete-folder): Likewise.
1388 (elmo-imap4-rename-folder): Likewise.
1389 (elmo-imap4-max-of-folder): Likewise.
1390 (elmo-imap4-check-validity): Likewise.
1391 (elmo-imap4-sync-validity): Likewise.
1392 (elmo-imap4-server-diff): Likewise.
1393 (elmo-imap4-select-folder): Likewise.
1394 (elmo-imap4-copy-msgs): Likewise.
1395 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
1396 (elmo-imap4-mark-set-on-msgs): Likewise.
1397 (elmo-imap4-read-part): Likewise.
1398 (elmo-imap4-read-msg): Likewise.
1399 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
1400 `elmo-imap4-password' for `elmo-imap4-send-command'.
1401 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
1402 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
1403 `elmo-imap4-buffer-literal'.
1404 (elmo-imap4-append-msg): Likewise.
1406 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
1407 `delete' for removing dead connection from the connection cache.
1408 Move deletion of the process buffer after that.
1409 (elmo-imap4-list): Change `defsubst' to `defun'.
1410 (elmo-imap4-commit): Make error message verbose.
1411 (elmo-imap4-search): Ditto.
1412 (elmo-imap4-list): Ditto.
1413 (elmo-imap4-select-folder): Ditto.
1414 (elmo-imap4-copy-msgs): Ditto.
1415 (elmo-imap4-delete-msg-by-id): Ditto.
1416 (elmo-imap4-append-msg-by-id): Ditto.
1417 (elmo-imap4-append-msg): Ditto.
1419 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1421 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
1422 when dired is used on XEmacs.
1424 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
1426 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
1427 instead of `append'.
1428 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
1429 `elmo-plugged-p' directly.
1430 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
1431 of `elmo-plugged-p' directly.
1433 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
1434 Eliminate unused variable. Use `memq' for checking a process status.
1435 Use `cons' instead of `append' for updating the connection cache.
1436 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
1437 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
1439 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
1441 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
1442 `elmo-imap4-read-point' exactly.
1444 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
1445 the local variable `folder' to `mailbox'.
1446 Rename the argument `fld' to `folder'.
1448 2000-07-20 Kenichi OKADA <okada@opaopa.org>
1450 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
1451 * elmo-imap4.el (elmo-imap4-commit): Ditto.
1453 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1455 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
1456 (elmo-pop3-number-uidl-hash): New buffer-local variable.
1457 (elmo-pop3-uidl-number-hash): Ditto.
1458 (elmo-pop3-size-hash): Ditto.
1459 (elmo-pop3-uidl-done): Ditto.
1460 (elmo-pop3-list-done): Ditto.
1461 (elmo-pop3-connection-get-process): New defmacro.
1462 (elmo-pop3-connection-get-buffer): Ditto.
1463 (elmo-pop3-close-connection): Delete buffer and process.
1464 (elmo-pop3-flush-connection): Don't delete buffer and process.
1465 (elmo-pop3-get-connection): Added optional argument `if-exists'.
1466 Setup UIDL and size hash.
1467 (elmo-pop3-send-command-no-erase): Deleted
1468 (elmo-pop3-send-command): Added optional argument `no-erase'.
1469 (elmo-pop3-parse-uidl-response): New function.
1470 (elmo-pop3-parse-list-response): Set size hash.
1471 (elmo-pop3-list-location): New function.
1472 (elmo-pop3-list-by-uidl-subr): Ditto.
1473 (elmo-pop3-list-by-list): Ditto.
1474 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
1475 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
1476 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
1477 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
1478 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
1480 (elmo-pop3-uidl-to-number): New function.
1481 (elmo-pop3-number-to-uidl): Ditto.
1482 (elmo-pop3-number-to-size): Ditto.
1483 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
1484 Set number by use of uidl.
1485 (elmo-pop3-msgdb-create-message): Likewise.
1486 Set size, loc-alist in msgdb.
1487 (elmo-pop3-read-msg): Set number by use of uidl.
1488 Added optional argument `msgdb'.
1489 (elmo-pop3-delete-msg): Ditto.
1490 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
1491 (elmo-pop3-commit): Close connection.
1493 * elmo-pipe.el (elmo-pipe-max-of-folder):
1494 Bind `elmo-pop3-use-uidl' as nil.
1495 (elmo-pipe-drain): Ditto.
1498 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
1499 (elmo-msgdb-overview-entity-set-size): New defsubst.
1501 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1503 * elmo-vars.el (elmo-use-killed-list): New variable
1504 (Renamed from `elmo-nntp-use-killed-list').
1505 (elmo-nntp-use-killed-list): Eliminated.
1507 * elmo-msgdb.el (elmo-msgdb-expand-path):
1508 Changed expanding msgdb path for elmo-multi.
1510 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1511 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1512 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1513 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1514 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1515 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1516 (toplevel): Deleted time-stamp line.
1518 * elmo2.el (elmo-clear-killed ): Defined as function
1519 (Abolished defining as a backend function).
1520 All other related modules are changed.
1522 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1524 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1526 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1528 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1530 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1532 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1534 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1536 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1537 asynchronous folder check.
1539 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1541 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1542 `elmo-nntp-use-killed-list'.
1543 (elmo-nntp-list-folder): Use killed list.
1544 (elmo-nntp-max-of-folder): Ditto.
1545 (elmo-nntp-msgdb-create): Set killed list.
1547 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1549 * elmo2.el (elmo-clear-killed): New backend function.
1550 All other related modules are changed.
1552 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1554 * elmo-util.el (elmo-imap4-spec-folder): Use
1555 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1556 All callers changed.
1558 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1560 * mmelmo-2.el (initialize-instance):
1561 Use `mime-buffer-entity-buffer-internal' instead of
1562 `mime-entity-buffer'.
1564 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1565 (mime-entity-body): Implemented.
1566 (mime-goto-header-start-point): Deleted.
1567 (mime-goto-body-end-point): Ditto.
1568 (mime-entity-point-min): Ditto.
1569 (mime-entity-point-max): Ditto.
1570 (mime-entity-children): Ditto.
1571 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1572 instead of `mime-entity-buffer'.
1573 (mime-entity-header-buffer): Ditto.
1574 (mime-entity-body-buffer): Ditto.
1575 (mime-write-entity-content): Ditto.
1577 * pldap.el (ldap-static-if): New macro.
1578 (toplevel): Use it instead of `static-if'.
1580 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1582 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1583 included in `attrs' argument.
1585 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1587 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1589 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1590 (ldap-ldif-safe-init-char-regexp): Ditto.
1591 (ldap-ldif-safe-string-regexp): Ditto.
1592 (ldap/ldif-safe-string-p): New macro.
1593 (ldap/ldif-insert-field): Ditto.
1594 (ldap-modify): Use it.
1596 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1597 (ldap-decode-attribute): Decode only when `attr' is consp.
1598 (ldap-delete): Bind `ret'.
1599 (toplevel): Require 'cl at compile time.
1600 Removed (require 'poe) and (require 'std11).
1601 (pldap-version): Eliminated.
1602 (ldap-search-basic): Removed auth and dn binding.
1603 (ldap-ldif-field-name-regexp): New constant.
1604 (ldap-ldif-field-head-regexp): Ditto.
1605 (ldap-ldif-next-field-head-regexp): Ditto.
1606 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1607 (ldap/field-end): New function.
1608 (ldap/field-body): Use it.
1609 (ldap/collect-field): Ditto.
1610 (ldap-search-basic): Use `ldap/field-body'.
1612 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1614 * pldap.el (ldap-default-attribute-encoder): New user option.
1615 (ldap/field-body): Decode base64 string.
1616 (ldap/collect-field): Ditto.
1617 (ldap-encode-attribute): New function.
1618 (ldap-add-entries): Use it.
1619 (ldap-modify-entries): Ditto.
1620 (ldap-search-entries): Enclosed decoding function with
1621 `with-temp-buffer' and set as unibyte.
1622 (ldap-search-basic): Set process buffer as unibyte.
1624 * elmo-util.el (elmo-folder-identical-system-p):
1625 Eliminated name space checking.
1627 * pldap.el: New module.
1628 toplevel: Changed condition to detect built-in ldap feature.
1629 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1630 (ldap-add): Added error handling.
1631 (ldap-modify): Ditto.
1632 (ldap-delete): Ditto.
1634 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1636 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1637 Initialize local variables with `let'. Inline a temporary
1638 variable for the progress percentage. Sort `setq' to reduce
1639 function call in the while-loop.
1641 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1642 into the conditional branch.
1644 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1646 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1647 Move a conditional out of the while-loop.
1649 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1651 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1652 elmo-msgdb-overview-get-entity-by-number.
1653 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1656 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1658 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1659 the local variable for a packed number self descriptively.
1661 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1663 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1664 * elmo-localdir.el (elmo-localdir-pack-number): Use
1665 `elmo-msgdb-overview-get-entity' instead of
1666 `elmo-msgdb-overview-get-entity-by-number'.
1667 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1668 (elmo-msgdb-search-overview-entity): Removed.
1669 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1670 by message-id or number.
1671 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1672 instead of `elmo-msgdb-overview-get-entity-by-number'.
1674 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1676 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1677 non-nil, use hash table for overview.
1678 (elmo-hash-maximum-size): New variable.
1679 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1680 (elmo-msgdb-make-overview-hashtb): New function.
1681 (elmo-msgdb-clear-overview-hashtb): New function.
1682 (elmo-clear-hash-val): New macro.
1683 All other related modules are changed.
1685 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1687 * elmo2.el (elmo-move-msgs): If there's other message with
1688 same message-id, don't use cache.
1690 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1692 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1693 number is already packed.
1695 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1697 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1699 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1701 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1702 All other related modules are changed.
1704 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1706 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1707 of refiling failure on Maildir.
1709 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1711 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1712 decoded mime-charset with cache.
1713 (elmo-msgdb-overview-entity-get-from): Ditto.
1714 (elmo-msgdb-overview-entity-get-subject): Ditto.
1715 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1717 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1719 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1720 (elmo-remove-passwd): Fill password with 0 before erase.
1721 * elmo-vars.el (elmo-passwd-life-time): New variable.
1724 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1726 * elmo-cache.el (elmo-buffer-cache-add):
1727 Set message cache buffer as unibyte.
1729 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1731 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1734 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1736 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1737 when display is finished.
1738 (elmo-nntp-msgdb-create): Ditto.
1739 (elmo-nntp-groups-read-response): Ditto.
1740 (elmo-nntp-retrieve-headers): Ditto.
1741 (elmo-nntp-msgdb-create-message): Ditto.
1742 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1743 (elmo-pop3-msgdb-create-message): Ditto.
1745 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1747 * elmo-maildir.el (elmo-maildir-msgdb-create):
1748 Use `elmo-msgdb-sort-by-date'.
1750 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1752 * elmo2.el (elmo-read-msg-no-cache):
1753 Eliminated arguments after `outbuf'.
1754 Don't use cache even if it exists.
1755 (elmo-read-msg): Don't pass arguments after `outbuf' to
1756 `elmo-read-msg-no-cache'.
1758 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1760 * elmo-archive.el (elmo-archive-list-folders):
1761 Use `file-name-directory' if base folder does not exist.
1763 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1765 * elmo-archive.el (elmo-archive-list-folders): Don't use
1766 `file-name-directory'.
1768 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1770 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1771 If `force' is non-nil, try flushing all operation queues.
1773 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1775 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1778 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1780 * elmo-util.el (elmo-display-progress): Fixed.
1782 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1784 * elmo-util.el (elmo-display-progress): New function.
1785 All other related modules are changed.