1 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
4 field `real field' into each element of list.
5 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
6 (elmo-msgdb-message-entity-field): Ditto.
7 (modb-entity-ml-info-real-fields): New function.
9 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
11 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
12 `elmo-msgdb-extra-fields'.
14 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
16 * elmo-util.el (elmo-passwd-alist-load): Move point to min
19 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
21 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
22 (elmo-global-flags-initialize): Ditto.
24 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
26 * elmo-archive.el (toplevel): Don't require emu, std11
29 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
32 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
34 * elmo.el (elmo-folder-confirm-appends): Display folder name.
36 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
38 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
41 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
43 * elmo-maildir.el (elmo-maildir-list-location): Reduce
44 `elmo-get-last-modification-time' call.
46 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
48 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
50 (elmo-maildir-set-mark): Ditto.
51 (elmo-maildir-delete-mark): Ditto.
53 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
55 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
56 optional argument `separators'.
58 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
60 * elmo.el (cache-changed): Abolish.
61 (status-changed): New signal.
62 (elmo-message-killed-p): New generic function and define for
64 (elmo-folder-recover-messages): Ditto.
65 (elmo-message-set-cached): Emit signal `status-changed' instead of
67 (elmo-message-status): New macro.
68 (elmo-message-status-folder): Ditto.
69 (elmo-message-status-number): Ditto.
70 (elmo-message-status-set-flags): Ditto.
71 (elmo-message-status-set-killed): Ditto.
72 (elmo-message-status-flags): New function.
73 (elmo-message-status-cached-p): Ditto.
74 (elmo-message-status-killed-p): Ditto.
76 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
77 `status-changed' instead of `cache-changed'.
78 (elmo-folder-recover-messages): Define.
79 (elmo-message-killed-p): Ditto.
81 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
82 `status-changed' instead of `cache-changed'.
84 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
85 (elmo-message-killed-p): Define.
86 (elmo-folder-recover-messages): Ditto.
88 * elmo-version.el (elmo-version): Up to 2.15.3.
90 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
92 * elmo-signal.el (elmo-signal-bindings): Use cons to append
94 (elmo-define-signal-handler): Add docstring.
95 (elmo-define-signal-filter): Ditto.
97 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
99 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
101 * elmo-util.el (elmo-flatten): Don't use recursive call.
103 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
105 (elmo-folder-message-make-temp-files): Use `number-to-string'
106 instead of `int-to-string'.
108 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
110 * elmo-search.el (elmo-folder-delete-messages): Define.
112 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
114 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
116 (elmo-mailing-list-count-spec-list): Ditto.
118 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
121 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
123 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
126 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
128 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
129 (elmo-mailing-list-count-spec-list): Ditto.
131 * elmo-util.el (elmo-map-until-success): New function.
132 (elmo-string-match-substring): Ditto.
133 (elmo-find-list-match-value): Ditto.
135 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
137 (modb-entity-extract-ml-info-from-subject): Ditto.
138 (modb-entity-extract-ml-info-from-return-path): Ditto.
139 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
140 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
141 (modb-entity-extract-ml-info-from-mailman): Ditto.
142 (modb-entity-extract-mailing-list-info-functions): Ditto.
143 (modb-entity-extract-mailing-list-info): Rewrite with
144 `elmo-find-list-match-value'.
146 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
148 * elmo-net.el (elmo-network-session-retry-count): New user option.
149 (elmo-network-session-buffer-name): New internal function.
150 (elmo-network-session-buffer-create): Ditto.
151 (elmo-network-open-session): Retry open network session
152 `elmo-network-session-retry-count' times.
154 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
156 * elmo-util.el (elmo-list-filter): Rewritten.
158 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
160 * elmo-util.el (elmo-string-member): Allow symbol element in list.
162 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
164 * elmo-search.el (elmo-make-search-engine): Use prefix
165 `elmo-search-' for require symbol instead of `else-'.
166 (elmo-search-engine-extprog): New class.
167 (elmo-search-engine-do-search): Remove nil from argument
168 list. Added argument pattern to evaluate element as function.
169 (elmo-search-engine-local-file): Derived from
170 `elmo-search-engine-extprog'.
171 (elmo-search-engine-create-message-entity): Check existance of file.
172 (elmo-search-engine-fetch-message): Ditto.
173 (elmo-search-namazu-index): Follow the API change.
174 (elmo-search-grep-target): Ditto.
176 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
178 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
179 characters of working buffer.
181 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
182 Does not bind `default-mime-charset'.
183 (elmo-msgdb-create-message-entity-from-buffer): Removed
184 unnecessary local bind.
186 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
188 (modb-entity-extract-mailing-list-info-functions): Added it.
190 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
192 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
193 when number and message-id are non-nil.
195 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
197 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
198 conditional steatment.
199 (elmo-pop3-auth-apop): Likewise.
200 (elmo-network-authenticate-session): Likewise.
202 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
204 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
205 symbol `fill-column'.
206 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
209 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
210 (elmo-decoded-field-body): Ditto.
212 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
214 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
215 `tokens' to `params'.
217 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
219 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
222 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
224 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
227 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
229 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
230 Set default value as nil.
231 (toplevel): Register search engines by
232 `elmo-search-register-engine' if there are not defined.
234 * elmo.el (autoload): Added autoload setting for
235 `elmo-search-register-engine'.
237 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
239 * elmo.el (toplevel): `[' is redefined as the prefix of the search
240 folder instead of nmz folder.
241 (elmo-nmz-default-index-path): Added obsolete variable setting.
242 (elmo-nmz-index-alias-alist): Ditto.
243 (elmo-nmz-use-drive-letter): Ditto.
245 * elmo-search.el (elmo-search-register-engine): New function.
247 * elmo-nmz.el: Removed.
249 * elmo-version.el (elmo-version): Up to 2.15.2.
251 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
253 * elmo-search.el: New file.
255 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
257 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
258 condition `larger' and `smaller'.
260 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
262 * elmo-util.el (elmo-safe-filename): Rewrite to replace
263 `"' (double quote) into "_Q_".
265 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
267 * elmo-net.el (elmo-net-quote-chars): Abolish.
268 (elmo-net-format-quoted): Ditto.
270 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
272 * elmo.el (elmo-get-folder-function): New variable.
273 (elmo-get-folder): New function.
274 (elmo-folder-rename): Call `elmo-make-folder' with specified
277 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
279 (elmo-split-subr): Ditto.
281 * elmo-multi.el (elmo-folder-initialize): Ditto.
283 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
285 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
286 (elmo-flag-get-folder): Ditto.
288 * elmo-filter.el (elmo-folder-initialize): Ditto.
290 * elmo-access.el (elmo-folder-initialize): Ditto.
291 (elmo-access-folder-update-children): Ditto.
293 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
294 (elmo-dop-queue-flush): Ditto.
295 (elmo-folder-append-buffer-dop-delayed): Ditto.
296 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
299 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
300 instead of `elmo-make-folder'.
301 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
302 destination folder instead of send `elmo-folder-rename-internal'.
304 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
305 slot of subfolder instead of create it.
307 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
309 * elmo-util.el (elmo-collect-separators): New function.
310 (elmo-collect-separators-internal): Ditto.
311 (elmo-collect-trail-separators): Ditto.
312 (elmo-parse-separated-tokens): Ditto.
313 (elmo-parse-separated-tokens-internal): Ditto.
314 (elmo-quote-syntactical-element): Ditto.
316 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
317 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
319 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
320 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
321 (elmo-nntp-folder-list-subfolders): Quote a user name.
323 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
324 (elmo-net-parse-network): Abolish.
325 (elmo-net-folder-set-parameters): New function.
326 (elmo-folder-initialize): Follow the above change.
328 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
329 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
330 (elmo-folder-list-subfolders): Use
331 `elmo-quote-syntactical-element' instead of
332 `elmo-net-format-quoted' to quote mailbox and user name.
334 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
336 * elmo-util.el (elmo-token-valid-p): New function.
337 (elmo-parse-token): Add optional argument `requirement'.
338 (elmo-parse-prefixed-element): Likewise.
340 * elmo-net.el (elmo-net-quote-chars): Renamed from
341 `elmo-net-quote-chars-regexp'.
342 (elmo-net-format-quoted): Add optional argument `extra-chars'.
344 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
345 by info document. Check token `uidl' is started an alphabet.
347 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
348 by info document. Check token `user' is started an alphabet.
350 * elmo-imap4.el (elmo-folder-initialize): Ditto.
351 (elmo-folder-list-subfolders): Quote user.
353 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
355 * elmo-util.el (elmo-quoted-specials-list): New constant.
356 (elmo-quoted-token): New function.
358 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
359 (elmo-net-format-quoted): New function.
360 (elmo-net-parse-network): Ditto.
361 (elmo-folder-initialize): Use it.
363 * elmo-nntp.el (elmo-folder-initialize): Use
364 `elmo-net-parse-network' to parse network specification instead of
365 `elmo-folder-initialize#elmo-net'.
367 * elmo-pop3.el (elmo-folder-initialize): Ditto.
369 * elmo-imap4.el (elmo-folder-initialize): Ditto.
370 (elmo-folder-list-subfolders): Quote folder name by
371 `elmo-net-format-quoted'.
373 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
375 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
376 (elmo-folder-search): Use it.
378 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
380 * modb-standard.el (modb-standard-loaded-message-id): Use
381 `elmo-msgdb-message-entity-field'.
383 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
385 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
388 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
390 * elmo-util.el (elmo-set-auto-coding): New function.
391 (elmo-object-load): Use it.
393 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
395 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
396 (elmo-time<): Define as alias of `elmo-time-less-p'.
397 (elmo-time-to-datevec): New function.
399 * elmo-date.el (elmo-time-to-days): New function.
401 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
403 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
406 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
408 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
411 * elmo-util.el (elmo-map-recursive): New function.
413 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
414 (modb-entity-encode-string-recursive): Ditto.
416 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
418 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
419 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
420 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
421 compare sequence number when last modified time is nil.
423 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
425 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
427 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
429 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
431 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
432 modification time of the file.
434 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
436 * elmo-util.el (elmo-condition-optimize): Discriminated against
437 preserved fields, extra fields and the other weight.
439 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
441 * modb-entity.el (initialize-instance): Define.
442 (modb-entity-handler-mime-charset): New internal function.
443 (modb-standard-entity-set-field): Use it.
444 (elmo-msgdb-message-entity-field): Ditto.
445 (elmo-msgdb-message-entity-field): Ditto.
447 * modb.el (elmo-msgdb-match-condition): Rewrite with
448 `elmo-condition-match'.
449 (elmo-msgdb-match-condition-primitive): New function.
451 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
452 arguments `flags' and `numbers'.
453 (elmo-msgdb-match-condition-primitive): Abolished (merged to
454 `elmo-msgdb-message-match-condition').
455 (modb-buffer-entity-handler): New class.
457 * elmo.el (elmo-folder-search): Optimize condition to use
458 `elmo-condition-optimize'.
459 (elmo-message-buffer-match-condition): New function.
460 (elmo-message-match-condition): Use
461 `elmo-message-buffer-match-condition' instead of
462 `elmo-buffer-field-condition-match'.
464 * elmo-util.el (elmo-condition-match): New function.
465 (elmo-condition-optimize): Ditto.
466 (elmo-buffer-field-primitive-condition-match): Abolish.
467 (elmo-buffer-field-condition-match): Ditto.
469 * elmo-archive.el (elmo-archive-field-condition-match): Use
470 `elmo-message-buffer-match-condition' instead of
471 `elmo-buffer-field-condition-match'.
473 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
475 * elmo-flag.el (elmo-global-flags-initialize): Check the
476 existence of the flag directory.
478 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
480 * elmo-access.el (elmo-folder-initialize): Call
481 `elmo-multi-connect-signals'.
483 * elmo-pipe.el (elmo-folder-close): Define.
485 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
488 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
491 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
494 * elmo-multi.el (elmo-message-entity): Don't use return value of
495 `elmo-message-entity-set-number'.
497 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
499 * modb.el (modb-generic): Added slot `mime-charset'.
501 * modb-standard.el (modb-standard): Added slot `overview-handler'.
502 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
503 and `modb-entity-handler-dump-parameters'.
504 (modb-standard-default-entity-handler): Abolish.
505 (elmo-msgdb-message-entity-handler): Save created handler by
508 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
509 (modb-entity-handler-list-parameters): New method.
510 (modb-entity-handler-equal-p): New function.
511 (modb-entity-handler-dump-parameters): Ditto.
512 (modb-entity-parse-address-string): Encode return value.
513 (modb-entity-make-address-string): Decode argument value.
514 (modb-entity-decode-string-recursive): New function.
515 (modb-entity-encode-string-recursive): Ditto.
516 (modb-standard-entity-normalizer): Set to encode field value.
517 (modb-standard-entity-specializer): Follow the above change.
518 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
519 mime-charset of handler.
520 (elmo-msgdb-message-entity-field): Ditto.
521 (elmo-msgdb-copy-message-entity): Fixed reference to internal
523 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
525 * elmo.el (elmo-folder): Added slot `mime-charset'.
526 (elmo-make-folder): Added argument `mime-charset'.
527 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
530 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
531 (elmo-make-msgdb): Likewise.
533 * elmo-internal.el (elmo-internal-folder-initialize): Call
534 `luna-make-entity' with :mime-charset parameter.
536 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
538 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
539 encoded words in `from' and `subject' field.
541 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
543 * modb.el (elmo-msgdb-message-field): Add argument `type'.
544 (elmo-msgdb-match-condition): Get handler from entity instead of
547 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
548 (modb-standard-load-entity): Treat new file format.
549 (modb-standard-save-entity-1): Save as new file format.
550 (modb-standard-save-entity): Split messages into section here.
551 (elmo-msgdb-message-field): Follow the API change.
552 (modb-standard-default-entity-handler): New internal variable.
553 (elmo-msgdb-message-entity-handler): Define.
555 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
557 (modb-entity-field-extractor-alist): New user option.
558 (elmo-msgdb-message-entity-field): Removed argument `decode' and
559 added argument `type'.
560 (elmo-msgdb-copy-message-entity): Add optional argument
562 (modb-set-field-converter): New function.
563 (modb-convert-field-value): Ditto.
564 (modb-entity-string-decoder): Ditto.
565 (modb-entity-string-encoder): Ditto.
566 (modb-entity-parse-date-string): Ditto.
567 (modb-entity-make-date-string): Ditto.
568 (modb-entity-mime-decoder): Ditto.
569 (modb-entity-mime-encoder): Ditto.
570 (modb-entity-address-list-decoder): Ditto.
571 (modb-entity-address-list-encoder): Ditto.
572 (modb-entity-parse-address-string): Ditto.
573 (modb-entity-make-address-string): Ditto.
574 (modb-entity-create-field-indices): Ditto.
575 (modb-legacy-entity-field-slots): New constant.
576 (modb-legacy-entity-field-indices): Ditto.
577 (modb-legacy-entity-normalizer): New variable.
578 (modb-legacy-entity-specializer): Ditto.
579 (modb-legacy-entity-field-index): New macro.
580 (modb-legacy-entity-set-field): New function.
581 (modb-legacy-make-message-entity): Rewrite.
582 (elmo-msgdb-create-message-entity-from-buffer): Use
583 `elmo-msgdb-get-references-from-buffer'. Use
584 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
585 Use `modb-legacy-entity-set-field' instead of
586 `elmo-msgdb-message-entity-set-field'.
587 (elmo-msgdb-message-entity-field): Rewrite.
588 (elmo-msgdb-message-entity-set-field): Ditto.
589 (elmo-msgdb-copy-message-entity): Make new entity by
590 `make-handler' if it specified.
591 (elmo-msgdb-message-match-condition): Define a method of
592 `modb-entity-handler' and follow the API change.
593 (modb-standard-entity-handler): New class.
594 (modb-entity-extract-ml-info-from-x-sequence): New function.
595 (modb-entity-extract-ml-info-from-subject): Ditto.
596 (modb-entity-extract-ml-info-from-return-path): Ditto.
597 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
598 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
599 (modb-entity-extract-mailing-list-info): Ditto.
600 (modb-entity-extract-mailing-list-info-functions): New variable.
602 * elmo.el (elmo-message-field): Add optional argument `type'.
604 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
605 from `modb-entity.el'.
607 * elmo-util.el (elmo-object-load): Decode by coding-system from
608 `set-auto-coding-function'.
609 (elmo-object-save): Use `detect-mime-charset-region' and add
610 coding cookie if encode.
611 (elmo-msgdb-get-references-from-buffer): New function.
612 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
614 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
616 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
617 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
618 instead of `shimbun-make-header' and follow the API change.
619 (elmo-shimbun-update-overview): Follow the API change.
620 (elmo-map-folder-list-message-locations): Ditto.
622 * elmo-pipe.el (elmo-message-field): Ditto.
624 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
627 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
629 * elmo-multi.el (elmo-message-field): Ditto.
631 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
632 (elmo-msgdb-sort-by-date): Ditto.
633 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
634 `elmo-message-entity-field'.
635 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
637 (elmo-msgdb-overview-entity-get-from): Ditto.
638 (elmo-msgdb-overview-entity-get-subject): Ditto.
639 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
640 (elmo-msgdb-overview-entity-get-date): Ditto.
641 (elmo-msgdb-overview-entity-get-to): Ditto.
642 (elmo-msgdb-overview-entity-get-cc): Ditto.
644 * elmo-mime.el (elmo-message-mime-entity): Ditto.
645 (elmo-mime-collect-message/partial-pieces): Ditto.
647 * elmo-filter.el (elmo-message-field): Ditto.
649 * elmo-date.el (elmo-datevec-to-time): New function.
650 (elmo-time-parse-date-string): Ditto.
651 (elmo-time-make-date-string): Ditto.
654 * elmo-version.el (elmo-version): Up to 2.15.1.
656 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
658 * elmo-flag.el (elmo-global-flags-initialize): Don't include
659 member of elmo-local-flags.
661 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
663 * elmo-version.el (elmo-version): Up to 2.15.0.
665 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
667 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
668 `ignore-msgdb' is non-nil.
670 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
672 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
673 (elmo-condition-in-msgdb-p): Ditto.
674 (elmo-file-field-primitive-condition-match): Ditto.
675 (elmo-file-field-condition-match): Ditto.
677 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
679 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
681 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
683 (elmo-global-flags-initialize): New function.
685 * elmo.el (toplevel): Added autoload setting for
686 `elmo-global-flags-initialize'.
688 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
690 * elmo.el (message-number-changed): Define new signal.
691 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
692 message-number-changed signal.
693 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
694 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
695 Respect `elmo-pack-number-check-strict'.
697 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
699 * elmo-signal.el (elmo-connect-signal): Document.
700 (elmo-emit-signal): Ditto.
701 (elmo-emit-signal): It should pass source argument to filter and
702 handler, not slot-source.
704 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
706 * modb.el (elmo-msgdb-update-entity): New API and define generic
709 * modb-standard.el (elmo-msgdb-update-entity): Define.
711 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
712 API and define generic implement.
714 * elmo.el (update-overview): New singnal.
716 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
717 `elmo-msgdb-update-entity' and emit signal `update-overview'.
718 (elmo-message-entity-parent): Define.
720 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
723 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
725 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
727 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
729 * elmo.el (elmo-folder-synchronize): Sort the return value of
732 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
735 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
737 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
738 `default-enable-multibyte-characters'.
739 (elmo-object-load): Use `with-temp-buffer' instead of
741 (elmo-object-save): Ditto.
742 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
744 (elmo-decoded-field-body): Ditto.
746 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
748 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
749 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
751 * elmo-version.el (elmo-version): Up to 2.13.3.
753 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
755 * elmo-util.el (elmo-list-diff): Fix the last change.
756 Reverse order of result lists.
758 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
760 * modb-standard.el (elmo-msgdb-set-flag): Use
761 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
762 (elmo-msgdb-unset-flag): Ditto.
764 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
767 * elmo-util.el (elmo-list-diff): Rewrite.
768 (elmo-list-diff-nonsortable): New function.
770 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
772 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
773 `elmo-multibypte-buffer-name'. All referers are updated.
775 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
777 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
778 (elmo-mime-entity-fragment-p): New function.
779 (mime-elmo-buffer-entity): Added slot `reassembled'.
780 (elmo-message-mime-entity): Added 4th argument `reassemble'.
781 (elmo-message-mime-entity-internal): New function (renamed from
782 `elmo-message-mime-entity').
783 (elmo-mime-inherit-field-list-from-enclosed): New constant.
784 (elmo-mime-make-reassembled-mime-entity): New function.
785 (elmo-message-reassembled-mime-entity): Ditto.
786 (elmo-mime-collect-message/partial-pieces): Ditto.
788 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
790 * elmo.el (elmo-message-fetch-string): Disable multibyte.
792 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
793 (elmo-with-enable-multibyte): New macro.
795 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
797 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
799 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
801 (elmo-filter-connect-signals): Follow the above change.
803 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
805 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
807 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
808 that only the first flag is used.
810 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
812 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
815 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
817 * elmo-signal.el: New file.
819 * elmo.el (toplevel): Require elmo-signal.
820 (flag-changing, flag-changed, cache-changed): New signal.
821 (elmo-folder): Remove slog `handlers'.
822 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
823 `elmo-folder-notify-event'.
824 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
825 (elmo-folder-unset-flag): Ditto.
826 (elmo-event-handler): Abolish.
827 (elmo-event-handler-flag-changed): Ditto.
828 (elmo-event-handler-cache-changed): Ditto.
829 (elmo-folder-add-handler): Ditto.
830 (elmo-folder-remove-handler): Ditto.
831 (elmo-folder-notify-event): Ditto.
833 * elmo-pipe.el (toplevel): Require elmo-signal.
834 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
835 (elmo-pipe-connect-signals): New function.
836 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
837 (elmo-folder-set-flag): Ditto.
838 (elmo-folder-unset-flag): Ditto.
839 (elmo-message-set-cached): Ditto.
841 * elmo-multi.el (toplevel): Require elmo-signal.
842 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
843 (elmo-multi-connect-signals): New function.
844 (elmo-multi-map-numbers): Ditto.
845 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
846 (elmo-message-fetch): Ditto.
847 (elmo-folder-set-flag): Ditto.
848 (elmo-folder-unset-flag): Ditto.
850 * elmo-filter.el (toplevel): Require elmo-signal.
851 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
852 (elmo-filter-connect-signals): New function.
853 (elmo-filter-add-flag-count): Ditto.
854 (elmo-message-fetch): Does not call
855 `elmo-filter-folder-countup-message-flags' and
856 `elmo-folder-notify-event'.
857 (elmo-message-set-cached): Ditto.
858 (elmo-folder-set-flag): Ditto.
859 (elmo-folder-unset-flag): Ditto.
861 * elmo-version.el (elmo-version): Up to 2.13.2.
863 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
865 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
868 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
870 * elmo-filter.el (elmo-message-set-cached): Call
871 `elmo-folder-notify-event' with event `cache-changed'.
873 * elmo-multi.el (elmo-message-set-cached): Ditto.
875 * elmo-pipe.el (elmo-message-set-cached): Ditto.
877 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
879 * elmo.el (elmo-folder-encache): Abolish.
881 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
883 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
884 (elmo-folder-next-message-number-dop): Return appropriate negative
887 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
889 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
890 clearing pending operations.
891 (elmo-folder-next-message-number-dop): Return appropriate negative
894 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
896 * elmo.el (toplevel): Added autoload setting for `md5'.
897 (elmo-msgdb-path-encode-threshold): New user option.
898 (elmo-folder-msgdb-path): Encode msgdb path if its length is
899 longer than `elmo-msgdb-path-encode-threshold'.
901 * elmo-flag.el (elmo-global-mark-migrate): Use
902 `elmo-folder-expand-msgdb-path' instead of
903 `elmo-folder-msgdb-path'.
905 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
907 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
908 element of the difference is nil.
910 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
912 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
913 to the check logic of file systems which are weak in colon character.
915 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
917 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
919 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
921 * elmo-maildir.el (elmo-maildir-move-file): New function.
922 (elmo-folder-append-buffer): Use it.
923 (elmo-folder-append-messages): Ditto.
924 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
926 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
927 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
929 * elmo-maildir.el (elmo-maildir-separator): New user option.
930 (elmo-maildir-adjust-separator): New macro.
931 (elmo-maildir-list-location): Use it.
932 (elmo-maildir-update-current): Ditto.
933 (elmo-maildir-set-mark): Ditto.
934 (elmo-maildir-delete-mark): Ditto.
935 (These changes are based on Hiroya Murata's patch [wl: 13437])
937 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
939 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
941 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
943 * elmo-flag.el (elmo-flag-valid-p): Simplify.
944 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
945 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
947 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
949 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
950 Use `with-temp-buffer'.
952 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
954 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
956 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
957 `wl-read-search-condition').
958 (elmo-read-search-condition-internal): Likewise.
960 * elmo-flag.el (elmo-flag-char-regexp): New constant.
961 (elmo-flag-valid-p): New function.
962 (elmo-folder-initialize): Check flag name is valid.
964 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
966 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
967 delimiter to obtain root mailbox itself.
969 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
971 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
974 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
976 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
979 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
981 * elmo-shimbun.el (toplevel): Require cl at compile.
983 * elmo-nntp.el (toplevel): Ditto.
985 * elmo-nmz.el (toplevel): Ditto.
987 * elmo-multi.el (toplevel): Ditto.
989 * elmo-file.el (toplevel): Ditto.
991 * elmo-dop.el (toplevel): Ditto.
993 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
995 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
997 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1000 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1001 size of elmo-message-fetch-internal is 0 byte.
1003 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1005 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1007 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1009 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1012 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1014 * elmo-maildir.el (elmo-map-message-fetch): Call
1015 `elmo-map-folder-set-flag'.
1017 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1018 (elmo-message-fetch): Merge from
1019 `elmo-message-fetch-with-cache-process'.
1021 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1022 (elmo-message-fetch): Define.
1024 * elmo-nntp.el (elmo-message-fetch): Renamed from
1025 `elmo-message-fetch-with-cache-process'.
1027 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1028 (elmo-message-fetch): Define.
1030 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1033 * elmo-shimbun.el (shimbun-mua-search-id): Use
1034 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1035 (elmo-shimbun-folder-shimbun-header): Ditto.
1036 (elmo-shimbun-get-headers): Ditto.
1037 (elmo-shimbun-update-overview): Ditto.
1039 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1041 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1042 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1044 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1046 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1048 (elmo-message-fetch-string): Fixed argument.
1050 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1052 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1053 exchange order of arguments `section' and `unread'.
1054 (elmo-message-encache): Follow the API change.
1055 (elmo-message-match-condition): Ditto.
1056 (elmo-generic-folder-append-messages): Ditto.
1057 (elmo-message-fetch-string): New function.
1059 * elmo-split.el (elmo-split-subr): Ditto.
1061 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1063 * elmo-pipe.el (elmo-message-fetch): Ditto.
1065 * elmo-multi.el (elmo-message-fetch): Ditto.
1067 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1069 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1071 * elmo-filter.el (elmo-message-fetch): Ditto.
1073 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1075 * elmo-imap4.el (mime-imap-location-section-body): Use
1076 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1077 follow the API change.
1079 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1081 * elmo-access.el: New file.
1083 * elmo-null.el: Ditto.
1085 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1087 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1089 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1090 (elmo-network-session): New attribute `last-accessed'.
1091 (elmo-network-get-session): Discard network cache if elapsed time
1092 since last-accessed is larger than elmo-network-session-idle-timeout.
1094 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1096 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1097 and added `number', `require-entireness'.
1098 (elmo-find-fetch-strategy): Rewrite.
1099 (elmo-message-fetch): Unset `unread' flag when argument unread is
1102 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1104 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1105 (elmo-message-fetch): Notify event `flag-changed'.
1107 * elmo-pipe.el: Likewise.
1109 * elmo-mime.el (elmo-mime-entity): New class.
1110 (elmo-mime-entity-display-p): New generic function.
1111 (elmo-mime-entity-display): Ditto.
1112 (elmo-mime-entity-display-as-is): Ditto.
1113 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1115 (elmo-make-mime-message-location): Removed.
1116 (elmo-mime-message-display): Ditto.
1117 (elmo-mime-display-as-is): Ditto.
1118 (elmo-message-mime-entity): New function.
1120 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1122 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1124 (elmo-message-fetch): Re-count flagged message number and notify
1125 event `flag-changed'.
1127 * elmo-version.el (elmo-version): Up to 2.13.1.
1129 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1131 * elmo-filter.el (elmo-message-field): Define.
1132 (elmo-message-set-field): Ditto.
1134 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1136 * elmo.el (elmo-message-set-cached): Call
1137 `elmo-folder-notify-event' with cache-changed.
1138 (elmo-event-handler-cache-changed): New generic function.
1140 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1142 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1143 instead of elmo-add-name-to-file.
1144 (elmo-folder-append-messages): Ditto.
1146 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1148 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1150 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1152 * elmo-version.el (elmo-version): Up to 2.13.0.
1154 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1157 * modb-standard.el (modb-standard-economize-entity-size): Changed
1158 default value to `t'.
1160 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1163 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1164 after parsing greeting string.
1166 2004-11-23 Daishi Kato <daishi@axlight.com>
1168 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1170 (elmo-spam-spamoracle-call): Use it.
1172 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1174 * elmo.el (elmo-message-accessible-p): Message in dop spool
1177 2004-11-23 Daishi Kato <daishi@axlight.com>
1179 * elsp-spamoracle.el: New file.
1181 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1183 * elmo.el (elmo-message-flags-for-append): New function.
1184 (elmo-generic-folder-append-messages): Use it.
1186 * elmo-split.el (elmo-split-subr): Ditto.
1188 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1189 `flags' and use elmo-folder-append-buffer instead of
1190 write-region-as-binary.
1191 (elmo-dop-filter-pending-messages): New function.
1192 (elmo-folder-append-buffer-dop): Call
1193 elmo-dop-spool-folder-append-buffer with `flag'.
1194 (elmo-folder-set-flag-dop): Filter messages by
1195 elmo-dop-filter-pending-messages.
1196 (elmo-folder-unset-flag-dop): Ditto.
1197 (elmo-folder-append-buffer-dop-delayed): Use
1198 elmo-message-flags-for-append to get flags of the message and
1201 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1203 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1205 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1207 * elmo.el (elmo-folder): Added handlers slot.
1208 (elmo-event-handler): New class.
1209 (elmo-event-handler-flag-changed): New API.
1210 (elmo-folder-add-handler): New function.
1211 (elmo-folder-remove-handler): Ditto.
1212 (elmo-folder-notify-event): Ditto.
1213 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1215 (elmo-folder-unset-flag): Ditto.
1217 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1218 (elmo-folder-unset-flag): Ditto.
1220 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1221 (elmo-folder-unset-flag): Ditto.
1223 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1224 (elmo-folder-unset-flag): Ditto.
1226 * elmo-version.el (elmo-version): Up to 2.11.33.
1228 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1230 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1232 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1234 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1236 * elmo-flag.el (elmo-folder-unset-flag): Define.
1237 (elmo-global-flag-detach): Do process when the flag is not target
1240 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1242 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1244 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1246 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1248 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1250 (elmo-folder-delete-messages): Detach messages before delete
1251 messages from target folder.
1252 (elmo-folder-detach-messages): Set updated number-list to slot.
1254 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1256 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1258 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1260 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1262 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1264 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1266 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1268 (elmo-folder-delete-messages): Define.
1269 (elmo-folder-move-messages): Don't call
1270 `elmo-folder-detach-messages'.
1271 (elmo-folder-synchronize): Rewrite.
1272 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1274 * elmo-util.el (elmo-last): New function.
1275 (elmo-set-list): Ditto.
1276 (elmo-number-set-delete-list): Ditto.
1277 (elmo-number-set-delete): Ditto.
1279 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1281 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1282 `elmo-folder-delete-messages' and don't delete location map.
1283 (elmo-folder-detach-messages): Define.
1285 * elmo-imap4.el (elmo-folder-delete): Use
1286 `elmo-folder-delete-messages-internal' instead of
1287 `elmo-folder-delete-messages'.
1289 * elmo-filter.el (elmo-folder-delete-messages): Call
1290 `elmo-folder-detach-messages'.
1291 (elmo-folder-detach-messages): Don't call
1292 `elmo-folder-detach-messages' for target folder.
1294 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1295 message deletion is succeeded.
1297 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1299 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1300 from `elmo-folder-delete-messages'.
1302 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1304 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1306 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1308 * elmo-version.el (elmo-version): Up to 2.11.32.
1310 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1312 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1313 (elmo-global-flag-list): Added obsolete variable setting.
1315 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1317 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1318 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1319 `elmo-mime-display-header-analysis' is nil.
1321 * elmo-flag.el (elmo-global-flags): Renamed from
1322 `elmo-global-flag-list' (All other related portions are changed).
1323 (elmo-local-flags): New variable.
1324 (elmo-local-flag-p): New function.
1325 (elmo-global-flag-set-internal): Cause an error when flag is not
1328 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1330 * elmo-util.el (elmo-concat-path): Treat empty path.
1332 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1334 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1336 (elmo-split-address-match): Ditto.
1337 (elmo-split-equal): Ditto.
1338 (elmo-split-match): Ditto.
1340 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1342 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1343 (elmo-generic-folder-append-messages): If src message exists but
1344 has no flag, pass (read) for the FLAG argument of
1345 `elmo-folder-append-buffer'. Otherwise, pass nil.
1347 * elmo-split.el (elmo-split-subr): Likewise.
1349 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1351 * elmo-multi.el (elmo-message-flags): Ditto.
1353 * elmo-filter.el (elmo-message-flags): Ditto.
1355 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1356 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1357 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1359 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1361 * elmo-split.el (elmo-split-rule): Update comment.
1362 (elmo-split-address-equal): Allow 2nd argument to be a list.
1363 (elmo-split-address-match): Ditto.
1364 (elmo-split-equal): Ditto.
1365 (elmo-split-match): Ditto.
1367 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1369 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1370 (elmo-folder-append-msgdb): Don't treat `read'.
1371 (elmo-message-flags): Don't return `read'.
1373 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1374 (elmo-folder-unset-read-delayed): Ditto.
1376 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1378 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1380 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1383 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1385 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1388 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1390 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1392 (elmo-msgdb-save): Bind inhibit-quit.
1393 (modb-standard-message-entity): Ditto.
1395 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1397 * elmo-database.el: No need to require elmo-msgdb.
1399 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1401 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1402 instead of `elmo-list-subdirectories'.
1404 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1406 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1408 (elmo-folder-exists-p): "[" is empty.
1409 (elmo-folder-list-subfolders): Define.
1410 (elmo-folder-have-subfolder-p): Ditto.
1412 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1414 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1416 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1418 * elmo-filter.el (elmo-folder-local-p): Define.
1420 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1422 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1423 when entity is garbaged.
1424 (modb-standard-save-entity-1): Don't modify the original entity.
1426 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1428 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1430 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1432 * elmo.el (elmo-strict-folder-diff): Use
1433 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1435 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1437 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1438 (elmo-msgdb-message-number): Ditto.
1439 (elmo-msgdb-message-field): Ditto.
1441 * modb-standard.el (modb-standard-economize-entity-size): New user
1443 (modb-standard-loaded-message-id): New inline function.
1444 (modb-standard-load-entity): Use it.
1445 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1446 throw message-id string away.
1447 (elmo-msgdb-flag-available-p): Define.
1448 (elmo-msgdb-message-number): Ditto.
1449 (elmo-msgdb-message-field): Ditto.
1451 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1452 (suppoted -> supported).
1453 (modb-legacy-supported-flag-p): Ditto.
1454 (elmo-msgdb-set-flag): Ditto.
1455 (elmo-msgdb-unset-flag): Ditto.
1456 (elmo-msgdb-flag-available-p): Define.
1458 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1459 is `t', treat it as legacy entity.
1461 * elmo.el (elmo-message-flag-available-p): New generic function.
1462 (elmo-message-number): Ditto.
1463 (elmo-message-field): Use `elmo-msgdb-message-field'.
1465 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1467 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1468 (elmo-message-number): Ditto.
1470 * elmo-multi.el (elmo-message-number): Define.
1471 (elmo-message-flag-available-p): Ditto.
1473 * elmo-filter.el (elmo-message-flag-available-p): Define.
1474 (elmo-message-number): Ditto.
1476 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1477 (elmo-folder-initialize): Load `max-number'.
1478 (elmo-folder-commit): Save it.
1479 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1480 (elmo-global-flag-set-internal): Set up max-number slot.
1482 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1484 * elmo-version.el (elmo-version): Up to 2.11.31.
1486 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1488 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1489 unibyte string of the current buffer for the argument of `md5'
1490 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1492 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1494 * modb-legacy.el (modb-legacy-flag-list): New constant.
1495 (modb-legacy-suppoted-flag-p): New internal function.
1496 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1497 (elmo-msgdb-unset-flag): Ditto.
1499 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1501 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1503 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1506 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1508 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1509 (follow the API change).
1511 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1513 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1515 * modb-standard.el (modb-standard-digest-flags): Abolish.
1516 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1518 * elmo-vars.el (elmo-digest-flags): New variable.
1519 (elmo-preserved-flags): Moved from elmo-flag.el.
1521 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1522 (elmo-imap4-flag-to-imap-criteria): Ditto.
1523 (elmo-imap4-folder-list-flagged): Use it.
1525 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1527 * elmo.el (elmo-folder-count-flags): Changed return value.
1529 * elmo-flag.el (elmo-preserved-flags): New variable.
1530 (elmo-get-global-flags): Use it.
1532 * modb-standard.el (modb-standard-digest-flags): New variable.
1533 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1534 Changed behavior of `any'.
1536 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1537 which are defined the Internet draft
1538 (draft-melnikov-imap-keywords-03.txt).
1539 (elmo-imap4-flags-to-imap): New function.
1540 (elmo-folder-append-buffer): Use it.
1542 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1545 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1546 avoid the bug of Emacs 21.3.
1548 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1550 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1551 function find-coding-system does not exist.
1553 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1555 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1558 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1560 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1563 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1565 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1566 (elmo-network-close-session): Follow the changes in
1567 `elmo-pop3-read-response'.
1568 (elmo-pop3-auth-user): Ditto.
1569 (elmo-pop3-auth-apop): Ditto.
1570 (elmo-network-initialize-session): Ditto.
1571 (elmo-network-authenticate-session): Ditto.
1572 (elmo-network-setup-session): Ditto.
1573 (elmo-folder-status): Ditto.
1574 (elmo-message-fetch-plugged): Ditto.
1575 (elmo-pop3-delete-msg): Ditto.
1577 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1579 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1582 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1584 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1586 (elmo-bind-directory): Ditto.
1588 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1590 * elmo.el (elmo-folder-append-messages): Note on return value.
1591 * elmo-archive.el (elmo-folder-append-messages): Don't return
1592 message numbers which could not be appended.
1594 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1596 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1598 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1600 * elmo-version.el (elmo-version): Up to 2.11.30.
1602 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1604 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1607 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1609 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1610 (elmo-multi-split-numbers): Add elmo-folder object into each
1611 element of return value at first.
1612 (elmo-folder-delete-messages): Follow the above change.
1613 (elmo-folder-detach-messages): Ditto.
1615 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1616 number which is synchronized in target folder.
1618 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1620 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1621 Change default value to symbol `all'.
1622 (elmo-map-message-fetch): Change condition to update overview
1625 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1627 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1628 behavior to update overview.
1629 (elmo-shimbun-update-overview-folder-list): Note it.
1631 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1633 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1636 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1638 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1639 buffer-disable-undo, it is unnecessary.
1640 (elmo-spam-register-good-messages): Ditto.
1642 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1645 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1647 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1649 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1650 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1651 elmo-set-buffer-multibyte.
1652 (elmo-object-load): Ditto.
1653 (elmo-save-buffer): Ditto.
1654 (elmo-delete-char): Ditto.
1655 (elmo-file-field-primitive-condition-match): Ditto.
1656 (elmo-mime-string): Ditto.
1658 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1659 (elmo-archive-field-condition-match): Ditto.
1661 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1663 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1665 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1666 (elmo-nntp-msgdb-create-message): Ditto.
1668 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1670 * elmo.el (elmo-message-match-condition): Ditto.
1671 (elmo-message-match-condition): Ditto.
1673 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1676 * elmo-version.el (elmo-version): Up to 2.11.29.
1678 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1679 (elsp-header): New backend.
1681 * elmo-util.el (elmo-decoded-field-body): New function.
1683 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1685 * elmo-version.el (elmo-version): Up to 2.11.28.
1687 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1689 * elmo-filter.el: Rewrite.
1691 * elmo-version.el (elmo-version): Up to 2.11.27.
1693 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1695 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1696 msgdb path for the localdir folder with absolute path.
1698 * utf7.el: Synch up with latest gnus/utf7.el;
1699 Modified for latest Emacs.
1701 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1703 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1704 shimbun backend couldn't open.
1706 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1708 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1709 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1710 when a destination folder is a filter folder.
1712 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1714 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1715 (elmo-generic-folder-append-messages): Call elmo-message-flags
1716 with argument `msgid'.
1718 * elmo-split.el (elmo-split-subr): Ditto.
1720 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1722 * elmo-multi.el (elmo-message-flags): Ditto.
1724 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1726 * elmo.el (elmo-folder): Add new slot `flag-table'.
1727 (elmo-folder-flag-table): New API.
1728 (elmo-folder-close-flag-table): Ditto.
1729 (elmo-folder-preserve-flags): New function.
1730 (elmo-generic-folder-append-messages): Use
1731 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1732 Flag of a non-registered message, it sets to nil.
1733 Does not set flag to flag-table.
1735 * elmo-maildir.el (elmo-folder-append-buffer): Use
1736 `elmo-folder-preserve-flags'.
1737 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1738 `elmo-folder-close-flag-table'.
1740 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1741 (elmo-archive-folder-append-buffer): Use
1742 `elmo-folder-preserve-flags'.
1744 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1746 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1748 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1749 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1750 `elmo-folder-close-flag-table'.
1752 * elmo-version.el (elmo-version): Up to 2.11.26.
1754 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1756 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1758 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1759 md5's 4th and 5th argument (non-existent in flim one).
1761 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1763 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1764 message, It sets to nil.
1766 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1768 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1771 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1773 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1775 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1777 * elmo-util.el (elmo-uniq-sorted-list): New function.
1778 (elmo-make-number-list): Ditto.
1779 (elmo-number-set-to-number-list): Use elmo-make-number-list
1780 and don't use nreverse.
1782 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1784 * elmo-version.el (elmo-version): Up to 2.11.25.
1786 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1788 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1789 field not exists in message, Use md5 message digest of header.
1791 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1793 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1794 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1795 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1796 * elmo-split.el (elmo-split-subr): Check return value of
1797 elmo-folder-append-buffer.
1799 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1800 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1802 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1805 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1807 * elmo-split.el (elmo-split-subr): Append message with flag.
1809 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1810 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1811 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1813 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1815 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1816 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1817 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1819 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1821 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1822 with a function call of `process-buffer'. All callers are updated.
1823 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1824 Remove redundant `set-buffer' in a while loop.
1826 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1828 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1831 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1834 elsp-spamfilter-register-buffer-internal with current buffer.
1835 (elmo-spam-register-spam-buffer): Ditto.
1836 (elmo-spam-register-good-buffer): Ditto.
1838 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1840 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1841 if it is not contained in the response(A workaround for courier-imap).
1843 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1845 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1848 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1850 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1853 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1855 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1858 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1860 (elmo-msgdb-message-match-condition): Follow the change above.
1862 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1864 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1867 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1869 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1871 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1873 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1875 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1877 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1880 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1882 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1884 (elmo-file-command-argument): Undo last change for cygwin.
1885 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1887 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1889 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1891 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1892 value returned from elmo-file-find is nil.
1894 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1896 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1899 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1900 instead of insert-file-contents-as-binary.
1901 (elmo-message-set-field): New generic function.
1903 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1904 behavior change on `split-string'.
1906 * elmo-file.el (elmo-file-find): New function.
1907 (elmo-file-command): New user option.
1908 (elmo-file-command-argument): Ditto.
1909 (elmo-file-fetch-max-size): Ditto.
1910 (elmo-file-detect-format): New function.
1911 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1912 Use elmo-file-detect-format.
1913 (elmo-map-folder-list-message-locations): Don't treat directories.
1915 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1917 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1918 (elmo-passwd-alist-clear): Shred password before clear.
1919 (elmo-remove-passwd): Remove all mached pair.
1921 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1923 * elmo.el (elmo-folder-synchronize): Fix description of the return
1926 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1928 * elmo.el (elmo-message-fetch-bodystructure): New method.
1929 (elmo-message-fetch-bodystructure): Define default.
1931 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1932 elmo-message-fetch-bodystructure.
1933 (elmo-message-fetch-bodystructure): Define.
1935 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1937 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1939 * elmo-filter.el (elmo-message-folder): Define.
1941 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1943 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1944 elmo-delete-cr-buffer.
1946 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1948 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1950 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1952 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1953 type seems to be a text.
1955 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1957 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1958 (elmo-spam-register-good-buffer): Ditto.
1959 (elmo-spam-spamassassin-register-messages): Ditto.
1961 * elmo-util.el (elmo-string-member-ignore-case): Define with
1964 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1966 * elmo.el (elmo-folder-type): Undo last change.
1968 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1970 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1973 * elmo-file.el: New file.
1975 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1977 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1979 (elmo-spam-spamassassin-register-messages): New inline function.
1980 (elmo-spam-register-spam-messages): Define.
1981 (elmo-spam-register-good-messages): Ditto.
1983 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1986 * elmo.el (toplevel): Added autoload setting for
1987 `elmo-get-global-flags'.
1988 (elmo-message-has-global-flag-p): New function.
1989 (elmo-message-set-global-flags): Ditto.
1990 (elmo-folder-type): Improvement for name: format.
1992 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1993 availability of keyword flags.
1994 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1995 (elmo-folder-list-flagged-plugged): Renamed from
1996 elmo-folder-list-flagged-unplugged.
1997 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1998 accept any flag as keyword flag.
1999 (elmo-folder-set-flag-plugged): Accept keyword flags.
2000 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2002 * elmo-flag.el (elmo-get-global-flags): New function.
2004 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2007 * elmo-version.el (elmo-version): Up to 2.11.24.
2009 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2011 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2012 elmo-multiple-field-body instead of std11-field-body to check all
2015 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2017 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2020 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2022 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2023 unintern is unbound.
2025 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2027 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2028 Protect from infinite loop.
2030 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2032 * elsp-bogofilter.el
2033 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2034 (elmo-spam-bogofilter-register-messages): New internal function.
2035 (elmo-spam-register-spam-messages): Define.
2036 (elmo-spam-register-good-messages): Ditto.
2038 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2040 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2041 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2042 (elmo-spam-bogofilter-call): Fixed the last change.
2043 (elmo-spam-bogofilter-arguments): Ditto.
2045 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2046 Follow the options change of latest bogofilter.
2048 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2049 (elmo-spam-bogofilter-good-switch): Ditto.
2050 (elmo-spam-bogofilter-arguments-alist): New user option.
2051 (elmo-spam-bogofilter-debug): Ditto.
2052 (elmo-spam-bogofilter-call): Renamed from
2053 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2054 is non-nil, insert output in buffer for debug.
2055 (elmo-spam-bogofilter-arguments): New macro.
2056 (elmo-spam-buffer-spam-p): Use it.
2057 (elsp-bogofilter-register-buffer): Ditto.
2059 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2061 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2064 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2066 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2068 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2069 (elmo-spam-bsfilter-program): Set default value as full path for
2071 (elmo-spam-bsfilter-debug): New user option.
2072 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2073 non-nil, insert output in buffer for debug. Fix treating of
2076 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2078 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2079 `elmo-maildir-flag-specs' element instead of one.
2080 (elmo-map-folder-unset-flag): Ditto.
2081 (Reported by Ken Makimura <macky@astem.or.jp>)
2083 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2084 (elmo-folder-unset-flag-plugged): Ditto.
2086 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2088 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2089 to `reads' slot only if `in-msgdb' is nil.
2091 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2093 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2094 and complement argument list.
2096 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2098 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2099 instead of elmo-folder-list-flagged.
2101 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2103 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2105 * elsp-bsfilter.el: New file.
2107 * elmo-pipe.el (elmo-folder-list-unreads,
2108 elmo-folder-list-answereds,
2109 elmo-folder-list-importants,
2110 elmo-folder-flag-as-important,
2111 elmo-folder-unflag-important,
2112 elmo-folder-flag-as-read,
2113 elmo-folder-unflag-read,
2114 elmo-folder-flag-as-answered,
2115 elmo-folder-unflag-answered): Remove.
2116 (elmo-folder-set-flag): Define.
2117 (elmo-folder-unset-flag): Ditto.
2119 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2120 (elmo-folder-set-flag): Define.
2121 (elmo-folder-unset-flag): Ditto.
2122 (elmo-folder-list-unreads): Remove.
2123 (elmo-folder-list-flagged): Define.
2125 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2126 (elmo-folder-list-unreads,
2127 elmo-folder-list-importants,
2128 elmo-folder-list-answereds,
2129 elmo-folder-list-unreads-plugged,
2130 elmo-folder-list-importants-plugged,
2131 elmo-folder-list-answereds-plugged): Remove.
2132 (elmo-folder-list-flagged-plugged): New method.
2133 (elmo-folder-unflag-important,
2134 elmo-folder-flag-as-important,
2135 elmo-folder-unflag-read,
2136 elmo-folder-flag-as-read,
2137 elmo-folder-unflag-answered,
2138 elmo-folder-flag-as-answered,
2139 elmo-folder-flag-as-read-unplugged,
2140 elmo-folder-unflag-read-unplugged,
2141 elmo-folder-flag-as-important-unplugged,
2142 elmo-folder-unflag-important-unplugged,
2143 elmo-folder-flag-as-answered-unplugged,
2144 elmo-folder-unflag-answered-unplugged): Remove.
2145 (elmo-folder-set-flag): Define.
2146 (elmo-folder-unset-flag): Ditto.
2147 (elmo-folder-set-flag-unplugged): Ditto.
2148 (elmo-folder-unset-flag-unplugged): Ditto.
2150 * elmo-multi.el (elmo-folder-list-unreads,
2151 elmo-folder-list-answereds,
2152 elmo-folder-list-importants,
2153 elmo-folder-flag-as-important,
2154 elmo-folder-unflag-important,
2155 elmo-folder-flag-as-read,
2156 elmo-folder-unflag-read,
2157 elmo-folder-flag-as-answered,
2158 elmo-folder-unflag-answered): Remove.
2159 (elmo-folder-set-flag): Define.
2160 (elmo-folder-unset-flag): Ditto.
2162 * elmo-map.el (elmo-map-folder-unflag-important,
2163 elmo-map-folder-flag-as-important,
2164 elmo-map-folder-unflag-read,
2165 elmo-map-folder-flag-as-read,
2166 elmo-map-folder-unflag-answered,
2167 elmo-map-folder-flag-as-answered): Remove.
2168 (elmo-map-folder-set-flag): New method.
2169 (elmo-map-folder-unset-flag): Ditto.
2170 (elmo-map-folder-list-unreads,
2171 elmo-map-folder-list-importants,
2172 elmo-map-folder-list-answereds): Remove.
2173 (elmo-folder-list-flagged-internal): Define.
2174 (elmo-map-folder-list-flagged): New method.
2176 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2177 (elmo-map-folder-list-unreads,
2178 elmo-map-folder-list-importants,
2179 elmo-map-folder-list-flagged): Remove.
2180 (elmo-map-folder-list-flagged): Define.
2181 (elmo-map-folder-flag-as-important,
2182 elmo-map-folder-unflag-important,
2183 elmo-map-folder-flag-as-read,
2184 elmo-map-folder-unflag-read,
2185 elmo-map-folder-flag-as-answered,
2186 elmo-map-folder-unflag-answered): Remove.
2187 (elmo-maildir-set-mark-messages): New internal function.
2188 (elmo-map-folder-set-flag): Define.
2189 (elmo-map-folder-unset-flag): Ditto.
2191 * elmo.el (toplevel): Added autoload setting for
2192 `elmo-folder-list-global-flag-messages'.
2193 (elmo-folder-list-unreads,
2194 elmo-folder-list-importants,
2195 elmo-folder-list-answereds): Remove.
2196 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2197 Return a list whitch merged with messages have global flag.
2198 (elmo-folder-list-flagged-internal): New method.
2199 (elmo-folder-unflag-important,
2200 elmo-folder-flag-as-important,
2201 elmo-folder-unflag-read,
2202 elmo-folder-flag-as-read,
2203 elmo-folder-unflag-answered,
2204 elmo-folder-flag-as-answered): Remove.
2205 (elmo-folder-set-flag): New method.
2206 (elmo-folder-unset-flag): Ditto.
2207 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2208 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2210 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2211 (elmo-folder-list-unreads-plugged,
2212 elmo-folder-list-importants-plugged,
2213 elmo-folder-list-answereds-plugged,
2214 elmo-folder-list-flagged-unplugged,
2215 elmo-folder-unflag-important-plugged,
2216 elmo-folder-flag-as-important-plugged,
2217 elmo-folder-unflag-read-plugged,
2218 elmo-folder-flag-as-read-plugged,
2219 elmo-folder-unflag-answered-plugged,
2220 elmo-folder-flag-as-answered-plugged): Remove.
2221 (elmo-folder-set-flag-plugged,
2222 elmo-folder-unset-flag-plugged): Define.
2224 * elmo-flag.el (elmo-folder-initialize): Register to
2225 `elmo-global-flag-list' if flag is not global.
2226 (elmo-folder-append-messages): Set flag to source messages.
2228 * elmo-filter.el (elmo-filter-folder-list-unreads,
2229 elmo-folder-list-unreads,
2230 elmo-filter-folder-list-importants,
2231 elmo-folder-list-importants,
2232 elmo-folder-flag-as-read,
2233 elmo-folder-unflag-read,
2234 elmo-folder-flag-as-important,
2235 elmo-folder-unflag-important,
2236 elmo-folder-flag-as-answered,
2237 elmo-folder-unflag-answered): Remove.
2238 (elmo-folder-set-flag): Define.
2239 (elmo-folder-unset-flag): Ditto.
2241 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2242 elmo-folder-unflag-read-dop,
2243 elmo-folder-flag-as-important-dop,
2244 elmo-folder-unflag-important-dop,
2245 elmo-folder-flag-as-answered-dop,
2246 elmo-folder-unflag-answered-dop): Remove.
2247 (elmo-folder-set-flag-dop,
2248 elmo-folder-unset-flag-dop,
2249 elmo-folder-set-important-delayed,
2250 elmo-folder-unset-important-delayed,
2251 elmo-folder-set-read-delayed,
2252 elmo-folder-unset-read-delayed,
2253 elmo-folder-set-answered-delayed,
2254 elmo-folder-unset-answered-delayed): New function.
2255 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2256 (elmo-dop-queue-method-name-alist): Ditto.
2258 * elmo-version.el (elmo-version): Up to 2.11.23.
2260 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2262 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2264 * elsp-sa.el: New file.
2266 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2268 * modb-standard.el (modb-standard-message-entity): New function.
2269 (elmo-msgdb-message-entity): Use it.
2271 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2273 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2274 behavior when one-level is nil.
2276 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2278 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2280 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2282 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2284 (elmo-generic-folder-diff): Ditto.
2286 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2287 (elmo-folder-update-number): Ditto.
2289 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2290 (elmo-folder-next-message-number-dop): Ditto.
2292 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2294 * elmo-filter.el (elmo-folder-msgdb-create): Use
2295 `elmo-message-entity' and `elmo-message-flags' instead of
2296 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2298 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2300 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2303 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2305 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2307 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2309 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2311 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2313 * elmo-version.el (elmo-version): Up to 2.11.22.
2315 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2317 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2319 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2321 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2322 if the message dose not exist.
2324 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2326 * elmo-version.el (elmo-version): Up to 2.11.21.
2328 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2330 * modb-standard.el (toplevel): Don't require mime.
2332 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2334 * elsp-bogofilter.el (toplevel): Don't require path-util.
2335 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2336 (elmo-spam-bogofilter-header): Abolish.
2337 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2338 (elmo-spam-bogofilter-args): New user option.
2339 (elsp-bogofilter-call-bogofilter): New internal function.
2340 (elmo-spam-buffer-spam-p): Use it.
2341 (elsp-bogofilter-register-buffer): Renamed from
2342 `elmo-spam-bogofilter-register-buffer';
2343 Use `elsp-bogofilter-call-bogofilter'.
2344 (elmo-spam-register-spam-buffer): Follow the change above.
2345 (elmo-spam-register-good-buffer): Ditto.
2347 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2349 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2350 message-id is nil do nothing.
2352 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2354 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2356 (elmo-imap4-session): Removed use-flag slot.
2357 (elmo-imap4-session-select-mailbox): Undo last change.
2358 (elmo-folder-use-flag-p): Use
2359 elmo-imap4-disuse-server-flag-mailbox-regexp.
2361 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2363 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2364 (elmo-imap4-session-select-mailbox): Set it up.
2365 (elmo-folder-use-flag-p): Return value of use-flag slot.
2367 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2369 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2371 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2373 * modb-entity.el (elmo-message-entity-handler): Likewise.
2375 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2377 * elmo.el (toplevel): Remove setting of autoloding for
2378 elmo-global-flag-initialize.
2379 (elmo-init): Don't call elmo-global-flag-initialize.
2380 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2382 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2383 (elmo-global-mark-migrate): Don't call it.
2384 (elmo-global-mark-upgrade): Ditto.
2386 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2388 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2389 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2391 * elmo-vars.el (elmo-init-hook): New user option.
2393 * elmo.el (elmo-init): Run the elmo-init-hook.
2395 * elmo-flag.el (elmo-global-mark-migrate): New function.
2397 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2399 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2400 Undo last change (move to elmo-msgdb-unset-flag).
2401 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2404 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2406 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2408 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2409 (elmo-msgdb-unset-flag): Ditto.
2411 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2413 * elmo-split.el (elmo-split): Return split message count.
2415 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2417 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2420 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2422 * elmo.el (elmo-folder-unflag-important): Call
2423 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2426 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2428 (elmo-global-flag-detach): Delete the message from flag folder, if
2429 `delete-if-none' is a symbol `always'.
2431 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2433 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2434 `elmo-spam-spamfilter-decode-buffer'.
2435 (elsp-spamfilter-register-buffer-internal): New internal function.
2436 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2437 (elmo-spam-register-spam-buffer): Ditto.
2438 (elmo-spam-register-good-buffer): Ditto.
2440 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2442 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2443 (elmo-spam-register-spam-buffer): Follow the API change.
2444 (elmo-spam-register-good-buffer): Ditto.
2446 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2447 (elmo-split-spam-p): Added argument plist; Call
2448 `elmo-spam-buffer-spam-p' with new argument register.
2450 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2452 (elmo-spam-message-spam-p): Ditto.
2453 (elmo-spam-register-spam-buffer): Added optional argument
2455 (elmo-spam-register-good-buffer): Ditto.
2456 (elmo-spam-register-spam-messages): Ditto.
2457 (elmo-spam-register-good-messages): Ditto.
2459 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2461 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2462 register into good corpus.
2463 (elmo-spam-register-good-buffer): Fixed to register into bad
2466 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2468 * elmo-version.el (elmo-version): Up to 2.11.20.
2470 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2473 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2474 flag without depending on \Recent flag.
2476 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2478 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2479 (elmo-spam-modified-p): Defined.
2480 (elmo-spam-save-status): Set `modified' slot to nil.
2481 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2482 (elmo-spam-register-good-buffer): Ditto.
2484 * elmo-spam.el (elmo-spam-modified-p): New API.
2486 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2488 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2489 duplicate definition.
2491 * elmo-util.el (elmo-unfold-field-body): New function.
2492 (elmo-msgdb-get-message-id-from-buffer): Use it.
2494 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2495 Fixed the last change; Use elmo-unfold-field-body.
2497 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2499 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2502 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2504 * elmo-spam.el (elmo-spam-save-status): New API.
2506 * elsp-spamfilter.el: New file.
2508 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2510 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2512 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2514 * elmo-split.el (elmo-split-spam-p): New function.
2516 * elmo-spam.el: New file.
2518 * elsp-bogofilter.el: Ditto.
2520 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2522 * elmo.el (elmo-folder-next-message-number): New API.
2523 (elmo-folder-next-message-number): Define.
2524 (elmo-message-field): Don't check folder length.
2526 * elmo-net.el (elmo-folder-next-message-number): Define.
2527 (elmo-folder-next-message-number-unplugged): Define.
2529 * elmo-map.el (elmo-folder-next-message-number): Define.
2530 (elmo-folder-delete-messages): Clear hash value.
2532 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2534 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2535 (elmo-folder-delete-messages-dop-delayed): Always return t.
2537 * elmo-version.el (elmo-version): Up to 2.11.19.
2539 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2541 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2544 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2545 identical cons cell into the mark-alist and the hash table.
2547 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2549 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2550 elmo-folder-list-messages with argument `visible-only' as t.
2552 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2553 (elmo-folder-msgdb-create): Check the target folder.
2555 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2557 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2558 `permanentflag' instead of `flags'.
2559 (elmo-folder-open): Ditto.
2560 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2561 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2562 (elmo-folder-use-flag-p): Always return t.
2563 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2564 `permanentflags' does not exist.
2565 (elmo-folder-open): Ditto.
2567 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2569 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2571 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2573 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2574 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2576 (elmo-folder-open): Ditto.
2577 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2578 slot of the session includes the flag.
2579 (elmo-imap4-session-flag-available-p): New function.
2580 (elmo-imap4-folder-list-flagged): Ditto.
2581 (elmo-folder-list-unreads-plugged): Use it.
2582 (elmo-folder-list-importants-plugged): Ditto.
2583 (elmo-folder-list-answereds-plugged): Ditto.
2584 (elmo-imap4-search-internal-primitive): Ditto.
2585 (elmo-imap4-folder-list-any-plugged,
2586 elmo-imap4-folder-list-digest-plugged): Abolish.
2588 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2591 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2593 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2595 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2597 * elmo-util.el (elmo-get-hash-val): Simplify.
2598 (elmo-set-hash-val): Rewrite.
2600 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2602 * elmo.el (elmo-folder-list-messages): Append killed messages into
2603 result if `visible-only' is nil and `in-msgdb' is non-nil.
2605 * elmo-util.el (elmo-uniq-list): Added optional argument
2608 * modb.el (elmo-msgdb-flag-count): New API.
2610 * modb-standard.el (modb-standard): Added slot flag-count.
2611 (modb-standard-countup-flags): New function.
2612 (modb-standard-load-flag): Call it.
2613 (elmo-msgdb-append): Ditto.
2614 (elmo-msgdb-clear): Clear slot flag-count.
2615 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2616 (elmo-msgdb-unset-flag): Treat `all' flag and call
2617 modb-standard-countup-flags.
2618 (elmo-msgdb-flag-count): Define.
2619 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2620 (elmo-msgdb-delete-messages): Ditto.
2622 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2623 (elmo-msgdb-flag-count): Define.
2625 * elmo.el (elmo-folder-list-messages): Undo last change.
2626 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2627 (elmo-folder-kill-messages): Unset all flags to numbers.
2629 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2630 elmo-folder-kill-messages.
2632 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2633 (elmo-nntp-folder-delete-messages): Abolish.
2635 * elmo-version.el (elmo-version): Up to 2.11.18.
2637 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2639 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2640 (elmo-folder-kill-messages-range): New function.
2641 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2642 instead of elmo-folder-kill-messages-before.
2644 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2646 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2647 elmo-imap4-current-msgdb to decide entity handler.
2649 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2651 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2653 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2655 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2656 (elmo-msgdb-overview-entity-set-number,
2657 elmo-msgdb-overview-entity-get-references,
2658 elmo-msgdb-overview-entity-set-references,
2659 elmo-msgdb-overview-entity-get-from-no-decode,
2660 elmo-msgdb-overview-entity-get-from,
2661 elmo-msgdb-overview-entity-set-from,
2662 elmo-msgdb-overview-entity-get-subject,
2663 elmo-msgdb-overview-entity-get-subject-no-decode,
2664 elmo-msgdb-overview-entity-set-subject,
2665 elmo-msgdb-overview-entity-get-date,
2666 elmo-msgdb-overview-entity-set-date,
2667 elmo-msgdb-overview-entity-get-to,
2668 elmo-msgdb-overview-entity-get-cc,
2669 elmo-msgdb-overview-entity-get-size,
2670 elmo-msgdb-overview-entity-set-size,
2671 elmo-msgdb-overview-entity-get-extra,
2672 elmo-msgdb-overview-entity-set-extra,
2673 elmo-msgdb-overview-entity-get-extra-field,
2674 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2675 (elmo-msgdb-make-index): Use
2676 `elmo-msgdb-overview-entity-get-number-internal'.
2677 (elmo-msgdb-clear-index): Ditto.
2678 (elmo-msgdb-append-entity): Ditto;
2679 Use `elmo-msgdb-overview-entity-get-id-internal'.
2681 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2682 elmo-msgdb-overview-entity-set-number,
2683 elmo-msgdb-overview-entity-get-references,
2684 elmo-msgdb-overview-entity-set-references,
2685 elmo-msgdb-overview-entity-get-from-no-decode,
2686 elmo-msgdb-overview-entity-get-from,
2687 elmo-msgdb-overview-entity-set-from,
2688 elmo-msgdb-overview-entity-get-subject,
2689 elmo-msgdb-overview-entity-get-subject-no-decode,
2690 elmo-msgdb-overview-entity-set-subject,
2691 elmo-msgdb-overview-entity-get-date,
2692 elmo-msgdb-overview-entity-set-date,
2693 elmo-msgdb-overview-entity-get-to,
2694 elmo-msgdb-overview-entity-get-cc,
2695 elmo-msgdb-overview-entity-get-size,
2696 elmo-msgdb-overview-entity-set-size,
2697 elmo-msgdb-overview-entity-get-extra,
2698 elmo-msgdb-overview-entity-set-extra,
2699 elmo-msgdb-overview-entity-get-extra-field,
2700 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2701 and rewrote for backward compatibility.
2703 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2705 * elmo.el (elmo-message-entity-number,
2706 elmo-message-entity-set-number,
2707 elmo-message-entity-field,
2708 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2710 * elmo-msgdb.el (elmo-message-entity-number,
2711 elmo-message-entity-set-number,
2712 elmo-message-entity-field,
2713 elmo-message-entity-set-field): Moved from elmo.el.
2715 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2717 * elmo.el (toplevel): Changed definition orders.
2719 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2721 * modb.el (elmo-msgdb-search): New API .
2722 (elmo-msgdb-match-condition): Ditto.
2724 * modb-standard.el (elmo-msgdb-search): Define.
2726 * modb-legacy.el (elmo-msgdb-search): Ditto.
2728 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2729 from elmo-msgdb-match-condition-internal.
2731 * elmo.el (elmo-folder-search-fast): Abolish.
2732 (elmo-folder-search): Use elmo-msgdb-search and
2733 elmo-with-progress-display.
2735 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2738 * elmo.el (elmo-folder): Remove slot message-modified and
2740 (elmo-folder-set-message-modified): Abolish.
2741 (elmo-generic-folder-commit): Follow the change above.
2742 (elmo-folder-synchronize): Ditto.
2744 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2746 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2748 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2750 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2752 * modb-standard.el (modb-standard-make-message-entity,
2753 elmo-msgdb-make-message-entity,
2754 elmo-msgdb-create-message-entity-from-buffer,
2755 elmo-msgdb-message-entity-number,
2756 elmo-msgdb-message-entity-set-number,
2757 elmo-msgdb-message-entity-field,
2758 elmo-msgdb-message-entity-set-field,
2759 elmo-msgdb-copy-message-entity,
2760 elmo-msgdb-match-condition-internal): Remove.
2762 * modb-entity.el: New file (again).
2764 * modb.el (toplevel): Require modb-entity.
2765 (elmo-msgdb-message-entity-handler): New method.
2767 * modb-standard.el (modb-standard-entity-id): Use
2768 elmo-message-entity-handler.
2769 (modb-standard-load-entity): Ditto.
2770 (elmo-msgdb-append-entity): Ditto.
2771 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2773 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2774 elmo-msgdb-decoded-cache-hashtb,
2775 (modb-legacy-make-message-entity,
2776 elmo-msgdb-make-message-entity,
2777 elmo-msgdb-create-message-entity-from-buffer,
2778 elmo-msgdb-message-entity-number,
2779 elmo-msgdb-message-entity-set-number,
2780 elmo-msgdb-message-entity-field,
2781 elmo-msgdb-message-entity-set-field,
2782 elmo-msgdb-copy-message-entity,
2783 elmo-msgdb-match-condition-internal,
2784 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2786 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2787 (elmo-message-entity-set-number): Ditto.
2788 (elmo-message-entity-field): Ditto.
2789 (elmo-message-entity-set-field): Ditto.
2791 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2793 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2795 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2797 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2798 (elmo-nntp-msgdb-create-message): Ditto.
2800 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2801 (elmo-folder-msgdb-create): Add unread flag.
2803 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2805 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2807 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2809 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2811 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2812 elmo-msgdb-messge-entity-handler.
2813 * elmo-version.el (elmo-version): Up to 2.11.17.
2815 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2817 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2820 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2822 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2824 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2825 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2826 (elmo-msgdb-flag-table): Ditto.
2827 (elmo-msgdb-sort-by-date): Ditto.
2829 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2831 * modb-standard.el (toplevel): Require mime.
2832 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2833 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2834 elmo-msgdb-message-entity-number.
2835 (elmo-msgdb-append-entity): Ditto.
2836 (elmo-msgdb-create-message-entity-from-file): Remove.
2837 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2838 corresponds to the entity.
2839 (elmo-msgdb-message-entity-number): Do nothing currently.
2840 (elmo-msgdb-message-entity-field): Ditto.
2841 (elmo-msgdb-message-entity-set-field): Ditto.
2842 (elmo-msgdb-copy-message-entity): Ditto.
2843 (elmo-msgdb-match-condition-internal): Ditto.
2845 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2847 (elmo-msgdb-create-message-entity-from-file): Remove.
2849 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2851 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2853 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2855 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2857 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2858 (elmo-msgdb-message-entity-field): Ditto.
2859 (elmo-msgdb-message-entity-number): Ditto.
2861 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2863 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2864 Fixed how to set extra field into entity.
2865 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2868 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2869 Fixed how to set extra field into entity.
2870 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2873 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2875 * modb.el (elmo-message-entity-db): New function.
2876 (elmo-msgdb-make-message-entity): New API.
2877 (elmo-msgdb-message-entity-number): Ditto.
2878 (elmo-msgdb-message-entity-set-number): Ditto.
2879 (elmo-msgdb-message-entity-field): Ditto.
2880 (elmo-msgdb-message-entity-set-field): Ditto.
2881 (elmo-msgdb-copy-message-entity): Ditto.
2882 (elmo-msgdb-create-message-entity-from-file): Ditto.
2883 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2884 (elmo-msgdb-match-condition-internal): Ditto.
2886 * modb-standard.el (modb-legacy): Require modb-legacy.
2887 (modb-standard-make-message-entity): New inline function.
2888 (elmo-msgdb-make-message-entity): Define.
2889 (elmo-msgdb-create-message-entity-from-file): Ditto.
2890 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2891 (elmo-msgdb-message-entity-field): Ditto.
2892 (elmo-msgdb-message-entity-set-field): Ditto.
2893 (elmo-msgdb-copy-message-entity): Ditto.
2894 (elmo-msgdb-match-condition-internal): Ditto.
2896 * modb-legacy.el: Don't require modb-entity.
2897 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2898 (elmo-msgdb-match-condition-primitive): Ditto.
2899 (elmo-msgdb-get-decoded-cache): Ditto.
2900 (elmo-msgdb-overview-entity-get-id): Ditto.
2901 (elmo-msgdb-overview-entity-get-number): Ditto.
2902 (elmo-msgdb-overview-entity-set-number): Ditto.
2903 (elmo-msgdb-overview-entity-get-references): Ditto.
2904 (elmo-msgdb-overview-entity-set-references): Ditto.
2905 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2906 (elmo-msgdb-overview-entity-get-from): Ditto.
2907 (elmo-msgdb-overview-entity-set-from): Ditto.
2908 (elmo-msgdb-overview-entity-get-subject): Ditto.
2909 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2910 (elmo-msgdb-overview-entity-set-subject): Ditto.
2911 (elmo-msgdb-overview-entity-get-date): Ditto.
2912 (elmo-msgdb-overview-entity-set-date): Ditto.
2913 (elmo-msgdb-overview-entity-get-to): Ditto.
2914 (elmo-msgdb-overview-entity-get-cc): Ditto.
2915 (elmo-msgdb-overview-entity-get-size): Ditto.
2916 (elmo-msgdb-overview-entity-set-size): Ditto.
2917 (elmo-msgdb-overview-entity-get-extra): Ditto.
2918 (elmo-msgdb-overview-entity-set-extra): Ditto.
2919 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2920 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2921 (elmo-msgdb-number-load): Ditto.
2922 (elmo-msgdb-overview-load): Ditto.
2923 (elmo-msgdb-mark-load): Ditto.
2924 (elmo-msgdb-number-save): Ditto.
2925 (elmo-msgdb-mark-save): Ditto.
2926 (elmo-msgdb-overview-save): Ditto.
2927 (modb-legacy-make-message-entity): New inline function.
2928 (elmo-msgdb-insert-file-header): Ditto.
2929 (elmo-msgdb-make-message-entity): Define.
2930 (elmo-msgdb-create-message-entity-from-file): Ditto.
2931 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2932 (elmo-msgdb-message-entity-number): Ditto.
2933 (elmo-msgdb-message-entity-set-number): Ditto.
2934 (elmo-msgdb-message-entity-field): Ditto.
2935 (elmo-msgdb-message-entity-set-field): Ditto.
2936 (elmo-msgdb-copy-message-entity): Ditto.
2937 (elmo-msgdb-match-condition-internal): Ditto.
2939 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2940 (elmo-message-copy-entity): Rewrite.
2941 (elmo-message-entity-number): Ditto.
2942 (elmo-message-entity-set-number): Ditto.
2943 (elmo-message-entity-field): Use elmo-message-entity-db.
2944 (elmo-message-entity-set-field): Ditto.
2945 (elmo-message-field): Rewrite.
2947 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2949 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2951 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2952 elmo-message-entity-field.
2953 (elmo-shimbun-folder-shimbun-header): Ditto.
2954 (elmo-shimbun-entity-to-header): Ditto.
2955 (elmo-folder-msgdb-create): Ditto.
2956 (elmo-shimbun-msgdb-create-entity): Ditto;
2957 Use elmo-msgdb-create-message-entity-from-buffer.
2958 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2959 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2961 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2962 elmo-msgdb-create-message-entity-from-file and
2963 elmo-message-entity-field.
2965 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2966 elmo-message-entity-number.
2967 (elmo-pop3-msgdb-create-message): Use
2968 elmo-msgdb-create-message-entity-from-buffer,
2969 elmo-message-entity-set-field, elmo-message-entity-number and
2970 elmo-message-entity-set-number.
2972 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2973 the API change in elmo-msgdb-make-message-entity.
2974 (elmo-nntp-msgdb-create-message): Use
2975 elmo-msgdb-create-message-entity-from-buffer.
2977 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2978 elmo-message-entity-field and
2979 elmo-msgdb-create-message-entity-from-file.
2981 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2982 (elmo-msgdb-get-field): Abolish.
2983 (elmo-msgdb-get-number): Rewrite.
2984 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2985 (elmo-msgdb-flag-table): Ditto.
2986 (elmo-msgdb-get-last-message-id,
2987 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2988 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2989 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2990 (elmo-msgdb-create-overview-from-buffer,
2991 elmo-msgdb-overview-get-parent-entity): Abolish.
2993 * elmo-mime.el (elmo-mime-display-as-is): Use
2994 elmo-message-entity-field.
2996 * elmo-map.el (elmo-folder-pack-numbers): Use
2997 elmo-message-entity-set-number.
2999 * elmo-maildir.el (elmo-folder-msgdb-create):
3000 elmo-msgdb-create-message-entity-from-file instead of
3001 elmo-msgdb-create-overview-entity-from-file.
3003 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3005 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3006 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3008 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3009 elmo-messge-entity-field and elmo-message-entity-number.
3010 (elmo-imap4-fetch-callback-1): Call
3011 elmo-msgdb-create-message-entity-from-buffer instead of
3012 elmo-msgdb-create-overview-from-buffer.
3013 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3014 (elmo-find-fetch-strategy): Likewise.
3016 * elmo-flag.el (elmo-folder-msgdb-create): Call
3017 elmo-localdir-msgdb-create-entity with argument msgdb.
3019 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3020 and elmo-message-entity-set-number.
3022 * elmo-cache.el (elmo-folder-msgdb-create): Use
3023 elmo-message-entity-field.
3024 (elmo-folder-msgdb-create): Call
3025 elmo-msgdb-create-message-entity-from-file instead of
3026 elmo-msgdb-create-overview-entity-from-file.
3028 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3029 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3030 instead of elmo-msgdb-create-overview-from-buffer.
3031 (elmo-archive-msgdb-create-entity): Ditto.
3032 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3033 elmo-message-entity-field.
3034 (elmo-archive-parse-mmdf): Ditto.
3036 * modb-entity.el: Removed.
3038 * elmo-version.el (elmo-version): Up to 2.11.16.
3040 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3042 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3044 (elmo-folder-flag-as-answered): Ditto.
3046 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3048 * modb-standard.el: New file.
3050 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3051 elmo-msgdb-convert-type is `sync'.
3053 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3054 (elmo-msgdb-convert-type): New user option.
3056 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3057 (elmo-load-msgdb): Auto detect saved type.
3059 * elmo-version.el (elmo-version): Up to 2.11.15.
3061 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3063 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3065 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3066 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3067 with argument `delete-if-none' when dst-folder is 'null.
3069 * elmo-flag.el (elmo-folder-append-messages): Defined.
3070 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3072 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3074 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3076 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3078 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3079 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3080 (elmo-folder-commit): Ditto.
3082 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3084 * elmo-flag.el: New file.
3086 * elmo-mark.el: Removed.
3088 * modb-legacy.el (modb-legacy-new-mark,
3089 modb-legacy-unread-uncached-mark,
3090 modb-legacy-unread-cached-mark,
3091 modb-legacy-read-uncached-mark,
3092 modb-legacy-answered-cached-mark,
3093 modb-legacy-answered-uncached-mark,
3094 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3095 All other related portions are changed.
3097 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3098 (elmo-folder-list-messages-with-global-mark): Abolish.
3099 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3100 (elmo-folder-flag-as-important): Ditto.
3101 (elmo-folder-unflag-read): Ditto.
3102 (elmo-folder-flag-as-read): Ditto.
3103 (elmo-folder-unflag-answered): Ditto.
3104 (elmo-folder-flag-as-answered): Ditto.
3105 (elmo-message-encache): Return the cache path.
3106 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3107 (elmo-message-set-flag): Transitional implementation.
3108 (elmo-message-unset-flag): Ditto.
3109 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3110 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3111 (elmo-init): Call elmo-global-flag-initialize.
3112 (toplevel): Added autoload settings for elmo-flag.
3114 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3116 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3117 (elmo-file-cache-delete): Don't treat global-mark.
3119 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3121 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3123 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3124 `elmo-global-flags-set'.
3126 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3128 (elmo-folder-unflag-read): Ditto.
3129 (elmo-folder-unflag-important): Ditto.
3130 (elmo-folder-flag-as-important): Ditto.
3131 (elmo-folder-unflag-answered): Ditto.
3132 (elmo-folder-flag-as-answered): Ditto.
3134 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3135 `elmo-global-flags-set'.
3136 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3138 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3140 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3142 (elmo-folder-flag-as-important): Ditto.
3143 (elmo-folder-unflag-important): Ditto.
3144 (elmo-folder-flag-as-important): Ditto.
3145 (elmo-folder-unflag-read): Ditto.
3146 (elmo-folder-flag-as-read): Ditto.
3147 (elmo-folder-unflag-answered): Ditto.
3148 (elmo-folder-flag-as-answered): Ditto.
3150 * elmo-multi.el (elmo-folder-list-importants): Don't call
3151 elmo-folder-list-messages-with-global-mark.
3152 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3153 (elmo-folder-unflag-important): Ditto.
3154 (elmo-folder-flag-as-read): Ditto.
3155 (elmo-folder-unflag-read): Ditto.
3156 (elmo-folder-flag-as-answered): Ditto.
3157 (elmo-folder-unflag-answered): Ditto.
3159 * elmo-msgdb.el (elmo-msgdb-new-mark,
3160 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3161 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3162 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3163 (Moved to modb-legacy.el).
3164 (elmo-flag-table-get): Treat important flag too.
3166 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3168 (elmo-map-folder-flag-as-important): Ditto.
3169 (elmo-map-folder-unflag-read): Ditto.
3170 (elmo-map-folder-flag-as-read): Ditto.
3171 (elmo-map-folder-unflag-answered): Ditto.
3172 (elmo-map-folder-flag-as-answered): Ditto.
3173 (elmo-folder-unflag-important): Ditto.
3174 (elmo-folder-flag-as-important): Ditto.
3175 (elmo-folder-unflag-read): Ditto.
3176 (elmo-folder-flag-as-read): Ditto.
3177 (elmo-folder-unflag-answered): Ditto.
3178 (elmo-folder-flag-as-answered): Ditto.
3180 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3181 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3183 (elmo-map-folder-unflag-important): Ditto.
3184 (elmo-map-folder-flag-as-read): Ditto.
3185 (elmo-map-folder-unflag-read): Ditto.
3186 (elmo-map-folder-flag-as-answered): Ditto.
3187 (elmo-map-folder-unflag-answered): Ditto.
3189 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3190 `elmo-global-flags-set'.
3191 (elmo-global-flags-set): Added autoload setting.
3193 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3196 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3197 `elmo-msgdb-global-mark-set'.
3198 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3199 Call `elmo-global-flags-set'.
3200 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3202 (elmo-folder-flag-as-important-plugged): Ditto.
3203 (elmo-folder-unflag-read-plugged): Ditto.
3204 (elmo-folder-flag-as-read-plugged): Ditto.
3205 (elmo-folder-unflag-answered-plugged): Ditto.
3206 (elmo-folder-flag-as-answered-plugged): Ditto.
3207 (elmo-global-flags-set): Added autoload setting.
3209 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3211 (elmo-folder-unflag-read): Ditto.
3212 (elmo-folder-flag-as-important): Ditto.
3213 (elmo-folder-unflag-important): Ditto.
3214 (elmo-folder-flag-as-answered): Ditto.
3215 (elmo-folder-unflag-answered): Ditto.
3217 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3218 change of `mark'->`flag'.
3219 (elmo-dop-queue-method-name-alist): Ditto.
3220 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3221 (elmo-folder-unflag-read-dop): Ditto.
3222 (elmo-folder-flag-as-important-dop): Ditto.
3223 (elmo-folder-unflag-important-dop): Ditto.
3224 (elmo-folder-flag-as-answered-dop): Ditto.
3225 (elmo-folder-unflag-answered-dop): Ditto.
3227 * elmo-cache.el (elmo-folder-msgdb-create): Call
3228 `elmo-global-flags-set'.
3230 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3231 Call `elmo-global-flags-set'.
3232 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3233 elmo-archive-parse-mmdf with argument `folder'.
3234 (elmo-archive-parse-mmdf): Added argument `folder';
3235 Call `elmo-global-flags-set'.
3237 * elmo-version.el (elmo-version): Up to 2.11.14.
3239 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3241 * modb.el (elmo-msgdb-length): Define.
3243 * elmo.el (elmo-make-folder): Fixed.
3244 (elmo-generic-folder-append-messages): Follow the API change.
3246 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3249 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3251 * modb.el: New file.
3253 * modb-entity.el: Ditto.
3255 * modb-legacy.el: Ditto.
3257 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3258 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3259 of `elmo-msgdb-overview-get-entity'.
3260 (elmo-msgdb-get-field): Ditto.
3261 (elmo-msgdb-merge): Moved to `elmo.el'.
3262 (elmo-msgdb-length): Removed; redefine as modb method.
3263 (elmo-msgdb-change-mark): Abolish.
3264 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3265 (elmo-msgdb-match-condition): Don't use mark.
3266 (elmo-msgdb-overview-get-entity): Abolish.
3267 Split modb part into `modb*.el'.
3269 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3271 * elmo-shimbun.el (shimbun-mua-search-id): Use
3272 `elmo-msgdb-message-entity' instead of
3273 `elmo-msgdb-overview-get-entity'.
3274 (elmo-shimbun-folder-shimbun-header): Ditto.
3275 (elmo-shimbun-get-headers): Ditto.
3276 (elmo-shimbun-update-overview): Ditto.
3278 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3280 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3282 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3283 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3285 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3286 `elmo-msgdb-mark-to-flags'.
3288 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3289 `elmo-msgdb-set-path'.
3291 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3293 * elmo-version.el (elmo-version): Up to 2.11.13.
3295 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3297 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3300 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3302 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3305 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3307 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3308 instead of `elmo-msgdb-get-cached'.
3309 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3311 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3312 (elmo-msgdb-set-cached): Ditto.
3313 (elmo-msgdb-set-flag): Rewrite.
3314 (elmo-msgdb-unset-flag): Ditto.
3316 * elmo-msgdb.el: Rewrite with luna.
3318 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3319 (elmo-folder-msgdb): Follow the change above.
3320 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3321 (elmo-folder-unmark-important): Follow the API change.
3322 (elmo-folder-mark-as-important): Ditto.
3323 (elmo-folder-unmark-read): Ditto.
3324 (elmo-folder-mark-as-read): Ditto.
3325 (elmo-folder-unmark-answered): Ditto.
3326 (elmo-folder-mark-as-answered): Ditto.
3327 (elmo-folder-clear): Likewise.
3329 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3330 instead of `elmo-msgdb-load' (renamed).
3332 * elmo-version.el (elmo-version): Up to 2.11.12.
3334 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3336 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3338 (elmo-message-mark): Abolish.
3339 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3340 instead of `elmo-msgdb-change-mark'.
3342 * elmo-pipe.el (elmo-message-mark): Abolish.
3344 * elmo-multi.el (elmo-message-mark): Ditto.
3346 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3347 (elmo-msgdb-unread-uncached-mark): Ditto.
3348 (elmo-msgdb-unread-cached-mark): Ditto.
3349 (elmo-msgdb-read-uncached-mark): Ditto.
3350 (elmo-msgdb-answered-cached-mark): Ditto.
3351 (elmo-msgdb-answered-uncached-mark): Ditto.
3352 (elmo-msgdb-important-mark): Ditto.
3353 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3355 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3357 (elmo-flag-table-load): Changed flag to list of flag.
3358 (elmo-flag-table-set): If flags is nil, set read flag.
3359 (elmo-flag-table-get): Return derived flags from global mark,
3360 cache status and saved flags.
3361 (elmo-msgdb-flag-table): Follow the change above.
3362 (elmo-msgdb-out-of-date-messages): New function.
3364 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3366 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3368 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3370 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3371 (elmo-nntp-msgdb-create-message): Ditto.
3373 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3375 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3377 (elmo-folder-msgdb-create): Follow the API change.
3379 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3380 (elmo-folder-append-messages): Ditto.
3382 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3383 (elmo-folder-append-buffer): Ditto.
3385 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3387 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3389 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3390 (elmo-archive-parse-mmdf): Ditto.
3392 * elmo-version.el (elmo-version): Up to 2.11.11.
3394 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3396 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3399 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3401 * elmo-pipe.el (elmo-message-flags): Defined.
3403 * elmo-multi.el (elmo-message-flags): Ditto.
3405 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3407 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3408 `elmo-msgdb-delete-msgs'.
3410 * elmo.el (elmo-folder-count-flags): Don't use
3411 `elmo-msgdb-get-mark-alist'.
3412 (elmo-folder-detach-messages): Follow the API change.
3414 * elmo.el (elmo-folder-list-messages): Append killed messages into
3415 result if `visible-only' is nil.
3417 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3419 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3420 (elmo-folder-update-number): Likewise.
3422 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3423 (elmo-pop3-sort-msgdb-by-original-number): Use
3424 `elmo-msgdb-sort-entities'.
3426 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3427 (elmo-msgdb-sort-by-date): Use it.
3428 (elmo-msgdb-overview-sort-by-date): Abolish.
3430 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3432 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3433 (elmo-msgdb-flags): New function.
3434 (elmo-msgdb-merge): Use elmo-msgdb-append.
3436 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3439 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3441 * elmo-dop.el (elmo-folder-status-dop): Use
3442 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3444 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3446 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3448 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3450 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3452 * elmo-util.el (elmo-with-progress-display): New macro.
3454 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3456 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3458 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3459 `elmo-folder-list-message-entities' instead of
3460 `elmo-msgdb-get-overview'.
3461 (elmo-map-folder-list-message-locations): Ditto.
3463 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3464 methods instead of treat directly).
3465 (elmo-msgdb-clear): Ditto.
3466 (elmo-msgdb-delete-msgs): Ditto.
3467 (elmo-msgdb-sort-by-date): Ditto.
3469 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3471 (elmo-nntp-folder-msgdb-create): Follow the API change.
3473 * elmo-version.el (elmo-version): Up to 2.11.10.
3475 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3477 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3478 (elmo-msgdb-flags-to-mark): Ditto.
3479 (elmo-msgdb-append-entity): Ditto.
3481 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3482 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3483 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3484 (elmo-archive-parse-mmdf): Ditto.
3486 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3488 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3490 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3492 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3494 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3496 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3498 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3500 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3502 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3503 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3506 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3507 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3508 instead of directly construction.
3509 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3510 instead of construct msgdb.
3512 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3513 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3514 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3515 instead of construct msgdb.
3517 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3519 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3520 when field is from or subject.
3522 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3524 * elmo-multi.el (elmo-message-entity-parent): Define.
3525 (elmo-folder-search): Rewrite.
3527 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3529 * elmo-multi.el (elmo-message-cached-p): Define.
3531 * elmo.el (elmo-message-cached-p): New method.
3532 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3533 (elmo-message-flags): New method.
3534 (elmo-message-flagged-p): New function.
3536 * elmo-version.el (elmo-version): Up to 2.11.9.
3538 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3540 * elmo-version.el (elmo-version): Up to 2.11.8.
3542 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3544 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3546 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3548 * elmo.el (elmo-folder-detach-messages): Undo last change.
3550 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3552 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3554 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3555 only when src folder type is pop3.
3557 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3559 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3560 elmo-msgdb-overview-entity-get-number instead of
3561 elmo-message-entity-number.
3563 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3565 * elmo-version.el (elmo-version): Up to 2.11.7.
3567 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3569 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3572 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3573 (elmo-msgdb-merge): New function.
3574 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3575 (elmo-msgdb-make-index): Rewrite.
3577 * elmo-version.el (elmo-version): Up to 2.11.6.
3579 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3580 use it as a the path for loading message entities.
3582 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3584 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3586 * elmo-filter.el (elmo-folder-set-message-modified): Set
3587 message-modified slot of itself if it does not require target msgdb.
3589 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3590 if folder length is zero.
3591 (elmo-mime-display-as-is): Ditto.
3593 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3595 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3597 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3599 * elmo.el (elmo-folder-set-message-modified): New method.
3600 (elmo-generic-folder-commit): Use it.
3601 (elmo-folder-synchronize): Ditto.
3603 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3604 (elmo-folder-commit): Remove duplicate definition.
3606 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3608 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3610 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3612 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3613 (elmo-strict-folder-diff): Ditto.
3614 (elmo-folder-set-info-max-by-numdb): Simplify.
3616 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3617 elmo-msgdb-list-messages.
3619 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3620 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3622 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3624 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3625 visible-only is non-nil.
3626 (elmo-folder-confirm-appends): Changed message.
3627 (elmo-folder-synchronize): Added argument disable-killed.
3629 * elmo-multi.el (elmo-folder-synchronize): Added argument
3632 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3634 * elmo-version.el (elmo-version): Up to 2.11.5.
3636 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3639 * elmo-util.el (elmo-list-filter): Simplify.
3641 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3642 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3643 (elmo-generic-folder-diff): Abolish argument.
3644 (elmo-msgdb-load): Don't use number-alist.
3646 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3648 * elmo-pipe.el (elmo-folder-diff): Ditto.
3650 * elmo-nmz.el (elmo-folder-diff): Ditto.
3652 * elmo-net.el (elmo-folder-diff): Ditto.
3654 * elmo-maildir.el (elmo-folder-diff): Ditto.
3656 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3658 * elmo-multi.el (elmo-folder-diff): Ditto
3659 (elmo-multi-folder-diff): Rewrite.
3661 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3663 * elmo-pipe.el (elmo-folder-msgdb): Define.
3665 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3667 * elmo.el (elmo-message-set-cached): Define as a method.
3669 * elmo-pipe.el (elmo-message-set-cached): Define.
3670 (elmo-find-fetch-strategy): Ditto.
3672 * elmo-multi.el (elmo-message-set-cached): Define.
3673 (elmo-find-fetch-strategy): Rewrite.
3675 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3677 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3679 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3681 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3682 instead of number-alist.
3684 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3685 mark nor message-id when msgdb of source folder is not loaded.
3687 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3689 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3691 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3693 * elmo.el (elmo-folder-length): Don't require msgdb.
3695 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3697 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3698 (elmo-message-field): Ditto.
3700 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3701 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3703 (elmo-map-folder-list-answereds): Define.
3704 (elmo-maildir-list-location): Treat 'R' info.
3705 (elmo-folder-msgdb-create): Treat flag-table.
3706 (elmo-folder-append-messages): Save flag-table.
3708 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3710 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3711 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3713 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3715 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3717 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3718 'read when mark is null.
3720 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3722 * elmo-version.el (elmo-version): Up to 2.11.4.
3724 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3726 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3727 (elmo-folder-mark-as-answered): Ditto.
3729 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3731 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3732 (elmo-pop3-get-session): Make msgdb directory after session.
3733 (elmo-folder-exists-p): Check exactly at the first time even when the
3734 elmo-pop3-exists-exactly is nil.
3736 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3737 (elmo-folder-list-messages): Define instead of
3738 elmo-folder-list-messages-internal.
3739 (elmo-folder-check): Check destination folder.
3740 (elmo-folder-synchronize): Drain the pipe.
3742 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3743 when msgdb is not loaded.
3745 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3747 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3748 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3751 * elmo.el (elmo-folder-kill-messages-before): New function.
3752 (elmo-folder-kill-messages): Ditto.
3753 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3755 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3756 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3757 killed not by synchronize (e.g. scoring).
3759 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3761 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3763 (elmo-folder-search): Follow the change above.
3765 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3766 into the candidates of search field.
3768 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3770 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3771 (elmo-msgdb-unset-flag): Ditto.
3773 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3775 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3777 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3778 (elmo-folder-commit): Define.
3779 (elmo-folder-synchronize): Ditto.
3780 (elmo-folder-list-flagged): Ditto.
3781 (elmo-folder-commit): Ditto.
3782 (elmo-folder-length): Ditto.
3783 (elmo-folder-count-flags): Ditto.
3784 (elmo-message-mark): Ditto.
3785 (elmo-message-field): Ditto.
3786 (elmo-message-entity): Ditto.
3787 (elmo-message-folder): Ditto.
3789 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3791 * elmo.el (elmo-message-field): Define as a method.
3793 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3794 (elmo-message-field): Define.
3796 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3797 (elmo-folder-list-importants): Ditto.
3798 (elmo-folder-list-answereds): Ditto.
3800 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3802 (elmo-folder-mark-as-read): Ditto.
3803 (elmo-folder-unmark-read): Ditto.
3804 (elmo-folder-mark-as-answered): Ditto.
3805 (elmo-folder-unmark-answered): Ditto.
3806 (elmo-folder-list-flagged): Define.
3807 (elmo-folder-commit): Ditto.
3808 (elmo-folder-length): Ditto.
3809 (elmo-folder-count-flags): Ditto.
3811 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3813 * elmo.el (elmo-folder-detach-messages): New method.
3814 (elmo-folder-move-messages): Use it.
3815 (elmo-folder-synchronize): Ditto.
3817 * elmo-multi.el (elmo-folder-detach-messages): Define.
3819 * elmo.el (elmo-message-copy-entity): New function.
3820 (elmo-message-entity-set-number): Ditto.
3821 (elmo-message-mark): Define as method.
3823 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3824 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3825 (elmo-message-entity): Fixed last change.
3826 (elmo-message-mark): Define.
3827 (elmo-folder-msgdb-create): Abolish.
3828 (elmo-multi-folder-append-msgdb): Ditto.
3829 (elmo-multi-folder-diff): Fixed.
3830 (elmo-multi-split-number-alist): Removed.
3831 (elmo-multi-split-mark-alist): Removed.
3832 (elmo-folder-list-messages): Define.
3833 (elmo-folder-list-messages-internal): Removed.
3835 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3836 local file messages.
3837 (elmo-folder-msgdb-create): Fixed read mark.
3839 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3841 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3844 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3846 * elmo.el (elmo-folder-list-message-entities): Define as inline
3848 (elmo-folder-messages): Abolish.
3850 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3852 (elmo-folder-synchronize): Define.
3853 (elmo-message-entity): Define.
3855 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3857 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3858 elmo-imap4-session-select-mailbox.
3860 * elmo.el (elmo-folder-move-messages): Don't display any message.
3862 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3864 (elmo-imap4-session-check): Don't wait CHECK response.
3865 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3867 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3869 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3871 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3873 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3875 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3878 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3879 (elmo-folder-list-message-entities): Added argument in-msgdb and
3881 (elmo-folder-synchronize): Define as a method.
3883 * elmo-nntp.el (elmo-folder-initialize): Don't use
3884 elmo-nntp-default-user if zero-length username is specified
3887 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3889 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3890 server name in case with username.
3891 (XXX: this is ad-hoc fix against username includes "@", it
3892 should be solved fundamentally)
3894 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3896 * elmo-nntp.el (elmo-nntp-debug): New function.
3897 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3898 (elmo-network-authenticate-session): Hide auth-info from the log.
3900 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3901 user name if it is equal to elmo-nntp-default-user.
3903 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3905 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3906 instead of shimbun-server-internal;
3907 Use shimbun-current-group instead of shimbun-current-group-internal.
3908 (elmo-folder-plugged-p): Use shimbun-server instead of
3909 shimbun-server-internal.
3910 (elmo-folder-set-plugged): Ditto.
3911 (elmo-net-port-info): Ditto.
3912 (elmo-folder-check): Ditto.
3913 (elmo-folder-expand-msgdb-path): Ditto.
3914 (elmo-folder-list-subfolders): Ditto.
3916 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3918 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3919 Convert field-name to lower case.
3920 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3922 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3924 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3925 `message' and `error' take format string.
3927 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3929 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3931 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3933 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3934 recursive call (can't byte compile on emacs 20.7).
3936 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3938 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3939 (elmo-folder-list-message-entities): New API.
3940 (elmo-message-entity): Ditto.
3941 (elmo-message-entity-parent): Ditto.
3942 (elmo-folder-do-each-message-entity): Ditto.
3943 (elmo-message-entity-number): Ditto.
3944 (elmo-message-entity-field): Ditto.
3945 (elmo-message-entity-set-field): Ditto.
3946 (elmo-folder-count-flags): Ditto.
3947 (elmo-folder-length): Ditto.
3949 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3952 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3953 (elmo-msgdb-count-marks): Abolish.
3954 (elmo-msgdb-make-entity): Ditto.
3955 (elmo-msgdb-do-each-entity): Ditto.
3956 (elmo-msgdb-message-entity): New inline function.
3957 (elmo-msgdb-message-entity-field): Ditto.
3958 (elmo-msgdb-message-entity-set-field): Ditto.
3959 (elmo-msgdb-make-message-entity): New function.
3961 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3963 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3964 to flag. (All other related portions are changed.)
3965 (elmo-folder-msgdb-create): Likewise.
3966 (elmo-generic-folder-append-messages): Use flag-table instead of
3968 (elmo-folder-move-messages): Removed redundant process.
3969 (elmo-folder-synchronize): Likewise.
3971 * elmo-msgdb.el (elmo-flag-table-get): New function.
3972 (elmo-flag-table-save): Fixed.
3973 (elmo-msgdb-length): New inline function.
3974 (elmo-msgdb-flag-table): New function.
3975 (elmo-msgdb-mark): Add optional argument new.
3976 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3977 (elmo-msgdb-seen-list): Ditto.
3978 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3981 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3983 * elmo.el (elmo-message-set-mark): Abolish.
3984 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3985 (All related portions are changed.)
3987 * elmo-msgdb.el (toplevel): Added comment.
3988 (elmo-load-msgdb): Added 4th element `path'.
3989 (elmo-msgdb-append): Follow the change above.
3990 (elmo-msgdb-clear): Ditto.
3991 (elmo-msgdb-delete-msgs): Ditto.
3992 (elmo-msgdb-get-path): New inline function.
3993 (elmo-msgdb-set-path): Ditto.
3994 (elmo-flag-table-filename): New variable.
3995 (elmo-flag-table-load): New function.
3996 (elmo-flag-table-set): Ditto.
3997 (elmo-flag-table-save): Ditto.
3998 (elmo-msgdb-get-field-value): Abolish.
3999 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4001 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4003 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4004 the folder has been deleted successfully.
4005 * elmo-imap4.el (elmo-folder-delete): Ditto.
4006 * elmo-archive.el (elmo-folder-delete): Ditto.
4007 * elmo-localdir.el (elmo-folder-delete): Ditto.
4008 * elmo-maildir.el (elmo-folder-delete): Ditto.
4010 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4012 * elmo-util.el (elmo-string-member-ignore-case): New function.
4013 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4014 (elmo-imap4-fetch-callback-1-subr): Likewise.
4016 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4018 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4019 the case of the name attribute "\Noselect".
4021 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4023 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4025 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4026 flist, is not always a member of onum-alist.
4028 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4030 * elmo-version.el (elmo-version): Up to 2.11.3.
4032 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4034 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4035 copied from localdir's one.
4037 * elmo-pipe.el (elmo-folder-rename): New method, rename
4038 destination folder with leaving source folder as it is.
4040 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4042 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4045 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4047 * elmo-version.el (elmo-version): Up to 2.11.2.
4049 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4051 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4052 shimbun-open in case of "@".
4053 (elmo-folder-open-internal): Cope with shimbun = nil case.
4054 (elmo-folder-plugged-p): Ditto.
4055 (elmo-folder-list-subfolders): Make list for "@/" group.
4057 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4059 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4060 mailbox (e.g. for %~/something).
4062 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4064 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4065 Replace nested conditional with guard clauses.
4067 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4069 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4072 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4075 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4077 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4078 Replace nested conditional with guard clauses.
4080 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4082 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4083 (elmo-passwd-alist-save): Ditto.
4084 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4086 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4088 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4089 dir-name only if it is absolute path.
4090 (TODO: distinguish +/something and +something)
4092 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4094 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4095 path for "+~/something".
4097 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4099 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4100 as non-directory, cause error before rename-file.
4101 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4102 apropriately, mimic localdir's one.
4103 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4105 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4107 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4109 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4111 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4113 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4115 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4116 is included in the global-mark or not.
4118 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4120 * utf7.el (toplevel): Avoid error when the function
4121 find-coding-system does not exist.
4123 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4125 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4126 cache even if the folder is plugged.
4127 (elmo-nntp-search-primitive): Do nothing when body search is
4128 invoked (although it is not used by the change above).
4129 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4131 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4133 * elmo-version.el (elmo-version): Up to 2.11.1.
4135 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4137 * elmo-archive.el: Specify charset.
4139 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4141 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4142 process buffer lives or not.
4144 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4145 while flushing queues (It causes infinite loop).
4147 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4149 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4151 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4153 * utf7.el (toplevel): Check the ucs features dynamically.
4154 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4156 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4157 folder is creatabe or not if it already exists.
4159 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4161 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4163 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4165 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4166 (elmo-imap4-read-response): Take care of garbage response.
4168 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4170 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4171 just return nil instead of error.
4173 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4175 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4176 search-key is "body".
4178 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4180 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4181 of elmo-string-matched-assoc to use match-data.
4182 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4184 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4186 * elmo-split.el (elmo-split->): New function.
4187 (elmo-split-<): Ditto.
4189 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4191 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4192 workaround for invalid message-id.
4194 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4196 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4197 return normal pop3 session or pop3 biff session.
4199 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4201 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4202 info part to the cur files when the new files already have it.
4203 (Adviced by Jared Rhine <jared@wordzoo.com>)
4205 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4207 * elmo-split.el (elmo-split-default-action): New variable.
4208 (elmo-split-subr): Use it if all other conditions are passed.
4209 Extend `fname' and rename it as `action'. (implemented
4210 Teranishi-san's idea in [wl:10800])
4212 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4214 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4215 * elmo-util.el: Ditto.
4217 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4219 * elmo.el (elmo-message-accessible-p): Renamed from
4220 elmo-message-cached-p and rewritten.
4222 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4224 * elmo.el (elmo-folder-list-flagged): New generic function.
4225 (elmo-folder-list-importants): New implementation.
4226 (elmo-folder-list-answereds): Ditto.
4227 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4229 (elmo-message-cached-p): New function.
4230 (elmo-message-set-flag): Ditto (no content).
4231 (elmo-message-unset-flag): Ditto.
4232 (elmo-folder-list-messages-mark-match): Abolish.
4234 * elmo-util.el (elmo-regexp-opt): New function.
4236 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4237 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4239 (elmo-msgdb-list-flagged): New function.
4241 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4242 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4245 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4247 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4249 * elmo-version.el (elmo-version): Up to 2.11.0.
4251 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4253 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4254 `elmo-file-cache-exists-p'; use proper mark that depends on
4256 (elmo-msgdb-unset-flag): Ditto.
4257 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4259 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4260 with 4th argument `use-cache'.
4262 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4264 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4265 (elmo-folder-mark-as-important): Ditto.
4266 (elmo-folder-unmark-read): Ditto.
4267 (elmo-folder-mark-as-read): Ditto.
4268 (elmo-folder-unmark-answered): Ditto.
4269 (elmo-folder-mark-as-answered): Ditto.
4271 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4273 (elmo-msgdb-mark): Likewise.
4274 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4275 (elmo-msgdb-unset-flag): Likewise.
4277 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4279 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4281 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4284 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4286 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4287 set spool-length to 0.
4289 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4291 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4292 (elmo-dop-queue-flush): Fixed last change.
4294 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4296 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4297 if require-msgdb slot is nil.
4298 (elmo-folder-list-importants): Likewise.
4300 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4302 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4305 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4306 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4309 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4311 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4313 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4315 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4317 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4319 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4321 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4322 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4324 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4326 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4327 the problem reported by Sean Rima [wl-en:180].
4329 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4331 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4333 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4335 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4337 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4339 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4341 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4343 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4345 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4347 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4350 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4352 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4353 (elmo-folder-mark-as-read): Follow the API change.
4354 (elmo-message-set-cached): New function.
4356 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4358 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4360 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4361 (elmo-folder-mark-as-important): Ditto.
4362 (elmo-folder-unmark-read): Ditto.
4363 (elmo-folder-mark-as-read): Ditto.
4364 (elmo-folder-unmark-answered): Ditto.
4365 (elmo-folder-mark-as-answered): Ditto.
4367 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4368 (elmo-folder-unmark-important): Ditto.
4369 (elmo-folder-mark-as-read): Ditto.
4370 (elmo-folder-unmark-read): Ditto.
4371 (elmo-folder-mark-as-answered): Ditto.
4372 (elmo-folder-unmark-answered): Ditto.
4374 * elmo-mark.el (toplevel): Removed some mark method definitions.
4376 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4377 (elmo-map-folder-mark-as-answered): Ditto.
4378 (elmo-folder-unmark-important): Add :before qualifier.
4379 (elmo-folder-mark-as-important): Ditto.
4380 (elmo-folder-unmark-read): Ditto.
4381 (elmo-folder-mark-as-read): Ditto.
4382 (elmo-folder-unmark-answered): Define.
4383 (elmo-folder-mark-as-answered): Ditto.
4385 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4386 (elmo-map-folder-unmark-answered): Ditto.
4388 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4390 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4391 (elmo-folder-mark-as-important): Ditto.
4392 (elmo-folder-unmark-read): Ditto.
4393 (elmo-folder-mark-as-read): Ditto.
4394 (elmo-folder-unmark-answered): Ditto.
4395 (elmo-folder-mark-as-answered): Ditto.
4397 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4398 `mark'; evaluate mark condition.
4399 (elmo-msgdb-match-condition-internal): New function.
4400 (elmo-msgdb-match-condition): Call it; changed argument.
4402 * elmo.el (elmo-folder-search): Follow the API change on
4403 `elmo-msgdb-match-condition'.
4405 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4407 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4408 original mark is non-nil.
4410 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4412 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4413 (elmo-map-folder-list-answereds): New method.
4414 (elmo-folder-list-unreads): Add :around qualifier.
4415 (elmo-folder-list-importants): Ditto.
4416 (elmo-folder-list-answereds): Ditto.
4418 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4420 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4422 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4423 method if msgdb is not required.
4424 (elmo-filter-folder-list-importants): Don't treat global-mark.
4426 * elmo.el (elmo-folder-list-importants): Ditto.
4428 * elmo-net.el (elmo-folder-list-importants): Ditto.
4430 * elmo-map.el (elmo-folder-list-importants): Ditto.
4432 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4434 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4435 (elmo-imap4-folder-list-any-plugged): New function.
4436 (elmo-imap4-search-internal-primitive): Use it.
4438 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4439 only when require-msgdb slot is non-nil.
4440 (elmo-folder-close): Clear target folder's msgdb.
4442 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4444 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4445 (elmo-pop3-msgdb-create-by-header): Ditto.
4446 (elmo-pop3-msgdb-create-message): Ditto.
4448 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4450 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4452 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4454 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4455 (elmo-folder-msgdb-create): Ditto.
4456 (elmo-nntp-folder-msgdb-create): Ditto.
4457 (elmo-nntp-msgdb-create-by-header): Ditto.
4458 (elmo-nntp-msgdb-create-message): Ditto.
4459 (elmo-folder-list-unreads): Define.
4461 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4462 (elmo-folder-append-messages): Ditto.
4463 (elmo-folder-list-unreads): Define.
4464 (elmo-folder-list-importants): Ditto.
4465 (elmo-folder-list-answereds): Ditto.
4467 * elmo-net.el (elmo-folder-list-unreads): Define.
4468 (elmo-folder-list-importants): Ditto.
4469 (elmo-folder-list-answereds): Ditto.
4470 (elmo-folder-list-answereds-plugged): Ditto.
4471 (elmo-folder-msgdb-create): Follow the API change.
4472 (elmo-folder-msgdb-create-unplugged): Ditto.
4473 (elmo-folder-unmark-answered): Define.
4474 (elmo-folder-mark-as-answered-unplugged): Ditto.
4475 (elmo-folder-unmark-answered-unplugged): Ditto.
4477 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4478 (elmo-msgdb-unread-uncached-mark): Ditto.
4479 (elmo-msgdb-unread-cached-mark): Ditto.
4480 (elmo-msgdb-read-uncached-mark): Ditto.
4481 (elmo-msgdb-answered-cached-mark): Ditto.
4482 (elmo-msgdb-answered-uncached-mark): Ditto.
4483 (elmo-msgdb-important-mark): Ditto.
4484 (elmo-msgdb-set-mark): Rewrite.
4485 (elmo-msgdb-count-marks): Rewrite.
4486 (elmo-msgdb-mark-alist-set): Abolish.
4487 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4488 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4490 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4491 (elmo-folder-close): Define.
4492 (elmo-folder-msgdb-create): Follow the API change.
4493 (elmo-folder-list-unreads): Rewrite.
4494 (elmo-folder-mark-as-important): Ditto.
4495 (elmo-folder-unmark-important): Ditto.
4496 (elmo-folder-mark-as-read): Ditto.
4497 (elmo-folder-unmark-read): Ditto.
4498 (elmo-folder-mark-as-answered): Define.
4499 (elmo-folder-unmark-answered): Ditto.
4501 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4502 (elmo-folder-append-messages): Ditto.
4504 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4506 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4507 (elmo-folder-list-importants): Ditto.
4509 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4510 (elmo-folder-append-messages): Ditto.
4512 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4514 (elmo-folder-msgdb-create-plugged): Ditto.
4515 (elmo-folder-append-messages): Ditto.
4516 (elmo-folder-list-answereds-plugged): Define.
4517 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4518 (elmo-folder-unmark-answered-plugged): Define.
4519 (elmo-folder-mark-as-answered-plugged): Ditto.
4520 (elmo-folder-search-requires-msgdb-p): Ditto.
4522 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4523 (elmo-folder-initialize): Set it.
4524 (elmo-folder-msgdb): Define.
4525 (elmo-folder-check): Call elmo-folder-synchronize.
4526 (elmo-folder-close): Define.
4527 (elmo-folder-commit): Ditto.
4528 (elmo-folder-msgdb-create): Rewrite.
4529 (elmo-folder-list-unreads): Ditto.
4530 (elmo-folder-list-importants): Ditto.
4531 (elmo-folder-mark-as-read): Ditto.
4532 (elmo-folder-unmark-read): Ditto.
4533 (elmo-folder-mark-as-important): Ditto.
4534 (elmo-folder-unmark-important): Ditto.
4535 (elmo-folder-mark-as-answered): Define.
4536 (elmo-folder-unmark-answered): Ditto.
4538 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4539 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4540 (elmo-dop-queue-method-name-alist): Likewise.
4541 (elmo-folder-mark-as-answered-dop): New inline function.
4542 (elmo-folder-unmark-answered-dop): Ditto.
4543 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4545 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4546 (elmo-folder-msgdb-create): Ditto.
4547 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4548 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4549 (elmo-archive-parse-mmdf): Ditto.
4551 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4552 (elmo-folder-list-unreads-internal): Ditto.
4554 * elmo.el (elmo-folder-msgdb): Define as generic function.
4555 (elmo-folder-list-messages): Added argument `in-msgdb'.
4556 (elmo-folder-list-unreads): Define as generic function.
4557 (elmo-folder-list-importants): Ditto.
4558 (elmo-folder-list-answereds): Ditto.
4559 (elmo-folder-list-messages-with-global-mark): New function.
4560 (elmo-folder-msgdb-create): Removed mark arguments.
4561 (elmo-folder-unmark-answered): New generic function.
4562 (elmo-folder-mark-as-answered): Ditto.
4563 (elmo-folder-append-messages): Removed argunment `unread-marks'
4564 (elmo-folder-list-unreads-internal): Abolish.
4565 (elmo-folder-list-importants-internal): Ditto.
4566 (elmo-folder-search-requires-msgdb-p): New generic function.
4567 (elmo-folder-search-requires-msgdb-p-internal): New function.
4568 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4570 (elmo-folder-search-fast): Added key 'mark'.
4571 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4572 instead of unread-marks argument.
4573 (elmo-folder-move-messages): Removed argunment `unread-marks'
4574 (elmo-folder-unmark-important): Define.
4575 (elmo-folder-mark-as-important): Ditto.
4576 (elmo-folder-unmark-read): Ditto.
4577 (elmo-folder-mark-as-read): Ditto.
4578 (elmo-folder-unmark-answered): Ditto.
4579 (elmo-folder-mark-as-answered): Ditto.
4580 (elmo-folder-replace-marks): Abolish.
4581 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4583 (elmo-folder-synchronize): Removed mark arguments;
4584 return crosspost only number.
4586 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4588 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4589 Remove redundunt connectivity check.
4591 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4593 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4594 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4596 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4598 * pldap.el (ldap-decode-string): Return string as-is if
4599 `ldap-coding-system' is nil.
4600 (ldap-encode-string): Ditto.
4601 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4602 (ldap-default-host): Fixed docstring.
4604 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4606 * elmo-util.el (elmo-warning): Define as a macro which uses
4607 `display-warning' if it is defined as a function.
4609 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4610 (elmo-split-equal): Use it.
4611 (elmo-split-match): Ditto.
4612 (elmo-split-message-entity): New buffer-local variable.
4613 (elmo-split-subr): Set it.
4615 * elmo-version.el (elmo-version): Up to 2.9.15.
4617 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4619 * elmo-imap4.el (elmo-network-initialize-session):
4620 Check capability after starttls.
4622 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4624 * elmo-util.el (elmo-list-delete): Added optional argument
4627 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4629 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4631 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4633 * elmo-imap4.el (elmo-folder-initialize): Don't use
4634 elmo-imap4-default-mailbox.
4636 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4638 * elmo-split.el (toplevel): Use `product-provide'.
4639 (elmo-split): Checkdoc.
4641 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4643 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4644 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4645 the function `elmo-imap4-debug-1'.
4647 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4649 * elmo-split.el (elmo-split): Moved to run hooks and to show
4650 message from elmo-split-subr.
4651 (elmo-split-subr): Follow the change above.
4653 * elmo-split.el (elmo-split-subr): New function (renamed from
4655 (elmo-split): Changed to call elmo-split-subr by element of
4657 (elmo-split-folder): Changed customization type to choice.
4659 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4661 * elmo-split.el (elmo-split-and): Fixed condition.
4663 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4665 * elmo-split.el: New file.
4666 (elmo-split): Fixed logic.
4667 Display "Test:" instead of "Folder:" when reharsal.
4669 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4672 * elmo-version.el (elmo-version): Up to 2.9.14.
4674 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4677 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4679 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4680 message with no message-id field.
4682 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4684 * elmo-version.el (elmo-version): Up to 2.9.13.
4686 * elmo-dop.el (elmo-folder-status-dop): Fix.
4688 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4690 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4692 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4693 changing default value of default-mime-charset.
4694 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4696 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4698 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4699 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4700 instead of elmo-dop-queue-method-name-alist to check merging queue.
4701 (elmo-folder-delete-messages-dop): Delete from queue if negative
4703 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4704 file is already removed.
4706 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4708 * elmo-vars.el: Bind colon keywords for old Emacsen.
4710 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4712 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4713 against non-exsisting charset.
4715 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4717 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4718 Use eword-decode-and-unfold-unstructured-field-body.
4720 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4721 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4722 exists to decode raw subject string.
4723 (toplevel): Require 'mime.
4725 * elmo-version.el (elmo-version): Up to 2.9.12.
4727 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4729 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4730 (elmo-msgdb-set-mark): Ditto.
4732 * elmo-version.el (elmo-version): Up to 2.9.11.
4734 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4736 * elmo-util.el (elmo-delete-match-files): New function.
4738 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4739 instead of elmo-delete-directory.
4741 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4742 elmo-hash-minimun-size as 63.
4744 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4745 elmo-diff-unread is nil.
4747 * elmo-imap4.el (elmo-folder-open): Fix.
4749 * elmo.el (elmo-message-mark): Rewrite.
4750 (elmo-message-field): Ditto.
4751 (elmo-message-set-mark): Ditto.
4752 (elmo-folder-replace-marks): New function.
4753 (elmo-generic-folder-append-msgdb): Removed third argument for
4755 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4756 (elmo-msgdb-load): New implementation.
4758 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4760 * elmo-util.el (elmo-list-insert): New implementation.
4762 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4763 argument for elmo-msgdb-append.
4766 * elmo-msgdb.el (elmo-load-msgdb): New function.
4767 (elmo-make-msgdb): Ditto.
4768 (elmo-msgdb-get-index): New inline function.
4769 (elmo-msgdb-set-index): Ditto.
4770 (elmo-msgdb-get-entity-hashtb): Ditto.
4771 (elmo-msgdb-get-mark-hashtb): Ditto.
4772 (elmo-msgdb-get-mark): Ditto.
4773 (elmo-msgdb-set-mark): Ditto.
4774 (elmo-msgdb-count-marks): Ditto.
4775 (elmo-msgdb-get-number): Ditto.
4776 (elmo-msgdb-get-field): Ditto.
4777 (elmo-msgdb-seen-list): Ditto.
4778 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4779 (elmo-msgdb-delete-msgs): Follow the changes above.
4780 (elmo-msgdb-overview-get-entity): Ditto.
4781 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4782 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4784 (elmo-msgdb-make-index): Likewise.
4785 (elmo-msgdb-append): Removed third argument.
4786 (elmo-msgdb-clear): Clear index as nil.
4787 (elmo-folder-set-info-hashtb): Removed.
4788 (elmo-folder-set-info-max-by-numdb): Ditto.
4789 (elmo-folder-info-make-hashtb): Ditto.
4791 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4793 * elmo-map.el (elmo-folder-pack-number): Ditto.
4795 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4797 * elmo-version.el (elmo-version): Up to 2.9.10.
4799 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4801 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4803 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4805 * elmo-utils.el (elmo-make-directory): Add option.
4806 Default file mode is 700.
4808 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4810 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4812 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4814 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4817 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4820 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4822 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4823 (elmo-shimbun-folder-entity-hash): New function.
4824 (elmo-shimbun-folder-shimbun-header): Ditto.
4825 (elmo-shimbun-entity-to-header): Ditto.
4826 (elmo-shimbun-msgdb-to-headers): Removed.
4827 (elmo-shimbun-folder-setup): Ditto.
4828 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4830 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4831 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4832 Removed useless local bind.
4833 (elmo-folder-open-internal): Don't call
4834 `elmo-shimbun-folder-setup'.
4835 (elmo-folder-close-internal): Clear entity-hash slot.
4836 (elmo-folder-clear): Ditto.
4837 (elmo-shimbun-msgdb-create-entity): Use
4838 `elmo-shimbun-folder-shimbun-header'.
4839 (elmo-map-message-fetch): Ditto.
4840 (elmo-shimbun-update-overview): Use overview entity instead of
4841 shimbun header to lookup id by references.
4842 (elmo-map-folder-list-message-locations): Use not only headers but
4843 also overviews to list locations.
4845 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4847 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4850 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4852 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4854 * elmo-util.el (elmo-read-search-condition-internal): Give default
4857 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4859 * elmo-util.el (elmo-condition-parse-search-value): Accept
4860 YYYY-MM-DD format to search.
4861 * elmo-date.el (elmo-date-get-datevec): Likewise.
4863 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4865 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4868 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4870 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4873 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4875 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4876 case from `elmo-folder-exists-p'.
4877 (elmo-folder-exists-p): Removed.
4878 (elmo-folder-creatable-p) Ditto.
4880 * elmo-net.el (elmo-folder-create): Defined.
4881 (elmo-folder-create-unplugged): New function.
4882 (elmo-folder-exists-p): Changed default value to nil from t.
4884 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4885 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4887 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4888 `elmo-create-folder-dop' and append queue
4889 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4890 (elmo-folder-create-dop-delayed): New function.
4892 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4894 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4896 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4897 (elmo-folder-writable-p) : Ditto.
4899 * elmo-version.el (elmo-version): Up to 2.9.9.
4901 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4903 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4904 `elmo-message-use-cache-p' returns nil.
4905 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4906 (ignore cache file and refer the substance in local folders)
4908 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4910 * elmo-version.el (elmo-version): Up to 2.9.8.
4912 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4914 * elmo-version.el (elmo-version): Up to 2.9.7.
4916 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4918 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4920 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4922 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4924 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4926 (elmo-map-folder-list-message-locations): Reverse location list.
4928 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4930 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4932 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4934 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4936 (elmo-nntp-folder-list-subfolders): Follow the change above.
4938 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4940 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4941 name if authentication type is specified.
4943 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4945 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4947 (elmo-default-nntp-stream-type): Ditto.
4948 (elmo-default-pop3-stream-type): Ditto.
4950 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4952 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4954 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4956 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4958 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4960 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4961 (elmo-maildir-folder-path): Ditto.
4962 (elmo-maildir-list): Ditto (abolished).
4964 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4966 * elmo-version.el (elmo-version): Up to 2.9.6.
4968 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4970 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4971 (elmo-maildir-folder-path): Ditto.
4972 (elmo-msgdb-directory): Ditto.
4973 (elmo-passwd-life-time): Ditto.
4974 (elmo-msgdb-extra-fields): Ditto.
4975 (elmo-enable-disconnected-operation): Ditto.
4977 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4979 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4981 (elmo-pop3-default-authenticate-type): Ditto.
4983 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4985 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4987 (elmo-pop3-default-authenticate-type): Ditto.
4989 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4991 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4992 mailbox to new-folder.
4994 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4996 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4997 less than new, set new as unread.
4999 * elmo-util.el (elmo-string): Don't put text-property if nil.
5001 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5003 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5004 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5006 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5008 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5009 is nil on `completing-read'.
5011 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5013 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5015 (elmo-imap4-parse-namespace-subr): Ditto.
5016 (elmo-folder-list-subfolders): Append a delimiter when the specified
5017 folder path is a root with namespace and does not end with delimiter.
5019 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5021 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5024 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5026 * elmo-util.el (elmo-save-buffer): The first argument of message
5027 is a format control string.
5029 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5031 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5032 `elmo-folder-diff').
5033 (elmo-diff-unread): Likewise.
5035 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5037 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5038 is t on `completing-read'.
5040 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5042 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5043 method of target folder with self mark-alist if MARK-ALIST is nil.
5045 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5047 * elmo-version.el (elmo-version): Up to 2.9.5.
5049 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5051 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5052 (elmo-dop-merge-funcs): Remove.
5054 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5056 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5057 Return t if PATH is directory, too.
5058 Use `dolist' instead of while loop.
5060 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5062 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5065 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5067 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5069 (elmo-folder-list-messages-unplugged): Return t if
5070 elmo-enable-disconnected-operation is nil.
5072 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5073 `elmo-folder-list-messages-internal'.
5075 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5077 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5078 Change to looking-at `[23][0-9]+'.
5079 (elmo-network-initialize-session): Use 'error-msg'
5080 * elmo-net.el (elmo-network-open-session): Set unplugged
5081 if elmo-network-initialize-session returns 'elmo-open-err.
5083 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5085 * elmo-version.el (elmo-version): Up to 2.9.4.
5087 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5089 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5090 `elmo-folder-list-messages-internal'.
5092 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5094 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5095 (elmo-message-match-condition): New method.
5096 (elmo-folder-search-fast): New inline function.
5097 (elmo-msgdb-search): Removed.
5099 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5100 target folder if it is unplugged.
5101 (elmo-folder-list-messages-internal): Return t if target folder is
5102 unplugged and itself is persistent; In this case, use list be
5105 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5106 (elmo-msgdb-search-internal-primitive): Ditto.
5107 (elmo-msgdb-match-condition): New function.
5108 (elmo-msgdb-match-condition-primitive): Ditto.
5110 * elmo-util.el (elmo-filter-condition-p): New macro.
5112 * elmo-cache.el (elmo-folder-search): Removed.
5114 * elmo-localdir.el (elmo-folder-search): Ditto.
5116 * elmo-maildir.el (elmo-folder-search): Ditto.
5118 * elmo-mark.el (elmo-folder-search): Ditto.
5120 * elmo-nmz.el (elmo-folder-search): Ditto.
5122 * elmo-sendlog.el (elmo-folder-search): Ditto.
5124 * elmo-shimbun.el (elmo-folder-search): Ditto.
5126 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5127 if folder is unplugged.
5129 * elmo-nntp.el (elmo-folder-search): Likewise.
5130 (elmo-nntp-search-internal): New function.
5132 * elmo-version.el (elmo-version): Up to 2.9.3.
5134 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5136 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5138 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5140 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5142 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5144 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5146 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5148 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5149 (elmo-map-folder-list-message-locations): Do drive letter conversion
5150 on Windows environment.
5151 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5152 (elmo-map-message-fetch): Ditto.
5154 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5156 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5157 (elmo-network-initialize-session): Ditto.
5159 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5161 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5163 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5165 * elmo-util.el (elmo-progress-clear): Ditto.
5167 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5168 `DD-Mon-YYYY' type date.
5170 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5172 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5173 `elmo-date-make-sortable-string' instead of
5174 `timezone-make-date-sortable'.
5176 * elmo-date.el (elmo-date-make-sortable-string): Use
5177 `timezone-make-time-string'.
5179 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5181 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5183 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5184 `since'; Fix timezone.
5186 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5188 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5190 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5192 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5194 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5196 * elmo.el (elmo-generic-folder-append-messages): Make
5197 fetch-strategy with `use-cache' as 'maybe. Check return value of
5198 `elmo-message-fetch'.
5199 (elmo-message-fetch): Return return value of
5200 `elmo-message-fetch-with-cache-process'.
5201 (elmo-message-fetch-with-cache-process): Return non-nil if
5202 fetching was succeed. Load cache when fetching was failed and
5203 fetch-strategy-use-cache is 'maybe.
5205 * elmo-util.el (elmo-file-cache-load): New function.
5207 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5210 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5211 non-nil if fetching was succeed.
5213 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5215 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5217 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5218 (elmo-message-fetch-with-cache-process): Likwise.
5220 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5222 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5224 * elmo-version.el (elmo-version): Up to 2.9.2.
5226 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5228 * elmo.el (elmo-folder-delete): Delete msgdb path.
5230 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5232 * elmo-maildir.el (elmo-folder-delete): Ditto.
5234 * elmo-localdir.el (elmo-folder-delete): Ditto.
5236 * elmo-imap4.el (elmo-folder-delete): Ditto.
5238 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5240 * elmo.el (luna-define-class): Added `biff' slot.
5242 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5243 (elmo-pop3-debug-inhibit-logging): Abolished.
5244 (elmo-network-close-session): Eliminated needless let.
5245 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5246 (elmo-pop3-send-command): Added `no-log' argument.
5247 (elmo-pop3-process-filter): Use `with-current-buffer'.
5248 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5250 (elmo-pop3-auth-apop): Likewise.
5251 (elmo-network-authenticate-session): Likewise.
5253 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5256 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5257 string to determine protocol.
5258 (elmo-network-session-name-prefix): Abolished.
5259 (elmo-network-session-cache-key): Follow the change above.
5260 (elmo-network-open-session): Ditto.
5262 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5263 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5265 * elmo-version.el (elmo-version): Up to 2.9.1.
5267 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5268 unmatch condition checking.
5270 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5273 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5275 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5277 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5279 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5280 test for while loop to execute at least one SEARCH command.
5282 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5284 * elmo-version.el (elmo-version): Up to 2.9.0.
5286 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5288 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5289 (elmo-archive-folder-path): Define.
5290 (elmo-folder-initialize): Setup `dir-name' slot.
5291 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5292 Use `dir-name' as prefix of each subfolders.
5293 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5295 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5297 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5298 (elmo-pipe-folder-list-target-messages): New internal function.
5299 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5301 (elmo-pipe-folder-copied-list-load): New function.
5302 (elmo-pipe-folder-copied-list-save): Ditto.
5303 (elmo-folder-open-internal): Follow the change above.
5304 (elmo-folder-status): Fixed for copy.
5306 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5308 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5310 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5312 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5313 elmo-copy-file instead of elmo-add-name-to-file.
5315 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5317 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5320 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5321 of accept-process-output as 1.
5322 (elmo-pop3-read-contents): Ditto.
5323 (elmo-pop3-read-body): Ditto.
5325 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5327 * elmo-version.el (product-version-as-string): Remove define.
5329 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5331 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5332 (elmo-imap4-copy-messages): Chop number set using
5333 `elmo-imap4-number-set-chop-length'.
5334 (elmo-imap4-set-flag): Ditto.
5335 (elmo-imap4-search-internal-primitive): Ditto.
5337 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5339 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5340 `elmo-folder-make-temp-dir'
5342 * elmo-vars.el (elmo-cache-directory): New variable.
5343 (elmo-cache-dir): Abolished.
5344 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5346 * elmo-version.el (elmo-version): Up to 2.7.7.
5348 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5350 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5351 defcustom; Set default value as t.
5353 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5355 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5356 (ldap-search-program-arguments): Changed default value.
5357 (ldap-search-basic): Accept exit status 4.
5358 (ldap/field-body): Parse options.
5359 (ldap/collect-field): Ditto.
5360 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5362 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5363 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5364 (elmo-imap4-accept-ok): Ditto.
5365 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5366 'notify-bye, only BYE error is reported.
5367 (elmo-folder-exists-p-plugged): Set no-error argument of
5368 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5370 * elmo.el (elmo-imap4-bye-error): Changed message.
5372 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5373 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5374 queues (It causes infinite loop).
5376 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5378 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5379 (RECENT UNSEEN MESSAGES) extension.
5381 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5383 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5384 Check number of overview fields.
5386 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5388 * elmo.el (elmo-folder-confirm-appends): Changed message.
5389 (elmo-folder-confirm-appends): Ditto.
5391 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5393 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5395 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5397 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5398 of elmo-folder-update-threshold is nil, which can be set by
5399 wl-summary-update-confirm-threshold.
5401 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5403 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5404 (elmo-nmz-index-alias-alist): Ditto.
5405 (elmo-map-folder-list-message-locations): Follow the change above.
5407 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5409 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5411 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5413 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5415 * elmo-util.el (elmo-read): Ditto.
5416 (elmo-display-error): Ditto.
5418 * elmo-vars.el (elmo-date-match): Ditto.
5420 * pldap.el (ldap-coding-system): Ditto.
5422 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5423 `elmo-inhibit-number-mapping' as nil.
5425 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5427 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5428 space delimiter for list response.
5430 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5432 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5434 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5436 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5437 (elmo-map-message-fetch): Fix.
5438 * elmo-map.el (elmo-folder-status): Fix for killed.
5440 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5442 * elmo-sendlog.el: New file.
5443 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5445 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5447 * acap.el (acap-logging-out): New buffer local variable.
5448 (acap-close): Set it.
5449 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5452 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5454 * acap.el (acap-response-bye-p): New function.
5455 (acap-response-bye-message): Ditto.
5456 (acap-wait-for-response): If bye response is received, cause an error.
5457 (acap-parse-response): Make bye response when 'Bye' is received.
5459 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5461 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5463 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5465 * elmo-util.el (elmo-copy-file): Added argument
5466 `ok-if-already-exists'.
5467 (elmo-copy-file): Fixed typo.
5469 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5471 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5473 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5475 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5477 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5479 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5482 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5484 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5485 (elmo-folder-initialize): Fix for `copy'.
5486 (elmo-pipe-drain): Ditto.
5487 (elmo-folder-open-internal): Ditto.
5488 (elmo-folder-newsgroups): Fix.
5490 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5492 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5495 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5496 recent value is returned from imap folder.
5498 * elmo.el (elmo-folder-newsgroups): New generic function.
5500 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5501 (elmo-folder-initialize): Set it.
5502 (elmo-folder-expand-msgdb-path): Use it.
5503 (elmo-folder-newsgroups): Define.
5505 * elmo-filter.el (elmo-folder-newsgroups): Define.
5507 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5509 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5511 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5513 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5515 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5517 (elmo-shimbun-header-extra-field): New inline function.
5518 (elmo-shimbun-header-set-extra-field): Ditto.
5519 (elmo-shimbun-folder-header-hash-setup): Ditto.
5520 (elmo-shimbun-update-overview): Ditto.
5521 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5522 (elmo-shimbun-folder-setup): Use
5523 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5524 (elmo-shimbun-get-headers): Ditto.
5525 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5526 Insert `X-Shimbun-Id:' header if extra field is set.
5527 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5528 field's value instead of `shimbun-header-id'.
5530 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5532 (elmo-msgdb-overview-entity-set-date): Ditto.
5533 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5535 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5537 * mmimap.el (mmimap-entity-section): Changed body node number from
5540 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5542 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5543 `elmo-folder-delete-messages'.
5545 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5546 (elmo-folder-initialize): Changed to expand alias into index path.
5548 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5549 `elmo-mime-insert-header-from-buffer' with 6th arg
5552 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5554 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5556 * elmo.el (elmo-diff-new): New inline function.
5557 (elmo-diff-unread): Ditto.
5558 (elmo-diff-all): Ditto.
5560 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5561 value from responseb.
5562 (elmo-imap4-folder-diff-plugged): Ditto.
5563 (elmo-imap4-server-diff-async): Added recent argument.
5564 (elmo-server-diff-async): Ditto.
5565 (elmo-imap4-folder-diff-plugged): Ditto.
5567 * elmo-version.el (elmo-version): Up to 2.7.6.
5569 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5571 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5574 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5576 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5578 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5580 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5582 * elmo-multi.el (elmo-folder-initialize): Ditto.
5584 * elmo-util.el (elmo-parse-token): New function.
5585 (elmo-parse-prefixed-element): Ditto.
5587 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5589 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5591 (elmo-imap4-accept-ok): Ditto.
5593 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5595 * mmimap.el (mime-imap-entity-header-string): Don't check first
5596 element of node-id is `0' (Follow last change).
5598 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5600 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5601 assigned irregular node-id to nested multipart section.
5602 (initialize-instance): Followed above change.
5604 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5606 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5607 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5608 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5609 `elmo-shimbun-get-headers');
5610 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5611 visible article on summary exists in headers).
5612 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5614 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5616 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5619 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5621 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5623 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5625 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5626 header separator into loop condition.
5628 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5630 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5631 Return duplicate folder if it has subfolder.
5633 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5635 * elmo.el (elmo-make-folder): Add folder name error check.
5637 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5638 (elmo-nntp-encode-group-string): New inline function.
5639 (elmo-nntp-decode-group-string): Ditto.
5640 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5641 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5642 Use `not' instead of `null';
5643 Use elmo-nntp-decode-group-string.
5645 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5647 * elmo-version.el (elmo-version): Up to 2.7.5.
5649 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5651 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5652 Hide progress gauge if `elmo-folder-move-messages' exits
5655 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5657 * elmo-imap4.el (elmo-folder-initialize): Use
5658 `elmo-imap4-encode-folder-string' for folder name.
5660 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5662 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5665 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5667 * elmo-util.el (elmo-progress-counter-alist): New internal
5669 (elmo-progress-counter-value): New macro.
5670 (elmo-progress-counter-all-value): Ditto.
5671 (elmo-progress-counter-format): Ditto.
5672 (elmo-progress-counter-set-value): Ditto.
5673 (elmo-progress-set): New function.
5674 (elmo-progress-clear): Ditto.
5675 (elmo-progress-notify): Ditto.
5677 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5680 * elmo.el (elmo-generic-folder-append-messages): Call
5681 `elmo-progress-notify'.
5682 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5684 * elmo-archive.el (elmo-folder-append-messages): Call
5685 `elmo-progress-notify'.
5687 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5689 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5691 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5693 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5695 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5697 (elmo-message-encache-dop): Added argument `read'.
5699 * elmo-shimbun.el (elmo-message-encache): Ditto.
5701 * elmo-net.el (elmo-message-encache): Ditto.
5703 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5704 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5705 elmo-imap4-seen-messages.
5706 (elmo-folder-msgdb-create-plugged): Initialize
5707 elmo-imap4-seen-messages;
5708 Set seen mark on elmo-imap4-seen-messages.
5710 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5712 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5713 elmo-folder-append-buffer.
5714 (elmo-folder-encache): Added optional argument `read'.
5715 (elmo-message-encache): Ditto.
5717 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5719 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5721 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5722 if append buffer content succeds.
5724 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5726 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5727 elmo-display-progress.
5729 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5730 Set 4th argument of mime-display-message.
5731 (elmo-mime-display-as-is): Ditto.
5733 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5735 * elmo-nmz.el (toplevel): Require 'mime-edit.
5736 (elmo-nmz-content-type-alist): Abolished.
5737 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5738 content is not a message.
5739 (elmo-map-message-fetch): Changed behavior exept for message content;
5740 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5741 content-type, Add From: and Subject: field.
5743 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5745 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5746 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5749 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5751 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5752 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5754 * elmo-archive.el (elmo-folder-writable-p): Defined.
5756 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5758 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5760 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5762 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5764 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5766 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5768 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5770 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5772 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5774 * elmo-util.el (elmo-address-quote-specials): New function;
5775 Renamed from `wl-address-quote-specials'.
5777 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5779 * elmo-version.el (elmo-version): Up to 2.7.4.
5781 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5783 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5785 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5787 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5788 both compile-time and run-time to avoid byte-compile warning.
5790 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5792 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5794 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5796 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5798 (elmo-mime-display-as-is-internal): Use it.
5800 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5801 if `read-passwd' is not defined.
5803 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5805 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5807 (elmo-folder-status): Call `elmo-folder-open-internal';
5808 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5809 (elmo-folder-close-internal): Set location-alist as nil.
5810 (elmo-folder-clear): Define.
5811 (elmo-folder-check): Don't set location-alist as nil.
5813 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5815 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5817 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5818 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5820 * mmimap.el (mime-imap-entity::requested): New slot.
5821 (mime-imap-location-fetch-entity-p): New generic function.
5822 (mime-decode-parameters): Define using `defun-maybe'.
5823 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5824 content-type structure.
5825 (mime-entity-body): Return empty body if
5826 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5828 * elmo.el (elmo-message-displaying): New variable.
5830 * elmo-mime.el (elmo-mime-message-display): Bind
5831 elmo-message-displaying as t.
5833 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5835 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5837 * acap.el (acap-open): erase buffer before starting network process.
5838 (acap-store): Rewrite.
5840 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5842 * elmo-imap4.el (elmo-imap4-default-mailbox,
5843 elmo-imap4-default-server
5844 elmo-imap4-default-authenticate-type,
5845 elmo-imap4-default-user,
5846 elmo-imap4-default-port,
5847 elmo-imap4-default-stream-type,
5848 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5850 * elmo-pop3.el (elmo-pop3-default-user,
5851 elmo-pop3-default-server,
5852 elmo-pop3-default-authenticate-type,
5853 elmo-pop3-default-port,
5854 elmo-pop3-default-stream-type,
5855 elmo-pop3-stream-type-alist): Ditto.
5857 * elmo-nntp.el (elmo-nntp-default-server,
5858 elmo-nntp-default-user,
5859 elmo-nntp-default-port,
5860 elmo-nntp-default-stream-type,
5861 elmo-nntp-stream-type-alist): Ditto.
5863 * elmo-vars.el: Follow changes above.
5864 (elmo-setting): New custom group; added 'elmo-setting group to
5867 * elmo-version.el (elmo-version): Up to 2.7.3.
5869 * acap.el (acap-parse-response): Don't delete process when BYE
5870 response (It causes hang-up on slow network environment).
5871 (toplevel): Added comment.
5873 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5875 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5877 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5879 (acap-parse-return-metadata): Ditto.
5882 (toplevel): Fixed typo.
5884 * acap.el: New file.
5885 (acap-network-stream-open): Show "Connecting..." message.
5886 (acap-parse-response): Fixed problem for BYE untagged response.
5887 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5888 (toplevel): Added tiny comments.
5890 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5892 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5893 space delimiter for uidl response.
5895 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5897 * elmo-vars.el (elmo-use-semi): Eliminated.
5899 * elmo-util.el (elmo-string-assoc-all): New function.
5901 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5903 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5904 property 'mime-preview-situation for `mime-preview-quit'.
5906 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5908 * elmo.el (elmo-message-fetch-with-cache-process): Call
5909 elmo-message-fetch-internal instead of causing an error when fetch
5910 strategy is 'entire but only 'section cache is available.
5912 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5914 * elmo-version.el (elmo-version): Up to 2.7.2.
5916 * elmo.el (elmo-generic-folder-append-messages): Make
5917 fetch-strategy with `use-cache'.
5919 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5920 (elmo-dop-queue-method-name): New macro.
5922 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5924 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5925 unbalanced parenthesis.
5927 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5929 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5931 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5933 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5934 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5936 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5938 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5941 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5943 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5944 (elmo-message-use-cache-p): Define.
5945 (elmo-folder-msgdb-create): Treat cache.
5947 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5949 * elmo-nntp.el (elmo-network-initialize-session): Call
5950 `elmo-nntp-send-mode-reader'.
5951 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5953 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5955 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5957 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5960 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5961 for `elmo-plugged-p'.
5962 (elmo-open-network-stream): Fixed stream-type argument.
5964 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5966 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5967 unknown archive type is specified.
5969 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5971 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5973 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5974 while loading msgdb.
5976 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5977 (elmo-folder-open-internal): Rewrite.
5979 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5981 * elmo-mime.el (elmo-mime-display-as-is-internal):
5982 Adjust buffer-multibyte status.
5984 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5986 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5987 of elmo-condition-find-key.
5989 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5990 (elmo-condition-in-msgdb-p): Ditto.
5991 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5994 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5996 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5998 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6000 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6001 label for elmo-display-progress.
6003 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6005 * elmo.el (elmo-folder-clear): New method.
6006 (elmo-folder-clear): Define.
6007 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6009 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6010 (elmo-folder-clear): Define.
6012 * elmo-map.el (elmo-folder-clear): Define.
6014 * elmo-version.el (elmo-version): Up to 2.7.1.
6016 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6018 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6021 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6023 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6024 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6026 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6028 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6030 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6033 * elmo-imap4.el (elmo-folder-initialize): Use
6034 elmo-get-network-stream-type.
6036 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6038 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6040 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6042 * elmo.el (elmo-message-encache): Set unread argument for
6045 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6047 * elmo.el (elmo-net-port-info): New method.
6049 * elmo-shimbun.el (elmo-net-port-info): Define.
6050 (elmo-message-encache): Ditto.
6052 * elmo-net.el (elmo-net-port-info): Define as method.
6054 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6055 unplugged status when elmo-enable-disconnected-operation is t.
6057 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6058 of spool folder before checking new number.
6060 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6062 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6063 (elmo-network-setup-session): Ditto.
6064 (elmo-message-fetch-plugged): Ditto.
6065 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6066 (elmo-network-initialize-session): Ditto.
6067 (elmo-pop3-read-response): Abolish 3rd argument.
6068 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6069 (elmo-pop3-read-contents): Ditto.
6070 (elmo-pop3-read-body): Ditto.
6071 (elmo-folder-status): Call elmo-folder-close.
6072 (elmo-pop3-lock): Abolish.
6073 (elmo-pop3-unlock): Ditto.
6074 (elmo-pop3-locked-p): Ditto.
6075 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6077 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6079 * elmo-version.el (elmo-version): Up to 2.7.0.
6081 * elmo-pop3.el (elmo-pop3-debug): New variable.
6082 (elmo-pop3-debug-inhibit-logging): Ditto.
6083 (elmo-pop3-debug): New function.
6084 (elmo-pop3-send-command): Call elmo-pop3-debug.
6085 (elmo-pop3-read-response): Added keep-lock optional argument;
6086 Don't unlock if keep-lock is non-nil.
6087 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6088 (elmo-network-authenticate-session): Bind
6089 elmo-pop3-debug-inhibit-logging as t.
6090 (elmo-network-setup-session): Call elmo-pop3-read-response with
6092 (elmo-pop3-read-msg): Ditto.
6093 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6094 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6095 (elmo-network-initialize-session): Call elmo-pop3-lock.
6096 (elmo-folder-close-internal): Don't clear location-alist slot.
6097 (elmo-folder-check): Clear location-alist slot.
6099 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6101 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6102 (elmo-pop3-send-command): Call elmo-pop3-lock.
6103 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6104 (elmo-pop3-read-contents): Ditto.
6105 (elmo-pop3-lock): New function.
6106 (elmo-pop3-unlock): Ditto.
6107 (elmo-pop3-locked-p): Ditto.
6108 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6111 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6113 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6115 * elmo-util.el (elmo-file-field-primitive-condition-match):
6116 New inline function (Don't fetch file content if "first" or "last").
6117 (elmo-file-field-condition-match): Use
6118 elmo-file-field-primitive-condition-match.
6120 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6123 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6124 (elmo-message-fetch-plugged): Fixed.
6126 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6128 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6130 * elmo.el (elmo-folder-move-messages): Bind
6131 elmo-inhibit-display-retrieval-progress as t while moving messages.
6133 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6135 (elmo-inhibit-display-retrieval-progress): Ditto.
6137 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6138 for retrieval progress;
6139 Don't display progress when total buffer size is smaller than
6140 elmo-display-retrieval-progress-threshold.
6141 (elmo-message-fetch-plugged): Don't display progress when
6142 elmo-inhibit-display-retrieval-progress is non-nil.
6144 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6145 for retrieval progress;
6146 Don't display progress when literal size is smaller than
6147 elmo-display-retrieval-progress-threshold.
6148 (elmo-imap4-message-fetch): Don't display progress when
6149 elmo-inhibit-display-retrieval-progress is non-nil.
6151 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6153 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6154 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6155 (elmo-imap4-message-fetch): Likewise.
6157 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6158 (elmo-shimbun-index-range-alist): Ditto.
6159 (elmo-shimbun-use-entire-index): Abolish.
6160 (shimbun-mua-use-entire-index): Ditto.
6161 (elmo-shimbun-folder): Added new slot `range'.
6162 (elmo-folder-initialize): Setup slot `range'.
6164 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6166 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6167 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6168 (elmo-shimbun-get-headers): Use return value of
6169 `shimbun-article-expiration-days'.
6170 (elmo-folder-close-internal): Clean up last-check slot.
6172 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6173 (elmo-pop3-total-size): New variable.
6174 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6176 * elmo.el (elmo-folder-reserve-status-p): New method.
6178 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6179 (elmo-shimbun-use-entire-index): New user option.
6180 (shimbun-elmo-mua): New class.
6181 (shimbun-mua-search-id): Define.
6182 (shimbun-mua-use-entire-index): Ditto.
6183 (elmo-shimbun-folder:last-check): New slot.
6184 (elmo-shimbun-headers-cache-header-list): Abolish.
6185 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6186 (elmo-shimbun-headers-cache-header-hash): Ditto.
6187 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6188 (elmo-shimbun-headers-cache-last-check): Ditto.
6189 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6190 (elmo-shimbun-headers-check-p): Rewrite.
6191 (elmo-shimbun-msgdb-to-headers): New function.
6192 (elmo-shimbun-get-headers): Rewrite.
6193 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6194 (elmo-folder-open-internal): Get headers only if
6195 `elmo-shimbun-headers-check-p' is non-nil.
6196 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6198 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6199 (elmo-quit): Removed.
6201 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6203 (elmo-msgdb-overview-entity-set-extra): Ditto.
6204 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6206 * elmo-map.el (elmo-folder-status): Don't call
6207 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6210 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6212 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6213 of `elmo-msgdb-search-internal-primitive' when condition's car is
6216 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6218 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6220 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6222 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6223 call `elmo-pipe-drain'.
6225 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6227 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6228 typo. (elmo-cache-folder -> elmo-mark-folder)
6230 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6232 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6233 `elmo-message-fetch'.
6235 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6237 * elmo-net.el (elmo-message-encache): Fixed typo.
6238 (elmo-message-fetch-unplugged): Changed call
6239 `elmo-message-fetch-internal' without argument `outbuf'.
6241 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6243 * elmo.el (elmo-message-encache): Define as generic function.
6244 (elmo-message-fetch-field): New generic function.
6245 (elmo-message-fetch-with-cache-process): Cause an error when
6246 fetch strategy is 'entire but only 'section cache is available.
6247 (toplevel): Fixed nmz folder definition.
6249 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6250 (elmo-msgdb-resume-list-filename): Ditto.
6251 (elmo-queue-filename): Ditto.
6252 (elmo-enable-disconnected-operation): Changed default value to t.
6254 * elmo-util.el (elmo-cache-path-section-p): New function.
6255 (elmo-file-cache-get): Use it.
6256 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6257 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6258 (elmo-dop-queue-save): Ditto.
6260 * elmo-net.el (elmo-folder-status-unplugged): Call
6261 elmo-folder-status-dop.
6262 (elmo-folder-list-messages-unplugged): Implemented.
6263 (elmo-folder-delete-messages-unplugged): Define.
6264 (elmo-folder-msgdb-create): Define.
6265 (elmo-folder-msgdb-create-unplugged): Define.
6266 (elmo-folder-mark-as-read-unplugged): Ditto.
6267 (elmo-folder-unmark-read-unplugged): Ditto.
6268 (elmo-folder-mark-as-important-unplugged): Ditto.
6269 (elmo-folder-unmark-important-unplugged): Ditto.
6270 (elmo-message-encache): Ditto.
6272 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6273 (elmo-dop-queue-save): Ditto.
6275 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6276 `elmo-folder-msgdb-create'.
6277 (elmo-folder-append-buffer): Implemented unplugged operation.
6278 (elmo-folder-append-messages): Call parent method in unplugged status.
6279 (elmo-message-fetch-unplugged): Removed definition.
6280 (elmo-message-fetch-field): Implemented.
6282 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6283 (elmo-dop-folder): Removed variable definition.
6284 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6285 (elmo-dop-queue-flush): Implemented.
6286 (elmo-dop-queue-merge): Removed definition (TODO).
6287 (elmo-dop-spool-folder): New function.
6288 (elmo-dop-spool-folder-append-buffer): Ditto.
6289 (elmo-dop-spool-folder-list-messages): Ditto.
6290 (elmo-dop-list-deleting-messages): Ditto.
6291 (elmo-folder-append-buffer-dop): Ditto.
6292 (elmo-folder-delete-messages-dop): Ditto.
6293 (elmo-message-encache-dop): New inline function.
6294 (elmo-create-folder-dop): Ditto.
6295 (elmo-folder-mark-as-read-dop): Ditto.
6296 (elmo-folder-unmark-read-dop): Ditto.
6297 (elmo-folder-mark-as-important-dop): Ditto.
6298 (elmo-folder-unmark-important-dop): Ditto.
6299 (elmo-folder-status-dop): Fixed.
6300 (elmo-folder-append-buffer-dop-delayed): New function.
6301 (elmo-folder-delete-messages-dop-delayed): Ditto.
6302 (elmo-dop-msgdb): Ditto.
6304 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6306 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6308 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6310 * elmo.el (elmo-folder-move-messages): Fixed problem when
6311 `dst-folder' is 'null.
6313 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6315 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6316 instead of current mark.
6318 * elmo-multi.el (elmo-folder-list-importants-internal): No
6319 operation if importants is not list.
6321 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6322 Return t if importants is not list.
6324 * elmo-map.el (elmo-map-folder-list-importants): Define.
6325 (elmo-folder-list-importants-internal): Check return value of
6326 `elmo-map-folder-list-importants-internal'.
6328 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6330 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6332 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6334 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6336 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6338 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6339 (Patch is provided by <kita@coe.nttdata.co.jp>).
6341 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6343 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6346 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6348 * elmo.el (elmo-message-fetch): Define.
6349 (elmo-message-fetch-with-cache-process): New generic method.
6350 (elmo-message-fetch-internal): New generic method.
6351 (elmo-folder-synchronize):
6353 * elmo-archive.el (elmo-message-fetch-internal): Define.
6354 (elmo-message-fetch): Eliminated.
6356 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6357 (elmo-message-fetch): Eliminated.
6359 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6361 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6363 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6364 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6366 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6367 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6369 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6371 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6373 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6375 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6376 (elmo-message-fetch-unplugged): New generic method.
6377 (elmo-message-fetch-internal): Remove cache process (Renamed from
6378 `elmo-message-fetch').
6380 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6381 (elmo-message-fetch): Eliminated.
6382 (elmo-message-fetch-unplugged): Ditto.
6384 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6386 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6388 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6389 of `to-be-deleted' from number-alist to number-list.
6391 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6393 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6394 (elmo-folder-mark-as-important): Ditto.
6396 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6398 * elmo.el (elmo-folder): Added process-duplicates slot.
6400 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6401 (elmo-folder-unmark-read): Ditto.
6402 (elmo-folder-unmark-important): Ditto.
6403 (elmo-folder-mark-as-important): Ditto.
6405 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6406 duplicated message processing.
6408 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6410 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6412 * elmo-util.el (elmo-list-subdirectories-1): New function.
6413 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6414 (elmo-mapcar-list-of-list): New function.
6416 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6417 `elmo-mapcar-list-of-list' instead of `mapcar'.
6419 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6421 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6422 `elmo-have-link-count'. Return the fully qualified folder name.
6424 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6426 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6427 (elmo-shimbun-headers-cache): New internal variable.
6428 (elmo-shimbun-headers-cache-header-list): New inline function.
6429 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6430 (elmo-shimbun-headers-cache-header-hash): Ditto.
6431 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6432 (elmo-shimbun-headers-cache-last-check): Ditto.
6433 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6434 (elmo-shimbun-lapse-seconds): Ditto.
6435 (elmo-shimbun-headers-cache-check-p): Ditto.
6436 (elmo-shimbun-get-headers): New function.
6437 (elmo-folder-open-internal): Call it.
6438 (elmo-quit): Define (Clear headers-cache).
6440 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6442 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6444 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6445 (elmo-msgdb-flist-save): Ditto.
6447 * elmo-shimbun.el (elmo-folder-list-subfolders):
6448 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6449 (elmo-folder-exists-p): Ditto.
6451 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6452 argument for `shimbun-header-insert'.
6454 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6456 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6459 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6460 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6462 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6464 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6465 (elmo-folder-plugged-p): Define.
6466 (elmo-folder-set-plugged): Ditto.
6467 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6468 (elmo-folder-list-messages-internal): Return t if unplugged.
6469 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6471 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6472 when elmo-folder-list-messages-internal method of children returns t.
6474 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6476 (elmo-folder-open-internal): Don't update if unplugged status.
6478 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6480 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6483 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6485 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6487 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6490 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6492 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6494 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6495 (elmo-folder-open-internal): Set up headers slot.
6496 (elmo-folder-check): Call elmo-folder-close-internal and
6497 elmo-folder-open-internal.
6498 (elmo-folder-close-internal): Clean up headers slot.
6500 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6502 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6503 exactly folder list.
6504 (elmo-folder-append-messages): Fixed append archive with prefix.
6506 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6507 make temp files with start-number.
6509 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6511 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6513 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6514 argument `visible-only'.
6515 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6518 * elmo-pop3.el (elmo-folder-open-internal): Check
6519 `elmo-inhibit-number-mapping' is non-nil.
6521 * elmo-pipe.el (elmo-folder-status): Fixed.
6523 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6525 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6527 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6528 (elmo-folder-open-internal): Setup `header-hash' slot.
6529 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6531 (elmo-map-message-fetch): Ditto.
6533 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6535 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6536 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6537 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6538 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6540 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6542 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6544 * sb-airs.el: Added footer.
6546 * shimbun.el (shimbun-article): Define as luna-method.
6548 * sb-tcup.el: New file.
6550 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6551 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6553 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6555 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6556 (shimbun-get-headers): Ditto.
6558 * elmo.el: Moved obsolete variable definitions from
6559 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6561 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6564 * shimbun.el: New file.
6566 * elmo-shimbun.el: New file.
6568 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6569 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6570 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6571 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6573 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6575 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6578 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6580 * elmo.el (elmo-folder-msgdb): Define as macro.
6581 (elmo-folder-open): Added argument `load-msgdb'.
6582 (elmo-generic-folder-open): Ditto.
6583 (elmo-folder-encache): New function.
6585 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6587 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6589 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6590 Eliminated argument FOLDER and added argument MSGDB.
6591 (elmo-dop-queue-load): Moved from elmo-dop.el.
6592 (elmo-dop-queue-save): Ditto.
6594 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6596 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6598 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6599 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6600 (elmo-filter-folder-list-importants-internal): Ditto.
6602 * elmo-map.el (elmo-folder-pack-number): Ditto.
6604 * elmo-mime.el (elmo-mime-message-display): Ditto.
6606 * elmo.el (elmo-generic-folder-commit): Ditto.
6607 (elmo-folder-list-unreads): Ditto.
6608 (elmo-folder-list-importants): Ditto.
6609 (elmo-generic-folder-commit): Ditto.
6610 (elmo-message-set-mark): Ditto.
6611 (elmo-generic-folder-append-msgdb): Ditto.
6612 (elmo-folder-synchronize): Ditto.
6613 (elmo-folder-messages): Ditto.
6614 (elmo-init): Call elmo-dop-queue-load.
6615 (elmo-folder-list-messages): Ditto.
6617 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6618 (elmo-nntp-folder-process-crosspost): Ditto.
6619 (elmo-folder-list-unreads-internal): Ditto.
6621 * elmo-dop.el: Removed old functions.
6623 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6625 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6626 `folder' to `msgdb'.
6628 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6630 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6631 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6633 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6636 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6638 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6641 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6642 (mmimap-parse-parameters-from-list): Define as alias for
6643 `mime-decode-parameter-plist' if it is defined as function.
6644 (mmimap-make-mime-entity): Added argument `number'.
6645 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6647 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6649 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6651 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6653 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6655 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6657 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6659 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6660 when elmo-imap4-default-authenticate-type is nil.
6661 (elmo-folder-list-subfolders): Ditto
6662 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6663 (elmo-imap4-fetch-callback-1-subr): Renamed from
6664 `elmo-imap4-fetch-callback-1' and define as inline function.
6665 (elmo-imap4-fetch-callback-1):
6666 Renamed from `elmo-imap4-fetch-callback'.
6667 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6669 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6670 msgdb path (To keep compatibility with main trunk).
6672 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6674 * elmo-util.el (elmo-make-file-cache): Moved position of
6677 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6678 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6679 instead of `elmo-pop3-inhibit-uidl'.
6680 (elmo-folder-exists-p): Ditto.
6681 (elmo-pop3-folder-list-messages): Ditto.
6683 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6684 instead of `elmo-pop3-inhibit-uidl'.
6685 (elmo-folder-status): Ditto.
6687 * elmo-dop.el (elmo-dop-folder): New variable.
6688 (elmo-dop-lock-message): Eliminated.
6689 (elmo-dop-unlock-message): Ditto.
6690 (elmo-dop-lock-list-load): Ditto.
6691 (elmo-dop-lock-list-save): Ditto.
6692 (elmo-dop-delete-folder): Ditto.
6693 (elmo-dop-rename-folder): Ditto.
6695 * elmo.el: Removed incomplete commentary.
6697 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6699 * elmo.el (toplevel): Require 'elmo-version first;
6700 for little `recursive-load-depth' settings.
6701 Fix "ends here" comment.
6703 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6705 * elmo-util.el (toplevel): Require 'poem;
6706 Some functions are moved from elmo-cache.el.
6708 * elmo-net.el (toplevel): Require 'elmo-cache.
6710 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6712 * elmo.el (toplevel): Ditto.
6714 * elmo-cache.el: Rewrite with luna;
6715 Some functions are moved to elmo-util.el.
6717 * elmo-internal.el (elmo-internal-folder-list): New variable.
6718 (elmo-internal-folder-initialize): Rewrite.
6719 (elmo-folder-list-subfolders): Ditto.
6721 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6722 (elmo-cache-collect-sub-directories): Ditto.
6724 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6726 * elmo-version.el (elmo-version): Up to 2.5.8.
6728 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6730 * elmo-util.el (elmo-list-insert): New function.
6732 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6734 * elmo.el (elmo-init): New function.
6735 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6737 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6738 (Renamed from `elmo-localdir-header-chop-length').
6740 * elmo-pop3.el (elmo-pop3-use-cache,
6741 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6743 * elmo-nntp.el (elmo-message-fetch): Define.
6744 (elmo-message-fetch-unplugged): Ditto.
6745 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6746 (elmo-nntp-use-cache): Ditto.
6747 (elmo-nntp-max-number-precedes-list-active): Ditto.
6749 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6751 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6752 `elmo-msgdb-insert-file-header'.
6753 Use `elmo-msgdb-file-header-chop-length'.
6755 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6758 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6759 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6760 `elmo-msgdb-insert-file-header'.
6762 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6764 Define obsolete variables with `elmo-define-obsolete-variable',
6766 * elmo-util.el (elmo-warning-buffer-name): New constant.
6767 (elmo-warning): New function.
6768 (elmo-obsolete-variable-alist): New variable.
6769 (elmo-obsolete-variable-show-warnings): New variable.
6770 (elmo-define-obsolete-variable): New function.
6771 (elmo-resque-obsolete-variable): Ditto.
6772 (elmo-resque-obsolete-variables): Ditto.
6774 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6776 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6779 * elmo-pop3.el, elmo-nntp.el: Use custom.
6781 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6783 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6784 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6786 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6788 * Luna-fy Kenichi OKADA's following changes.
6789 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6791 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6793 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6795 * elmo-util.el (elmo-display-progress): Prefer
6796 `progress-feedback-with-label' to `lprogress-display'.
6798 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6800 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6802 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6804 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6805 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6806 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6807 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6808 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6809 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6810 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6811 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6812 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6813 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6814 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6815 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6816 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6818 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6820 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6821 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6823 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6825 * elmo.el (elmo-folder-process-crosspost): New generic method.
6826 (elmo-folder-writable-p): Ditto.
6827 (elmo-folder-message-appendable-p): Eliminated.
6828 (elmo-generic-folder-append-msgdb): Rewrite.
6829 (elmo-newsgroups-hashtb): New internal variable.
6830 (elmo-crosspost-message-set): Eliminated.
6831 (elmo-crosspost-message-delete): Ditto.
6832 (elmo-setup-subscribed-newsgroups): New function.
6833 (elmo-crosspost-message-alist-modified): New internal variable.
6834 (elmo-crosspost-message-alist-load): New function (Renamed from
6835 `wl-crosspost-alist-load').
6836 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6837 `wl-crosspost-alist-save').
6839 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6841 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6843 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6844 elmo-newsgroups-hashtb).
6845 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6846 `elmo-nntp-folder-update-crosspost-message-alist'.
6847 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6848 `elmo-nntp-groups-hashtb'.
6849 (elmo-nntp-make-groups-hashtb): Eliminated.
6850 (elmo-nntp-parse-newsgroups): New function (Renamed from
6851 `wl-parse-newsgroups').
6852 (elmo-folder-creatable-p, elmo-folder-writable-p,
6853 elmo-folder-close-internal, elmo-folder-mark-as-read,
6854 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6856 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6858 * elmo-net.el (elmo-message-fetch): Check buffer size.
6860 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6862 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6864 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6865 before `close' command.
6867 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6868 `mark-alist' (All other related portions are changed).
6870 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6872 * elmo-util.el (elmo-create-hash-size): Eliminated.
6873 (elmo-make-hash) Make a hash with `one less than a power of two'
6876 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6877 (elmo-hash-maximum-size): Changed value.
6879 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6881 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6882 (elmo-mime-message-display-as-is): Ditto.
6884 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6886 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6887 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6889 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6891 * elmo-mark.el: New file.
6893 * elmo-internal.el: Rewrite (Almost empty).
6895 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6897 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6898 (mime-imap-entity-header-string): Ditto.
6899 (mmimap-entity-section): Rewrite.
6901 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6903 * elmo-nmz.el: New file.
6905 * elmo-pipe.el: Rewrite with luna.
6907 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6909 * elmo-archive.el: Rewrite with luna.
6911 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6912 (elmo-folder-list-importants-internal): Ditto.
6914 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6916 * elmo-archive.el (elmo-archive-version): Abolish.
6917 (toplevel) Removed `boso' comment.
6919 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6921 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6922 elmo-msgdb-add-msgs-to-seen-list-subr;
6923 Changed argument seen-marks to unread-marks.
6925 * elmo-nntp.el: Rewrite with luna.
6927 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6929 * elmo-filter.el: Rewrite with luna.
6931 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6933 * elmo-pop3.el: Rewrite with luna.
6935 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6937 * elmo-multi.el: Rewrite with luna.
6939 * elmo-vars.el (elmo-use-killed-list): Abolish.
6940 All other related portions are changed.
6941 (elmo-filename-replace-string-alist): Renamed from
6942 elmo-msgid-replace-string-alist.
6944 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6946 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6948 * elmo-map.el: New file.
6949 * elmo-maildir.el: Rewrite with luna.
6951 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6953 * elmo.el: Changed meaning of `elmo-folder-commit'.
6954 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6956 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6958 * elmo.el (elmo-folder-append-buffer): New function.
6959 (Renamed from `elmo-append-msg')
6961 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6963 * elmo-mime.el: New file.
6965 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6967 * elmo-cache.el: Rewrite.
6969 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6971 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6973 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6975 * elmo-vars.el (elmo): New group.
6976 (elmo-strict-diff-folder-regexp): New variable.
6978 * elmo-util.el (elmo-call-func): Abolish.
6979 (elmo-folder-get-type): Ditto.
6980 (elmo-*-get-spec): Ditto.
6981 (elmo-*-spec-*): Ditto.
6982 (elmo-imap4-identical-name-space-p): Ditto.
6983 (elmo-folder-identical-system-p): Ditto.
6984 (elmo-folder-direct-copy-alist): Ditto.
6985 (elmo-folder-direct-copy-p): Ditto.
6987 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6988 (elmo-folder-initialize): Define.
6989 (elmo-folder-get-primitive-list): Ditto.
6991 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6992 (elmo-folder-initialize): Define.
6993 Renamed `elmo-network-session-host-internal' to
6994 `elmo-network-session-server-internal'.
6996 * elmo-multi.el (elmo-multi-folder): New luna class.
6997 (elmo-folder-initialize): Define.
6998 (elmo-folder-get-primitive-list): Ditto.
6999 (elmo-folder-contains-type): Ditto.
7000 (elmo-message-use-cache-p): Ditto.
7002 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7003 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7005 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7006 (elmo-folder-initialize): Define.
7008 * elmo-filter.el (elmo-filter-folder): New luna class.
7009 (elmo-folder-initialize): Define.
7010 (elmo-folder-get-primitive-list): Ditto.
7011 (elmo-folder-contains-type): Ditto.
7013 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7015 * elmo-imap4.el: Rewrite with luna.
7017 * mmimap.el: New file.
7019 * mmelmo.el, mmelmo-imap4.el: Removed.
7021 * elmo-net.el: Ditto.
7023 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7024 (elmo-folder-initialize): Define.
7026 * elmo-archive.el (elmo-archive-folder): New luna class.
7027 (elmo-folder-initialize): Define.
7029 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7030 `elmo-folder-msgdb-path'.
7031 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7034 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7036 * elmo.el: New file.
7038 * elmo2.el: Renamed to elmo.el.
7041 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7043 * elmo-cache.el (elmo-cache-expire-by-size): Count
7044 a disk usage for a cache file entry in KB even when
7045 its kind is a directory.
7047 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7049 * elmo-version.el (elmo-version): Up to 2.5.7.
7051 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7053 * elmo-version.el (elmo-version): Up to 2.5.6.
7055 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7057 * elmo-version.el (elmo-version): Up to 2.5.5.
7059 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7061 * elmo-imap4.el (elmo-network-authenticate-session):
7062 Fixed a logic for response checking.
7064 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7066 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7067 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7068 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7071 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7072 for `starttls-open-stream' and `starttls-negotiate'.
7074 * elmo-nntp.el: Remove autoload settings for
7075 `starttls-open-stream' and `starttls-negotiate'.
7077 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7078 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7079 `luna-define-class' with `eval-and-compile'.
7081 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7083 * elmo-util.el (elmo-read-search-condition-internal):
7084 Require an element of table for searching field.
7086 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7088 * elmo-version.el (elmo-version): Up to 2.5.4.
7090 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7092 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7094 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7096 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7098 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7100 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7103 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7105 * elmo-imap4.el (elmo-imap4-delete-folder):
7106 Send "close" before "delete" (Use commented out line).
7107 (elmo-imap4-rename-folder): Ditto.
7109 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7110 folder string itself.
7111 (elmo-dop-list-deleted): New function.
7112 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7115 * elmo-util.el (elmo-string-rassoc-all): New function.
7117 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7119 * elmo-version.el (elmo-version): Up to 2.5.3.
7121 * elmo-net.el (elmo-network-get-session): Changed logic for
7122 checking process status.
7124 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7126 Changed logic for checking process status.
7128 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7130 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7132 (elmo-network-setup-session): Set UIDL hash size according to
7133 the length of list response.
7134 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7135 according to the length of list response;
7136 Return the length of list response.
7137 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7139 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7141 * elmo-imap4.el (toplevel): Require 'ssl.
7142 Add autoload 'starttls.
7143 * elmo-pop3.el (toplevel): Ditto.
7144 * elmo-nntp.el (toplevel): Ditto.
7146 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7148 * elmo-imap4.el (toplevel): defun at compile time.
7149 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7150 sasl-next-step, sasl-step-data, sasl-step-set-data.
7151 * elmo-pop3.el (toplevel): Ditto.
7153 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7155 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7157 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7159 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7161 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7162 and `elmo-pop-auth-apop'.
7164 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7166 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7168 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7170 * elmo-pop3.el (elmo-network-authenticate-session): Split
7171 encoded response value.
7173 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7175 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7176 `elmo-pop3-force-login'.
7177 Redefine `sasl-mechanisms'.
7178 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7180 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7182 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7183 Delete `elmo-imap4-authenticator-alist'.
7184 (elmo-imap4-auth-cram-md5): Delete.
7185 (elmo-imap4-auth-digest-md5): Delete.
7187 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7189 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7190 (elmo-pop3-auth-scram-md5): Ditto.
7191 (elmo-pop3-auth-cram-md5): Ditto.
7193 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7195 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7196 Delete `elmo-pop3-authenticator-alist'.
7198 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7200 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7202 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7204 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7206 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7208 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7210 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7211 Fixed problem when `elmo-pop3-use-uidl' is nil.
7212 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7214 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7216 * elmo-version.el (elmo-version): Up to 2.5.2.
7218 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7220 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7222 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7223 (elmo-pop3-msgdb-create-as-numlist): Use it.
7225 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7226 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7228 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7229 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7231 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7233 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7234 when elmo-mark-as-read is called with second argument nil.
7236 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7238 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7239 Moved to elmo-util.el.
7241 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7242 Moved from elmo-pipe.el
7244 * elmo-archive.el (elmo-archive-call-process): Enclose with
7247 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7248 "RFC822" (because RFC822.PEEK is obsolete).
7249 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7251 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7253 * elmo-archive.el (elmo-archive-call-process): Don't check for
7254 the exit status when Nemacs is running.
7256 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7258 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7261 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7262 (elmo-pop3-get-spec): Set default of auth to 'user.
7264 * elmo-imap4.el (elmo-imap4-session-check):
7265 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7266 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7267 (elmo-imap4-auth-login): New function; Revival.
7268 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7269 `elmo-imap4-auth-login'.
7271 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7273 * elmo2.el (toplevel): Move `product-provide' declare.
7274 * mmelmo.el (toplevel): Ditto.
7276 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7278 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7280 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7282 * elmo-util.el (elmo-folder-get-store-type): New function.
7283 (elmo-folder-direct-copy-p): Use it.
7285 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7287 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7288 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7289 and result of `elmo-imap4-use-flag-p'.
7290 (elmo-imap4-fetch-callback-1): Set mark according to
7291 the result of `elmo-imap4-use-flag-p'.
7293 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7295 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7296 (elmo-generic-list-folder-unread): Ditto.
7297 (elmo-folder-get-info): Ditto.
7298 (elmo-folder-set-info-max-by-numdb): Ditto.
7299 (elmo-folder-get-info-max): Ditto.
7300 (elmo-folder-get-info-length): Ditto.
7301 (elmo-folder-get-info-unread): Ditto.
7302 (elmo-folder-info-make-hashtb): Ditto.
7304 * elmo2.el: Removed above functions.
7306 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7308 * elmo-imap4.el (toplevel): Require 'ssl.
7309 Add autoload 'starttls.
7310 * elmo-pop3.el (toplevel): Ditto.
7311 * elmo-nntp.el (toplevel): Ditto.
7313 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7315 * elmo-imap4.el (toplevel): defun at compile time.
7316 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7317 sasl-next-step, sasl-step-data, sasl-step-set-data.
7318 * elmo-pop3.el (toplevel): Ditto.
7320 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7322 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7324 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7326 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7328 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7329 and `elmo-pop-auth-apop'.
7331 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7333 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7335 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7337 * elmo-pop3.el (elmo-network-authenticate-session): Split
7338 encoded response value.
7340 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7342 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7343 `elmo-pop3-force-login'.
7344 Redefine `sasl-mechanisms'.
7345 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7347 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7349 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7350 Delete `elmo-imap4-authenticator-alist'.
7351 (elmo-imap4-auth-cram-md5): Delete.
7352 (elmo-imap4-auth-digest-md5): Delete.
7354 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7356 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7357 (elmo-pop3-auth-scram-md5): Ditto.
7358 (elmo-pop3-auth-cram-md5): Ditto.
7360 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7362 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7363 Delete `elmo-pop3-authenticator-alist'.
7365 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7367 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7369 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7372 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7374 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7376 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7378 * elmo-nntp.el (elmo-nntp-get-folders-info):
7379 Fixed problem when '\' character is contained in user-id.
7380 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7383 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7385 * elmo-imap4.el (elmo-imap4-delete-folder):
7386 Send "close" before "delete" (Use commented out line).
7387 (elmo-imap4-rename-folder): Ditto.
7389 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7390 folder string itself.
7391 (elmo-dop-list-deleted): New function.
7392 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7395 * elmo-util.el (elmo-string-rassoc-all): New function.
7397 * elmo-version.el (elmo-version): Up to 2.5.1.
7399 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7401 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7403 * elmo-internal.el (elmo-internal-search): Fix last change.
7405 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7407 * elmo-internal.el (elmo-internal-search): Rewrite.
7408 (Fixed problem which is pointed out by Akihiro MOTOKI
7409 <motoki@da.jp.nec.com>)
7411 * elmo-version.el (elmo-version): Up to 2.5.0.
7413 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7415 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7417 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7419 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7420 non-nil, make hierarchy.
7422 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7424 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7425 `elmo-pop3-use-uidl' must be bound to nil.
7426 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7428 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7430 * elmo-util.el (elmo-copy-file): Don't cause an error after
7431 `add-name-to-file' failed.
7433 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7434 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7436 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7438 * elmo-version.el (elmo-version): Up to 2.3.93.
7440 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7442 * elmo-util.el (elmo-flatten): New function.
7444 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7446 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7448 * elmo-cache.el (toplevel): Ditto.
7449 * elmo-database.el (toplevel): Ditto.
7450 * elmo-date.el (toplevel): Ditto.
7451 * elmo-dop.el (toplevel): Ditto.
7452 * elmo-filter.el (toplevel): Ditto.
7453 * elmo-imap4.el (toplevel): Ditto.
7454 * elmo-internal.el (toplevel): Ditto.
7455 * elmo-localdir.el (toplevel): Ditto.
7456 * elmo-localnews.el (toplevel): Ditto.
7457 * elmo-maildir.el (toplevel): Ditto.
7458 * elmo-msgdb.el (toplevel): Ditto.
7459 * elmo-multi.el (toplevel): Ditto.
7460 * elmo-net.el (toplevel): Ditto.
7461 * elmo-nntp.el (toplevel): Ditto.
7462 * elmo-pipe.el (toplevel): Ditto.
7463 * elmo-pop3.el (toplevel): Ditto.
7464 * elmo-util.el (toplevel): Ditto.
7465 * elmo-vars.el (toplevel): Ditto.
7466 * elmo2.el (toplevel): Ditto.
7467 * mmelmo-imap4.el (toplevel): Ditto.
7468 * mmelmo.el (toplevel): Ditto.
7470 * elmo-version.el (elmo-version): Move to top.
7472 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7473 * elmo-imap4.el (toplevel): Ditto.
7474 * elmo-localdir.el (toplevel): Ditto.
7475 * elmo-msgdb.el (toplevel): Ditto.
7476 * elmo-nntp.el (toplevel): Ditto.
7477 * elmo-pop3.el (toplevel): Ditto.
7478 * elmo-version.el (toplevel): Ditto.
7480 * elmo-localnews.el (toplevel): Added Keyword header.
7482 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7484 * elmo-version.el (product-version-as-string): Defined using
7488 * elmo-localdir.el (toplevel): Updated copyright notice.
7489 * elmo-version.el (toplevel): Ditto.
7490 * elmo-msgdb.el (toplevel): Ditto.
7491 * elmo-imap4.el (toplevel): Ditto.
7492 * elmo-nntp.el (toplevel): Ditto.
7493 * elmo-pop3.el (toplevel): Ditto.
7495 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7497 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7500 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7501 parameter value (It sometimes contains raw kanji).
7503 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7505 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7506 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7508 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7510 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7512 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7514 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7515 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7517 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7519 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7520 value if selecting folder succceeded.
7521 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7523 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7525 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7528 * elmo-util.el (elmo-string-matched-member): New function.
7530 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7532 * elmo-util.el (elmo-unintern): New macro.
7533 (elmo-number-set-member): Fixed docstring.
7535 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7538 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7540 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7541 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7543 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7545 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7548 Return non-nil if selecting folder succeeded.
7549 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7551 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7553 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7554 `file-name-completion' returns t.
7555 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7556 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7557 directory if it does not exist.
7558 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7561 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7563 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7564 enclosure (It's harmful in unplugged status).
7566 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7568 * mmelmo-1.el: Removed.
7570 * mmelmo-2.el: Ditto.
7572 * mmelmo-imap4-1.el: Ditto.
7574 * mmelmo-imap4-2.el: Ditto.
7576 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7578 * mmelmo.el: Merged mmelmo-2.el.
7580 * elmo-version.el (elmo-version): Up to 2.3.92.
7582 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7584 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7585 elmo-update-number): Remove last period in "...done." message.
7586 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7588 * elmo-cache.el (elmo-cache-expire-by-size,
7589 elmo-cache-get-sorted-cache-file-list,
7590 elmo-cache-msgdb-create-as-numlist): Ditto.
7591 * elmo-dop.el (elmo-dop-save-pending-messages,
7592 (elmo-dop-flush-pending-append-operations): Ditto.
7593 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7594 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7595 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7596 (elmo-localdir-pack-number): Ditto.
7597 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7598 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7599 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7600 mime-write-entity-content): Ditto.
7601 * pldap.el (ldap-search-basic): Ditto.
7603 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7605 * elmo-version.el (elmo-version): Up to 2.3.91.
7607 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7608 Only when filter is 'last'.
7610 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7611 (elmo-condition-parse-search-value): Use it.
7612 (elmo-read-search-condition-internal): Quote value only when
7615 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7617 * elmo2.el (elmo-generic-folder-diff): Fix.
7619 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7621 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7622 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7623 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7624 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7625 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7626 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7628 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7630 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7633 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7635 * elmo-version.el (elmo-version): Up to 2.3.90.
7637 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7638 (elmo-imap4-list-folder-important): Ditto.
7640 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7642 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7644 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7646 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7648 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7650 * elmo-nntp.el (elmo-network-initialize-session):
7651 Add starttls negotiation.
7653 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7655 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7657 (elmo-network-setup-session): Define.
7658 Call `elmo-nntp-send-mode-reader' when session opened.
7660 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7662 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7664 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7666 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7667 an invalid SPACE character ahead of `SEARCH' command. Move
7668 a valid SPACE character following `SEARCH' from conditional
7669 `format' arguments to control-strings.
7671 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7673 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7676 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7678 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7680 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7681 `w32-get-true-file-link-count' as t.
7683 * elmo-imap4.el (elmo-imap4-read): Abolished.
7684 (Renamed to `elmo-read' and moved to elmo-util.el)
7685 All other related portions are changed.
7687 * elmo-util.el (elmo-read): New function.
7688 (elmo-condition-parse-search-value): Use it.
7690 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7692 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7694 * elmo-nntp.el (elmo-nntp-session): Define.
7695 (elmo-nntp-setting): Abolished.
7696 All other related portions are changed.
7697 (elmo-nntp-get-server-command): Changed argument.
7698 (elmo-nntp-set-server-command): Ditto.
7699 (elmo-nntp-xover-p): Ditto.
7700 (elmo-nntp-set-xover): Ditto.
7701 (elmo-nntp-listgroup-p): Ditto.
7702 (elmo-nntp-set-listgroup): Ditto.
7703 (elmo-nntp-list-active-p): Ditto.
7704 (elmo-nntp-set-list-active): Ditto.
7705 (elmo-nntp-xhdr-p): Ditto.
7706 (elmo-nntp-set-xhdr): Ditto.
7707 (elmo-nntp-flush-connection): Abolished.
7708 (elmo-nntp-get-connection): Abolished.
7709 (elmo-nntp-get-session): New function.
7710 (elmo-network-initialize-session): Defined.
7711 (elmo-network-authenticate-session): Ditto.
7712 (elmo-nntp-send-mode-reader): Changed argument.
7713 (elmo-nntp-send-command): Changed argument.
7714 All other related portions are changed.
7715 (elmo-nntp-read-response): Ditto.
7716 (elmo-nntp-read-raw-response): Ditto.
7717 (elmo-nntp-read-contents): Ditto.
7718 (elmo-nntp-read-body): Ditto.
7719 (elmo-nntp-goto-folder): Abolished.
7720 (elmo-nntp-select-group): New function.
7721 All other related portions are changed.
7722 (This function substitutes `elmo-nntp-goto-folder')
7723 (elmo-nntp-msgdb-create-by-header): Rewrite.
7724 (elmo-nntp-get-overview): Eliminated.
7725 (elmo-nntp-get-message): Ditto.
7726 (elmo-nntp-open-connection) Abolished.
7727 (elmo-nntp-read-msg): Rewrite.
7728 (elmo-nntp-post): Ditto.
7729 (elmo-nntp-send-data): Abolished.
7730 (elmo-nntp-send-buffer): New function.
7731 (elmo-nntp-send-data-line): Define as inline function.
7732 (elmo-nntp-get-folders-info-prepare): Use session as key.
7733 (elmo-nntp-groups-read-response): Changed argument.
7734 (elmo-nntp-retrieve-headers): Ditto.
7735 (elmo-nntp-msgdb-create-message): Ditto.
7737 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7738 when searching by 'since' or 'before'.
7740 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7742 * elmo-version.el (toplevel): Use product-version-as-string for set
7743 verstion-string, if defined.
7745 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7747 * elmo-util.el: Doc fixes.
7749 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7751 * elmo-archive.el (toplevel): Use product-provide.
7752 * elmo-cache.el (toplevel): Ditto.
7753 * elmo-database.el (toplevel): Ditto.
7754 * elmo-date.el (toplevel): Ditto.
7755 * elmo-dop.el (toplevel): Ditto.
7756 * elmo-filter.el (toplevel): Ditto.
7757 * elmo-imap4.el (toplevel): Ditto.
7758 * elmo-internal.el (toplevel): Ditto.
7759 * elmo-localdir.el (toplevel): Ditto.
7760 * elmo-localnews.el (toplevel): Ditto.
7761 * elmo-maildir.el (toplevel): Ditto.
7762 * elmo-msgdb.el (toplevel): Ditto.
7763 * elmo-multi.el (toplevel): Ditto.
7764 * elmo-net.el (toplevel): Ditto.
7765 * elmo-nntp.el (toplevel): Ditto.
7766 * elmo-pipe.el (toplevel): Ditto.
7767 * elmo-pop3.el (toplevel): Ditto.
7768 * elmo-util.el (toplevel): Ditto.
7769 * elmo-vars.el (toplevel): Ditto.
7770 * elmo2.el (toplevel): Ditto.
7771 * mmelmo-1.el (toplevel): Ditto.
7772 * mmelmo-2.el (toplevel): Ditto.
7773 * mmelmo-imap4-1.el (toplevel): Ditto.
7774 * mmelmo-imap4-2.el (toplevel): Ditto.
7775 * mmelmo-imap4.el (toplevel): Ditto.
7776 * mmelmo.el (toplevel): Ditto.
7778 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7780 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7781 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7783 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7785 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7787 (elmo-multi-split-number-alist): Ditto.
7789 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7791 * elmo-version.el: New file. Use product.el.
7792 * elmo2.el: Add (require 'elmo-version).
7793 * elmo-vars.el (elmo-appname, elmo-version): Move to
7796 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7798 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7799 `elmo-msgdb-expand-path'.
7800 (elmo-msgdb-load): Ditto.
7801 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7802 (elmo-generic-list-folder-unread): Rewrite.
7803 (elmo-generic-list-folder-important): Changed argument.
7804 (elmo-list-folder-unread): Ditto.
7805 (elmo-list-folder-important): Ditto.
7806 (elmo-folder-diff): Rewrite.
7807 (elmo-generic-folder-diff): New function.
7808 (elmo-multi-get-number-alist-list): Abolished
7809 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7810 (elmo-multi-folder-diff): Moved to elmo-multi.el
7811 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7813 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7814 `elmo-msgdb-expand-path'.
7815 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7816 (elmo-pop3-read-msg): Ditto.
7817 (elmo-pop3-delete-msgs): Ditto.
7818 (elmo-pop3-folder-diff): New alias.
7820 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7821 `elmo-msgdb-expand-path'.
7822 (elmo-pipe-list-folder-unread): Changed arguments.
7823 (elmo-pipe-list-folder-important): Ditto.
7824 (elmo-pipe-folder-diff): New alias.
7826 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7827 `elmo-msgdb-expand-path'.
7828 (elmo-nntp-max-of-folder): Ditto.
7829 (elmo-nntp-msgdb-create): Ditto.
7830 (elmo-nntp-delete-msgs): Ditto.
7831 (elmo-nntp-folder-diff): New alias.
7833 * elmo-multi.el (elmo-multi-folder-diff): New function.
7834 (elmo-multi-split-mark-alist): Ditto.
7835 (elmo-multi-split-number-alist): Ditto.
7836 (elmo-multi-mark-alist-list): Abolished (Renamed to
7837 elmo-multi-split-mark-alist).
7838 (elmo-multi-list-folder-unread): Rewrite.
7839 (elmo-multi-list-folder-important): Ditto.
7840 (elmo-multi-list-folder): Set `spec' as 1st argument for
7841 `elmo-msgdb-expand-path'.
7842 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7843 instead of `elmo-multi-get-number-alist-list'.
7845 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7846 If 1st argument is not string, treat as spec.
7847 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7848 `elmo-msgdb-expand-path'.
7849 (elmo-msgdb-flist-load): Ditto.
7850 (elmo-msgdb-flist-save): Ditto.
7851 (elmo-msgdb-delete-path): Ditto.
7852 (elmo-msgdb-rename-path): Ditto.
7854 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7855 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7856 (elmo-maildir-delete-mark-msgs): Ditto.
7857 (elmo-maildir-msgdb-create): Ditto.
7858 (elmo-maildir-read-msg): Ditto.
7859 (elmo-maildir-delete-msgs): Ditto.
7860 (elmo-maildir-list-folder-subr): Ditto.
7861 (elmo-maildir-search): Ditto.
7862 (elmo-maildir-get-msg-filename): Ditto.
7863 (elmo-maildir-pack-number): Ditto.
7864 (elmo-maildir-folder-diff): New alias.
7866 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7868 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7869 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7870 (elmo-localdir-folder-diff): New alias.
7872 * elmo-internal.el (elmo-internal-list-folder-subr):
7873 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7874 (elmo-internal-list-folder-by-location): Ditto.
7875 (elmo-internal-msgdb-create): Ditto.
7876 (elmo-internal-delete-msgs): Ditto.
7877 (elmo-internal-read-msg): Ditto.
7878 (elmo-internal-folder-diff): New alias.
7880 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7881 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7882 `elmo-msgdb-expand-path'.
7883 (elmo-imap4-list-folder-unread): Changed arguments.
7884 (elmo-imap4-list-folder-important): Ditto.
7886 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7887 (elmo-filter-list-folder-important): Ditto.
7888 (elmo-filter-folder-diff): New function.
7890 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7892 * elmo-cache.el (elmo-cache-list-folder):
7893 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7894 (elmo-cache-copy-msgs): Ditto.
7895 (elmo-cache-folder-diff): New alias.
7897 * elmo-archive.el (elmo-archive-list-folder-subr):
7898 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7899 (elmo-archive-get-archive-name): Ditto.
7900 (elmo-archive-create-file): Ditto.
7901 (elmo-archive-append-msg): Ditto.
7902 (elmo-archive-copy-msgs): Ditto.
7903 (elmo-archive-copy-msgs-froms): Ditto.
7904 (elmo-archive-get-msg-filename): Ditto.
7905 (elmo-archive-folder-diff): New alias.
7907 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7909 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7910 (elmo-pop3-stream-type-alist): New variable.
7911 (elmo-nntp-stream-type-alist): New variable.
7913 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7914 (elmo-kill-buffer): Ditto.
7915 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7916 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7917 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7918 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7919 (elmo-imap4-get-spec): Take into account
7920 `elmo-imap4-stream-type-alist'.
7922 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7924 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7925 (elmo-nntp-list-folders-get-cache): Ditto.
7927 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7929 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7930 character before 'uid'.
7932 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7934 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7936 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7938 * elmo-util.el (elmo-number-set-member): New function.
7939 (elmo-number-set-append-list): Ditto.
7940 (elmo-number-set-append): Ditto.
7942 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7943 Use `elmo-number-set-member'.
7944 (elmo-living-messages): Ditto.
7945 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7946 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7948 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7949 (elmo-imap4-add-to-cont-list): Abolished.
7950 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7951 instead of elmo-imap4-add-to-cont-list.
7953 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7954 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7956 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7958 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7960 * elmo-util.el (elmo-condition-parse-search-value):
7963 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7965 * elmo-util.el (elmo-condition-find-key-internal): New function.
7966 (elmo-condition-find-key): Ditto.
7968 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7969 (elmo-msgdb-search-internal): Ditto.
7970 (elmo-msgdb-search): Ditto.
7972 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7974 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7975 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7977 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7978 (elmo-nntp-search-primitive): Fixed problem when condition is
7981 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7983 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7984 (elmo-nntp-xhdr-p): New macro.
7985 (elmo-nntp-set-xhdr): Ditto.
7986 (elmo-nntp-parse-xhdr-response): New function.
7987 (elmo-nntp-retrieve-field): Ditto.
7988 (elmo-nntp-search-primitive): Ditto.
7989 (elmo-nntp-search): Implemented.
7991 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7993 * elmo-archive.el (elmo-archive-search): Set all number list to
7994 `elmo-archive-field-condition-match'
7996 * elmo-localdir.el (elmo-localdir-search): Likewise.
7998 * elmo-maildir.el (elmo-maildir-search): Likewise.
8000 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8002 * elmo-msgdb.el (elmo-living-messages): New function.
8003 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8004 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8005 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8006 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8007 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8008 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8009 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8010 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8011 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8012 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8013 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8015 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8017 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8019 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8021 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8023 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8024 arguments for `SEARCH' command.
8025 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8026 All other related portions are changed.
8028 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8030 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8031 (elmo-list-folder-unread): Rewrite.
8032 (elmo-list-folder-important): Ditto.
8034 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8035 (elmo-condition-parse-error): New inline function.
8036 (elmo-read-search-condition): New function.
8037 (elmo-read-search-condition-internal): Ditto.
8038 (elmo-parse-search-condition): Rewrite.
8039 (elmo-condition-parse): New function.
8040 (elmo-condition-parse-or-expr): Ditto.
8041 (elmo-condition-parse-and-expr): Ditto.
8042 (elmo-condition-parse-primitive): Ditto.
8043 (elmo-condition-parse-search-value): Ditto.
8044 (elmo-buffer-field-primitive-condition-match): Ditto.
8045 (elmo-buffer-field-condition-match): Rewrite.
8046 (elmo-file-field-condition-match): Ditto.
8048 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8049 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8051 * elmo-internal.el (elmo-internal-search): Set `number' and
8052 `number-list' argument of `elmo-file-field-condition-match'.
8054 * elmo-maildir.el (elmo-maildir-search): Ditto.
8056 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8057 `msgdb' as argument instead of `mark-alist'.
8058 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8061 * elmo-multi.el: Likewise.
8063 * elmo-pipe.el: Likewise.
8065 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8066 (elmo-imap4-search-internal): Rewrite.
8067 (elmo-imap4-search): Ditto.
8069 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8070 (elmo-filter-list-folder-unread): Ditto.
8071 (elmo-filter-list-folder-important): Ditto.
8072 (elmo-filter-search): Rewrite.
8074 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8075 `number-list' argument of `elmo-file-field-condition-match'.
8076 (elmo-cache-search): Ditto.
8078 * elmo-localdir.el: Likewise.
8080 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8081 number-list and pass it to `elmo-buffer-field-condition-match'.
8082 (elmo-archive-field-condition-match): Pass `number-list' to
8083 `elmo-archive-field-condition-match'
8085 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8087 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8090 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8091 (elmo-folder-diff-async-callback-data): Ditto.
8092 (elmo-folder-diff-async): New function.
8094 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8095 (elmo-network-session-cache-key): Use it as a prefix of the session
8097 (elmo-network-open-session): Ditto.
8099 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8100 (elmo-imap4-status-callback-data): Ditto.
8101 (elmo-imap4-server-diff-async-callback): New variable.
8102 (elmo-imap4-server-diff-async-callback-data): Ditto.
8103 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8104 `elmo-imap4-status-callback-data'.
8105 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8106 `elmo-imap4-status-callback-data' as nil.
8107 (elmo-imap4-server-diff): Ditto.
8108 (elmo-imap4-server-diff-async-callback-1): New function.
8109 (elmo-imap4-server-diff-async): Ditto.
8110 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8112 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8114 * elmo-util.el (elmo-list-delete): Doc fix.
8115 (elmo-delete-lists): Abolish.
8116 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8117 instead of `elmo-delete-lists'.
8119 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8121 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8124 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8126 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8127 `elmo-imap4-literal-subr'.
8128 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8129 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8131 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8133 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8134 (elmo-archive-list-folder): Fix.
8135 (elmo-archive-max-of-folder): Fix.
8137 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8139 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8140 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8141 (elmo-localdir-append-msg): Ditto.
8142 (elmo-localdir-list-folder): Fix for `nonsort'.
8143 (elmo-localdir-list-folder-subr): Fix for `killed'.
8144 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8145 (elmo-maildir-list-folder-subr): Ditto.
8146 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8147 (elmo-archive-list-folder-subr): Ditto.
8148 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8149 (elmo-internal-list-folder-subr): Ditto.
8151 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8153 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8155 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8157 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8159 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8161 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8162 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8164 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8166 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8167 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8169 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8171 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8173 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8174 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8175 before STORE command.
8177 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8179 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8181 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8182 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8184 (elmo-imap4-list-folders): Removed unused local variable.
8185 (elmo-network-initialize-session): Ditto.
8186 (elmo-imap4-delete-msg-by-id): Ditto.
8187 (elmo-imap4-parse-fetch): Ditto.
8188 (elmo-imap4-copy-msgs): Ditto.
8189 Use `dst-spec' instead of `dst-folder'.
8190 (elmo-network-authenticate-session): Check authenticate type `plain'.
8192 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8194 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8196 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8197 `elmo-imap4-response-value'.
8198 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8200 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8202 * elmo-imap4.el (elmo-imap4-send-command):
8203 Cause elmo-imap4-bye-error when current response is BYE.
8204 (elmo-imap4-arrival-filter): Changed greeting response value.
8206 * elmo2.el (elmo-imap4-bye-error): Define.
8208 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8209 (elmo-imap4-server-diff): Ditto.
8210 (elmo-imap4-response-bye-p): New macro.
8211 (elmo-imap4-response-error-text): Get text from BYE response.
8212 (elmo-imap4-read-response): Return if BYE response.
8213 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8214 (elmo-imap4-folder-exists-p): Ditto.
8215 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8216 (elmo-imap4-parse-bye): New function.
8217 (elmo-imap4-parse-response): Remove needless let.
8218 Call `elmo-imap4-parse-bye'.
8220 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8222 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8223 the mailbox does not exist.
8224 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8226 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8228 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8230 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8232 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8234 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8235 (elmo-network-initialize-session-buffer): Defined.
8237 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8239 (mmelmo-imap4-get-mime-entity): Rewrite.
8241 * elmo2.el (elmo-error): Capitalize error message.
8243 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8244 (elmo-network-session-buffer): New macro.
8245 (elmo-network-open-session): Use it.
8247 * elmo-imap4.el: Rewrite.
8249 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8251 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8253 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8255 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8256 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8257 (elmo-imap4-create-msgdb-from-overview-string): Use
8258 `elmo-msgdb-create-overview-from-buffer'.
8260 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8262 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8263 (elmo-imap4-default-hierarchy-delimiter): New variable.
8264 (elmo-imap4-list-folders): Use it.
8266 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8268 * elmo-net.el (elmo-network-open-session): Add user and
8269 stream-type for process-buffer name.
8271 * elmo-pop3.el (elmo-network-initialize-session): Call
8272 buffer-disable-undo.
8274 * elmo-imap4.el (elmo-network-initialize-session):
8275 Set current-buffer as an argument for `buffer-disable-undo'.
8277 * elmo-pop3.el (elmo-network-close-session): Don't use
8280 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8281 Set default as 'user.
8283 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8285 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8286 and `elmo-imap4-flush-connection'.
8288 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8289 (elmo-pop3-get-spec): Assume auth as symbol.
8290 (elmo-open-network-stream): Moved to `elmo-net'.
8292 * elmo-pop3.el (toplevel): Require 'elmo-net.
8293 Define `sasl-cram-md5' to silence byte compilier.
8294 (elmo-pop3-connection-cache) Abolished.
8295 (elmo-pop3-authenticator-alist) New variable.
8296 (elmo-pop3-session): Define.
8297 (elmo-pop3-connection-get-process): Abolished.
8298 (elmo-pop3-connection-get-buffer): Ditto.
8299 (elmo-pop3-close-connection): Ditto.
8300 (elmo-pop3-flush-connection): Ditto.
8301 (elmo-pop3-get-connection): Ditto.
8302 (elmo-pop3-get-session): New function.
8303 (Replacement for `elmo-pop3-get-connection').
8304 All other related modules are changed.
8305 (elmo-network-close-session): Define.
8306 (elmo-pop3-send-command): Abolished argument `buffer'.
8307 All other related modules are changed.
8308 (elmo-pop3-read-response): Likewise.
8309 (elmo-pop3-open-connection): Abolished.
8310 (elmo-pop3-auth-user): New function.
8311 (elmo-pop3-auth-apop): Ditto.
8312 (elmo-pop3-auth-cram-md5): Ditto.
8313 (elmo-pop3-auth-scram-md5): Ditto.
8314 (elmo-pop3-auth-digest-md5): Ditto.
8315 (elmo-network-initialize-session): Define.
8316 (elmo-network-authenticate-session): Ditto.
8317 (elmo-network-setup-session): Ditto.
8319 * elmo-imap4.el (toplevel): Require 'elmo-net.
8320 (elmo-imap4-session): Define.
8321 (elmo-imap4-connection-cache): Abolished.
8322 (elmo-imap4-password-key): Ditto.
8323 (elmo-imap4-flush-connection): Ditto.
8324 (elmo-imap4-get-connection): Ditto.
8325 All other related modules are changed.
8326 (elmo-imap4-get-session): New function
8327 (Replacement for `elmo-imap4-get-connection').
8328 (elmo-imap4-read-response): Abolished argument `buffer'.
8329 All other related modules are changed.
8330 (elmo-imap4-send-command): Likewise.
8331 (elmo-imap4-select-folder): Abolished.
8332 All other related modules are changed.
8333 (elmo-imap4-select-mailbox): New function.
8334 (Replacement for `elmo-imap4-select-folder').
8335 (elmo-imap4-auth-login): Simplify.
8336 (Assume current buffer as process buffer)
8337 (elmo-imap4-auth-cram-md5): Ditto.
8338 (elmo-imap4-auth-digest-md5): Ditto.
8339 (elmo-imap4-login): Ditto.
8340 (elmo-imap4-open-connection): Abolished.
8341 (elmo-imap4-open-connection-1): Abolished.
8342 (elmo-network-initialize-sessoin): Define.
8343 (elmo-network-authenticate-session): Ditto.
8344 (elmo-network-setup-session): Ditto.
8346 * elmo-net.el: New module.
8348 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8350 * elmo-util.el (elmo-define-error): New function.
8352 * elmo2.el (elmo-error): Define.
8353 (elmo-open-error): Define.
8354 (elmo-authenticate-error): Define.
8356 * elmo-imap4.el (elmo-imap4-error): Abolish.
8357 (elmo-imap4-error-type): Abolish.
8358 (elmo-imap4-error-process): Abolish.
8359 (elmo-imap4-error-message): Abolish
8360 (elmo-imap4-list-folders): Don't quote lambda.
8361 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8362 (elmo-imap4-parse-namespace): Ditto.
8363 (elmo-imap4-open-connection): Rewrite.
8364 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8365 (elmo-imap4-get-connection): Abolish local variable `result'.
8367 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8369 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8370 wrong-type-argument error when auth is nil.
8372 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8374 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8375 (elmo-default-nntp-stream-type): Ditto.
8376 (elmo-default-pop3-stream-type): Ditto.
8377 (elmo-network-stream-type-alist): Ditto.
8378 (elmo-default-imap4-ssl): Abolished.
8379 (elmo-default-nntp-ssl): Ditto.
8380 (elmo-default-pop3-ssl): Ditto.
8382 * elmo-util.el: (toplevel): Removed needless requires.
8383 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8384 (elmo-open-network-stream): Open network stream according to
8385 the value of `elmo-network-stream-type-alist'.
8386 (elmo-get-network-stream-type): New function.
8387 (elmo-network-stream-type-spec-string): New macro.
8388 (elmo-network-stream-type-symbol): Ditto.
8389 (elmo-network-stream-type-function): Ditto.
8391 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8392 network-stream-type. All other related portions are changed.
8393 (elmo-pop3-open-connection): Ditto.
8395 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8396 network-stream-type. All other related portions are changed.
8398 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8399 network-stream-type.All other related portions are changed.
8400 (elmo-imap4-error): New macro.
8401 (elmo-imap4-error-type): Ditto.
8402 (elmo-imap4-error-process): Ditto.
8403 (elmo-imap4-error-message): Ditto.
8404 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8405 (elmo-imap4-auth-cram-md5): Ditto.
8406 (elmo-imap4-auth-digest-md5): Ditto.
8407 (elmo-imap4-login): Ditto.
8408 (elmo-imap4-open-connection): Remove password entry if authentication
8410 (elmo-imap4-user-at-host): Abolished.
8411 (elmo-imap4-password-key): New buffer local variable.
8412 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8413 using protocol, port, auth and stream-type.
8415 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8417 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8419 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8421 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8423 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8424 (elmo-imap4-authenticator-alist): New variable.
8425 (elmo-imap4-open-connection-1): Rename from
8426 elmo-imap4-open-connection.
8427 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8428 only wraps elmo-imap4-open-connection-1.
8429 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8431 (elmo-imap4-auth-login): New function.
8432 (elmo-imap4-auth-cram-md5): New function.
8433 (elmo-imap4-auth-digest-md5): New function.
8434 (elmo-imap4-login): New function.
8436 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8438 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8441 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8443 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8445 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8447 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8449 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8451 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8452 for server responses, quote `*' regardless of where it appears.
8454 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8456 * elmo-maildir.el (elmo-maildir-commit): New alias.
8458 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8460 * elmo-util.el (elmo-display-progress):
8461 Use `progress-feedback-with-label'.
8463 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8465 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8466 (elmo-imap4-non-atom-char-regex): Ditto.
8467 (elmo-imap4-non-text-char-regex): Ditto.
8468 (elmo-imap4-literal-threshold): Ditto.
8469 (elmo-imap4-atom-p): New function.
8470 (elmo-imap4-quotable-p): Ditto.
8471 (elmo-imap4-nil): Ditto.
8472 (elmo-imap4-atom): Ditto.
8473 (elmo-imap4-quoted): Ditto.
8474 (elmo-imap4-literal-subr): Ditto.
8475 (elmo-imap4-literal): Ditto.
8476 (elmo-imap4-buffer-literal): Ditto.
8477 (elmo-imap4-string-subr): Ditto.
8478 (elmo-imap4-string): Ditto.
8479 (elmo-imap4-buffer-string): Ditto.
8480 (elmo-imap4-astring-subr): Ditto.
8481 (elmo-imap4-astring): Ditto.
8482 (elmo-imap4-buffer-astring): Ditto.
8483 (elmo-imap4-nstring): Ditto.
8484 (elmo-imap4-buffer-nstring): Ditto.
8485 (elmo-imap4-mailbox): New alias.
8486 (elmo-imap4-field-body): Ditto.
8487 (elmo-imap4-userid): Ditto.
8488 (elmo-imap4-password): Ditto.
8489 (elmo-imap4-format-quoted): New function.
8490 (elmo-imap4-send-command): Rewritten. Accept a list of command
8491 arguments and handle "atom", "quoted" and "literal" string here.
8492 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8493 `elmo-imap4-send-command'.
8494 (elmo-imap4-folder-exists-p): Likewise.
8495 (elmo-imap4-create-folder): Likewise.
8496 (elmo-imap4-delete-folder): Likewise.
8497 (elmo-imap4-rename-folder): Likewise.
8498 (elmo-imap4-max-of-folder): Likewise.
8499 (elmo-imap4-check-validity): Likewise.
8500 (elmo-imap4-sync-validity): Likewise.
8501 (elmo-imap4-server-diff): Likewise.
8502 (elmo-imap4-select-folder): Likewise.
8503 (elmo-imap4-copy-msgs): Likewise.
8504 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8505 (elmo-imap4-mark-set-on-msgs): Likewise.
8506 (elmo-imap4-read-part): Likewise.
8507 (elmo-imap4-read-msg): Likewise.
8508 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8509 `elmo-imap4-password' for `elmo-imap4-send-command'.
8510 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8511 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8512 `elmo-imap4-buffer-literal'.
8513 (elmo-imap4-append-msg): Likewise.
8515 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8516 `delete' for removing dead connection from the connection cache.
8517 Move deletion of the process buffer after that.
8518 (elmo-imap4-list): Change `defsubst' to `defun'.
8519 (elmo-imap4-commit): Make error message verbose.
8520 (elmo-imap4-search): Ditto.
8521 (elmo-imap4-list): Ditto.
8522 (elmo-imap4-select-folder): Ditto.
8523 (elmo-imap4-copy-msgs): Ditto.
8524 (elmo-imap4-delete-msg-by-id): Ditto.
8525 (elmo-imap4-append-msg-by-id): Ditto.
8526 (elmo-imap4-append-msg): Ditto.
8528 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8530 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8531 when dired is used on XEmacs.
8533 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8535 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8536 instead of `append'.
8537 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8538 `elmo-plugged-p' directly.
8539 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8540 of `elmo-plugged-p' directly.
8542 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8543 Eliminate unused variable. Use `memq' for checking a process status.
8544 Use `cons' instead of `append' for updating the connection cache.
8545 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8546 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8548 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8550 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8551 `elmo-imap4-read-point' exactly.
8553 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8554 the local variable `folder' to `mailbox'.
8555 Rename the argument `fld' to `folder'.
8557 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8559 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8560 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8562 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8564 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8565 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8566 (elmo-pop3-uidl-number-hash): Ditto.
8567 (elmo-pop3-size-hash): Ditto.
8568 (elmo-pop3-uidl-done): Ditto.
8569 (elmo-pop3-list-done): Ditto.
8570 (elmo-pop3-connection-get-process): New defmacro.
8571 (elmo-pop3-connection-get-buffer): Ditto.
8572 (elmo-pop3-close-connection): Delete buffer and process.
8573 (elmo-pop3-flush-connection): Don't delete buffer and process.
8574 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8575 Setup UIDL and size hash.
8576 (elmo-pop3-send-command-no-erase): Deleted
8577 (elmo-pop3-send-command): Added optional argument `no-erase'.
8578 (elmo-pop3-parse-uidl-response): New function.
8579 (elmo-pop3-parse-list-response): Set size hash.
8580 (elmo-pop3-list-location): New function.
8581 (elmo-pop3-list-by-uidl-subr): Ditto.
8582 (elmo-pop3-list-by-list): Ditto.
8583 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8584 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8585 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8586 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8587 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8589 (elmo-pop3-uidl-to-number): New function.
8590 (elmo-pop3-number-to-uidl): Ditto.
8591 (elmo-pop3-number-to-size): Ditto.
8592 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8593 Set number by use of uidl.
8594 (elmo-pop3-msgdb-create-message): Likewise.
8595 Set size, loc-alist in msgdb.
8596 (elmo-pop3-read-msg): Set number by use of uidl.
8597 Added optional argument `msgdb'.
8598 (elmo-pop3-delete-msg): Ditto.
8599 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8600 (elmo-pop3-commit): Close connection.
8602 * elmo-pipe.el (elmo-pipe-max-of-folder):
8603 Bind `elmo-pop3-use-uidl' as nil.
8604 (elmo-pipe-drain): Ditto.
8607 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8608 (elmo-msgdb-overview-entity-set-size): New defsubst.
8610 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8612 * elmo-vars.el (elmo-use-killed-list): New variable
8613 (Renamed from `elmo-nntp-use-killed-list').
8614 (elmo-nntp-use-killed-list): Eliminated.
8616 * elmo-msgdb.el (elmo-msgdb-expand-path):
8617 Changed expanding msgdb path for elmo-multi.
8619 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8620 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8621 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8622 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8623 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8624 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8625 (toplevel): Deleted time-stamp line.
8627 * elmo2.el (elmo-clear-killed ): Defined as function
8628 (Abolished defining as a backend function).
8629 All other related modules are changed.
8631 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8633 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8635 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8637 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8639 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8641 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8643 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8645 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8646 asynchronous folder check.
8648 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8650 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8651 `elmo-nntp-use-killed-list'.
8652 (elmo-nntp-list-folder): Use killed list.
8653 (elmo-nntp-max-of-folder): Ditto.
8654 (elmo-nntp-msgdb-create): Set killed list.
8656 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8658 * elmo2.el (elmo-clear-killed): New backend function.
8659 All other related modules are changed.
8661 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8663 * elmo-util.el (elmo-imap4-spec-folder): Use
8664 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8665 All callers changed.
8667 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8669 * mmelmo-2.el (initialize-instance):
8670 Use `mime-buffer-entity-buffer-internal' instead of
8671 `mime-entity-buffer'.
8673 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8674 (mime-entity-body): Implemented.
8675 (mime-goto-header-start-point): Deleted.
8676 (mime-goto-body-end-point): Ditto.
8677 (mime-entity-point-min): Ditto.
8678 (mime-entity-point-max): Ditto.
8679 (mime-entity-children): Ditto.
8680 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8681 instead of `mime-entity-buffer'.
8682 (mime-entity-header-buffer): Ditto.
8683 (mime-entity-body-buffer): Ditto.
8684 (mime-write-entity-content): Ditto.
8686 * pldap.el (ldap-static-if): New macro.
8687 (toplevel): Use it instead of `static-if'.
8689 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8691 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8692 included in `attrs' argument.
8694 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8696 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8698 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8699 (ldap-ldif-safe-init-char-regexp): Ditto.
8700 (ldap-ldif-safe-string-regexp): Ditto.
8701 (ldap/ldif-safe-string-p): New macro.
8702 (ldap/ldif-insert-field): Ditto.
8703 (ldap-modify): Use it.
8705 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8706 (ldap-decode-attribute): Decode only when `attr' is consp.
8707 (ldap-delete): Bind `ret'.
8708 (toplevel): Require 'cl at compile time.
8709 Removed (require 'poe) and (require 'std11).
8710 (pldap-version): Eliminated.
8711 (ldap-search-basic): Removed auth and dn binding.
8712 (ldap-ldif-field-name-regexp): New constant.
8713 (ldap-ldif-field-head-regexp): Ditto.
8714 (ldap-ldif-next-field-head-regexp): Ditto.
8715 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8716 (ldap/field-end): New function.
8717 (ldap/field-body): Use it.
8718 (ldap/collect-field): Ditto.
8719 (ldap-search-basic): Use `ldap/field-body'.
8721 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8723 * pldap.el (ldap-default-attribute-encoder): New user option.
8724 (ldap/field-body): Decode base64 string.
8725 (ldap/collect-field): Ditto.
8726 (ldap-encode-attribute): New function.
8727 (ldap-add-entries): Use it.
8728 (ldap-modify-entries): Ditto.
8729 (ldap-search-entries): Enclosed decoding function with
8730 `with-temp-buffer' and set as unibyte.
8731 (ldap-search-basic): Set process buffer as unibyte.
8733 * elmo-util.el (elmo-folder-identical-system-p):
8734 Eliminated name space checking.
8736 * pldap.el: New module.
8737 toplevel: Changed condition to detect built-in ldap feature.
8738 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8739 (ldap-add): Added error handling.
8740 (ldap-modify): Ditto.
8741 (ldap-delete): Ditto.
8743 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8745 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8746 Initialize local variables with `let'. Inline a temporary
8747 variable for the progress percentage. Sort `setq' to reduce
8748 function call in the while-loop.
8750 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8751 into the conditional branch.
8753 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8755 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8756 Move a conditional out of the while-loop.
8758 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8760 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8761 elmo-msgdb-overview-get-entity-by-number.
8762 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8765 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8767 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8768 the local variable for a packed number self descriptively.
8770 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8772 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8773 * elmo-localdir.el (elmo-localdir-pack-number): Use
8774 `elmo-msgdb-overview-get-entity' instead of
8775 `elmo-msgdb-overview-get-entity-by-number'.
8776 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8777 (elmo-msgdb-search-overview-entity): Removed.
8778 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8779 by message-id or number.
8780 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8781 instead of `elmo-msgdb-overview-get-entity-by-number'.
8783 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8785 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8786 non-nil, use hash table for overview.
8787 (elmo-hash-maximum-size): New variable.
8788 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8789 (elmo-msgdb-make-overview-hashtb): New function.
8790 (elmo-msgdb-clear-overview-hashtb): New function.
8791 (elmo-clear-hash-val): New macro.
8792 All other related modules are changed.
8794 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8796 * elmo2.el (elmo-move-msgs): If there's other message with
8797 same message-id, don't use cache.
8799 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8801 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8802 number is already packed.
8804 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8806 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8808 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8810 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8811 All other related modules are changed.
8813 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8815 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8816 of refiling failure on Maildir.
8818 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8820 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8821 decoded mime-charset with cache.
8822 (elmo-msgdb-overview-entity-get-from): Ditto.
8823 (elmo-msgdb-overview-entity-get-subject): Ditto.
8824 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8826 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8828 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8829 (elmo-remove-passwd): Fill password with 0 before erase.
8830 * elmo-vars.el (elmo-passwd-life-time): New variable.
8833 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8835 * elmo-cache.el (elmo-buffer-cache-add):
8836 Set message cache buffer as unibyte.
8838 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8840 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8843 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8845 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8846 when display is finished.
8847 (elmo-nntp-msgdb-create): Ditto.
8848 (elmo-nntp-groups-read-response): Ditto.
8849 (elmo-nntp-retrieve-headers): Ditto.
8850 (elmo-nntp-msgdb-create-message): Ditto.
8851 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8852 (elmo-pop3-msgdb-create-message): Ditto.
8854 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8856 * elmo-maildir.el (elmo-maildir-msgdb-create):
8857 Use `elmo-msgdb-sort-by-date'.
8859 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8861 * elmo2.el (elmo-read-msg-no-cache):
8862 Eliminated arguments after `outbuf'.
8863 Don't use cache even if it exists.
8864 (elmo-read-msg): Don't pass arguments after `outbuf' to
8865 `elmo-read-msg-no-cache'.
8867 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8869 * elmo-archive.el (elmo-archive-list-folders):
8870 Use `file-name-directory' if base folder does not exist.
8872 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8874 * elmo-archive.el (elmo-archive-list-folders): Don't use
8875 `file-name-directory'.
8877 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8879 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8880 If `force' is non-nil, try flushing all operation queues.
8882 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8884 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8887 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8889 * elmo-util.el (elmo-display-progress): Fixed.
8891 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8893 * elmo-util.el (elmo-display-progress): New function.
8894 All other related modules are changed.