1 2000-02-20 Kenichi OKADA <okada@opaopa.org>
3 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
4 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6 2000-02-17 Kenichi OKADA <okada@opaopa.org>
8 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
10 2001-02-13 OKAZAKI Tetsurou <okazaki@be.to>
12 * elmo-imap4.el (elmo-imap4-prefetch-msg): Set `msgdb'
13 argument of `elmo-imap4-read-msg' as nil.
15 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
17 * elmo2.el (elmo-prefetch-msg): Set `unread' argument of
18 `elmo-read-msg' as 'unread.
19 (elmo-read-msg-with-cache): Set `msgdb' argument as nil.
21 * elmo-archive.el (elmo-archive-read-msg): Fixed arguments.
22 * elmo-cache.el (elmo-cache-read-msg): Ditto.
23 * elmo-filter.el (elmo-filter-read-msg): Ditto.
24 * elmo-imap4.el (elmo-imap4-read-msg): Ditto.
25 * elmo-internal.el (elmo-internal-read-msg): Ditto.
26 * elmo-localdir.el (elmo-localdir-read-msg): Ditto.
27 * elmo-localnews.el (elmo-localnews-read-msg): Ditto.
28 * elmo-maildir.el (elmo-maildir-read-msg): Ditto.
29 * elmo-multi.el (elmo-multi-read-msg): Ditto.
30 * elmo-nntp.el (elmo-nntp-read-msg): Ditto.
31 * elmo-pipe.el (elmo-pipe-read-msg): Ditto.
32 * elmo-pop3.el (elmo-pop3-read-msg): Ditto.
34 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
36 * elmo2.el (elmo-buffer-cache-message): Call `elmo-read-msg' with
37 argument `unread' as non-nil.
38 (elmo-read-msg-with-cache): Added argument `unread'.
39 (elmo-read-msg-no-cache): Ditto.
40 (elmo-read-msg): Ditto.
42 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
44 * elmo-pipe.el (elmo-pipe-drain): Bind `elmo-inhibit-read-cache' as t
45 while moving messages.
47 * elmo2.el (elmo-read-msg): Don't use cache if
48 `elmo-inhibit-read-cache' is non-nil.
50 * elmo-vars.el (elmo-inhibit-read-cache): New global switch.
53 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
55 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
57 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
59 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
60 Fixed problem when `elmo-pop3-use-uidl' is nil.
61 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
63 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
65 * elmo-version.el (elmo-version): Up to 2.4.1.
67 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
69 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
71 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
72 (elmo-pop3-msgdb-create-as-numlist): Use it.
74 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
75 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
77 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
78 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
80 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
82 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
83 when elmo-mark-as-read is called with second argument nil.
85 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
87 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
88 Moved to elmo-util.el.
90 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
91 Moved from elmo-pipe.el
93 * elmo-archive.el (elmo-archive-call-process): Enclose with
96 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
97 "RFC822" (because RFC822.PEEK is obsolete).
98 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
100 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
102 * elmo-archive.el (elmo-archive-call-process): Don't check for
103 the exit status when Nemacs is running.
105 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
107 * elmo-net.el (elmo-network-session-password-key): Don't set default to
110 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
111 (elmo-pop3-get-spec): Set default of auth to 'user.
113 * elmo-imap4.el (elmo-imap4-session-check):
114 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
115 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
116 (elmo-imap4-auth-login): New function; Revival.
117 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
118 `elmo-imap4-auth-login'.
120 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
122 * elmo2.el (toplevel): Move `product-provide' declare.
123 * mmelmo.el (toplevel): Ditto.
125 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
127 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
129 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
131 * elmo-util.el (elmo-folder-get-store-type): New function.
132 (elmo-folder-direct-copy-p): Use it.
134 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
136 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
137 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
138 and result of `elmo-imap4-use-flag-p'.
139 (elmo-imap4-fetch-callback-1): Set mark according to
140 the result of `elmo-imap4-use-flag-p'.
142 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
144 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
145 (elmo-generic-list-folder-unread): Ditto.
146 (elmo-folder-get-info): Ditto.
147 (elmo-folder-set-info-max-by-numdb): Ditto.
148 (elmo-folder-get-info-max): Ditto.
149 (elmo-folder-get-info-length): Ditto.
150 (elmo-folder-get-info-unread): Ditto.
151 (elmo-folder-info-make-hashtb): Ditto.
153 * elmo2.el: Removed above functions.
155 * elmo-imap4.el (elmo-network-authenticate-session):
156 Fixed a logic for response checking.
158 2000-12-15 Daiki Ueno <ueno@unixuser.org>
160 * elmo-net.el: Add autoload settings for `starttls-negotiate',
161 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
162 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
165 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
166 for `starttls-open-stream' and `starttls-negotiate'.
168 * elmo-nntp.el: Remove autoload settings for
169 `starttls-open-stream' and `starttls-negotiate'.
171 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
172 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
173 `luna-define-class' with `eval-and-compile'.
175 2000-11-21 Kenichi OKADA <okada@opaopa.org>
177 * elmo-imap4.el (toplevel): Require 'ssl.
178 Add autoload 'starttls.
179 * elmo-pop3.el (toplevel): Ditto.
180 * elmo-nntp.el (toplevel): Ditto.
182 2000-11-20 Kenichi OKADA <okada@opaopa.org>
184 * elmo-imap4.el (toplevel): defun at compile time.
185 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
186 sasl-next-step, sasl-step-data, sasl-step-set-data.
187 * elmo-pop3.el (toplevel): Ditto.
189 2000-11-20 Kenichi OKADA <okada@opaopa.org>
191 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
193 2000-11-20 Kenichi OKADA <okada@opaopa.org>
195 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
197 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
198 and `elmo-pop-auth-apop'.
200 2000-11-20 Kenichi OKADA <okada@opaopa.org>
202 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
204 2000-11-20 Kenichi OKADA <okada@opaopa.org>
206 * elmo-pop3.el (elmo-network-authenticate-session): Split
207 encoded response value.
209 2000-11-20 Kenichi OKADA <okada@opaopa.org>
211 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
212 `elmo-pop3-force-login'.
213 Redefine `sasl-mechanisms'.
214 * elmo-vars.el (elmo-pop3-force-login): Ditto.
216 2000-11-20 Kenichi OKADA <okada@opaopa.org>
218 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
219 Delete `elmo-imap4-authenticator-alist'.
220 (elmo-imap4-auth-cram-md5): Delete.
221 (elmo-imap4-auth-digest-md5): Delete.
223 2000-11-20 Kenichi OKADA <okada@opaopa.org>
225 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
226 (elmo-pop3-auth-scram-md5): Ditto.
227 (elmo-pop3-auth-cram-md5): Ditto.
229 2000-11-19 Kenichi OKADA <okada@opaopa.org>
231 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
232 Delete `elmo-pop3-authenticator-alist'.
234 2000-11-19 Kenichi OKADA <okada@opaopa.org>
236 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
238 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
241 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
243 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
245 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
247 * elmo-nntp.el (elmo-nntp-get-folders-info):
248 Fixed problem when '\' character is contained in user-id.
249 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
252 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
254 * elmo-imap4.el (elmo-imap4-delete-folder):
255 Send "close" before "delete" (Use commented out line).
256 (elmo-imap4-rename-folder): Ditto.
258 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
259 folder string itself.
260 (elmo-dop-list-deleted): New function.
261 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
264 * elmo-util.el (elmo-string-rassoc-all): New function.
266 2000-11-26 Kenichi OKADA <okada@opaopa.org>
268 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
270 2000-11-22 Kenichi OKADA <okada@opaopa.org>
272 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
275 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
277 * elmo-net.el (elmo-network-get-session): Changed logic for
278 checking process status.
280 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
282 Changed logic for checking process status.
284 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
286 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
288 (elmo-network-setup-session): Set UIDL hash size according to
289 the length of list response.
290 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
291 according to the length of list response;
292 Return the length of list response.
293 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
295 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
297 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
299 * elmo-internal.el (elmo-internal-search): Fix last change.
301 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
303 * elmo-internal.el (elmo-internal-search): Rewrite.
304 (Fixed problem which is pointed out by Akihiro MOTOKI
305 <motoki@da.jp.nec.com>)
307 * elmo-version.el (elmo-version): Up to 2.4.0.
309 2000-11-06 Kenichi OKADA <okada@opaopa.org>
311 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
313 2000-11-06 Kenichi OKADA <okada@opaopa.org>
315 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
316 non-nil, make hierarchy.
318 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
320 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
321 `elmo-pop3-use-uidl' must be bound to nil.
322 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
324 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
326 * elmo-util.el (elmo-copy-file): Don't cause an error after
327 `add-name-to-file' failed.
329 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
330 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
332 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
334 * elmo-version.el (elmo-version): Up to 2.3.93.
336 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
338 * elmo-util.el (elmo-flatten): New function.
340 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
342 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
344 * elmo-cache.el (toplevel): Ditto.
345 * elmo-database.el (toplevel): Ditto.
346 * elmo-date.el (toplevel): Ditto.
347 * elmo-dop.el (toplevel): Ditto.
348 * elmo-filter.el (toplevel): Ditto.
349 * elmo-imap4.el (toplevel): Ditto.
350 * elmo-internal.el (toplevel): Ditto.
351 * elmo-localdir.el (toplevel): Ditto.
352 * elmo-localnews.el (toplevel): Ditto.
353 * elmo-maildir.el (toplevel): Ditto.
354 * elmo-msgdb.el (toplevel): Ditto.
355 * elmo-multi.el (toplevel): Ditto.
356 * elmo-net.el (toplevel): Ditto.
357 * elmo-nntp.el (toplevel): Ditto.
358 * elmo-pipe.el (toplevel): Ditto.
359 * elmo-pop3.el (toplevel): Ditto.
360 * elmo-util.el (toplevel): Ditto.
361 * elmo-vars.el (toplevel): Ditto.
362 * elmo2.el (toplevel): Ditto.
363 * mmelmo-imap4.el (toplevel): Ditto.
364 * mmelmo.el (toplevel): Ditto.
366 * elmo-version.el (elmo-version): Move to top.
368 * elmo-cache.el (toplevel): Fixed multiple Author header format.
369 * elmo-imap4.el (toplevel): Ditto.
370 * elmo-localdir.el (toplevel): Ditto.
371 * elmo-msgdb.el (toplevel): Ditto.
372 * elmo-nntp.el (toplevel): Ditto.
373 * elmo-pop3.el (toplevel): Ditto.
374 * elmo-version.el (toplevel): Ditto.
376 * elmo-localnews.el (toplevel): Added Keyword header.
378 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
380 * elmo-version.el (product-version-as-string): Defined using
384 * elmo-localdir.el (toplevel): Updated copyright notice.
385 * elmo-version.el (toplevel): Ditto.
386 * elmo-msgdb.el (toplevel): Ditto.
387 * elmo-imap4.el (toplevel): Ditto.
388 * elmo-nntp.el (toplevel): Ditto.
389 * elmo-pop3.el (toplevel): Ditto.
391 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
393 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
396 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
397 parameter value (It sometimes contains raw kanji).
399 2000-10-28 Kenichi OKADA <okada@opaopa.org>
401 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
402 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
404 2000-10-28 Kenichi OKADA <okada@opaopa.org>
406 * elmo-imap4.el (elmo-network-initialize-session): Fix.
408 2000-10-28 Kenichi OKADA <okada@opaopa.org>
410 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
411 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
413 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
415 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
416 value if selecting folder succceeded.
417 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
419 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
421 * elmo-util.el (elmo-make-directory): Fixed permission lateral
424 * elmo-util.el (elmo-string-matched-member): New function.
426 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
428 * elmo-util.el (elmo-unintern): New macro.
429 (elmo-number-set-member): Fixed docstring.
431 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
434 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
436 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
437 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
439 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
441 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
444 Return non-nil if selecting folder succeeded.
445 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
447 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
449 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
450 `file-name-completion' returns t.
451 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
452 (elmo-maildir-set-mark): Put `info' part to the files in the cur
453 directory if it does not exist.
454 (elmo-maildir-update-current): Use `while' instead of `mapcar'
457 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
459 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
460 enclosure (It's harmful in unplugged status).
462 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
464 * mmelmo-1.el: Removed.
466 * mmelmo-2.el: Ditto.
468 * mmelmo-imap4-1.el: Ditto.
470 * mmelmo-imap4-2.el: Ditto.
472 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
474 * mmelmo.el: Merged mmelmo-2.el.
476 * elmo-version.el (elmo-version): Up to 2.3.92.
478 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
480 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
481 elmo-update-number): Remove last period in "...done." message.
482 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
484 * elmo-cache.el (elmo-cache-expire-by-size,
485 elmo-cache-get-sorted-cache-file-list,
486 elmo-cache-msgdb-create-as-numlist): Ditto.
487 * elmo-dop.el (elmo-dop-save-pending-messages,
488 (elmo-dop-flush-pending-append-operations): Ditto.
489 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
490 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
491 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
492 (elmo-localdir-pack-number): Ditto.
493 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
494 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
495 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
496 mime-write-entity-content): Ditto.
497 * pldap.el (ldap-search-basic): Ditto.
499 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
501 * elmo-version.el (elmo-version): Up to 2.3.91.
503 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
504 Only when filter is 'last'.
506 * elmo-util.el (elmo-condition-atom-regexp): New constant.
507 (elmo-condition-parse-search-value): Use it.
508 (elmo-read-search-condition-internal): Quote value only when
511 2000-10-18 Kenichi OKADA <okada@opaopa.org>
513 * elmo2.el (elmo-generic-folder-diff): Fix.
515 2000-10-17 Kenichi OKADA <okada@opaopa.org>
517 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
518 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
519 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
520 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
521 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
522 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
524 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
526 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
529 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
531 * elmo-version.el (elmo-version): Up to 2.3.90.
533 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
534 (elmo-imap4-list-folder-important): Ditto.
536 2000-10-16 Kenichi OKADA <okada@opaopa.org>
538 * elmo-nntp.el (elmo-network-initialize-session): Fix.
540 2000-10-16 Kenichi OKADA <okada@opaopa.org>
542 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
544 2000-10-15 Kenichi OKADA <okada@opaopa.org>
546 * elmo-nntp.el (elmo-network-initialize-session):
547 Add starttls negotiation.
549 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
551 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
553 (elmo-network-setup-session): Define.
554 Call `elmo-nntp-send-mode-reader' when session opened.
556 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
558 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
560 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
562 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
563 an invalid SPACE character ahead of `SEARCH' command. Move
564 a valid SPACE character following `SEARCH' from conditional
565 `format' arguments to control-strings.
567 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
569 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
572 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
574 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
576 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
577 `w32-get-true-file-link-count' as t.
579 * elmo-imap4.el (elmo-imap4-read): Abolished.
580 (Renamed to `elmo-read' and moved to elmo-util.el)
581 All other related portions are changed.
583 * elmo-util.el (elmo-read): New function.
584 (elmo-condition-parse-search-value): Use it.
586 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
588 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
590 * elmo-nntp.el (elmo-nntp-session): Define.
591 (elmo-nntp-setting): Abolished.
592 All other related portions are changed.
593 (elmo-nntp-get-server-command): Changed argument.
594 (elmo-nntp-set-server-command): Ditto.
595 (elmo-nntp-xover-p): Ditto.
596 (elmo-nntp-set-xover): Ditto.
597 (elmo-nntp-listgroup-p): Ditto.
598 (elmo-nntp-set-listgroup): Ditto.
599 (elmo-nntp-list-active-p): Ditto.
600 (elmo-nntp-set-list-active): Ditto.
601 (elmo-nntp-xhdr-p): Ditto.
602 (elmo-nntp-set-xhdr): Ditto.
603 (elmo-nntp-flush-connection): Abolished.
604 (elmo-nntp-get-connection): Abolished.
605 (elmo-nntp-get-session): New function.
606 (elmo-network-initialize-session): Defined.
607 (elmo-network-authenticate-session): Ditto.
608 (elmo-nntp-send-mode-reader): Changed argument.
609 (elmo-nntp-send-command): Changed argument.
610 All other related portions are changed.
611 (elmo-nntp-read-response): Ditto.
612 (elmo-nntp-read-raw-response): Ditto.
613 (elmo-nntp-read-contents): Ditto.
614 (elmo-nntp-read-body): Ditto.
615 (elmo-nntp-goto-folder): Abolished.
616 (elmo-nntp-select-group): New function.
617 All other related portions are changed.
618 (This function substitutes `elmo-nntp-goto-folder')
619 (elmo-nntp-msgdb-create-by-header): Rewrite.
620 (elmo-nntp-get-overview): Eliminated.
621 (elmo-nntp-get-message): Ditto.
622 (elmo-nntp-open-connection) Abolished.
623 (elmo-nntp-read-msg): Rewrite.
624 (elmo-nntp-post): Ditto.
625 (elmo-nntp-send-data): Abolished.
626 (elmo-nntp-send-buffer): New function.
627 (elmo-nntp-send-data-line): Define as inline function.
628 (elmo-nntp-get-folders-info-prepare): Use session as key.
629 (elmo-nntp-groups-read-response): Changed argument.
630 (elmo-nntp-retrieve-headers): Ditto.
631 (elmo-nntp-msgdb-create-message): Ditto.
633 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
634 when searching by 'since' or 'before'.
636 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
638 * elmo-version.el (toplevel): Use product-version-as-string for set
639 verstion-string, if defined.
641 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
643 * elmo-util.el: Doc fixes.
645 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
647 * elmo-archive.el (toplevel): Use product-provide.
648 * elmo-cache.el (toplevel): Ditto.
649 * elmo-database.el (toplevel): Ditto.
650 * elmo-date.el (toplevel): Ditto.
651 * elmo-dop.el (toplevel): Ditto.
652 * elmo-filter.el (toplevel): Ditto.
653 * elmo-imap4.el (toplevel): Ditto.
654 * elmo-internal.el (toplevel): Ditto.
655 * elmo-localdir.el (toplevel): Ditto.
656 * elmo-localnews.el (toplevel): Ditto.
657 * elmo-maildir.el (toplevel): Ditto.
658 * elmo-msgdb.el (toplevel): Ditto.
659 * elmo-multi.el (toplevel): Ditto.
660 * elmo-net.el (toplevel): Ditto.
661 * elmo-nntp.el (toplevel): Ditto.
662 * elmo-pipe.el (toplevel): Ditto.
663 * elmo-pop3.el (toplevel): Ditto.
664 * elmo-util.el (toplevel): Ditto.
665 * elmo-vars.el (toplevel): Ditto.
666 * elmo2.el (toplevel): Ditto.
667 * mmelmo-1.el (toplevel): Ditto.
668 * mmelmo-2.el (toplevel): Ditto.
669 * mmelmo-imap4-1.el (toplevel): Ditto.
670 * mmelmo-imap4-2.el (toplevel): Ditto.
671 * mmelmo-imap4.el (toplevel): Ditto.
672 * mmelmo.el (toplevel): Ditto.
674 2000-10-10 Kenichi OKADA <okada@opaopa.org>
676 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
677 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
679 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
681 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
683 (elmo-multi-split-number-alist): Ditto.
685 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
687 * elmo-version.el: New file. Use product.el.
688 * elmo2.el: Add (require 'elmo-version).
689 * elmo-vars.el (elmo-appname, elmo-version): Move to
692 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
694 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
695 `elmo-msgdb-expand-path'.
696 (elmo-msgdb-load): Ditto.
697 Abolished 2nd argument. If 1st argument is not string, treat as spec.
698 (elmo-generic-list-folder-unread): Rewrite.
699 (elmo-generic-list-folder-important): Changed argument.
700 (elmo-list-folder-unread): Ditto.
701 (elmo-list-folder-important): Ditto.
702 (elmo-folder-diff): Rewrite.
703 (elmo-generic-folder-diff): New function.
704 (elmo-multi-get-number-alist-list): Abolished
705 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
706 (elmo-multi-folder-diff): Moved to elmo-multi.el
707 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
709 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
710 `elmo-msgdb-expand-path'.
711 (elmo-pop3-msgdb-create-as-numlist): Ditto.
712 (elmo-pop3-read-msg): Ditto.
713 (elmo-pop3-delete-msgs): Ditto.
714 (elmo-pop3-folder-diff): New alias.
716 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
717 `elmo-msgdb-expand-path'.
718 (elmo-pipe-list-folder-unread): Changed arguments.
719 (elmo-pipe-list-folder-important): Ditto.
720 (elmo-pipe-folder-diff): New alias.
722 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
723 `elmo-msgdb-expand-path'.
724 (elmo-nntp-max-of-folder): Ditto.
725 (elmo-nntp-msgdb-create): Ditto.
726 (elmo-nntp-delete-msgs): Ditto.
727 (elmo-nntp-folder-diff): New alias.
729 * elmo-multi.el (elmo-multi-folder-diff): New function.
730 (elmo-multi-split-mark-alist): Ditto.
731 (elmo-multi-split-number-alist): Ditto.
732 (elmo-multi-mark-alist-list): Abolished (Renamed to
733 elmo-multi-split-mark-alist).
734 (elmo-multi-list-folder-unread): Rewrite.
735 (elmo-multi-list-folder-important): Ditto.
736 (elmo-multi-list-folder): Set `spec' as 1st argument for
737 `elmo-msgdb-expand-path'.
738 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
739 instead of `elmo-multi-get-number-alist-list'.
741 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
742 If 1st argument is not string, treat as spec.
743 (elmo-list-folder-by-location): Set `spec' as 1st argument for
744 `elmo-msgdb-expand-path'.
745 (elmo-msgdb-flist-load): Ditto.
746 (elmo-msgdb-flist-save): Ditto.
747 (elmo-msgdb-delete-path): Ditto.
748 (elmo-msgdb-rename-path): Ditto.
750 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
751 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
752 (elmo-maildir-delete-mark-msgs): Ditto.
753 (elmo-maildir-msgdb-create): Ditto.
754 (elmo-maildir-read-msg): Ditto.
755 (elmo-maildir-delete-msgs): Ditto.
756 (elmo-maildir-list-folder-subr): Ditto.
757 (elmo-maildir-search): Ditto.
758 (elmo-maildir-get-msg-filename): Ditto.
759 (elmo-maildir-pack-number): Ditto.
760 (elmo-maildir-folder-diff): New alias.
762 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
764 * elmo-localdir.el (elmo-localdir-list-folder-subr):
765 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
766 (elmo-localdir-folder-diff): New alias.
768 * elmo-internal.el (elmo-internal-list-folder-subr):
769 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
770 (elmo-internal-list-folder-by-location): Ditto.
771 (elmo-internal-msgdb-create): Ditto.
772 (elmo-internal-delete-msgs): Ditto.
773 (elmo-internal-read-msg): Ditto.
774 (elmo-internal-folder-diff): New alias.
776 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
777 (elmo-imap4-list-folder): Set `spec' as 1st argument for
778 `elmo-msgdb-expand-path'.
779 (elmo-imap4-list-folder-unread): Changed arguments.
780 (elmo-imap4-list-folder-important): Ditto.
782 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
783 (elmo-filter-list-folder-important): Ditto.
784 (elmo-filter-folder-diff): New function.
786 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
788 * elmo-cache.el (elmo-cache-list-folder):
789 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
790 (elmo-cache-copy-msgs): Ditto.
791 (elmo-cache-folder-diff): New alias.
793 * elmo-archive.el (elmo-archive-list-folder-subr):
794 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
795 (elmo-archive-get-archive-name): Ditto.
796 (elmo-archive-create-file): Ditto.
797 (elmo-archive-append-msg): Ditto.
798 (elmo-archive-copy-msgs): Ditto.
799 (elmo-archive-copy-msgs-froms): Ditto.
800 (elmo-archive-get-msg-filename): Ditto.
801 (elmo-archive-folder-diff): New alias.
803 2000-10-06 Daiki Ueno <ueno@unixuser.org>
805 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
806 (elmo-pop3-stream-type-alist): New variable.
807 (elmo-nntp-stream-type-alist): New variable.
809 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
810 (elmo-kill-buffer): Ditto.
811 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
812 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
813 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
814 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
815 (elmo-imap4-get-spec): Take into account
816 `elmo-imap4-stream-type-alist'.
818 2000-10-06 Kenichi OKADA <okada@opaopa.org>
820 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
821 (elmo-nntp-list-folders-get-cache): Ditto.
823 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
825 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
826 character before 'uid'.
828 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
830 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
832 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
834 * elmo-util.el (elmo-number-set-member): New function.
835 (elmo-number-set-append-list): Ditto.
836 (elmo-number-set-append): Ditto.
838 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
839 Use `elmo-number-set-member'.
840 (elmo-living-messages): Ditto.
841 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
842 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
844 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
845 (elmo-imap4-add-to-cont-list): Abolished.
846 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
847 instead of elmo-imap4-add-to-cont-list.
849 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
850 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
852 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
854 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
856 * elmo-util.el (elmo-condition-parse-search-value):
859 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
861 * elmo-util.el (elmo-condition-find-key-internal): New function.
862 (elmo-condition-find-key): Ditto.
864 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
865 (elmo-msgdb-search-internal): Ditto.
866 (elmo-msgdb-search): Ditto.
868 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
870 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
871 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
873 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
874 (elmo-nntp-search-primitive): Fixed problem when condition is
877 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
879 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
880 (elmo-nntp-xhdr-p): New macro.
881 (elmo-nntp-set-xhdr): Ditto.
882 (elmo-nntp-parse-xhdr-response): New function.
883 (elmo-nntp-retrieve-field): Ditto.
884 (elmo-nntp-search-primitive): Ditto.
885 (elmo-nntp-search): Implemented.
887 * elmo-date.el (elmo-date-make-sortable-string): New macro.
889 * elmo-archive.el (elmo-archive-search): Set all number list to
890 `elmo-archive-field-condition-match'
892 * elmo-localdir.el (elmo-localdir-search): Likewise.
894 * elmo-maildir.el (elmo-maildir-search): Likewise.
896 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
898 * elmo-msgdb.el (elmo-living-messages): New function.
899 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
900 * elmo-cache.el (elmo-cache-list-folder): Ditto.
901 * elmo-dop.el (elmo-dop-list-folder): Ditto.
902 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
903 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
904 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
905 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
906 * elmo-multi.el (elmo-multi-list-folder): Ditto.
907 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
908 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
909 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
911 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
913 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
915 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
917 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
919 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
920 arguments for `SEARCH' command.
921 (elmo-imap4-parse-string): Set `POS' argument for char-after.
922 All other related portions are changed.
924 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
926 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
927 (elmo-list-folder-unread): Rewrite.
928 (elmo-list-folder-important): Ditto.
930 * elmo-util.el (elmo-filter-get-spec): Rewrite.
931 (elmo-condition-parse-error): New inline function.
932 (elmo-read-search-condition): New function.
933 (elmo-read-search-condition-internal): Ditto.
934 (elmo-parse-search-condition): Rewrite.
935 (elmo-condition-parse): New function.
936 (elmo-condition-parse-or-expr): Ditto.
937 (elmo-condition-parse-and-expr): Ditto.
938 (elmo-condition-parse-primitive): Ditto.
939 (elmo-condition-parse-search-value): Ditto.
940 (elmo-buffer-field-primitive-condition-match): Ditto.
941 (elmo-buffer-field-condition-match): Rewrite.
942 (elmo-file-field-condition-match): Ditto.
944 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
945 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
947 * elmo-internal.el (elmo-internal-search): Set `number' and
948 `number-list' argument of `elmo-file-field-condition-match'.
950 * elmo-maildir.el (elmo-maildir-search): Ditto.
952 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
953 `msgdb' as argument instead of `mark-alist'.
954 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
957 * elmo-multi.el: Likewise.
959 * elmo-pipe.el: Likewise.
961 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
962 (elmo-imap4-search-internal): Rewrite.
963 (elmo-imap4-search): Ditto.
965 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
966 (elmo-filter-list-folder-unread): Ditto.
967 (elmo-filter-list-folder-important): Ditto.
968 (elmo-filter-search): Rewrite.
970 * elmo-cache.el (elmo-cache-search-all): Set `number' and
971 `number-list' argument of `elmo-file-field-condition-match'.
972 (elmo-cache-search): Ditto.
974 * elmo-localdir.el: Likewise.
976 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
977 number-list and pass it to `elmo-buffer-field-condition-match'.
978 (elmo-archive-field-condition-match): Pass `number-list' to
979 `elmo-archive-field-condition-match'
981 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
983 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
986 * elmo2.el (elmo-folder-diff-async-callback): New variable.
987 (elmo-folder-diff-async-callback-data): Ditto.
988 (elmo-folder-diff-async): New function.
990 * elmo-net.el (elmo-network-session-name-prefix): New variable.
991 (elmo-network-session-cache-key): Use it as a prefix of the session
993 (elmo-network-open-session): Ditto.
995 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
996 (elmo-imap4-status-callback-data): Ditto.
997 (elmo-imap4-server-diff-async-callback): New variable.
998 (elmo-imap4-server-diff-async-callback-data): Ditto.
999 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
1000 `elmo-imap4-status-callback-data'.
1001 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
1002 `elmo-imap4-status-callback-data' as nil.
1003 (elmo-imap4-server-diff): Ditto.
1004 (elmo-imap4-server-diff-async-callback-1): New function.
1005 (elmo-imap4-server-diff-async): Ditto.
1006 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
1008 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
1010 * elmo-util.el (elmo-list-delete): Doc fix.
1011 (elmo-delete-lists): Abolish.
1012 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
1013 instead of `elmo-delete-lists'.
1015 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
1017 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
1020 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
1022 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
1023 `elmo-imap4-literal-subr'.
1024 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
1025 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
1027 2000-09-15 Kenichi OKADA <okada@opaopa.org>
1029 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
1030 (elmo-archive-list-folder): Fix.
1031 (elmo-archive-max-of-folder): Fix.
1033 2000-09-15 Kenichi OKADA <okada@opaopa.org>
1035 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
1036 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
1037 (elmo-localdir-append-msg): Ditto.
1038 (elmo-localdir-list-folder): Fix for `nonsort'.
1039 (elmo-localdir-list-folder-subr): Fix for `killed'.
1040 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
1041 (elmo-maildir-list-folder-subr): Ditto.
1042 * elmo-archive.el (elmo-archive-list-folder): Ditto.
1043 (elmo-archive-list-folder-subr): Ditto.
1044 * elmo-internal.el (elmo-internal-list-folder): Ditto.
1045 (elmo-internal-list-folder-subr): Ditto.
1047 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
1049 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
1051 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
1053 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
1055 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
1057 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
1058 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
1060 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
1062 (elmo-imap4-read-part): Use "body.peek" to fetch part.
1063 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
1065 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
1067 * mmelmo-imap4-2.el (mime-entity-children): Defined.
1069 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
1070 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
1071 before STORE command.
1073 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
1075 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
1077 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
1078 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
1080 (elmo-imap4-list-folders): Removed unused local variable.
1081 (elmo-network-initialize-session): Ditto.
1082 (elmo-imap4-delete-msg-by-id): Ditto.
1083 (elmo-imap4-parse-fetch): Ditto.
1084 (elmo-imap4-copy-msgs): Ditto.
1085 Use `dst-spec' instead of `dst-folder'.
1086 (elmo-network-authenticate-session): Check authenticate type `plain'.
1088 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
1090 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
1092 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
1093 `elmo-imap4-response-value'.
1094 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
1096 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1098 * elmo-imap4.el (elmo-imap4-send-command):
1099 Cause elmo-imap4-bye-error when current response is BYE.
1100 (elmo-imap4-arrival-filter): Changed greeting response value.
1102 * elmo2.el (elmo-imap4-bye-error): Define.
1104 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
1105 (elmo-imap4-server-diff): Ditto.
1106 (elmo-imap4-response-bye-p): New macro.
1107 (elmo-imap4-response-error-text): Get text from BYE response.
1108 (elmo-imap4-read-response): Return if BYE response.
1109 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
1110 (elmo-imap4-folder-exists-p): Ditto.
1111 (elmo-imap4-commit): Do nothing when different mailbox is selected.
1112 (elmo-imap4-parse-bye): New function.
1113 (elmo-imap4-parse-response): Remove needless let.
1114 Call `elmo-imap4-parse-bye'.
1116 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
1118 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
1119 the mailbox does not exist.
1120 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
1122 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
1124 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
1126 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
1128 * elmo-vars.el (elmo-search-mime-charset): Abolished.
1130 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
1131 (elmo-network-initialize-session-buffer): Defined.
1133 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
1135 (mmelmo-imap4-get-mime-entity): Rewrite.
1137 * elmo2.el (elmo-error): Capitalize error message.
1139 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
1140 (elmo-network-session-buffer): New macro.
1141 (elmo-network-open-session): Use it.
1143 * elmo-imap4.el: Rewrite.
1145 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1147 * elmo-nntp.el (Toplevel): Require 'elmo-net.
1149 2000-08-27 Daiki Ueno <ueno@unixuser.org>
1151 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
1152 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
1153 (elmo-imap4-create-msgdb-from-overview-string): Use
1154 `elmo-msgdb-create-overview-from-buffer'.
1156 2000-08-26 Daiki Ueno <ueno@unixuser.org>
1158 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
1159 (elmo-imap4-default-hierarchy-delimiter): New variable.
1160 (elmo-imap4-list-folders): Use it.
1162 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
1164 * elmo-net.el (elmo-network-open-session): Add user and
1165 stream-type for process-buffer name.
1167 * elmo-pop3.el (elmo-network-initialize-session): Call
1168 buffer-disable-undo.
1170 * elmo-imap4.el (elmo-network-initialize-session):
1171 Set current-buffer as an argument for `buffer-disable-undo'.
1173 * elmo-pop3.el (elmo-network-close-session): Don't use
1176 * elmo-vars.el (elmo-default-pop3-authenticate-type):
1177 Set default as 'user.
1179 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
1181 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
1182 and `elmo-imap4-flush-connection'.
1184 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
1185 (elmo-pop3-get-spec): Assume auth as symbol.
1186 (elmo-open-network-stream): Moved to `elmo-net'.
1188 * elmo-pop3.el (toplevel): Require 'elmo-net.
1189 Define `sasl-cram-md5' to silence byte compilier.
1190 (elmo-pop3-connection-cache) Abolished.
1191 (elmo-pop3-authenticator-alist) New variable.
1192 (elmo-pop3-session): Define.
1193 (elmo-pop3-connection-get-process): Abolished.
1194 (elmo-pop3-connection-get-buffer): Ditto.
1195 (elmo-pop3-close-connection): Ditto.
1196 (elmo-pop3-flush-connection): Ditto.
1197 (elmo-pop3-get-connection): Ditto.
1198 (elmo-pop3-get-session): New function.
1199 (Replacement for `elmo-pop3-get-connection').
1200 All other related modules are changed.
1201 (elmo-network-close-session): Define.
1202 (elmo-pop3-send-command): Abolished argument `buffer'.
1203 All other related modules are changed.
1204 (elmo-pop3-read-response): Likewise.
1205 (elmo-pop3-open-connection): Abolished.
1206 (elmo-pop3-auth-user): New function.
1207 (elmo-pop3-auth-apop): Ditto.
1208 (elmo-pop3-auth-cram-md5): Ditto.
1209 (elmo-pop3-auth-scram-md5): Ditto.
1210 (elmo-pop3-auth-digest-md5): Ditto.
1211 (elmo-network-initialize-session): Define.
1212 (elmo-network-authenticate-session): Ditto.
1213 (elmo-network-setup-session): Ditto.
1215 * elmo-imap4.el (toplevel): Require 'elmo-net.
1216 (elmo-imap4-session): Define.
1217 (elmo-imap4-connection-cache): Abolished.
1218 (elmo-imap4-password-key): Ditto.
1219 (elmo-imap4-flush-connection): Ditto.
1220 (elmo-imap4-get-connection): Ditto.
1221 All other related modules are changed.
1222 (elmo-imap4-get-session): New function
1223 (Replacement for `elmo-imap4-get-connection').
1224 (elmo-imap4-read-response): Abolished argument `buffer'.
1225 All other related modules are changed.
1226 (elmo-imap4-send-command): Likewise.
1227 (elmo-imap4-select-folder): Abolished.
1228 All other related modules are changed.
1229 (elmo-imap4-select-mailbox): New function.
1230 (Replacement for `elmo-imap4-select-folder').
1231 (elmo-imap4-auth-login): Simplify.
1232 (Assume current buffer as process buffer)
1233 (elmo-imap4-auth-cram-md5): Ditto.
1234 (elmo-imap4-auth-digest-md5): Ditto.
1235 (elmo-imap4-login): Ditto.
1236 (elmo-imap4-open-connection): Abolished.
1237 (elmo-imap4-open-connection-1): Abolished.
1238 (elmo-network-initialize-sessoin): Define.
1239 (elmo-network-authenticate-session): Ditto.
1240 (elmo-network-setup-session): Ditto.
1242 * elmo-net.el: New module.
1244 2000-08-22 Daiki Ueno <ueno@unixuser.org>
1246 * elmo-util.el (elmo-define-error): New function.
1248 * elmo2.el (elmo-error): Define.
1249 (elmo-open-error): Define.
1250 (elmo-authenticate-error): Define.
1252 * elmo-imap4.el (elmo-imap4-error): Abolish.
1253 (elmo-imap4-error-type): Abolish.
1254 (elmo-imap4-error-process): Abolish.
1255 (elmo-imap4-error-message): Abolish
1256 (elmo-imap4-list-folders): Don't quote lambda.
1257 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
1258 (elmo-imap4-parse-namespace): Ditto.
1259 (elmo-imap4-open-connection): Rewrite.
1260 (elmo-imap4-open-connection-1): Simplified (authenticate only).
1261 (elmo-imap4-get-connection): Abolish local variable `result'.
1263 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
1265 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
1266 wrong-type-argument error when auth is nil.
1268 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
1270 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
1271 (elmo-default-nntp-stream-type): Ditto.
1272 (elmo-default-pop3-stream-type): Ditto.
1273 (elmo-network-stream-type-alist): Ditto.
1274 (elmo-default-imap4-ssl): Abolished.
1275 (elmo-default-nntp-ssl): Ditto.
1276 (elmo-default-pop3-ssl): Ditto.
1278 * elmo-util.el: (toplevel): Removed needless requires.
1279 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
1280 (elmo-open-network-stream): Open network stream according to
1281 the value of `elmo-network-stream-type-alist'.
1282 (elmo-get-network-stream-type): New function.
1283 (elmo-network-stream-type-spec-string): New macro.
1284 (elmo-network-stream-type-symbol): Ditto.
1285 (elmo-network-stream-type-function): Ditto.
1287 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
1288 network-stream-type. All other related portions are changed.
1289 (elmo-pop3-open-connection): Ditto.
1291 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
1292 network-stream-type. All other related portions are changed.
1294 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
1295 network-stream-type.All other related portions are changed.
1296 (elmo-imap4-error): New macro.
1297 (elmo-imap4-error-type): Ditto.
1298 (elmo-imap4-error-process): Ditto.
1299 (elmo-imap4-error-message): Ditto.
1300 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
1301 (elmo-imap4-auth-cram-md5): Ditto.
1302 (elmo-imap4-auth-digest-md5): Ditto.
1303 (elmo-imap4-login): Ditto.
1304 (elmo-imap4-open-connection): Remove password entry if authentication
1306 (elmo-imap4-user-at-host): Abolished.
1307 (elmo-imap4-password-key): New buffer local variable.
1308 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
1309 using protocol, port, auth and stream-type.
1311 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
1313 2000-08-13 Daiki Ueno <ueno@unixuser.org>
1315 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
1317 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
1319 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
1320 (elmo-imap4-authenticator-alist): New variable.
1321 (elmo-imap4-open-connection-1): Rename from
1322 elmo-imap4-open-connection.
1323 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
1324 only wraps elmo-imap4-open-connection-1.
1325 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
1327 (elmo-imap4-auth-login): New function.
1328 (elmo-imap4-auth-cram-md5): New function.
1329 (elmo-imap4-auth-digest-md5): New function.
1330 (elmo-imap4-login): New function.
1332 2000-08-12 Kenichi OKADA <okada@opaopa.org>
1334 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
1337 2000-08-12 Kenichi OKADA <okada@opaopa.org>
1339 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
1341 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
1343 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
1345 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
1347 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
1348 for server responses, quote `*' regardless of where it appears.
1350 2000-08-03 Kenichi OKADA <okada@opaopa.org>
1352 * elmo-maildir.el (elmo-maildir-commit): New alias.
1354 2000-08-03 Kenichi OKADA <okada@opaopa.org>
1356 * elmo-util.el (elmo-display-progress):
1357 Use `progress-feedback-with-label'.
1359 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
1361 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
1362 (elmo-imap4-non-atom-char-regex): Ditto.
1363 (elmo-imap4-non-text-char-regex): Ditto.
1364 (elmo-imap4-literal-threshold): Ditto.
1365 (elmo-imap4-atom-p): New function.
1366 (elmo-imap4-quotable-p): Ditto.
1367 (elmo-imap4-nil): Ditto.
1368 (elmo-imap4-atom): Ditto.
1369 (elmo-imap4-quoted): Ditto.
1370 (elmo-imap4-literal-subr): Ditto.
1371 (elmo-imap4-literal): Ditto.
1372 (elmo-imap4-buffer-literal): Ditto.
1373 (elmo-imap4-string-subr): Ditto.
1374 (elmo-imap4-string): Ditto.
1375 (elmo-imap4-buffer-string): Ditto.
1376 (elmo-imap4-astring-subr): Ditto.
1377 (elmo-imap4-astring): Ditto.
1378 (elmo-imap4-buffer-astring): Ditto.
1379 (elmo-imap4-nstring): Ditto.
1380 (elmo-imap4-buffer-nstring): Ditto.
1381 (elmo-imap4-mailbox): New alias.
1382 (elmo-imap4-field-body): Ditto.
1383 (elmo-imap4-userid): Ditto.
1384 (elmo-imap4-password): Ditto.
1385 (elmo-imap4-format-quoted): New function.
1386 (elmo-imap4-send-command): Rewritten. Accept a list of command
1387 arguments and handle "atom", "quoted" and "literal" string here.
1388 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
1389 `elmo-imap4-send-command'.
1390 (elmo-imap4-folder-exists-p): Likewise.
1391 (elmo-imap4-create-folder): Likewise.
1392 (elmo-imap4-delete-folder): Likewise.
1393 (elmo-imap4-rename-folder): Likewise.
1394 (elmo-imap4-max-of-folder): Likewise.
1395 (elmo-imap4-check-validity): Likewise.
1396 (elmo-imap4-sync-validity): Likewise.
1397 (elmo-imap4-server-diff): Likewise.
1398 (elmo-imap4-select-folder): Likewise.
1399 (elmo-imap4-copy-msgs): Likewise.
1400 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
1401 (elmo-imap4-mark-set-on-msgs): Likewise.
1402 (elmo-imap4-read-part): Likewise.
1403 (elmo-imap4-read-msg): Likewise.
1404 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
1405 `elmo-imap4-password' for `elmo-imap4-send-command'.
1406 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
1407 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
1408 `elmo-imap4-buffer-literal'.
1409 (elmo-imap4-append-msg): Likewise.
1411 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
1412 `delete' for removing dead connection from the connection cache.
1413 Move deletion of the process buffer after that.
1414 (elmo-imap4-list): Change `defsubst' to `defun'.
1415 (elmo-imap4-commit): Make error message verbose.
1416 (elmo-imap4-search): Ditto.
1417 (elmo-imap4-list): Ditto.
1418 (elmo-imap4-select-folder): Ditto.
1419 (elmo-imap4-copy-msgs): Ditto.
1420 (elmo-imap4-delete-msg-by-id): Ditto.
1421 (elmo-imap4-append-msg-by-id): Ditto.
1422 (elmo-imap4-append-msg): Ditto.
1424 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1426 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
1427 when dired is used on XEmacs.
1429 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
1431 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
1432 instead of `append'.
1433 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
1434 `elmo-plugged-p' directly.
1435 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
1436 of `elmo-plugged-p' directly.
1438 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
1439 Eliminate unused variable. Use `memq' for checking a process status.
1440 Use `cons' instead of `append' for updating the connection cache.
1441 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
1442 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
1444 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
1446 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
1447 `elmo-imap4-read-point' exactly.
1449 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
1450 the local variable `folder' to `mailbox'.
1451 Rename the argument `fld' to `folder'.
1453 2000-07-20 Kenichi OKADA <okada@opaopa.org>
1455 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
1456 * elmo-imap4.el (elmo-imap4-commit): Ditto.
1458 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1460 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
1461 (elmo-pop3-number-uidl-hash): New buffer-local variable.
1462 (elmo-pop3-uidl-number-hash): Ditto.
1463 (elmo-pop3-size-hash): Ditto.
1464 (elmo-pop3-uidl-done): Ditto.
1465 (elmo-pop3-list-done): Ditto.
1466 (elmo-pop3-connection-get-process): New defmacro.
1467 (elmo-pop3-connection-get-buffer): Ditto.
1468 (elmo-pop3-close-connection): Delete buffer and process.
1469 (elmo-pop3-flush-connection): Don't delete buffer and process.
1470 (elmo-pop3-get-connection): Added optional argument `if-exists'.
1471 Setup UIDL and size hash.
1472 (elmo-pop3-send-command-no-erase): Deleted
1473 (elmo-pop3-send-command): Added optional argument `no-erase'.
1474 (elmo-pop3-parse-uidl-response): New function.
1475 (elmo-pop3-parse-list-response): Set size hash.
1476 (elmo-pop3-list-location): New function.
1477 (elmo-pop3-list-by-uidl-subr): Ditto.
1478 (elmo-pop3-list-by-list): Ditto.
1479 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
1480 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
1481 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
1482 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
1483 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
1485 (elmo-pop3-uidl-to-number): New function.
1486 (elmo-pop3-number-to-uidl): Ditto.
1487 (elmo-pop3-number-to-size): Ditto.
1488 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
1489 Set number by use of uidl.
1490 (elmo-pop3-msgdb-create-message): Likewise.
1491 Set size, loc-alist in msgdb.
1492 (elmo-pop3-read-msg): Set number by use of uidl.
1493 Added optional argument `msgdb'.
1494 (elmo-pop3-delete-msg): Ditto.
1495 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
1496 (elmo-pop3-commit): Close connection.
1498 * elmo-pipe.el (elmo-pipe-max-of-folder):
1499 Bind `elmo-pop3-use-uidl' as nil.
1500 (elmo-pipe-drain): Ditto.
1503 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
1504 (elmo-msgdb-overview-entity-set-size): New defsubst.
1506 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1508 * elmo-vars.el (elmo-use-killed-list): New variable
1509 (Renamed from `elmo-nntp-use-killed-list').
1510 (elmo-nntp-use-killed-list): Eliminated.
1512 * elmo-msgdb.el (elmo-msgdb-expand-path):
1513 Changed expanding msgdb path for elmo-multi.
1515 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1516 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1517 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1518 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1519 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1520 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1521 (toplevel): Deleted time-stamp line.
1523 * elmo2.el (elmo-clear-killed ): Defined as function
1524 (Abolished defining as a backend function).
1525 All other related modules are changed.
1527 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1529 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1531 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1533 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1535 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1537 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1539 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1541 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1542 asynchronous folder check.
1544 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1546 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1547 `elmo-nntp-use-killed-list'.
1548 (elmo-nntp-list-folder): Use killed list.
1549 (elmo-nntp-max-of-folder): Ditto.
1550 (elmo-nntp-msgdb-create): Set killed list.
1552 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1554 * elmo2.el (elmo-clear-killed): New backend function.
1555 All other related modules are changed.
1557 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1559 * elmo-util.el (elmo-imap4-spec-folder): Use
1560 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1561 All callers changed.
1563 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1565 * mmelmo-2.el (initialize-instance):
1566 Use `mime-buffer-entity-buffer-internal' instead of
1567 `mime-entity-buffer'.
1569 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1570 (mime-entity-body): Implemented.
1571 (mime-goto-header-start-point): Deleted.
1572 (mime-goto-body-end-point): Ditto.
1573 (mime-entity-point-min): Ditto.
1574 (mime-entity-point-max): Ditto.
1575 (mime-entity-children): Ditto.
1576 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1577 instead of `mime-entity-buffer'.
1578 (mime-entity-header-buffer): Ditto.
1579 (mime-entity-body-buffer): Ditto.
1580 (mime-write-entity-content): Ditto.
1582 * pldap.el (ldap-static-if): New macro.
1583 (toplevel): Use it instead of `static-if'.
1585 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1587 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1588 included in `attrs' argument.
1590 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1592 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1594 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1595 (ldap-ldif-safe-init-char-regexp): Ditto.
1596 (ldap-ldif-safe-string-regexp): Ditto.
1597 (ldap/ldif-safe-string-p): New macro.
1598 (ldap/ldif-insert-field): Ditto.
1599 (ldap-modify): Use it.
1601 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1602 (ldap-decode-attribute): Decode only when `attr' is consp.
1603 (ldap-delete): Bind `ret'.
1604 (toplevel): Require 'cl at compile time.
1605 Removed (require 'poe) and (require 'std11).
1606 (pldap-version): Eliminated.
1607 (ldap-search-basic): Removed auth and dn binding.
1608 (ldap-ldif-field-name-regexp): New constant.
1609 (ldap-ldif-field-head-regexp): Ditto.
1610 (ldap-ldif-next-field-head-regexp): Ditto.
1611 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1612 (ldap/field-end): New function.
1613 (ldap/field-body): Use it.
1614 (ldap/collect-field): Ditto.
1615 (ldap-search-basic): Use `ldap/field-body'.
1617 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1619 * pldap.el (ldap-default-attribute-encoder): New user option.
1620 (ldap/field-body): Decode base64 string.
1621 (ldap/collect-field): Ditto.
1622 (ldap-encode-attribute): New function.
1623 (ldap-add-entries): Use it.
1624 (ldap-modify-entries): Ditto.
1625 (ldap-search-entries): Enclosed decoding function with
1626 `with-temp-buffer' and set as unibyte.
1627 (ldap-search-basic): Set process buffer as unibyte.
1629 * elmo-util.el (elmo-folder-identical-system-p):
1630 Eliminated name space checking.
1632 * pldap.el: New module.
1633 toplevel: Changed condition to detect built-in ldap feature.
1634 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1635 (ldap-add): Added error handling.
1636 (ldap-modify): Ditto.
1637 (ldap-delete): Ditto.
1639 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1641 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1642 Initialize local variables with `let'. Inline a temporary
1643 variable for the progress percentage. Sort `setq' to reduce
1644 function call in the while-loop.
1646 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1647 into the conditional branch.
1649 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1651 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1652 Move a conditional out of the while-loop.
1654 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1656 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1657 elmo-msgdb-overview-get-entity-by-number.
1658 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1661 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1663 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1664 the local variable for a packed number self descriptively.
1666 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1668 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1669 * elmo-localdir.el (elmo-localdir-pack-number): Use
1670 `elmo-msgdb-overview-get-entity' instead of
1671 `elmo-msgdb-overview-get-entity-by-number'.
1672 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1673 (elmo-msgdb-search-overview-entity): Removed.
1674 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1675 by message-id or number.
1676 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1677 instead of `elmo-msgdb-overview-get-entity-by-number'.
1679 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1681 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1682 non-nil, use hash table for overview.
1683 (elmo-hash-maximum-size): New variable.
1684 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1685 (elmo-msgdb-make-overview-hashtb): New function.
1686 (elmo-msgdb-clear-overview-hashtb): New function.
1687 (elmo-clear-hash-val): New macro.
1688 All other related modules are changed.
1690 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1692 * elmo2.el (elmo-move-msgs): If there's other message with
1693 same message-id, don't use cache.
1695 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1697 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1698 number is already packed.
1700 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1702 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1704 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1706 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1707 All other related modules are changed.
1709 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1711 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1712 of refiling failure on Maildir.
1714 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1716 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1717 decoded mime-charset with cache.
1718 (elmo-msgdb-overview-entity-get-from): Ditto.
1719 (elmo-msgdb-overview-entity-get-subject): Ditto.
1720 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1722 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1724 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1725 (elmo-remove-passwd): Fill password with 0 before erase.
1726 * elmo-vars.el (elmo-passwd-life-time): New variable.
1729 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1731 * elmo-cache.el (elmo-buffer-cache-add):
1732 Set message cache buffer as unibyte.
1734 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1736 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1739 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1741 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1742 when display is finished.
1743 (elmo-nntp-msgdb-create): Ditto.
1744 (elmo-nntp-groups-read-response): Ditto.
1745 (elmo-nntp-retrieve-headers): Ditto.
1746 (elmo-nntp-msgdb-create-message): Ditto.
1747 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1748 (elmo-pop3-msgdb-create-message): Ditto.
1750 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1752 * elmo-maildir.el (elmo-maildir-msgdb-create):
1753 Use `elmo-msgdb-sort-by-date'.
1755 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1757 * elmo2.el (elmo-read-msg-no-cache):
1758 Eliminated arguments after `outbuf'.
1759 Don't use cache even if it exists.
1760 (elmo-read-msg): Don't pass arguments after `outbuf' to
1761 `elmo-read-msg-no-cache'.
1763 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1765 * elmo-archive.el (elmo-archive-list-folders):
1766 Use `file-name-directory' if base folder does not exist.
1768 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1770 * elmo-archive.el (elmo-archive-list-folders): Don't use
1771 `file-name-directory'.
1773 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1775 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1776 If `force' is non-nil, try flushing all operation queues.
1778 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1780 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1783 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1785 * elmo-util.el (elmo-display-progress): Fixed.
1787 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1789 * elmo-util.el (elmo-display-progress): New function.
1790 All other related modules are changed.