1 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo.el (elmo-folder-confirm-appends): Display folder name.
5 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
7 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
10 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
12 * elmo-maildir.el (elmo-maildir-list-location): Reduce
13 `elmo-get-last-modification-time' call.
15 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
17 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
19 (elmo-maildir-set-mark): Ditto.
20 (elmo-maildir-delete-mark): Ditto.
22 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
24 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
25 optional argument `separators'.
27 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
29 * elmo.el (cache-changed): Abolish.
30 (status-changed): New signal.
31 (elmo-message-killed-p): New generic function and define for
33 (elmo-folder-recover-messages): Ditto.
34 (elmo-message-set-cached): Emit signal `status-changed' instead of
36 (elmo-message-status): New macro.
37 (elmo-message-status-folder): Ditto.
38 (elmo-message-status-number): Ditto.
39 (elmo-message-status-set-flags): Ditto.
40 (elmo-message-status-set-killed): Ditto.
41 (elmo-message-status-flags): New function.
42 (elmo-message-status-cached-p): Ditto.
43 (elmo-message-status-killed-p): Ditto.
45 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
46 `status-changed' instead of `cache-changed'.
47 (elmo-folder-recover-messages): Define.
48 (elmo-message-killed-p): Ditto.
50 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
51 `status-changed' instead of `cache-changed'.
53 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
54 (elmo-message-killed-p): Define.
55 (elmo-folder-recover-messages): Ditto.
57 * elmo-version.el (elmo-version): Up to 2.15.3.
59 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
61 * elmo-signal.el (elmo-signal-bindings): Use cons to append
63 (elmo-define-signal-handler): Add docstring.
64 (elmo-define-signal-filter): Ditto.
66 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
68 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
70 * elmo-util.el (elmo-flatten): Don't use recursive call.
72 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
74 (elmo-folder-message-make-temp-files): Use `number-to-string'
75 instead of `int-to-string'.
77 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
79 * elmo-search.el (elmo-folder-delete-messages): Define.
81 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
83 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
85 (elmo-mailing-list-count-spec-list): Ditto.
87 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
90 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
92 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
95 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
97 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
98 (elmo-mailing-list-count-spec-list): Ditto.
100 * elmo-util.el (elmo-map-until-success): New function.
101 (elmo-string-match-substring): Ditto.
102 (elmo-find-list-match-value): Ditto.
104 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
106 (modb-entity-extract-ml-info-from-subject): Ditto.
107 (modb-entity-extract-ml-info-from-return-path): Ditto.
108 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
109 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
110 (modb-entity-extract-ml-info-from-mailman): Ditto.
111 (modb-entity-extract-mailing-list-info-functions): Ditto.
112 (modb-entity-extract-mailing-list-info): Rewrite with
113 `elmo-find-list-match-value'.
115 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
117 * elmo-net.el (elmo-network-session-retry-count): New user option.
118 (elmo-network-session-buffer-name): New internal function.
119 (elmo-network-session-buffer-create): Ditto.
120 (elmo-network-open-session): Retry open network session
121 `elmo-network-session-retry-count' times.
123 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
125 * elmo-util.el (elmo-list-filter): Rewritten.
127 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
129 * elmo-util.el (elmo-string-member): Allow symbol element in list.
131 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
133 * elmo-search.el (elmo-make-search-engine): Use prefix
134 `elmo-search-' for require symbol instead of `else-'.
135 (elmo-search-engine-extprog): New class.
136 (elmo-search-engine-do-search): Remove nil from argument
137 list. Added argument pattern to evaluate element as function.
138 (elmo-search-engine-local-file): Derived from
139 `elmo-search-engine-extprog'.
140 (elmo-search-engine-create-message-entity): Check existance of file.
141 (elmo-search-engine-fetch-message): Ditto.
142 (elmo-search-namazu-index): Follow the API change.
143 (elmo-search-grep-target): Ditto.
145 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
147 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
148 characters of working buffer.
150 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
151 Does not bind `default-mime-charset'.
152 (elmo-msgdb-create-message-entity-from-buffer): Removed
153 unnecessary local bind.
155 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
157 (modb-entity-extract-mailing-list-info-functions): Added it.
159 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
161 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
162 when number and message-id are non-nil.
164 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
166 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
167 conditional steatment.
168 (elmo-pop3-auth-apop): Likewise.
169 (elmo-network-authenticate-session): Likewise.
171 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
173 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
174 symbol `fill-column'.
175 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
178 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
179 (elmo-decoded-field-body): Ditto.
181 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
183 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
184 `tokens' to `params'.
186 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
188 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
191 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
193 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
196 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
198 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
199 Set default value as nil.
200 (toplevel): Register search engines by
201 `elmo-search-register-engine' if there are not defined.
203 * elmo.el (autoload): Added autoload setting for
204 `elmo-search-register-engine'.
206 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
208 * elmo.el (toplevel): `[' is redefined as the prefix of the search
209 folder instead of nmz folder.
210 (elmo-nmz-default-index-path): Added obsolete variable setting.
211 (elmo-nmz-index-alias-alist): Ditto.
212 (elmo-nmz-use-drive-letter): Ditto.
214 * elmo-search.el (elmo-search-register-engine): New function.
216 * elmo-nmz.el: Removed.
218 * elmo-version.el (elmo-version): Up to 2.15.2.
220 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
222 * elmo-search.el: New file.
224 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
226 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
227 condition `larger' and `smaller'.
229 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
231 * elmo-util.el (elmo-safe-filename): Rewrite to replace
232 `"' (double quote) into "_Q_".
234 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
236 * elmo-net.el (elmo-net-quote-chars): Abolish.
237 (elmo-net-format-quoted): Ditto.
239 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
241 * elmo.el (elmo-get-folder-function): New variable.
242 (elmo-get-folder): New function.
243 (elmo-folder-rename): Call `elmo-make-folder' with specified
246 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
248 (elmo-split-subr): Ditto.
250 * elmo-multi.el (elmo-folder-initialize): Ditto.
252 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
254 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
255 (elmo-flag-get-folder): Ditto.
257 * elmo-filter.el (elmo-folder-initialize): Ditto.
259 * elmo-access.el (elmo-folder-initialize): Ditto.
260 (elmo-access-folder-update-children): Ditto.
262 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
263 (elmo-dop-queue-flush): Ditto.
264 (elmo-folder-append-buffer-dop-delayed): Ditto.
265 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
268 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
269 instead of `elmo-make-folder'.
270 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
271 destination folder instead of send `elmo-folder-rename-internal'.
273 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
274 slot of subfolder instead of create it.
276 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
278 * elmo-util.el (elmo-collect-separators): New function.
279 (elmo-collect-separators-internal): Ditto.
280 (elmo-collect-trail-separators): Ditto.
281 (elmo-parse-separated-tokens): Ditto.
282 (elmo-parse-separated-tokens-internal): Ditto.
283 (elmo-quote-syntactical-element): Ditto.
285 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
286 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
288 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
289 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
290 (elmo-nntp-folder-list-subfolders): Quote a user name.
292 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
293 (elmo-net-parse-network): Abolish.
294 (elmo-net-folder-set-parameters): New function.
295 (elmo-folder-initialize): Follow the above change.
297 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
298 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
299 (elmo-folder-list-subfolders): Use
300 `elmo-quote-syntactical-element' instead of
301 `elmo-net-format-quoted' to quote mailbox and user name.
303 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
305 * elmo-util.el (elmo-token-valid-p): New function.
306 (elmo-parse-token): Add optional argument `requirement'.
307 (elmo-parse-prefixed-element): Likewise.
309 * elmo-net.el (elmo-net-quote-chars): Renamed from
310 `elmo-net-quote-chars-regexp'.
311 (elmo-net-format-quoted): Add optional argument `extra-chars'.
313 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
314 by info document. Check token `uidl' is started an alphabet.
316 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
317 by info document. Check token `user' is started an alphabet.
319 * elmo-imap4.el (elmo-folder-initialize): Ditto.
320 (elmo-folder-list-subfolders): Quote user.
322 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
324 * elmo-util.el (elmo-quoted-specials-list): New constant.
325 (elmo-quoted-token): New function.
327 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
328 (elmo-net-format-quoted): New function.
329 (elmo-net-parse-network): Ditto.
330 (elmo-folder-initialize): Use it.
332 * elmo-nntp.el (elmo-folder-initialize): Use
333 `elmo-net-parse-network' to parse network specification instead of
334 `elmo-folder-initialize#elmo-net'.
336 * elmo-pop3.el (elmo-folder-initialize): Ditto.
338 * elmo-imap4.el (elmo-folder-initialize): Ditto.
339 (elmo-folder-list-subfolders): Quote folder name by
340 `elmo-net-format-quoted'.
342 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
344 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
345 (elmo-folder-search): Use it.
347 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
349 * modb-standard.el (modb-standard-loaded-message-id): Use
350 `elmo-msgdb-message-entity-field'.
352 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
354 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
357 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
359 * elmo-util.el (elmo-set-auto-coding): New function.
360 (elmo-object-load): Use it.
362 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
364 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
365 (elmo-time<): Define as alias of `elmo-time-less-p'.
366 (elmo-time-to-datevec): New function.
368 * elmo-date.el (elmo-time-to-days): New function.
370 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
372 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
375 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
377 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
380 * elmo-util.el (elmo-map-recursive): New function.
382 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
383 (modb-entity-encode-string-recursive): Ditto.
385 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
387 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
388 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
389 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
390 compare sequence number when last modified time is nil.
392 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
394 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
396 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
398 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
400 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
401 modification time of the file.
403 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
405 * elmo-util.el (elmo-condition-optimize): Discriminated against
406 preserved fields, extra fields and the other weight.
408 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
410 * modb-entity.el (initialize-instance): Define.
411 (modb-entity-handler-mime-charset): New internal function.
412 (modb-standard-entity-set-field): Use it.
413 (elmo-msgdb-message-entity-field): Ditto.
414 (elmo-msgdb-message-entity-field): Ditto.
416 * modb.el (elmo-msgdb-match-condition): Rewrite with
417 `elmo-condition-match'.
418 (elmo-msgdb-match-condition-primitive): New function.
420 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
421 arguments `flags' and `numbers'.
422 (elmo-msgdb-match-condition-primitive): Abolished (merged to
423 `elmo-msgdb-message-match-condition').
424 (modb-buffer-entity-handler): New class.
426 * elmo.el (elmo-folder-search): Optimize condition to use
427 `elmo-condition-optimize'.
428 (elmo-message-buffer-match-condition): New function.
429 (elmo-message-match-condition): Use
430 `elmo-message-buffer-match-condition' instead of
431 `elmo-buffer-field-condition-match'.
433 * elmo-util.el (elmo-condition-match): New function.
434 (elmo-condition-optimize): Ditto.
435 (elmo-buffer-field-primitive-condition-match): Abolish.
436 (elmo-buffer-field-condition-match): Ditto.
438 * elmo-archive.el (elmo-archive-field-condition-match): Use
439 `elmo-message-buffer-match-condition' instead of
440 `elmo-buffer-field-condition-match'.
442 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
444 * elmo-flag.el (elmo-global-flags-initialize): Check the
445 existence of the flag directory.
447 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
449 * elmo-access.el (elmo-folder-initialize): Call
450 `elmo-multi-connect-signals'.
452 * elmo-pipe.el (elmo-folder-close): Define.
454 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
457 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
460 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
463 * elmo-multi.el (elmo-message-entity): Don't use return value of
464 `elmo-message-entity-set-number'.
466 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
468 * modb.el (modb-generic): Added slot `mime-charset'.
470 * modb-standard.el (modb-standard): Added slot `overview-handler'.
471 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
472 and `modb-entity-handler-dump-parameters'.
473 (modb-standard-default-entity-handler): Abolish.
474 (elmo-msgdb-message-entity-handler): Save created handler by
477 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
478 (modb-entity-handler-list-parameters): New method.
479 (modb-entity-handler-equal-p): New function.
480 (modb-entity-handler-dump-parameters): Ditto.
481 (modb-entity-parse-address-string): Encode return value.
482 (modb-entity-make-address-string): Decode argument value.
483 (modb-entity-decode-string-recursive): New function.
484 (modb-entity-encode-string-recursive): Ditto.
485 (modb-standard-entity-normalizer): Set to encode field value.
486 (modb-standard-entity-specializer): Follow the above change.
487 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
488 mime-charset of handler.
489 (elmo-msgdb-message-entity-field): Ditto.
490 (elmo-msgdb-copy-message-entity): Fixed reference to internal
492 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
494 * elmo.el (elmo-folder): Added slot `mime-charset'.
495 (elmo-make-folder): Added argument `mime-charset'.
496 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
499 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
500 (elmo-make-msgdb): Likewise.
502 * elmo-internal.el (elmo-internal-folder-initialize): Call
503 `luna-make-entity' with :mime-charset parameter.
505 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
507 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
508 encoded words in `from' and `subject' field.
510 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
512 * modb.el (elmo-msgdb-message-field): Add argument `type'.
513 (elmo-msgdb-match-condition): Get handler from entity instead of
516 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
517 (modb-standard-load-entity): Treat new file format.
518 (modb-standard-save-entity-1): Save as new file format.
519 (modb-standard-save-entity): Split messages into section here.
520 (elmo-msgdb-message-field): Follow the API change.
521 (modb-standard-default-entity-handler): New internal variable.
522 (elmo-msgdb-message-entity-handler): Define.
524 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
526 (modb-entity-field-extractor-alist): New user option.
527 (elmo-msgdb-message-entity-field): Removed argument `decode' and
528 added argument `type'.
529 (elmo-msgdb-copy-message-entity): Add optional argument
531 (modb-set-field-converter): New function.
532 (modb-convert-field-value): Ditto.
533 (modb-entity-string-decoder): Ditto.
534 (modb-entity-string-encoder): Ditto.
535 (modb-entity-parse-date-string): Ditto.
536 (modb-entity-make-date-string): Ditto.
537 (modb-entity-mime-decoder): Ditto.
538 (modb-entity-mime-encoder): Ditto.
539 (modb-entity-address-list-decoder): Ditto.
540 (modb-entity-address-list-encoder): Ditto.
541 (modb-entity-parse-address-string): Ditto.
542 (modb-entity-make-address-string): Ditto.
543 (modb-entity-create-field-indices): Ditto.
544 (modb-legacy-entity-field-slots): New constant.
545 (modb-legacy-entity-field-indices): Ditto.
546 (modb-legacy-entity-normalizer): New variable.
547 (modb-legacy-entity-specializer): Ditto.
548 (modb-legacy-entity-field-index): New macro.
549 (modb-legacy-entity-set-field): New function.
550 (modb-legacy-make-message-entity): Rewrite.
551 (elmo-msgdb-create-message-entity-from-buffer): Use
552 `elmo-msgdb-get-references-from-buffer'. Use
553 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
554 Use `modb-legacy-entity-set-field' instead of
555 `elmo-msgdb-message-entity-set-field'.
556 (elmo-msgdb-message-entity-field): Rewrite.
557 (elmo-msgdb-message-entity-set-field): Ditto.
558 (elmo-msgdb-copy-message-entity): Make new entity by
559 `make-handler' if it specified.
560 (elmo-msgdb-message-match-condition): Define a method of
561 `modb-entity-handler' and follow the API change.
562 (modb-standard-entity-handler): New class.
563 (modb-entity-extract-ml-info-from-x-sequence): New function.
564 (modb-entity-extract-ml-info-from-subject): Ditto.
565 (modb-entity-extract-ml-info-from-return-path): Ditto.
566 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
567 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
568 (modb-entity-extract-mailing-list-info): Ditto.
569 (modb-entity-extract-mailing-list-info-functions): New variable.
571 * elmo.el (elmo-message-field): Add optional argument `type'.
573 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
574 from `modb-entity.el'.
576 * elmo-util.el (elmo-object-load): Decode by coding-system from
577 `set-auto-coding-function'.
578 (elmo-object-save): Use `detect-mime-charset-region' and add
579 coding cookie if encode.
580 (elmo-msgdb-get-references-from-buffer): New function.
581 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
583 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
585 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
586 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
587 instead of `shimbun-make-header' and follow the API change.
588 (elmo-shimbun-update-overview): Follow the API change.
589 (elmo-map-folder-list-message-locations): Ditto.
591 * elmo-pipe.el (elmo-message-field): Ditto.
593 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
596 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
598 * elmo-multi.el (elmo-message-field): Ditto.
600 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
601 (elmo-msgdb-sort-by-date): Ditto.
602 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
603 `elmo-message-entity-field'.
604 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
606 (elmo-msgdb-overview-entity-get-from): Ditto.
607 (elmo-msgdb-overview-entity-get-subject): Ditto.
608 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
609 (elmo-msgdb-overview-entity-get-date): Ditto.
610 (elmo-msgdb-overview-entity-get-to): Ditto.
611 (elmo-msgdb-overview-entity-get-cc): Ditto.
613 * elmo-mime.el (elmo-message-mime-entity): Ditto.
614 (elmo-mime-collect-message/partial-pieces): Ditto.
616 * elmo-filter.el (elmo-message-field): Ditto.
618 * elmo-date.el (elmo-datevec-to-time): New function.
619 (elmo-time-parse-date-string): Ditto.
620 (elmo-time-make-date-string): Ditto.
623 * elmo-version.el (elmo-version): Up to 2.15.1.
625 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
627 * elmo-flag.el (elmo-global-flags-initialize): Don't include
628 member of elmo-local-flags.
630 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
632 * elmo-version.el (elmo-version): Up to 2.15.0.
634 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
636 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
637 `ignore-msgdb' is non-nil.
639 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
641 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
642 (elmo-condition-in-msgdb-p): Ditto.
643 (elmo-file-field-primitive-condition-match): Ditto.
644 (elmo-file-field-condition-match): Ditto.
646 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
648 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
650 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
652 (elmo-global-flags-initialize): New function.
654 * elmo.el (toplevel): Added autoload setting for
655 `elmo-global-flags-initialize'.
657 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
659 * elmo.el (message-number-changed): Define new signal.
660 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
661 message-number-changed signal.
662 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
663 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
664 Respect `elmo-pack-number-check-strict'.
666 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
668 * elmo-signal.el (elmo-connect-signal): Document.
669 (elmo-emit-signal): Ditto.
670 (elmo-emit-signal): It should pass source argument to filter and
671 handler, not slot-source.
673 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
675 * modb.el (elmo-msgdb-update-entity): New API and define generic
678 * modb-standard.el (elmo-msgdb-update-entity): Define.
680 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
681 API and define generic implement.
683 * elmo.el (update-overview): New singnal.
685 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
686 `elmo-msgdb-update-entity' and emit signal `update-overview'.
687 (elmo-message-entity-parent): Define.
689 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
692 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
694 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
696 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
698 * elmo.el (elmo-folder-synchronize): Sort the return value of
701 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
704 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
706 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
707 `default-enable-multibyte-characters'.
708 (elmo-object-load): Use `with-temp-buffer' instead of
710 (elmo-object-save): Ditto.
711 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
713 (elmo-decoded-field-body): Ditto.
715 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
717 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
718 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
720 * elmo-version.el (elmo-version): Up to 2.13.3.
722 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
724 * elmo-util.el (elmo-list-diff): Fix the last change.
725 Reverse order of result lists.
727 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
729 * modb-standard.el (elmo-msgdb-set-flag): Use
730 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
731 (elmo-msgdb-unset-flag): Ditto.
733 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
736 * elmo-util.el (elmo-list-diff): Rewrite.
737 (elmo-list-diff-nonsortable): New function.
739 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
741 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
742 `elmo-multibypte-buffer-name'. All referers are updated.
744 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
746 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
747 (elmo-mime-entity-fragment-p): New function.
748 (mime-elmo-buffer-entity): Added slot `reassembled'.
749 (elmo-message-mime-entity): Added 4th argument `reassemble'.
750 (elmo-message-mime-entity-internal): New function (renamed from
751 `elmo-message-mime-entity').
752 (elmo-mime-inherit-field-list-from-enclosed): New constant.
753 (elmo-mime-make-reassembled-mime-entity): New function.
754 (elmo-message-reassembled-mime-entity): Ditto.
755 (elmo-mime-collect-message/partial-pieces): Ditto.
757 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
759 * elmo.el (elmo-message-fetch-string): Disable multibyte.
761 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
762 (elmo-with-enable-multibyte): New macro.
764 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
766 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
768 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
770 (elmo-filter-connect-signals): Follow the above change.
772 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
774 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
776 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
777 that only the first flag is used.
779 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
781 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
784 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
786 * elmo-signal.el: New file.
788 * elmo.el (toplevel): Require elmo-signal.
789 (flag-changing, flag-changed, cache-changed): New signal.
790 (elmo-folder): Remove slog `handlers'.
791 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
792 `elmo-folder-notify-event'.
793 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
794 (elmo-folder-unset-flag): Ditto.
795 (elmo-event-handler): Abolish.
796 (elmo-event-handler-flag-changed): Ditto.
797 (elmo-event-handler-cache-changed): Ditto.
798 (elmo-folder-add-handler): Ditto.
799 (elmo-folder-remove-handler): Ditto.
800 (elmo-folder-notify-event): Ditto.
802 * elmo-pipe.el (toplevel): Require elmo-signal.
803 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
804 (elmo-pipe-connect-signals): New function.
805 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
806 (elmo-folder-set-flag): Ditto.
807 (elmo-folder-unset-flag): Ditto.
808 (elmo-message-set-cached): Ditto.
810 * elmo-multi.el (toplevel): Require elmo-signal.
811 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
812 (elmo-multi-connect-signals): New function.
813 (elmo-multi-map-numbers): Ditto.
814 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
815 (elmo-message-fetch): Ditto.
816 (elmo-folder-set-flag): Ditto.
817 (elmo-folder-unset-flag): Ditto.
819 * elmo-filter.el (toplevel): Require elmo-signal.
820 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
821 (elmo-filter-connect-signals): New function.
822 (elmo-filter-add-flag-count): Ditto.
823 (elmo-message-fetch): Does not call
824 `elmo-filter-folder-countup-message-flags' and
825 `elmo-folder-notify-event'.
826 (elmo-message-set-cached): Ditto.
827 (elmo-folder-set-flag): Ditto.
828 (elmo-folder-unset-flag): Ditto.
830 * elmo-version.el (elmo-version): Up to 2.13.2.
832 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
834 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
837 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
839 * elmo-filter.el (elmo-message-set-cached): Call
840 `elmo-folder-notify-event' with event `cache-changed'.
842 * elmo-multi.el (elmo-message-set-cached): Ditto.
844 * elmo-pipe.el (elmo-message-set-cached): Ditto.
846 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
848 * elmo.el (elmo-folder-encache): Abolish.
850 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
852 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
853 (elmo-folder-next-message-number-dop): Return appropriate negative
856 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
858 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
859 clearing pending operations.
860 (elmo-folder-next-message-number-dop): Return appropriate negative
863 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
865 * elmo.el (toplevel): Added autoload setting for `md5'.
866 (elmo-msgdb-path-encode-threshold): New user option.
867 (elmo-folder-msgdb-path): Encode msgdb path if its length is
868 longer than `elmo-msgdb-path-encode-threshold'.
870 * elmo-flag.el (elmo-global-mark-migrate): Use
871 `elmo-folder-expand-msgdb-path' instead of
872 `elmo-folder-msgdb-path'.
874 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
876 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
877 element of the difference is nil.
879 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
881 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
882 to the check logic of file systems which are weak in colon character.
884 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
886 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
888 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
890 * elmo-maildir.el (elmo-maildir-move-file): New function.
891 (elmo-folder-append-buffer): Use it.
892 (elmo-folder-append-messages): Ditto.
893 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
895 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
896 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
898 * elmo-maildir.el (elmo-maildir-separator): New user option.
899 (elmo-maildir-adjust-separator): New macro.
900 (elmo-maildir-list-location): Use it.
901 (elmo-maildir-update-current): Ditto.
902 (elmo-maildir-set-mark): Ditto.
903 (elmo-maildir-delete-mark): Ditto.
904 (These changes are based on Hiroya Murata's patch [wl: 13437])
906 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
908 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
910 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
912 * elmo-flag.el (elmo-flag-valid-p): Simplify.
913 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
914 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
916 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
918 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
919 Use `with-temp-buffer'.
921 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
923 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
925 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
926 `wl-read-search-condition').
927 (elmo-read-search-condition-internal): Likewise.
929 * elmo-flag.el (elmo-flag-char-regexp): New constant.
930 (elmo-flag-valid-p): New function.
931 (elmo-folder-initialize): Check flag name is valid.
933 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
935 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
936 delimiter to obtain root mailbox itself.
938 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
940 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
943 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
945 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
948 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
950 * elmo-shimbun.el (toplevel): Require cl at compile.
952 * elmo-nntp.el (toplevel): Ditto.
954 * elmo-nmz.el (toplevel): Ditto.
956 * elmo-multi.el (toplevel): Ditto.
958 * elmo-file.el (toplevel): Ditto.
960 * elmo-dop.el (toplevel): Ditto.
962 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
964 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
966 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
969 * elmo.el (elmo-message-fetch): Return t even when the output buffer
970 size of elmo-message-fetch-internal is 0 byte.
972 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
974 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
976 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
978 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
981 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
983 * elmo-maildir.el (elmo-map-message-fetch): Call
984 `elmo-map-folder-set-flag'.
986 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
987 (elmo-message-fetch): Merge from
988 `elmo-message-fetch-with-cache-process'.
990 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
991 (elmo-message-fetch): Define.
993 * elmo-nntp.el (elmo-message-fetch): Renamed from
994 `elmo-message-fetch-with-cache-process'.
996 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
997 (elmo-message-fetch): Define.
999 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1002 * elmo-shimbun.el (shimbun-mua-search-id): Use
1003 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1004 (elmo-shimbun-folder-shimbun-header): Ditto.
1005 (elmo-shimbun-get-headers): Ditto.
1006 (elmo-shimbun-update-overview): Ditto.
1008 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1010 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1011 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1013 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1015 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1017 (elmo-message-fetch-string): Fixed argument.
1019 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1021 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1022 exchange order of arguments `section' and `unread'.
1023 (elmo-message-encache): Follow the API change.
1024 (elmo-message-match-condition): Ditto.
1025 (elmo-generic-folder-append-messages): Ditto.
1026 (elmo-message-fetch-string): New function.
1028 * elmo-split.el (elmo-split-subr): Ditto.
1030 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1032 * elmo-pipe.el (elmo-message-fetch): Ditto.
1034 * elmo-multi.el (elmo-message-fetch): Ditto.
1036 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1038 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1040 * elmo-filter.el (elmo-message-fetch): Ditto.
1042 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1044 * elmo-imap4.el (mime-imap-location-section-body): Use
1045 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1046 follow the API change.
1048 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1050 * elmo-access.el: New file.
1052 * elmo-null.el: Ditto.
1054 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1056 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1058 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1059 (elmo-network-session): New attribute `last-accessed'.
1060 (elmo-network-get-session): Discard network cache if elapsed time
1061 since last-accessed is larger than elmo-network-session-idle-timeout.
1063 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1065 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1066 and added `number', `require-entireness'.
1067 (elmo-find-fetch-strategy): Rewrite.
1068 (elmo-message-fetch): Unset `unread' flag when argument unread is
1071 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1073 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1074 (elmo-message-fetch): Notify event `flag-changed'.
1076 * elmo-pipe.el: Likewise.
1078 * elmo-mime.el (elmo-mime-entity): New class.
1079 (elmo-mime-entity-display-p): New generic function.
1080 (elmo-mime-entity-display): Ditto.
1081 (elmo-mime-entity-display-as-is): Ditto.
1082 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1084 (elmo-make-mime-message-location): Removed.
1085 (elmo-mime-message-display): Ditto.
1086 (elmo-mime-display-as-is): Ditto.
1087 (elmo-message-mime-entity): New function.
1089 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1091 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1093 (elmo-message-fetch): Re-count flagged message number and notify
1094 event `flag-changed'.
1096 * elmo-version.el (elmo-version): Up to 2.13.1.
1098 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1100 * elmo-filter.el (elmo-message-field): Define.
1101 (elmo-message-set-field): Ditto.
1103 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1105 * elmo.el (elmo-message-set-cached): Call
1106 `elmo-folder-notify-event' with cache-changed.
1107 (elmo-event-handler-cache-changed): New generic function.
1109 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1111 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1112 instead of elmo-add-name-to-file.
1113 (elmo-folder-append-messages): Ditto.
1115 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1117 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1119 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1121 * elmo-version.el (elmo-version): Up to 2.13.0.
1123 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1126 * modb-standard.el (modb-standard-economize-entity-size): Changed
1127 default value to `t'.
1129 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1132 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1133 after parsing greeting string.
1135 2004-11-23 Daishi Kato <daishi@axlight.com>
1137 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1139 (elmo-spam-spamoracle-call): Use it.
1141 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1143 * elmo.el (elmo-message-accessible-p): Message in dop spool
1146 2004-11-23 Daishi Kato <daishi@axlight.com>
1148 * elsp-spamoracle.el: New file.
1150 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1152 * elmo.el (elmo-message-flags-for-append): New function.
1153 (elmo-generic-folder-append-messages): Use it.
1155 * elmo-split.el (elmo-split-subr): Ditto.
1157 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1158 `flags' and use elmo-folder-append-buffer instead of
1159 write-region-as-binary.
1160 (elmo-dop-filter-pending-messages): New function.
1161 (elmo-folder-append-buffer-dop): Call
1162 elmo-dop-spool-folder-append-buffer with `flag'.
1163 (elmo-folder-set-flag-dop): Filter messages by
1164 elmo-dop-filter-pending-messages.
1165 (elmo-folder-unset-flag-dop): Ditto.
1166 (elmo-folder-append-buffer-dop-delayed): Use
1167 elmo-message-flags-for-append to get flags of the message and
1170 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1172 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1174 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1176 * elmo.el (elmo-folder): Added handlers slot.
1177 (elmo-event-handler): New class.
1178 (elmo-event-handler-flag-changed): New API.
1179 (elmo-folder-add-handler): New function.
1180 (elmo-folder-remove-handler): Ditto.
1181 (elmo-folder-notify-event): Ditto.
1182 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1184 (elmo-folder-unset-flag): Ditto.
1186 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1187 (elmo-folder-unset-flag): Ditto.
1189 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1190 (elmo-folder-unset-flag): Ditto.
1192 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1193 (elmo-folder-unset-flag): Ditto.
1195 * elmo-version.el (elmo-version): Up to 2.11.33.
1197 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1199 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1201 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1203 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1205 * elmo-flag.el (elmo-folder-unset-flag): Define.
1206 (elmo-global-flag-detach): Do process when the flag is not target
1209 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1211 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1213 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1215 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1217 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1219 (elmo-folder-delete-messages): Detach messages before delete
1220 messages from target folder.
1221 (elmo-folder-detach-messages): Set updated number-list to slot.
1223 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1225 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1227 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1229 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1231 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1233 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1235 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1237 (elmo-folder-delete-messages): Define.
1238 (elmo-folder-move-messages): Don't call
1239 `elmo-folder-detach-messages'.
1240 (elmo-folder-synchronize): Rewrite.
1241 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1243 * elmo-util.el (elmo-last): New function.
1244 (elmo-set-list): Ditto.
1245 (elmo-number-set-delete-list): Ditto.
1246 (elmo-number-set-delete): Ditto.
1248 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1250 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1251 `elmo-folder-delete-messages' and don't delete location map.
1252 (elmo-folder-detach-messages): Define.
1254 * elmo-imap4.el (elmo-folder-delete): Use
1255 `elmo-folder-delete-messages-internal' instead of
1256 `elmo-folder-delete-messages'.
1258 * elmo-filter.el (elmo-folder-delete-messages): Call
1259 `elmo-folder-detach-messages'.
1260 (elmo-folder-detach-messages): Don't call
1261 `elmo-folder-detach-messages' for target folder.
1263 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1264 message deletion is succeeded.
1266 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1268 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1269 from `elmo-folder-delete-messages'.
1271 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1273 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1275 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1277 * elmo-version.el (elmo-version): Up to 2.11.32.
1279 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1281 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1282 (elmo-global-flag-list): Added obsolete variable setting.
1284 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1286 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1287 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1288 `elmo-mime-display-header-analysis' is nil.
1290 * elmo-flag.el (elmo-global-flags): Renamed from
1291 `elmo-global-flag-list' (All other related portions are changed).
1292 (elmo-local-flags): New variable.
1293 (elmo-local-flag-p): New function.
1294 (elmo-global-flag-set-internal): Cause an error when flag is not
1297 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1299 * elmo-util.el (elmo-concat-path): Treat empty path.
1301 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1303 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1305 (elmo-split-address-match): Ditto.
1306 (elmo-split-equal): Ditto.
1307 (elmo-split-match): Ditto.
1309 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1311 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1312 (elmo-generic-folder-append-messages): If src message exists but
1313 has no flag, pass (read) for the FLAG argument of
1314 `elmo-folder-append-buffer'. Otherwise, pass nil.
1316 * elmo-split.el (elmo-split-subr): Likewise.
1318 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1320 * elmo-multi.el (elmo-message-flags): Ditto.
1322 * elmo-filter.el (elmo-message-flags): Ditto.
1324 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1325 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1326 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1328 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1330 * elmo-split.el (elmo-split-rule): Update comment.
1331 (elmo-split-address-equal): Allow 2nd argument to be a list.
1332 (elmo-split-address-match): Ditto.
1333 (elmo-split-equal): Ditto.
1334 (elmo-split-match): Ditto.
1336 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1338 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1339 (elmo-folder-append-msgdb): Don't treat `read'.
1340 (elmo-message-flags): Don't return `read'.
1342 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1343 (elmo-folder-unset-read-delayed): Ditto.
1345 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1347 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1349 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1352 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1354 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1357 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1359 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1361 (elmo-msgdb-save): Bind inhibit-quit.
1362 (modb-standard-message-entity): Ditto.
1364 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1366 * elmo-database.el: No need to require elmo-msgdb.
1368 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1370 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1371 instead of `elmo-list-subdirectories'.
1373 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1375 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1377 (elmo-folder-exists-p): "[" is empty.
1378 (elmo-folder-list-subfolders): Define.
1379 (elmo-folder-have-subfolder-p): Ditto.
1381 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1383 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1385 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1387 * elmo-filter.el (elmo-folder-local-p): Define.
1389 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1391 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1392 when entity is garbaged.
1393 (modb-standard-save-entity-1): Don't modify the original entity.
1395 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1397 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1399 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1401 * elmo.el (elmo-strict-folder-diff): Use
1402 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1404 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1406 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1407 (elmo-msgdb-message-number): Ditto.
1408 (elmo-msgdb-message-field): Ditto.
1410 * modb-standard.el (modb-standard-economize-entity-size): New user
1412 (modb-standard-loaded-message-id): New inline function.
1413 (modb-standard-load-entity): Use it.
1414 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1415 throw message-id string away.
1416 (elmo-msgdb-flag-available-p): Define.
1417 (elmo-msgdb-message-number): Ditto.
1418 (elmo-msgdb-message-field): Ditto.
1420 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1421 (suppoted -> supported).
1422 (modb-legacy-supported-flag-p): Ditto.
1423 (elmo-msgdb-set-flag): Ditto.
1424 (elmo-msgdb-unset-flag): Ditto.
1425 (elmo-msgdb-flag-available-p): Define.
1427 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1428 is `t', treat it as legacy entity.
1430 * elmo.el (elmo-message-flag-available-p): New generic function.
1431 (elmo-message-number): Ditto.
1432 (elmo-message-field): Use `elmo-msgdb-message-field'.
1434 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1436 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1437 (elmo-message-number): Ditto.
1439 * elmo-multi.el (elmo-message-number): Define.
1440 (elmo-message-flag-available-p): Ditto.
1442 * elmo-filter.el (elmo-message-flag-available-p): Define.
1443 (elmo-message-number): Ditto.
1445 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1446 (elmo-folder-initialize): Load `max-number'.
1447 (elmo-folder-commit): Save it.
1448 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1449 (elmo-global-flag-set-internal): Set up max-number slot.
1451 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1453 * elmo-version.el (elmo-version): Up to 2.11.31.
1455 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1457 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1458 unibyte string of the current buffer for the argument of `md5'
1459 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1461 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1463 * modb-legacy.el (modb-legacy-flag-list): New constant.
1464 (modb-legacy-suppoted-flag-p): New internal function.
1465 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1466 (elmo-msgdb-unset-flag): Ditto.
1468 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1470 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1472 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1475 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1477 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1478 (follow the API change).
1480 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1482 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1484 * modb-standard.el (modb-standard-digest-flags): Abolish.
1485 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1487 * elmo-vars.el (elmo-digest-flags): New variable.
1488 (elmo-preserved-flags): Moved from elmo-flag.el.
1490 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1491 (elmo-imap4-flag-to-imap-criteria): Ditto.
1492 (elmo-imap4-folder-list-flagged): Use it.
1494 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1496 * elmo.el (elmo-folder-count-flags): Changed return value.
1498 * elmo-flag.el (elmo-preserved-flags): New variable.
1499 (elmo-get-global-flags): Use it.
1501 * modb-standard.el (modb-standard-digest-flags): New variable.
1502 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1503 Changed behavior of `any'.
1505 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1506 which are defined the Internet draft
1507 (draft-melnikov-imap-keywords-03.txt).
1508 (elmo-imap4-flags-to-imap): New function.
1509 (elmo-folder-append-buffer): Use it.
1511 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1514 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1515 avoid the bug of Emacs 21.3.
1517 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1519 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1520 function find-coding-system does not exist.
1522 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1524 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1527 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1529 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1532 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1534 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1535 (elmo-network-close-session): Follow the changes in
1536 `elmo-pop3-read-response'.
1537 (elmo-pop3-auth-user): Ditto.
1538 (elmo-pop3-auth-apop): Ditto.
1539 (elmo-network-initialize-session): Ditto.
1540 (elmo-network-authenticate-session): Ditto.
1541 (elmo-network-setup-session): Ditto.
1542 (elmo-folder-status): Ditto.
1543 (elmo-message-fetch-plugged): Ditto.
1544 (elmo-pop3-delete-msg): Ditto.
1546 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1548 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1551 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1553 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1555 (elmo-bind-directory): Ditto.
1557 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1559 * elmo.el (elmo-folder-append-messages): Note on return value.
1560 * elmo-archive.el (elmo-folder-append-messages): Don't return
1561 message numbers which could not be appended.
1563 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1565 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1567 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1569 * elmo-version.el (elmo-version): Up to 2.11.30.
1571 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1573 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1576 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1578 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1579 (elmo-multi-split-numbers): Add elmo-folder object into each
1580 element of return value at first.
1581 (elmo-folder-delete-messages): Follow the above change.
1582 (elmo-folder-detach-messages): Ditto.
1584 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1585 number which is synchronized in target folder.
1587 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1589 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1590 Change default value to symbol `all'.
1591 (elmo-map-message-fetch): Change condition to update overview
1594 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1596 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1597 behavior to update overview.
1598 (elmo-shimbun-update-overview-folder-list): Note it.
1600 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1602 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1605 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1607 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1608 buffer-disable-undo, it is unnecessary.
1609 (elmo-spam-register-good-messages): Ditto.
1611 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1614 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1616 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1618 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1619 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1620 elmo-set-buffer-multibyte.
1621 (elmo-object-load): Ditto.
1622 (elmo-save-buffer): Ditto.
1623 (elmo-delete-char): Ditto.
1624 (elmo-file-field-primitive-condition-match): Ditto.
1625 (elmo-mime-string): Ditto.
1627 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1628 (elmo-archive-field-condition-match): Ditto.
1630 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1632 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1634 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1635 (elmo-nntp-msgdb-create-message): Ditto.
1637 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1639 * elmo.el (elmo-message-match-condition): Ditto.
1640 (elmo-message-match-condition): Ditto.
1642 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1645 * elmo-version.el (elmo-version): Up to 2.11.29.
1647 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1648 (elsp-header): New backend.
1650 * elmo-util.el (elmo-decoded-field-body): New function.
1652 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1654 * elmo-version.el (elmo-version): Up to 2.11.28.
1656 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1658 * elmo-filter.el: Rewrite.
1660 * elmo-version.el (elmo-version): Up to 2.11.27.
1662 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1664 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1665 msgdb path for the localdir folder with absolute path.
1667 * utf7.el: Synch up with latest gnus/utf7.el;
1668 Modified for latest Emacs.
1670 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1672 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1673 shimbun backend couldn't open.
1675 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1677 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1678 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1679 when a destination folder is a filter folder.
1681 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1683 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1684 (elmo-generic-folder-append-messages): Call elmo-message-flags
1685 with argument `msgid'.
1687 * elmo-split.el (elmo-split-subr): Ditto.
1689 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1691 * elmo-multi.el (elmo-message-flags): Ditto.
1693 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1695 * elmo.el (elmo-folder): Add new slot `flag-table'.
1696 (elmo-folder-flag-table): New API.
1697 (elmo-folder-close-flag-table): Ditto.
1698 (elmo-folder-preserve-flags): New function.
1699 (elmo-generic-folder-append-messages): Use
1700 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1701 Flag of a non-registered message, it sets to nil.
1702 Does not set flag to flag-table.
1704 * elmo-maildir.el (elmo-folder-append-buffer): Use
1705 `elmo-folder-preserve-flags'.
1706 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1707 `elmo-folder-close-flag-table'.
1709 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1710 (elmo-archive-folder-append-buffer): Use
1711 `elmo-folder-preserve-flags'.
1713 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1715 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1717 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1718 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1719 `elmo-folder-close-flag-table'.
1721 * elmo-version.el (elmo-version): Up to 2.11.26.
1723 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1725 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1727 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1728 md5's 4th and 5th argument (non-existent in flim one).
1730 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1732 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1733 message, It sets to nil.
1735 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1737 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1740 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1742 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1744 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1746 * elmo-util.el (elmo-uniq-sorted-list): New function.
1747 (elmo-make-number-list): Ditto.
1748 (elmo-number-set-to-number-list): Use elmo-make-number-list
1749 and don't use nreverse.
1751 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1753 * elmo-version.el (elmo-version): Up to 2.11.25.
1755 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1757 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1758 field not exists in message, Use md5 message digest of header.
1760 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1762 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1763 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1764 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1765 * elmo-split.el (elmo-split-subr): Check return value of
1766 elmo-folder-append-buffer.
1768 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1769 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1771 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1774 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1776 * elmo-split.el (elmo-split-subr): Append message with flag.
1778 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1779 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1780 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1782 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1784 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1785 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1786 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1788 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1790 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1791 with a function call of `process-buffer'. All callers are updated.
1792 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1793 Remove redundant `set-buffer' in a while loop.
1795 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1797 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1800 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1802 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1803 elsp-spamfilter-register-buffer-internal with current buffer.
1804 (elmo-spam-register-spam-buffer): Ditto.
1805 (elmo-spam-register-good-buffer): Ditto.
1807 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1809 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1810 if it is not contained in the response(A workaround for courier-imap).
1812 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1814 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1817 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1819 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1822 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1824 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1827 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1829 (elmo-msgdb-message-match-condition): Follow the change above.
1831 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1836 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1838 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1840 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1842 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1844 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1846 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1849 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1851 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1853 (elmo-file-command-argument): Undo last change for cygwin.
1854 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1856 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1858 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1860 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1861 value returned from elmo-file-find is nil.
1863 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1865 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1868 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1869 instead of insert-file-contents-as-binary.
1870 (elmo-message-set-field): New generic function.
1872 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1873 behavior change on `split-string'.
1875 * elmo-file.el (elmo-file-find): New function.
1876 (elmo-file-command): New user option.
1877 (elmo-file-command-argument): Ditto.
1878 (elmo-file-fetch-max-size): Ditto.
1879 (elmo-file-detect-format): New function.
1880 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1881 Use elmo-file-detect-format.
1882 (elmo-map-folder-list-message-locations): Don't treat directories.
1884 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1886 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1887 (elmo-passwd-alist-clear): Shred password before clear.
1888 (elmo-remove-passwd): Remove all mached pair.
1890 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1892 * elmo.el (elmo-folder-synchronize): Fix description of the return
1895 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1897 * elmo.el (elmo-message-fetch-bodystructure): New method.
1898 (elmo-message-fetch-bodystructure): Define default.
1900 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1901 elmo-message-fetch-bodystructure.
1902 (elmo-message-fetch-bodystructure): Define.
1904 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1906 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1908 * elmo-filter.el (elmo-message-folder): Define.
1910 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1912 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1913 elmo-delete-cr-buffer.
1915 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1917 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1919 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1921 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1922 type seems to be a text.
1924 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1926 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1927 (elmo-spam-register-good-buffer): Ditto.
1928 (elmo-spam-spamassassin-register-messages): Ditto.
1930 * elmo-util.el (elmo-string-member-ignore-case): Define with
1933 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1935 * elmo.el (elmo-folder-type): Undo last change.
1937 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1939 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1942 * elmo-file.el: New file.
1944 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1946 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1948 (elmo-spam-spamassassin-register-messages): New inline function.
1949 (elmo-spam-register-spam-messages): Define.
1950 (elmo-spam-register-good-messages): Ditto.
1952 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1955 * elmo.el (toplevel): Added autoload setting for
1956 `elmo-get-global-flags'.
1957 (elmo-message-has-global-flag-p): New function.
1958 (elmo-message-set-global-flags): Ditto.
1959 (elmo-folder-type): Improvement for name: format.
1961 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1962 availability of keyword flags.
1963 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1964 (elmo-folder-list-flagged-plugged): Renamed from
1965 elmo-folder-list-flagged-unplugged.
1966 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1967 accept any flag as keyword flag.
1968 (elmo-folder-set-flag-plugged): Accept keyword flags.
1969 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1971 * elmo-flag.el (elmo-get-global-flags): New function.
1973 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1976 * elmo-version.el (elmo-version): Up to 2.11.24.
1978 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1980 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1981 elmo-multiple-field-body instead of std11-field-body to check all
1984 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1986 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1989 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1991 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1992 unintern is unbound.
1994 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1996 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1997 Protect from infinite loop.
1999 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2001 * elsp-bogofilter.el
2002 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2003 (elmo-spam-bogofilter-register-messages): New internal function.
2004 (elmo-spam-register-spam-messages): Define.
2005 (elmo-spam-register-good-messages): Ditto.
2007 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2009 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2010 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2011 (elmo-spam-bogofilter-call): Fixed the last change.
2012 (elmo-spam-bogofilter-arguments): Ditto.
2014 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2015 Follow the options change of latest bogofilter.
2017 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2018 (elmo-spam-bogofilter-good-switch): Ditto.
2019 (elmo-spam-bogofilter-arguments-alist): New user option.
2020 (elmo-spam-bogofilter-debug): Ditto.
2021 (elmo-spam-bogofilter-call): Renamed from
2022 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2023 is non-nil, insert output in buffer for debug.
2024 (elmo-spam-bogofilter-arguments): New macro.
2025 (elmo-spam-buffer-spam-p): Use it.
2026 (elsp-bogofilter-register-buffer): Ditto.
2028 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2030 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2033 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2035 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2037 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2038 (elmo-spam-bsfilter-program): Set default value as full path for
2040 (elmo-spam-bsfilter-debug): New user option.
2041 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2042 non-nil, insert output in buffer for debug. Fix treating of
2045 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2047 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2048 `elmo-maildir-flag-specs' element instead of one.
2049 (elmo-map-folder-unset-flag): Ditto.
2050 (Reported by Ken Makimura <macky@astem.or.jp>)
2052 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2053 (elmo-folder-unset-flag-plugged): Ditto.
2055 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2057 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2058 to `reads' slot only if `in-msgdb' is nil.
2060 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2062 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2063 and complement argument list.
2065 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2067 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2068 instead of elmo-folder-list-flagged.
2070 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2072 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2074 * elsp-bsfilter.el: New file.
2076 * elmo-pipe.el (elmo-folder-list-unreads,
2077 elmo-folder-list-answereds,
2078 elmo-folder-list-importants,
2079 elmo-folder-flag-as-important,
2080 elmo-folder-unflag-important,
2081 elmo-folder-flag-as-read,
2082 elmo-folder-unflag-read,
2083 elmo-folder-flag-as-answered,
2084 elmo-folder-unflag-answered): Remove.
2085 (elmo-folder-set-flag): Define.
2086 (elmo-folder-unset-flag): Ditto.
2088 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2089 (elmo-folder-set-flag): Define.
2090 (elmo-folder-unset-flag): Ditto.
2091 (elmo-folder-list-unreads): Remove.
2092 (elmo-folder-list-flagged): Define.
2094 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2095 (elmo-folder-list-unreads,
2096 elmo-folder-list-importants,
2097 elmo-folder-list-answereds,
2098 elmo-folder-list-unreads-plugged,
2099 elmo-folder-list-importants-plugged,
2100 elmo-folder-list-answereds-plugged): Remove.
2101 (elmo-folder-list-flagged-plugged): New method.
2102 (elmo-folder-unflag-important,
2103 elmo-folder-flag-as-important,
2104 elmo-folder-unflag-read,
2105 elmo-folder-flag-as-read,
2106 elmo-folder-unflag-answered,
2107 elmo-folder-flag-as-answered,
2108 elmo-folder-flag-as-read-unplugged,
2109 elmo-folder-unflag-read-unplugged,
2110 elmo-folder-flag-as-important-unplugged,
2111 elmo-folder-unflag-important-unplugged,
2112 elmo-folder-flag-as-answered-unplugged,
2113 elmo-folder-unflag-answered-unplugged): Remove.
2114 (elmo-folder-set-flag): Define.
2115 (elmo-folder-unset-flag): Ditto.
2116 (elmo-folder-set-flag-unplugged): Ditto.
2117 (elmo-folder-unset-flag-unplugged): Ditto.
2119 * elmo-multi.el (elmo-folder-list-unreads,
2120 elmo-folder-list-answereds,
2121 elmo-folder-list-importants,
2122 elmo-folder-flag-as-important,
2123 elmo-folder-unflag-important,
2124 elmo-folder-flag-as-read,
2125 elmo-folder-unflag-read,
2126 elmo-folder-flag-as-answered,
2127 elmo-folder-unflag-answered): Remove.
2128 (elmo-folder-set-flag): Define.
2129 (elmo-folder-unset-flag): Ditto.
2131 * elmo-map.el (elmo-map-folder-unflag-important,
2132 elmo-map-folder-flag-as-important,
2133 elmo-map-folder-unflag-read,
2134 elmo-map-folder-flag-as-read,
2135 elmo-map-folder-unflag-answered,
2136 elmo-map-folder-flag-as-answered): Remove.
2137 (elmo-map-folder-set-flag): New method.
2138 (elmo-map-folder-unset-flag): Ditto.
2139 (elmo-map-folder-list-unreads,
2140 elmo-map-folder-list-importants,
2141 elmo-map-folder-list-answereds): Remove.
2142 (elmo-folder-list-flagged-internal): Define.
2143 (elmo-map-folder-list-flagged): New method.
2145 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2146 (elmo-map-folder-list-unreads,
2147 elmo-map-folder-list-importants,
2148 elmo-map-folder-list-flagged): Remove.
2149 (elmo-map-folder-list-flagged): Define.
2150 (elmo-map-folder-flag-as-important,
2151 elmo-map-folder-unflag-important,
2152 elmo-map-folder-flag-as-read,
2153 elmo-map-folder-unflag-read,
2154 elmo-map-folder-flag-as-answered,
2155 elmo-map-folder-unflag-answered): Remove.
2156 (elmo-maildir-set-mark-messages): New internal function.
2157 (elmo-map-folder-set-flag): Define.
2158 (elmo-map-folder-unset-flag): Ditto.
2160 * elmo.el (toplevel): Added autoload setting for
2161 `elmo-folder-list-global-flag-messages'.
2162 (elmo-folder-list-unreads,
2163 elmo-folder-list-importants,
2164 elmo-folder-list-answereds): Remove.
2165 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2166 Return a list whitch merged with messages have global flag.
2167 (elmo-folder-list-flagged-internal): New method.
2168 (elmo-folder-unflag-important,
2169 elmo-folder-flag-as-important,
2170 elmo-folder-unflag-read,
2171 elmo-folder-flag-as-read,
2172 elmo-folder-unflag-answered,
2173 elmo-folder-flag-as-answered): Remove.
2174 (elmo-folder-set-flag): New method.
2175 (elmo-folder-unset-flag): Ditto.
2176 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2177 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2179 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2180 (elmo-folder-list-unreads-plugged,
2181 elmo-folder-list-importants-plugged,
2182 elmo-folder-list-answereds-plugged,
2183 elmo-folder-list-flagged-unplugged,
2184 elmo-folder-unflag-important-plugged,
2185 elmo-folder-flag-as-important-plugged,
2186 elmo-folder-unflag-read-plugged,
2187 elmo-folder-flag-as-read-plugged,
2188 elmo-folder-unflag-answered-plugged,
2189 elmo-folder-flag-as-answered-plugged): Remove.
2190 (elmo-folder-set-flag-plugged,
2191 elmo-folder-unset-flag-plugged): Define.
2193 * elmo-flag.el (elmo-folder-initialize): Register to
2194 `elmo-global-flag-list' if flag is not global.
2195 (elmo-folder-append-messages): Set flag to source messages.
2197 * elmo-filter.el (elmo-filter-folder-list-unreads,
2198 elmo-folder-list-unreads,
2199 elmo-filter-folder-list-importants,
2200 elmo-folder-list-importants,
2201 elmo-folder-flag-as-read,
2202 elmo-folder-unflag-read,
2203 elmo-folder-flag-as-important,
2204 elmo-folder-unflag-important,
2205 elmo-folder-flag-as-answered,
2206 elmo-folder-unflag-answered): Remove.
2207 (elmo-folder-set-flag): Define.
2208 (elmo-folder-unset-flag): Ditto.
2210 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2211 elmo-folder-unflag-read-dop,
2212 elmo-folder-flag-as-important-dop,
2213 elmo-folder-unflag-important-dop,
2214 elmo-folder-flag-as-answered-dop,
2215 elmo-folder-unflag-answered-dop): Remove.
2216 (elmo-folder-set-flag-dop,
2217 elmo-folder-unset-flag-dop,
2218 elmo-folder-set-important-delayed,
2219 elmo-folder-unset-important-delayed,
2220 elmo-folder-set-read-delayed,
2221 elmo-folder-unset-read-delayed,
2222 elmo-folder-set-answered-delayed,
2223 elmo-folder-unset-answered-delayed): New function.
2224 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2225 (elmo-dop-queue-method-name-alist): Ditto.
2227 * elmo-version.el (elmo-version): Up to 2.11.23.
2229 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2231 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2233 * elsp-sa.el: New file.
2235 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2237 * modb-standard.el (modb-standard-message-entity): New function.
2238 (elmo-msgdb-message-entity): Use it.
2240 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2242 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2243 behavior when one-level is nil.
2245 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2247 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2249 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2251 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2253 (elmo-generic-folder-diff): Ditto.
2255 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2256 (elmo-folder-update-number): Ditto.
2258 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2259 (elmo-folder-next-message-number-dop): Ditto.
2261 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2263 * elmo-filter.el (elmo-folder-msgdb-create): Use
2264 `elmo-message-entity' and `elmo-message-flags' instead of
2265 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2267 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2269 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2272 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2274 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2276 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2278 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2280 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2282 * elmo-version.el (elmo-version): Up to 2.11.22.
2284 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2286 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2288 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2290 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2291 if the message dose not exist.
2293 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2295 * elmo-version.el (elmo-version): Up to 2.11.21.
2297 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2299 * modb-standard.el (toplevel): Don't require mime.
2301 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2303 * elsp-bogofilter.el (toplevel): Don't require path-util.
2304 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2305 (elmo-spam-bogofilter-header): Abolish.
2306 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2307 (elmo-spam-bogofilter-args): New user option.
2308 (elsp-bogofilter-call-bogofilter): New internal function.
2309 (elmo-spam-buffer-spam-p): Use it.
2310 (elsp-bogofilter-register-buffer): Renamed from
2311 `elmo-spam-bogofilter-register-buffer';
2312 Use `elsp-bogofilter-call-bogofilter'.
2313 (elmo-spam-register-spam-buffer): Follow the change above.
2314 (elmo-spam-register-good-buffer): Ditto.
2316 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2318 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2319 message-id is nil do nothing.
2321 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2323 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2325 (elmo-imap4-session): Removed use-flag slot.
2326 (elmo-imap4-session-select-mailbox): Undo last change.
2327 (elmo-folder-use-flag-p): Use
2328 elmo-imap4-disuse-server-flag-mailbox-regexp.
2330 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2332 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2333 (elmo-imap4-session-select-mailbox): Set it up.
2334 (elmo-folder-use-flag-p): Return value of use-flag slot.
2336 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2338 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2340 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2342 * modb-entity.el (elmo-message-entity-handler): Likewise.
2344 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2346 * elmo.el (toplevel): Remove setting of autoloding for
2347 elmo-global-flag-initialize.
2348 (elmo-init): Don't call elmo-global-flag-initialize.
2349 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2351 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2352 (elmo-global-mark-migrate): Don't call it.
2353 (elmo-global-mark-upgrade): Ditto.
2355 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2357 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2358 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2360 * elmo-vars.el (elmo-init-hook): New user option.
2362 * elmo.el (elmo-init): Run the elmo-init-hook.
2364 * elmo-flag.el (elmo-global-mark-migrate): New function.
2366 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2368 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2369 Undo last change (move to elmo-msgdb-unset-flag).
2370 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2373 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2375 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2377 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2378 (elmo-msgdb-unset-flag): Ditto.
2380 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2382 * elmo-split.el (elmo-split): Return split message count.
2384 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2386 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2389 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2391 * elmo.el (elmo-folder-unflag-important): Call
2392 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2395 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2397 (elmo-global-flag-detach): Delete the message from flag folder, if
2398 `delete-if-none' is a symbol `always'.
2400 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2402 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2403 `elmo-spam-spamfilter-decode-buffer'.
2404 (elsp-spamfilter-register-buffer-internal): New internal function.
2405 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2406 (elmo-spam-register-spam-buffer): Ditto.
2407 (elmo-spam-register-good-buffer): Ditto.
2409 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2411 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2412 (elmo-spam-register-spam-buffer): Follow the API change.
2413 (elmo-spam-register-good-buffer): Ditto.
2415 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2416 (elmo-split-spam-p): Added argument plist; Call
2417 `elmo-spam-buffer-spam-p' with new argument register.
2419 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2421 (elmo-spam-message-spam-p): Ditto.
2422 (elmo-spam-register-spam-buffer): Added optional argument
2424 (elmo-spam-register-good-buffer): Ditto.
2425 (elmo-spam-register-spam-messages): Ditto.
2426 (elmo-spam-register-good-messages): Ditto.
2428 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2430 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2431 register into good corpus.
2432 (elmo-spam-register-good-buffer): Fixed to register into bad
2435 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2437 * elmo-version.el (elmo-version): Up to 2.11.20.
2439 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2442 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2443 flag without depending on \Recent flag.
2445 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2447 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2448 (elmo-spam-modified-p): Defined.
2449 (elmo-spam-save-status): Set `modified' slot to nil.
2450 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2451 (elmo-spam-register-good-buffer): Ditto.
2453 * elmo-spam.el (elmo-spam-modified-p): New API.
2455 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2457 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2458 duplicate definition.
2460 * elmo-util.el (elmo-unfold-field-body): New function.
2461 (elmo-msgdb-get-message-id-from-buffer): Use it.
2463 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2464 Fixed the last change; Use elmo-unfold-field-body.
2466 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2468 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2471 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2473 * elmo-spam.el (elmo-spam-save-status): New API.
2475 * elsp-spamfilter.el: New file.
2477 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2479 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2481 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2483 * elmo-split.el (elmo-split-spam-p): New function.
2485 * elmo-spam.el: New file.
2487 * elsp-bogofilter.el: Ditto.
2489 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2491 * elmo.el (elmo-folder-next-message-number): New API.
2492 (elmo-folder-next-message-number): Define.
2493 (elmo-message-field): Don't check folder length.
2495 * elmo-net.el (elmo-folder-next-message-number): Define.
2496 (elmo-folder-next-message-number-unplugged): Define.
2498 * elmo-map.el (elmo-folder-next-message-number): Define.
2499 (elmo-folder-delete-messages): Clear hash value.
2501 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2503 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2504 (elmo-folder-delete-messages-dop-delayed): Always return t.
2506 * elmo-version.el (elmo-version): Up to 2.11.19.
2508 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2510 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2513 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2514 identical cons cell into the mark-alist and the hash table.
2516 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2518 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2519 elmo-folder-list-messages with argument `visible-only' as t.
2521 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2522 (elmo-folder-msgdb-create): Check the target folder.
2524 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2526 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2527 `permanentflag' instead of `flags'.
2528 (elmo-folder-open): Ditto.
2529 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2530 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2531 (elmo-folder-use-flag-p): Always return t.
2532 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2533 `permanentflags' does not exist.
2534 (elmo-folder-open): Ditto.
2536 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2538 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2540 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2542 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2543 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2545 (elmo-folder-open): Ditto.
2546 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2547 slot of the session includes the flag.
2548 (elmo-imap4-session-flag-available-p): New function.
2549 (elmo-imap4-folder-list-flagged): Ditto.
2550 (elmo-folder-list-unreads-plugged): Use it.
2551 (elmo-folder-list-importants-plugged): Ditto.
2552 (elmo-folder-list-answereds-plugged): Ditto.
2553 (elmo-imap4-search-internal-primitive): Ditto.
2554 (elmo-imap4-folder-list-any-plugged,
2555 elmo-imap4-folder-list-digest-plugged): Abolish.
2557 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2560 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2562 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2564 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2566 * elmo-util.el (elmo-get-hash-val): Simplify.
2567 (elmo-set-hash-val): Rewrite.
2569 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2571 * elmo.el (elmo-folder-list-messages): Append killed messages into
2572 result if `visible-only' is nil and `in-msgdb' is non-nil.
2574 * elmo-util.el (elmo-uniq-list): Added optional argument
2577 * modb.el (elmo-msgdb-flag-count): New API.
2579 * modb-standard.el (modb-standard): Added slot flag-count.
2580 (modb-standard-countup-flags): New function.
2581 (modb-standard-load-flag): Call it.
2582 (elmo-msgdb-append): Ditto.
2583 (elmo-msgdb-clear): Clear slot flag-count.
2584 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2585 (elmo-msgdb-unset-flag): Treat `all' flag and call
2586 modb-standard-countup-flags.
2587 (elmo-msgdb-flag-count): Define.
2588 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2589 (elmo-msgdb-delete-messages): Ditto.
2591 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2592 (elmo-msgdb-flag-count): Define.
2594 * elmo.el (elmo-folder-list-messages): Undo last change.
2595 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2596 (elmo-folder-kill-messages): Unset all flags to numbers.
2598 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2599 elmo-folder-kill-messages.
2601 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2602 (elmo-nntp-folder-delete-messages): Abolish.
2604 * elmo-version.el (elmo-version): Up to 2.11.18.
2606 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2608 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2609 (elmo-folder-kill-messages-range): New function.
2610 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2611 instead of elmo-folder-kill-messages-before.
2613 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2615 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2616 elmo-imap4-current-msgdb to decide entity handler.
2618 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2620 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2622 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2624 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2625 (elmo-msgdb-overview-entity-set-number,
2626 elmo-msgdb-overview-entity-get-references,
2627 elmo-msgdb-overview-entity-set-references,
2628 elmo-msgdb-overview-entity-get-from-no-decode,
2629 elmo-msgdb-overview-entity-get-from,
2630 elmo-msgdb-overview-entity-set-from,
2631 elmo-msgdb-overview-entity-get-subject,
2632 elmo-msgdb-overview-entity-get-subject-no-decode,
2633 elmo-msgdb-overview-entity-set-subject,
2634 elmo-msgdb-overview-entity-get-date,
2635 elmo-msgdb-overview-entity-set-date,
2636 elmo-msgdb-overview-entity-get-to,
2637 elmo-msgdb-overview-entity-get-cc,
2638 elmo-msgdb-overview-entity-get-size,
2639 elmo-msgdb-overview-entity-set-size,
2640 elmo-msgdb-overview-entity-get-extra,
2641 elmo-msgdb-overview-entity-set-extra,
2642 elmo-msgdb-overview-entity-get-extra-field,
2643 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2644 (elmo-msgdb-make-index): Use
2645 `elmo-msgdb-overview-entity-get-number-internal'.
2646 (elmo-msgdb-clear-index): Ditto.
2647 (elmo-msgdb-append-entity): Ditto;
2648 Use `elmo-msgdb-overview-entity-get-id-internal'.
2650 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2651 elmo-msgdb-overview-entity-set-number,
2652 elmo-msgdb-overview-entity-get-references,
2653 elmo-msgdb-overview-entity-set-references,
2654 elmo-msgdb-overview-entity-get-from-no-decode,
2655 elmo-msgdb-overview-entity-get-from,
2656 elmo-msgdb-overview-entity-set-from,
2657 elmo-msgdb-overview-entity-get-subject,
2658 elmo-msgdb-overview-entity-get-subject-no-decode,
2659 elmo-msgdb-overview-entity-set-subject,
2660 elmo-msgdb-overview-entity-get-date,
2661 elmo-msgdb-overview-entity-set-date,
2662 elmo-msgdb-overview-entity-get-to,
2663 elmo-msgdb-overview-entity-get-cc,
2664 elmo-msgdb-overview-entity-get-size,
2665 elmo-msgdb-overview-entity-set-size,
2666 elmo-msgdb-overview-entity-get-extra,
2667 elmo-msgdb-overview-entity-set-extra,
2668 elmo-msgdb-overview-entity-get-extra-field,
2669 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2670 and rewrote for backward compatibility.
2672 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2674 * elmo.el (elmo-message-entity-number,
2675 elmo-message-entity-set-number,
2676 elmo-message-entity-field,
2677 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2679 * elmo-msgdb.el (elmo-message-entity-number,
2680 elmo-message-entity-set-number,
2681 elmo-message-entity-field,
2682 elmo-message-entity-set-field): Moved from elmo.el.
2684 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2686 * elmo.el (toplevel): Changed definition orders.
2688 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2690 * modb.el (elmo-msgdb-search): New API .
2691 (elmo-msgdb-match-condition): Ditto.
2693 * modb-standard.el (elmo-msgdb-search): Define.
2695 * modb-legacy.el (elmo-msgdb-search): Ditto.
2697 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2698 from elmo-msgdb-match-condition-internal.
2700 * elmo.el (elmo-folder-search-fast): Abolish.
2701 (elmo-folder-search): Use elmo-msgdb-search and
2702 elmo-with-progress-display.
2704 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2707 * elmo.el (elmo-folder): Remove slot message-modified and
2709 (elmo-folder-set-message-modified): Abolish.
2710 (elmo-generic-folder-commit): Follow the change above.
2711 (elmo-folder-synchronize): Ditto.
2713 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2715 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2717 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2719 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2721 * modb-standard.el (modb-standard-make-message-entity,
2722 elmo-msgdb-make-message-entity,
2723 elmo-msgdb-create-message-entity-from-buffer,
2724 elmo-msgdb-message-entity-number,
2725 elmo-msgdb-message-entity-set-number,
2726 elmo-msgdb-message-entity-field,
2727 elmo-msgdb-message-entity-set-field,
2728 elmo-msgdb-copy-message-entity,
2729 elmo-msgdb-match-condition-internal): Remove.
2731 * modb-entity.el: New file (again).
2733 * modb.el (toplevel): Require modb-entity.
2734 (elmo-msgdb-message-entity-handler): New method.
2736 * modb-standard.el (modb-standard-entity-id): Use
2737 elmo-message-entity-handler.
2738 (modb-standard-load-entity): Ditto.
2739 (elmo-msgdb-append-entity): Ditto.
2740 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2742 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2743 elmo-msgdb-decoded-cache-hashtb,
2744 (modb-legacy-make-message-entity,
2745 elmo-msgdb-make-message-entity,
2746 elmo-msgdb-create-message-entity-from-buffer,
2747 elmo-msgdb-message-entity-number,
2748 elmo-msgdb-message-entity-set-number,
2749 elmo-msgdb-message-entity-field,
2750 elmo-msgdb-message-entity-set-field,
2751 elmo-msgdb-copy-message-entity,
2752 elmo-msgdb-match-condition-internal,
2753 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2755 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2756 (elmo-message-entity-set-number): Ditto.
2757 (elmo-message-entity-field): Ditto.
2758 (elmo-message-entity-set-field): Ditto.
2760 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2762 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2764 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2766 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2767 (elmo-nntp-msgdb-create-message): Ditto.
2769 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2770 (elmo-folder-msgdb-create): Add unread flag.
2772 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2774 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2776 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2778 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2780 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2781 elmo-msgdb-messge-entity-handler.
2782 * elmo-version.el (elmo-version): Up to 2.11.17.
2784 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2786 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2789 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2791 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2793 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2794 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2795 (elmo-msgdb-flag-table): Ditto.
2796 (elmo-msgdb-sort-by-date): Ditto.
2798 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2800 * modb-standard.el (toplevel): Require mime.
2801 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2802 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2803 elmo-msgdb-message-entity-number.
2804 (elmo-msgdb-append-entity): Ditto.
2805 (elmo-msgdb-create-message-entity-from-file): Remove.
2806 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2807 corresponds to the entity.
2808 (elmo-msgdb-message-entity-number): Do nothing currently.
2809 (elmo-msgdb-message-entity-field): Ditto.
2810 (elmo-msgdb-message-entity-set-field): Ditto.
2811 (elmo-msgdb-copy-message-entity): Ditto.
2812 (elmo-msgdb-match-condition-internal): Ditto.
2814 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2816 (elmo-msgdb-create-message-entity-from-file): Remove.
2818 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2820 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2822 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2824 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2826 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2827 (elmo-msgdb-message-entity-field): Ditto.
2828 (elmo-msgdb-message-entity-number): Ditto.
2830 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2832 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2833 Fixed how to set extra field into entity.
2834 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2837 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2838 Fixed how to set extra field into entity.
2839 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2842 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2844 * modb.el (elmo-message-entity-db): New function.
2845 (elmo-msgdb-make-message-entity): New API.
2846 (elmo-msgdb-message-entity-number): Ditto.
2847 (elmo-msgdb-message-entity-set-number): Ditto.
2848 (elmo-msgdb-message-entity-field): Ditto.
2849 (elmo-msgdb-message-entity-set-field): Ditto.
2850 (elmo-msgdb-copy-message-entity): Ditto.
2851 (elmo-msgdb-create-message-entity-from-file): Ditto.
2852 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2853 (elmo-msgdb-match-condition-internal): Ditto.
2855 * modb-standard.el (modb-legacy): Require modb-legacy.
2856 (modb-standard-make-message-entity): New inline function.
2857 (elmo-msgdb-make-message-entity): Define.
2858 (elmo-msgdb-create-message-entity-from-file): Ditto.
2859 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2860 (elmo-msgdb-message-entity-field): Ditto.
2861 (elmo-msgdb-message-entity-set-field): Ditto.
2862 (elmo-msgdb-copy-message-entity): Ditto.
2863 (elmo-msgdb-match-condition-internal): Ditto.
2865 * modb-legacy.el: Don't require modb-entity.
2866 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2867 (elmo-msgdb-match-condition-primitive): Ditto.
2868 (elmo-msgdb-get-decoded-cache): Ditto.
2869 (elmo-msgdb-overview-entity-get-id): Ditto.
2870 (elmo-msgdb-overview-entity-get-number): Ditto.
2871 (elmo-msgdb-overview-entity-set-number): Ditto.
2872 (elmo-msgdb-overview-entity-get-references): Ditto.
2873 (elmo-msgdb-overview-entity-set-references): Ditto.
2874 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2875 (elmo-msgdb-overview-entity-get-from): Ditto.
2876 (elmo-msgdb-overview-entity-set-from): Ditto.
2877 (elmo-msgdb-overview-entity-get-subject): Ditto.
2878 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2879 (elmo-msgdb-overview-entity-set-subject): Ditto.
2880 (elmo-msgdb-overview-entity-get-date): Ditto.
2881 (elmo-msgdb-overview-entity-set-date): Ditto.
2882 (elmo-msgdb-overview-entity-get-to): Ditto.
2883 (elmo-msgdb-overview-entity-get-cc): Ditto.
2884 (elmo-msgdb-overview-entity-get-size): Ditto.
2885 (elmo-msgdb-overview-entity-set-size): Ditto.
2886 (elmo-msgdb-overview-entity-get-extra): Ditto.
2887 (elmo-msgdb-overview-entity-set-extra): Ditto.
2888 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2889 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2890 (elmo-msgdb-number-load): Ditto.
2891 (elmo-msgdb-overview-load): Ditto.
2892 (elmo-msgdb-mark-load): Ditto.
2893 (elmo-msgdb-number-save): Ditto.
2894 (elmo-msgdb-mark-save): Ditto.
2895 (elmo-msgdb-overview-save): Ditto.
2896 (modb-legacy-make-message-entity): New inline function.
2897 (elmo-msgdb-insert-file-header): Ditto.
2898 (elmo-msgdb-make-message-entity): Define.
2899 (elmo-msgdb-create-message-entity-from-file): Ditto.
2900 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2901 (elmo-msgdb-message-entity-number): Ditto.
2902 (elmo-msgdb-message-entity-set-number): Ditto.
2903 (elmo-msgdb-message-entity-field): Ditto.
2904 (elmo-msgdb-message-entity-set-field): Ditto.
2905 (elmo-msgdb-copy-message-entity): Ditto.
2906 (elmo-msgdb-match-condition-internal): Ditto.
2908 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2909 (elmo-message-copy-entity): Rewrite.
2910 (elmo-message-entity-number): Ditto.
2911 (elmo-message-entity-set-number): Ditto.
2912 (elmo-message-entity-field): Use elmo-message-entity-db.
2913 (elmo-message-entity-set-field): Ditto.
2914 (elmo-message-field): Rewrite.
2916 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2918 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2920 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2921 elmo-message-entity-field.
2922 (elmo-shimbun-folder-shimbun-header): Ditto.
2923 (elmo-shimbun-entity-to-header): Ditto.
2924 (elmo-folder-msgdb-create): Ditto.
2925 (elmo-shimbun-msgdb-create-entity): Ditto;
2926 Use elmo-msgdb-create-message-entity-from-buffer.
2927 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2928 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2930 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2931 elmo-msgdb-create-message-entity-from-file and
2932 elmo-message-entity-field.
2934 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2935 elmo-message-entity-number.
2936 (elmo-pop3-msgdb-create-message): Use
2937 elmo-msgdb-create-message-entity-from-buffer,
2938 elmo-message-entity-set-field, elmo-message-entity-number and
2939 elmo-message-entity-set-number.
2941 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2942 the API change in elmo-msgdb-make-message-entity.
2943 (elmo-nntp-msgdb-create-message): Use
2944 elmo-msgdb-create-message-entity-from-buffer.
2946 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2947 elmo-message-entity-field and
2948 elmo-msgdb-create-message-entity-from-file.
2950 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2951 (elmo-msgdb-get-field): Abolish.
2952 (elmo-msgdb-get-number): Rewrite.
2953 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2954 (elmo-msgdb-flag-table): Ditto.
2955 (elmo-msgdb-get-last-message-id,
2956 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2957 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2958 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2959 (elmo-msgdb-create-overview-from-buffer,
2960 elmo-msgdb-overview-get-parent-entity): Abolish.
2962 * elmo-mime.el (elmo-mime-display-as-is): Use
2963 elmo-message-entity-field.
2965 * elmo-map.el (elmo-folder-pack-numbers): Use
2966 elmo-message-entity-set-number.
2968 * elmo-maildir.el (elmo-folder-msgdb-create):
2969 elmo-msgdb-create-message-entity-from-file instead of
2970 elmo-msgdb-create-overview-entity-from-file.
2972 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2974 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2975 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2977 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2978 elmo-messge-entity-field and elmo-message-entity-number.
2979 (elmo-imap4-fetch-callback-1): Call
2980 elmo-msgdb-create-message-entity-from-buffer instead of
2981 elmo-msgdb-create-overview-from-buffer.
2982 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2983 (elmo-find-fetch-strategy): Likewise.
2985 * elmo-flag.el (elmo-folder-msgdb-create): Call
2986 elmo-localdir-msgdb-create-entity with argument msgdb.
2988 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2989 and elmo-message-entity-set-number.
2991 * elmo-cache.el (elmo-folder-msgdb-create): Use
2992 elmo-message-entity-field.
2993 (elmo-folder-msgdb-create): Call
2994 elmo-msgdb-create-message-entity-from-file instead of
2995 elmo-msgdb-create-overview-entity-from-file.
2997 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2998 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2999 instead of elmo-msgdb-create-overview-from-buffer.
3000 (elmo-archive-msgdb-create-entity): Ditto.
3001 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3002 elmo-message-entity-field.
3003 (elmo-archive-parse-mmdf): Ditto.
3005 * modb-entity.el: Removed.
3007 * elmo-version.el (elmo-version): Up to 2.11.16.
3009 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3011 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3013 (elmo-folder-flag-as-answered): Ditto.
3015 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3017 * modb-standard.el: New file.
3019 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3020 elmo-msgdb-convert-type is `sync'.
3022 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3023 (elmo-msgdb-convert-type): New user option.
3025 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3026 (elmo-load-msgdb): Auto detect saved type.
3028 * elmo-version.el (elmo-version): Up to 2.11.15.
3030 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3032 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3034 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3035 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3036 with argument `delete-if-none' when dst-folder is 'null.
3038 * elmo-flag.el (elmo-folder-append-messages): Defined.
3039 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3041 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3043 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3045 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3047 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3048 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3049 (elmo-folder-commit): Ditto.
3051 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3053 * elmo-flag.el: New file.
3055 * elmo-mark.el: Removed.
3057 * modb-legacy.el (modb-legacy-new-mark,
3058 modb-legacy-unread-uncached-mark,
3059 modb-legacy-unread-cached-mark,
3060 modb-legacy-read-uncached-mark,
3061 modb-legacy-answered-cached-mark,
3062 modb-legacy-answered-uncached-mark,
3063 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3064 All other related portions are changed.
3066 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3067 (elmo-folder-list-messages-with-global-mark): Abolish.
3068 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3069 (elmo-folder-flag-as-important): Ditto.
3070 (elmo-folder-unflag-read): Ditto.
3071 (elmo-folder-flag-as-read): Ditto.
3072 (elmo-folder-unflag-answered): Ditto.
3073 (elmo-folder-flag-as-answered): Ditto.
3074 (elmo-message-encache): Return the cache path.
3075 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3076 (elmo-message-set-flag): Transitional implementation.
3077 (elmo-message-unset-flag): Ditto.
3078 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3079 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3080 (elmo-init): Call elmo-global-flag-initialize.
3081 (toplevel): Added autoload settings for elmo-flag.
3083 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3085 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3086 (elmo-file-cache-delete): Don't treat global-mark.
3088 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3090 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3092 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3093 `elmo-global-flags-set'.
3095 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3097 (elmo-folder-unflag-read): Ditto.
3098 (elmo-folder-unflag-important): Ditto.
3099 (elmo-folder-flag-as-important): Ditto.
3100 (elmo-folder-unflag-answered): Ditto.
3101 (elmo-folder-flag-as-answered): Ditto.
3103 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3104 `elmo-global-flags-set'.
3105 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3107 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3109 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3111 (elmo-folder-flag-as-important): Ditto.
3112 (elmo-folder-unflag-important): Ditto.
3113 (elmo-folder-flag-as-important): Ditto.
3114 (elmo-folder-unflag-read): Ditto.
3115 (elmo-folder-flag-as-read): Ditto.
3116 (elmo-folder-unflag-answered): Ditto.
3117 (elmo-folder-flag-as-answered): Ditto.
3119 * elmo-multi.el (elmo-folder-list-importants): Don't call
3120 elmo-folder-list-messages-with-global-mark.
3121 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3122 (elmo-folder-unflag-important): Ditto.
3123 (elmo-folder-flag-as-read): Ditto.
3124 (elmo-folder-unflag-read): Ditto.
3125 (elmo-folder-flag-as-answered): Ditto.
3126 (elmo-folder-unflag-answered): Ditto.
3128 * elmo-msgdb.el (elmo-msgdb-new-mark,
3129 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3130 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3131 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3132 (Moved to modb-legacy.el).
3133 (elmo-flag-table-get): Treat important flag too.
3135 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3137 (elmo-map-folder-flag-as-important): Ditto.
3138 (elmo-map-folder-unflag-read): Ditto.
3139 (elmo-map-folder-flag-as-read): Ditto.
3140 (elmo-map-folder-unflag-answered): Ditto.
3141 (elmo-map-folder-flag-as-answered): Ditto.
3142 (elmo-folder-unflag-important): Ditto.
3143 (elmo-folder-flag-as-important): Ditto.
3144 (elmo-folder-unflag-read): Ditto.
3145 (elmo-folder-flag-as-read): Ditto.
3146 (elmo-folder-unflag-answered): Ditto.
3147 (elmo-folder-flag-as-answered): Ditto.
3149 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3150 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3152 (elmo-map-folder-unflag-important): Ditto.
3153 (elmo-map-folder-flag-as-read): Ditto.
3154 (elmo-map-folder-unflag-read): Ditto.
3155 (elmo-map-folder-flag-as-answered): Ditto.
3156 (elmo-map-folder-unflag-answered): Ditto.
3158 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3159 `elmo-global-flags-set'.
3160 (elmo-global-flags-set): Added autoload setting.
3162 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3165 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3166 `elmo-msgdb-global-mark-set'.
3167 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3168 Call `elmo-global-flags-set'.
3169 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3171 (elmo-folder-flag-as-important-plugged): Ditto.
3172 (elmo-folder-unflag-read-plugged): Ditto.
3173 (elmo-folder-flag-as-read-plugged): Ditto.
3174 (elmo-folder-unflag-answered-plugged): Ditto.
3175 (elmo-folder-flag-as-answered-plugged): Ditto.
3176 (elmo-global-flags-set): Added autoload setting.
3178 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3180 (elmo-folder-unflag-read): Ditto.
3181 (elmo-folder-flag-as-important): Ditto.
3182 (elmo-folder-unflag-important): Ditto.
3183 (elmo-folder-flag-as-answered): Ditto.
3184 (elmo-folder-unflag-answered): Ditto.
3186 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3187 change of `mark'->`flag'.
3188 (elmo-dop-queue-method-name-alist): Ditto.
3189 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3190 (elmo-folder-unflag-read-dop): Ditto.
3191 (elmo-folder-flag-as-important-dop): Ditto.
3192 (elmo-folder-unflag-important-dop): Ditto.
3193 (elmo-folder-flag-as-answered-dop): Ditto.
3194 (elmo-folder-unflag-answered-dop): Ditto.
3196 * elmo-cache.el (elmo-folder-msgdb-create): Call
3197 `elmo-global-flags-set'.
3199 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3200 Call `elmo-global-flags-set'.
3201 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3202 elmo-archive-parse-mmdf with argument `folder'.
3203 (elmo-archive-parse-mmdf): Added argument `folder';
3204 Call `elmo-global-flags-set'.
3206 * elmo-version.el (elmo-version): Up to 2.11.14.
3208 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3210 * modb.el (elmo-msgdb-length): Define.
3212 * elmo.el (elmo-make-folder): Fixed.
3213 (elmo-generic-folder-append-messages): Follow the API change.
3215 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3218 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3220 * modb.el: New file.
3222 * modb-entity.el: Ditto.
3224 * modb-legacy.el: Ditto.
3226 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3227 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3228 of `elmo-msgdb-overview-get-entity'.
3229 (elmo-msgdb-get-field): Ditto.
3230 (elmo-msgdb-merge): Moved to `elmo.el'.
3231 (elmo-msgdb-length): Removed; redefine as modb method.
3232 (elmo-msgdb-change-mark): Abolish.
3233 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3234 (elmo-msgdb-match-condition): Don't use mark.
3235 (elmo-msgdb-overview-get-entity): Abolish.
3236 Split modb part into `modb*.el'.
3238 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3240 * elmo-shimbun.el (shimbun-mua-search-id): Use
3241 `elmo-msgdb-message-entity' instead of
3242 `elmo-msgdb-overview-get-entity'.
3243 (elmo-shimbun-folder-shimbun-header): Ditto.
3244 (elmo-shimbun-get-headers): Ditto.
3245 (elmo-shimbun-update-overview): Ditto.
3247 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3249 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3251 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3252 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3254 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3255 `elmo-msgdb-mark-to-flags'.
3257 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3258 `elmo-msgdb-set-path'.
3260 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3262 * elmo-version.el (elmo-version): Up to 2.11.13.
3264 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3266 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3269 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3271 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3274 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3276 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3277 instead of `elmo-msgdb-get-cached'.
3278 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3280 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3281 (elmo-msgdb-set-cached): Ditto.
3282 (elmo-msgdb-set-flag): Rewrite.
3283 (elmo-msgdb-unset-flag): Ditto.
3285 * elmo-msgdb.el: Rewrite with luna.
3287 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3288 (elmo-folder-msgdb): Follow the change above.
3289 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3290 (elmo-folder-unmark-important): Follow the API change.
3291 (elmo-folder-mark-as-important): Ditto.
3292 (elmo-folder-unmark-read): Ditto.
3293 (elmo-folder-mark-as-read): Ditto.
3294 (elmo-folder-unmark-answered): Ditto.
3295 (elmo-folder-mark-as-answered): Ditto.
3296 (elmo-folder-clear): Likewise.
3298 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3299 instead of `elmo-msgdb-load' (renamed).
3301 * elmo-version.el (elmo-version): Up to 2.11.12.
3303 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3305 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3307 (elmo-message-mark): Abolish.
3308 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3309 instead of `elmo-msgdb-change-mark'.
3311 * elmo-pipe.el (elmo-message-mark): Abolish.
3313 * elmo-multi.el (elmo-message-mark): Ditto.
3315 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3316 (elmo-msgdb-unread-uncached-mark): Ditto.
3317 (elmo-msgdb-unread-cached-mark): Ditto.
3318 (elmo-msgdb-read-uncached-mark): Ditto.
3319 (elmo-msgdb-answered-cached-mark): Ditto.
3320 (elmo-msgdb-answered-uncached-mark): Ditto.
3321 (elmo-msgdb-important-mark): Ditto.
3322 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3324 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3326 (elmo-flag-table-load): Changed flag to list of flag.
3327 (elmo-flag-table-set): If flags is nil, set read flag.
3328 (elmo-flag-table-get): Return derived flags from global mark,
3329 cache status and saved flags.
3330 (elmo-msgdb-flag-table): Follow the change above.
3331 (elmo-msgdb-out-of-date-messages): New function.
3333 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3335 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3337 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3339 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3340 (elmo-nntp-msgdb-create-message): Ditto.
3342 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3344 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3346 (elmo-folder-msgdb-create): Follow the API change.
3348 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3349 (elmo-folder-append-messages): Ditto.
3351 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3352 (elmo-folder-append-buffer): Ditto.
3354 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3356 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3358 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3359 (elmo-archive-parse-mmdf): Ditto.
3361 * elmo-version.el (elmo-version): Up to 2.11.11.
3363 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3365 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3368 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3370 * elmo-pipe.el (elmo-message-flags): Defined.
3372 * elmo-multi.el (elmo-message-flags): Ditto.
3374 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3376 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3377 `elmo-msgdb-delete-msgs'.
3379 * elmo.el (elmo-folder-count-flags): Don't use
3380 `elmo-msgdb-get-mark-alist'.
3381 (elmo-folder-detach-messages): Follow the API change.
3383 * elmo.el (elmo-folder-list-messages): Append killed messages into
3384 result if `visible-only' is nil.
3386 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3388 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3389 (elmo-folder-update-number): Likewise.
3391 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3392 (elmo-pop3-sort-msgdb-by-original-number): Use
3393 `elmo-msgdb-sort-entities'.
3395 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3396 (elmo-msgdb-sort-by-date): Use it.
3397 (elmo-msgdb-overview-sort-by-date): Abolish.
3399 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3401 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3402 (elmo-msgdb-flags): New function.
3403 (elmo-msgdb-merge): Use elmo-msgdb-append.
3405 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3408 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3410 * elmo-dop.el (elmo-folder-status-dop): Use
3411 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3413 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3415 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3417 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3419 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3421 * elmo-util.el (elmo-with-progress-display): New macro.
3423 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3425 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3427 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3428 `elmo-folder-list-message-entities' instead of
3429 `elmo-msgdb-get-overview'.
3430 (elmo-map-folder-list-message-locations): Ditto.
3432 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3433 methods instead of treat directly).
3434 (elmo-msgdb-clear): Ditto.
3435 (elmo-msgdb-delete-msgs): Ditto.
3436 (elmo-msgdb-sort-by-date): Ditto.
3438 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3440 (elmo-nntp-folder-msgdb-create): Follow the API change.
3442 * elmo-version.el (elmo-version): Up to 2.11.10.
3444 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3446 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3447 (elmo-msgdb-flags-to-mark): Ditto.
3448 (elmo-msgdb-append-entity): Ditto.
3450 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3451 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3452 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3453 (elmo-archive-parse-mmdf): Ditto.
3455 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3457 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3459 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3461 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3463 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3465 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3467 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3469 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3471 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3472 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3475 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3476 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3477 instead of directly construction.
3478 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3479 instead of construct msgdb.
3481 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3482 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3483 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3484 instead of construct msgdb.
3486 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3488 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3489 when field is from or subject.
3491 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3493 * elmo-multi.el (elmo-message-entity-parent): Define.
3494 (elmo-folder-search): Rewrite.
3496 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3498 * elmo-multi.el (elmo-message-cached-p): Define.
3500 * elmo.el (elmo-message-cached-p): New method.
3501 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3502 (elmo-message-flags): New method.
3503 (elmo-message-flagged-p): New function.
3505 * elmo-version.el (elmo-version): Up to 2.11.9.
3507 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3509 * elmo-version.el (elmo-version): Up to 2.11.8.
3511 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3513 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3515 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3517 * elmo.el (elmo-folder-detach-messages): Undo last change.
3519 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3521 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3523 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3524 only when src folder type is pop3.
3526 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3528 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3529 elmo-msgdb-overview-entity-get-number instead of
3530 elmo-message-entity-number.
3532 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3534 * elmo-version.el (elmo-version): Up to 2.11.7.
3536 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3538 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3541 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3542 (elmo-msgdb-merge): New function.
3543 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3544 (elmo-msgdb-make-index): Rewrite.
3546 * elmo-version.el (elmo-version): Up to 2.11.6.
3548 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3549 use it as a the path for loading message entities.
3551 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3553 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3555 * elmo-filter.el (elmo-folder-set-message-modified): Set
3556 message-modified slot of itself if it does not require target msgdb.
3558 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3559 if folder length is zero.
3560 (elmo-mime-display-as-is): Ditto.
3562 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3564 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3566 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3568 * elmo.el (elmo-folder-set-message-modified): New method.
3569 (elmo-generic-folder-commit): Use it.
3570 (elmo-folder-synchronize): Ditto.
3572 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3573 (elmo-folder-commit): Remove duplicate definition.
3575 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3577 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3579 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3581 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3582 (elmo-strict-folder-diff): Ditto.
3583 (elmo-folder-set-info-max-by-numdb): Simplify.
3585 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3586 elmo-msgdb-list-messages.
3588 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3589 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3591 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3593 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3594 visible-only is non-nil.
3595 (elmo-folder-confirm-appends): Changed message.
3596 (elmo-folder-synchronize): Added argument disable-killed.
3598 * elmo-multi.el (elmo-folder-synchronize): Added argument
3601 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3603 * elmo-version.el (elmo-version): Up to 2.11.5.
3605 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3608 * elmo-util.el (elmo-list-filter): Simplify.
3610 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3611 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3612 (elmo-generic-folder-diff): Abolish argument.
3613 (elmo-msgdb-load): Don't use number-alist.
3615 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3617 * elmo-pipe.el (elmo-folder-diff): Ditto.
3619 * elmo-nmz.el (elmo-folder-diff): Ditto.
3621 * elmo-net.el (elmo-folder-diff): Ditto.
3623 * elmo-maildir.el (elmo-folder-diff): Ditto.
3625 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3627 * elmo-multi.el (elmo-folder-diff): Ditto
3628 (elmo-multi-folder-diff): Rewrite.
3630 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3632 * elmo-pipe.el (elmo-folder-msgdb): Define.
3634 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3636 * elmo.el (elmo-message-set-cached): Define as a method.
3638 * elmo-pipe.el (elmo-message-set-cached): Define.
3639 (elmo-find-fetch-strategy): Ditto.
3641 * elmo-multi.el (elmo-message-set-cached): Define.
3642 (elmo-find-fetch-strategy): Rewrite.
3644 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3646 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3648 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3650 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3651 instead of number-alist.
3653 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3654 mark nor message-id when msgdb of source folder is not loaded.
3656 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3658 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3660 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3662 * elmo.el (elmo-folder-length): Don't require msgdb.
3664 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3666 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3667 (elmo-message-field): Ditto.
3669 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3670 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3672 (elmo-map-folder-list-answereds): Define.
3673 (elmo-maildir-list-location): Treat 'R' info.
3674 (elmo-folder-msgdb-create): Treat flag-table.
3675 (elmo-folder-append-messages): Save flag-table.
3677 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3679 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3680 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3682 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3684 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3686 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3687 'read when mark is null.
3689 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3691 * elmo-version.el (elmo-version): Up to 2.11.4.
3693 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3695 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3696 (elmo-folder-mark-as-answered): Ditto.
3698 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3700 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3701 (elmo-pop3-get-session): Make msgdb directory after session.
3702 (elmo-folder-exists-p): Check exactly at the first time even when the
3703 elmo-pop3-exists-exactly is nil.
3705 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3706 (elmo-folder-list-messages): Define instead of
3707 elmo-folder-list-messages-internal.
3708 (elmo-folder-check): Check destination folder.
3709 (elmo-folder-synchronize): Drain the pipe.
3711 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3712 when msgdb is not loaded.
3714 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3716 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3717 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3720 * elmo.el (elmo-folder-kill-messages-before): New function.
3721 (elmo-folder-kill-messages): Ditto.
3722 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3724 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3725 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3726 killed not by synchronize (e.g. scoring).
3728 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3730 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3732 (elmo-folder-search): Follow the change above.
3734 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3735 into the candidates of search field.
3737 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3739 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3740 (elmo-msgdb-unset-flag): Ditto.
3742 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3744 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3746 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3747 (elmo-folder-commit): Define.
3748 (elmo-folder-synchronize): Ditto.
3749 (elmo-folder-list-flagged): Ditto.
3750 (elmo-folder-commit): Ditto.
3751 (elmo-folder-length): Ditto.
3752 (elmo-folder-count-flags): Ditto.
3753 (elmo-message-mark): Ditto.
3754 (elmo-message-field): Ditto.
3755 (elmo-message-entity): Ditto.
3756 (elmo-message-folder): Ditto.
3758 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3760 * elmo.el (elmo-message-field): Define as a method.
3762 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3763 (elmo-message-field): Define.
3765 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3766 (elmo-folder-list-importants): Ditto.
3767 (elmo-folder-list-answereds): Ditto.
3769 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3771 (elmo-folder-mark-as-read): Ditto.
3772 (elmo-folder-unmark-read): Ditto.
3773 (elmo-folder-mark-as-answered): Ditto.
3774 (elmo-folder-unmark-answered): Ditto.
3775 (elmo-folder-list-flagged): Define.
3776 (elmo-folder-commit): Ditto.
3777 (elmo-folder-length): Ditto.
3778 (elmo-folder-count-flags): Ditto.
3780 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3782 * elmo.el (elmo-folder-detach-messages): New method.
3783 (elmo-folder-move-messages): Use it.
3784 (elmo-folder-synchronize): Ditto.
3786 * elmo-multi.el (elmo-folder-detach-messages): Define.
3788 * elmo.el (elmo-message-copy-entity): New function.
3789 (elmo-message-entity-set-number): Ditto.
3790 (elmo-message-mark): Define as method.
3792 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3793 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3794 (elmo-message-entity): Fixed last change.
3795 (elmo-message-mark): Define.
3796 (elmo-folder-msgdb-create): Abolish.
3797 (elmo-multi-folder-append-msgdb): Ditto.
3798 (elmo-multi-folder-diff): Fixed.
3799 (elmo-multi-split-number-alist): Removed.
3800 (elmo-multi-split-mark-alist): Removed.
3801 (elmo-folder-list-messages): Define.
3802 (elmo-folder-list-messages-internal): Removed.
3804 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3805 local file messages.
3806 (elmo-folder-msgdb-create): Fixed read mark.
3808 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3810 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3813 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3815 * elmo.el (elmo-folder-list-message-entities): Define as inline
3817 (elmo-folder-messages): Abolish.
3819 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3821 (elmo-folder-synchronize): Define.
3822 (elmo-message-entity): Define.
3824 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3826 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3827 elmo-imap4-session-select-mailbox.
3829 * elmo.el (elmo-folder-move-messages): Don't display any message.
3831 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3833 (elmo-imap4-session-check): Don't wait CHECK response.
3834 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3836 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3838 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3840 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3842 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3844 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3847 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3848 (elmo-folder-list-message-entities): Added argument in-msgdb and
3850 (elmo-folder-synchronize): Define as a method.
3852 * elmo-nntp.el (elmo-folder-initialize): Don't use
3853 elmo-nntp-default-user if zero-length username is specified
3856 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3858 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3859 server name in case with username.
3860 (XXX: this is ad-hoc fix against username includes "@", it
3861 should be solved fundamentally)
3863 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3865 * elmo-nntp.el (elmo-nntp-debug): New function.
3866 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3867 (elmo-network-authenticate-session): Hide auth-info from the log.
3869 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3870 user name if it is equal to elmo-nntp-default-user.
3872 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3874 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3875 instead of shimbun-server-internal;
3876 Use shimbun-current-group instead of shimbun-current-group-internal.
3877 (elmo-folder-plugged-p): Use shimbun-server instead of
3878 shimbun-server-internal.
3879 (elmo-folder-set-plugged): Ditto.
3880 (elmo-net-port-info): Ditto.
3881 (elmo-folder-check): Ditto.
3882 (elmo-folder-expand-msgdb-path): Ditto.
3883 (elmo-folder-list-subfolders): Ditto.
3885 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3887 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3888 Convert field-name to lower case.
3889 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3891 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3893 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3894 `message' and `error' take format string.
3896 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3898 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3900 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3902 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3903 recursive call (can't byte compile on emacs 20.7).
3905 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3907 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3908 (elmo-folder-list-message-entities): New API.
3909 (elmo-message-entity): Ditto.
3910 (elmo-message-entity-parent): Ditto.
3911 (elmo-folder-do-each-message-entity): Ditto.
3912 (elmo-message-entity-number): Ditto.
3913 (elmo-message-entity-field): Ditto.
3914 (elmo-message-entity-set-field): Ditto.
3915 (elmo-folder-count-flags): Ditto.
3916 (elmo-folder-length): Ditto.
3918 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3921 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3922 (elmo-msgdb-count-marks): Abolish.
3923 (elmo-msgdb-make-entity): Ditto.
3924 (elmo-msgdb-do-each-entity): Ditto.
3925 (elmo-msgdb-message-entity): New inline function.
3926 (elmo-msgdb-message-entity-field): Ditto.
3927 (elmo-msgdb-message-entity-set-field): Ditto.
3928 (elmo-msgdb-make-message-entity): New function.
3930 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3932 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3933 to flag. (All other related portions are changed.)
3934 (elmo-folder-msgdb-create): Likewise.
3935 (elmo-generic-folder-append-messages): Use flag-table instead of
3937 (elmo-folder-move-messages): Removed redundant process.
3938 (elmo-folder-synchronize): Likewise.
3940 * elmo-msgdb.el (elmo-flag-table-get): New function.
3941 (elmo-flag-table-save): Fixed.
3942 (elmo-msgdb-length): New inline function.
3943 (elmo-msgdb-flag-table): New function.
3944 (elmo-msgdb-mark): Add optional argument new.
3945 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3946 (elmo-msgdb-seen-list): Ditto.
3947 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3950 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3952 * elmo.el (elmo-message-set-mark): Abolish.
3953 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3954 (All related portions are changed.)
3956 * elmo-msgdb.el (toplevel): Added comment.
3957 (elmo-load-msgdb): Added 4th element `path'.
3958 (elmo-msgdb-append): Follow the change above.
3959 (elmo-msgdb-clear): Ditto.
3960 (elmo-msgdb-delete-msgs): Ditto.
3961 (elmo-msgdb-get-path): New inline function.
3962 (elmo-msgdb-set-path): Ditto.
3963 (elmo-flag-table-filename): New variable.
3964 (elmo-flag-table-load): New function.
3965 (elmo-flag-table-set): Ditto.
3966 (elmo-flag-table-save): Ditto.
3967 (elmo-msgdb-get-field-value): Abolish.
3968 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3970 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3972 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3973 the folder has been deleted successfully.
3974 * elmo-imap4.el (elmo-folder-delete): Ditto.
3975 * elmo-archive.el (elmo-folder-delete): Ditto.
3976 * elmo-localdir.el (elmo-folder-delete): Ditto.
3977 * elmo-maildir.el (elmo-folder-delete): Ditto.
3979 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3981 * elmo-util.el (elmo-string-member-ignore-case): New function.
3982 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3983 (elmo-imap4-fetch-callback-1-subr): Likewise.
3985 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3987 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3988 the case of the name attribute "\Noselect".
3990 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3992 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3994 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3995 flist, is not always a member of onum-alist.
3997 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3999 * elmo-version.el (elmo-version): Up to 2.11.3.
4001 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4003 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4004 copied from localdir's one.
4006 * elmo-pipe.el (elmo-folder-rename): New method, rename
4007 destination folder with leaving source folder as it is.
4009 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4011 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4014 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4016 * elmo-version.el (elmo-version): Up to 2.11.2.
4018 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4020 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4021 shimbun-open in case of "@".
4022 (elmo-folder-open-internal): Cope with shimbun = nil case.
4023 (elmo-folder-plugged-p): Ditto.
4024 (elmo-folder-list-subfolders): Make list for "@/" group.
4026 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4028 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4029 mailbox (e.g. for %~/something).
4031 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4033 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4034 Replace nested conditional with guard clauses.
4036 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4038 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4041 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4044 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4046 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4047 Replace nested conditional with guard clauses.
4049 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4051 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4052 (elmo-passwd-alist-save): Ditto.
4053 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4055 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4057 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4058 dir-name only if it is absolute path.
4059 (TODO: distinguish +/something and +something)
4061 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4063 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4064 path for "+~/something".
4066 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4068 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4069 as non-directory, cause error before rename-file.
4070 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4071 apropriately, mimic localdir's one.
4072 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4074 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4076 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4078 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4080 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4082 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4084 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4085 is included in the global-mark or not.
4087 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4089 * utf7.el (toplevel): Avoid error when the function
4090 find-coding-system does not exist.
4092 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4094 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4095 cache even if the folder is plugged.
4096 (elmo-nntp-search-primitive): Do nothing when body search is
4097 invoked (although it is not used by the change above).
4098 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4100 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4102 * elmo-version.el (elmo-version): Up to 2.11.1.
4104 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4106 * elmo-archive.el: Specify charset.
4108 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4110 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4111 process buffer lives or not.
4113 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4114 while flushing queues (It causes infinite loop).
4116 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4118 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4120 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4122 * utf7.el (toplevel): Check the ucs features dynamically.
4123 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4125 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4126 folder is creatabe or not if it already exists.
4128 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4130 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4132 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4134 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4135 (elmo-imap4-read-response): Take care of garbage response.
4137 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4139 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4140 just return nil instead of error.
4142 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4144 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4145 search-key is "body".
4147 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4149 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4150 of elmo-string-matched-assoc to use match-data.
4151 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4153 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4155 * elmo-split.el (elmo-split->): New function.
4156 (elmo-split-<): Ditto.
4158 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4160 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4161 workaround for invalid message-id.
4163 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4165 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4166 return normal pop3 session or pop3 biff session.
4168 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4170 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4171 info part to the cur files when the new files already have it.
4172 (Adviced by Jared Rhine <jared@wordzoo.com>)
4174 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4176 * elmo-split.el (elmo-split-default-action): New variable.
4177 (elmo-split-subr): Use it if all other conditions are passed.
4178 Extend `fname' and rename it as `action'. (implemented
4179 Teranishi-san's idea in [wl:10800])
4181 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4183 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4184 * elmo-util.el: Ditto.
4186 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4188 * elmo.el (elmo-message-accessible-p): Renamed from
4189 elmo-message-cached-p and rewritten.
4191 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4193 * elmo.el (elmo-folder-list-flagged): New generic function.
4194 (elmo-folder-list-importants): New implementation.
4195 (elmo-folder-list-answereds): Ditto.
4196 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4198 (elmo-message-cached-p): New function.
4199 (elmo-message-set-flag): Ditto (no content).
4200 (elmo-message-unset-flag): Ditto.
4201 (elmo-folder-list-messages-mark-match): Abolish.
4203 * elmo-util.el (elmo-regexp-opt): New function.
4205 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4206 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4208 (elmo-msgdb-list-flagged): New function.
4210 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4211 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4214 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4216 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4218 * elmo-version.el (elmo-version): Up to 2.11.0.
4220 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4222 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4223 `elmo-file-cache-exists-p'; use proper mark that depends on
4225 (elmo-msgdb-unset-flag): Ditto.
4226 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4228 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4229 with 4th argument `use-cache'.
4231 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4233 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4234 (elmo-folder-mark-as-important): Ditto.
4235 (elmo-folder-unmark-read): Ditto.
4236 (elmo-folder-mark-as-read): Ditto.
4237 (elmo-folder-unmark-answered): Ditto.
4238 (elmo-folder-mark-as-answered): Ditto.
4240 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4242 (elmo-msgdb-mark): Likewise.
4243 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4244 (elmo-msgdb-unset-flag): Likewise.
4246 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4248 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4250 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4253 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4255 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4256 set spool-length to 0.
4258 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4260 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4261 (elmo-dop-queue-flush): Fixed last change.
4263 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4265 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4266 if require-msgdb slot is nil.
4267 (elmo-folder-list-importants): Likewise.
4269 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4271 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4274 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4275 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4278 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4280 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4282 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4284 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4286 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4288 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4290 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4291 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4293 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4295 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4296 the problem reported by Sean Rima [wl-en:180].
4298 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4300 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4302 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4304 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4306 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4308 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4310 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4312 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4314 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4316 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4319 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4321 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4322 (elmo-folder-mark-as-read): Follow the API change.
4323 (elmo-message-set-cached): New function.
4325 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4327 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4329 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4330 (elmo-folder-mark-as-important): Ditto.
4331 (elmo-folder-unmark-read): Ditto.
4332 (elmo-folder-mark-as-read): Ditto.
4333 (elmo-folder-unmark-answered): Ditto.
4334 (elmo-folder-mark-as-answered): Ditto.
4336 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4337 (elmo-folder-unmark-important): Ditto.
4338 (elmo-folder-mark-as-read): Ditto.
4339 (elmo-folder-unmark-read): Ditto.
4340 (elmo-folder-mark-as-answered): Ditto.
4341 (elmo-folder-unmark-answered): Ditto.
4343 * elmo-mark.el (toplevel): Removed some mark method definitions.
4345 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4346 (elmo-map-folder-mark-as-answered): Ditto.
4347 (elmo-folder-unmark-important): Add :before qualifier.
4348 (elmo-folder-mark-as-important): Ditto.
4349 (elmo-folder-unmark-read): Ditto.
4350 (elmo-folder-mark-as-read): Ditto.
4351 (elmo-folder-unmark-answered): Define.
4352 (elmo-folder-mark-as-answered): Ditto.
4354 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4355 (elmo-map-folder-unmark-answered): Ditto.
4357 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4359 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4360 (elmo-folder-mark-as-important): Ditto.
4361 (elmo-folder-unmark-read): Ditto.
4362 (elmo-folder-mark-as-read): Ditto.
4363 (elmo-folder-unmark-answered): Ditto.
4364 (elmo-folder-mark-as-answered): Ditto.
4366 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4367 `mark'; evaluate mark condition.
4368 (elmo-msgdb-match-condition-internal): New function.
4369 (elmo-msgdb-match-condition): Call it; changed argument.
4371 * elmo.el (elmo-folder-search): Follow the API change on
4372 `elmo-msgdb-match-condition'.
4374 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4376 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4377 original mark is non-nil.
4379 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4381 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4382 (elmo-map-folder-list-answereds): New method.
4383 (elmo-folder-list-unreads): Add :around qualifier.
4384 (elmo-folder-list-importants): Ditto.
4385 (elmo-folder-list-answereds): Ditto.
4387 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4389 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4391 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4392 method if msgdb is not required.
4393 (elmo-filter-folder-list-importants): Don't treat global-mark.
4395 * elmo.el (elmo-folder-list-importants): Ditto.
4397 * elmo-net.el (elmo-folder-list-importants): Ditto.
4399 * elmo-map.el (elmo-folder-list-importants): Ditto.
4401 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4403 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4404 (elmo-imap4-folder-list-any-plugged): New function.
4405 (elmo-imap4-search-internal-primitive): Use it.
4407 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4408 only when require-msgdb slot is non-nil.
4409 (elmo-folder-close): Clear target folder's msgdb.
4411 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4413 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4414 (elmo-pop3-msgdb-create-by-header): Ditto.
4415 (elmo-pop3-msgdb-create-message): Ditto.
4417 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4419 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4421 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4423 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4424 (elmo-folder-msgdb-create): Ditto.
4425 (elmo-nntp-folder-msgdb-create): Ditto.
4426 (elmo-nntp-msgdb-create-by-header): Ditto.
4427 (elmo-nntp-msgdb-create-message): Ditto.
4428 (elmo-folder-list-unreads): Define.
4430 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4431 (elmo-folder-append-messages): Ditto.
4432 (elmo-folder-list-unreads): Define.
4433 (elmo-folder-list-importants): Ditto.
4434 (elmo-folder-list-answereds): Ditto.
4436 * elmo-net.el (elmo-folder-list-unreads): Define.
4437 (elmo-folder-list-importants): Ditto.
4438 (elmo-folder-list-answereds): Ditto.
4439 (elmo-folder-list-answereds-plugged): Ditto.
4440 (elmo-folder-msgdb-create): Follow the API change.
4441 (elmo-folder-msgdb-create-unplugged): Ditto.
4442 (elmo-folder-unmark-answered): Define.
4443 (elmo-folder-mark-as-answered-unplugged): Ditto.
4444 (elmo-folder-unmark-answered-unplugged): Ditto.
4446 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4447 (elmo-msgdb-unread-uncached-mark): Ditto.
4448 (elmo-msgdb-unread-cached-mark): Ditto.
4449 (elmo-msgdb-read-uncached-mark): Ditto.
4450 (elmo-msgdb-answered-cached-mark): Ditto.
4451 (elmo-msgdb-answered-uncached-mark): Ditto.
4452 (elmo-msgdb-important-mark): Ditto.
4453 (elmo-msgdb-set-mark): Rewrite.
4454 (elmo-msgdb-count-marks): Rewrite.
4455 (elmo-msgdb-mark-alist-set): Abolish.
4456 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4457 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4459 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4460 (elmo-folder-close): Define.
4461 (elmo-folder-msgdb-create): Follow the API change.
4462 (elmo-folder-list-unreads): Rewrite.
4463 (elmo-folder-mark-as-important): Ditto.
4464 (elmo-folder-unmark-important): Ditto.
4465 (elmo-folder-mark-as-read): Ditto.
4466 (elmo-folder-unmark-read): Ditto.
4467 (elmo-folder-mark-as-answered): Define.
4468 (elmo-folder-unmark-answered): Ditto.
4470 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4471 (elmo-folder-append-messages): Ditto.
4473 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4475 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4476 (elmo-folder-list-importants): Ditto.
4478 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4479 (elmo-folder-append-messages): Ditto.
4481 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4483 (elmo-folder-msgdb-create-plugged): Ditto.
4484 (elmo-folder-append-messages): Ditto.
4485 (elmo-folder-list-answereds-plugged): Define.
4486 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4487 (elmo-folder-unmark-answered-plugged): Define.
4488 (elmo-folder-mark-as-answered-plugged): Ditto.
4489 (elmo-folder-search-requires-msgdb-p): Ditto.
4491 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4492 (elmo-folder-initialize): Set it.
4493 (elmo-folder-msgdb): Define.
4494 (elmo-folder-check): Call elmo-folder-synchronize.
4495 (elmo-folder-close): Define.
4496 (elmo-folder-commit): Ditto.
4497 (elmo-folder-msgdb-create): Rewrite.
4498 (elmo-folder-list-unreads): Ditto.
4499 (elmo-folder-list-importants): Ditto.
4500 (elmo-folder-mark-as-read): Ditto.
4501 (elmo-folder-unmark-read): Ditto.
4502 (elmo-folder-mark-as-important): Ditto.
4503 (elmo-folder-unmark-important): Ditto.
4504 (elmo-folder-mark-as-answered): Define.
4505 (elmo-folder-unmark-answered): Ditto.
4507 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4508 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4509 (elmo-dop-queue-method-name-alist): Likewise.
4510 (elmo-folder-mark-as-answered-dop): New inline function.
4511 (elmo-folder-unmark-answered-dop): Ditto.
4512 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4514 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4515 (elmo-folder-msgdb-create): Ditto.
4516 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4517 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4518 (elmo-archive-parse-mmdf): Ditto.
4520 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4521 (elmo-folder-list-unreads-internal): Ditto.
4523 * elmo.el (elmo-folder-msgdb): Define as generic function.
4524 (elmo-folder-list-messages): Added argument `in-msgdb'.
4525 (elmo-folder-list-unreads): Define as generic function.
4526 (elmo-folder-list-importants): Ditto.
4527 (elmo-folder-list-answereds): Ditto.
4528 (elmo-folder-list-messages-with-global-mark): New function.
4529 (elmo-folder-msgdb-create): Removed mark arguments.
4530 (elmo-folder-unmark-answered): New generic function.
4531 (elmo-folder-mark-as-answered): Ditto.
4532 (elmo-folder-append-messages): Removed argunment `unread-marks'
4533 (elmo-folder-list-unreads-internal): Abolish.
4534 (elmo-folder-list-importants-internal): Ditto.
4535 (elmo-folder-search-requires-msgdb-p): New generic function.
4536 (elmo-folder-search-requires-msgdb-p-internal): New function.
4537 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4539 (elmo-folder-search-fast): Added key 'mark'.
4540 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4541 instead of unread-marks argument.
4542 (elmo-folder-move-messages): Removed argunment `unread-marks'
4543 (elmo-folder-unmark-important): Define.
4544 (elmo-folder-mark-as-important): Ditto.
4545 (elmo-folder-unmark-read): Ditto.
4546 (elmo-folder-mark-as-read): Ditto.
4547 (elmo-folder-unmark-answered): Ditto.
4548 (elmo-folder-mark-as-answered): Ditto.
4549 (elmo-folder-replace-marks): Abolish.
4550 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4552 (elmo-folder-synchronize): Removed mark arguments;
4553 return crosspost only number.
4555 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4557 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4558 Remove redundunt connectivity check.
4560 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4562 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4563 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4565 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4567 * pldap.el (ldap-decode-string): Return string as-is if
4568 `ldap-coding-system' is nil.
4569 (ldap-encode-string): Ditto.
4570 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4571 (ldap-default-host): Fixed docstring.
4573 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4575 * elmo-util.el (elmo-warning): Define as a macro which uses
4576 `display-warning' if it is defined as a function.
4578 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4579 (elmo-split-equal): Use it.
4580 (elmo-split-match): Ditto.
4581 (elmo-split-message-entity): New buffer-local variable.
4582 (elmo-split-subr): Set it.
4584 * elmo-version.el (elmo-version): Up to 2.9.15.
4586 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4588 * elmo-imap4.el (elmo-network-initialize-session):
4589 Check capability after starttls.
4591 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4593 * elmo-util.el (elmo-list-delete): Added optional argument
4596 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4598 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4600 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4602 * elmo-imap4.el (elmo-folder-initialize): Don't use
4603 elmo-imap4-default-mailbox.
4605 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4607 * elmo-split.el (toplevel): Use `product-provide'.
4608 (elmo-split): Checkdoc.
4610 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4612 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4613 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4614 the function `elmo-imap4-debug-1'.
4616 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4618 * elmo-split.el (elmo-split): Moved to run hooks and to show
4619 message from elmo-split-subr.
4620 (elmo-split-subr): Follow the change above.
4622 * elmo-split.el (elmo-split-subr): New function (renamed from
4624 (elmo-split): Changed to call elmo-split-subr by element of
4626 (elmo-split-folder): Changed customization type to choice.
4628 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4630 * elmo-split.el (elmo-split-and): Fixed condition.
4632 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4634 * elmo-split.el: New file.
4635 (elmo-split): Fixed logic.
4636 Display "Test:" instead of "Folder:" when reharsal.
4638 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4641 * elmo-version.el (elmo-version): Up to 2.9.14.
4643 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4646 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4648 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4649 message with no message-id field.
4651 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4653 * elmo-version.el (elmo-version): Up to 2.9.13.
4655 * elmo-dop.el (elmo-folder-status-dop): Fix.
4657 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4659 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4661 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4662 changing default value of default-mime-charset.
4663 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4665 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4667 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4668 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4669 instead of elmo-dop-queue-method-name-alist to check merging queue.
4670 (elmo-folder-delete-messages-dop): Delete from queue if negative
4672 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4673 file is already removed.
4675 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4677 * elmo-vars.el: Bind colon keywords for old Emacsen.
4679 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4681 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4682 against non-exsisting charset.
4684 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4686 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4687 Use eword-decode-and-unfold-unstructured-field-body.
4689 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4690 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4691 exists to decode raw subject string.
4692 (toplevel): Require 'mime.
4694 * elmo-version.el (elmo-version): Up to 2.9.12.
4696 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4698 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4699 (elmo-msgdb-set-mark): Ditto.
4701 * elmo-version.el (elmo-version): Up to 2.9.11.
4703 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4705 * elmo-util.el (elmo-delete-match-files): New function.
4707 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4708 instead of elmo-delete-directory.
4710 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4711 elmo-hash-minimun-size as 63.
4713 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4714 elmo-diff-unread is nil.
4716 * elmo-imap4.el (elmo-folder-open): Fix.
4718 * elmo.el (elmo-message-mark): Rewrite.
4719 (elmo-message-field): Ditto.
4720 (elmo-message-set-mark): Ditto.
4721 (elmo-folder-replace-marks): New function.
4722 (elmo-generic-folder-append-msgdb): Removed third argument for
4724 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4725 (elmo-msgdb-load): New implementation.
4727 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4729 * elmo-util.el (elmo-list-insert): New implementation.
4731 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4732 argument for elmo-msgdb-append.
4735 * elmo-msgdb.el (elmo-load-msgdb): New function.
4736 (elmo-make-msgdb): Ditto.
4737 (elmo-msgdb-get-index): New inline function.
4738 (elmo-msgdb-set-index): Ditto.
4739 (elmo-msgdb-get-entity-hashtb): Ditto.
4740 (elmo-msgdb-get-mark-hashtb): Ditto.
4741 (elmo-msgdb-get-mark): Ditto.
4742 (elmo-msgdb-set-mark): Ditto.
4743 (elmo-msgdb-count-marks): Ditto.
4744 (elmo-msgdb-get-number): Ditto.
4745 (elmo-msgdb-get-field): Ditto.
4746 (elmo-msgdb-seen-list): Ditto.
4747 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4748 (elmo-msgdb-delete-msgs): Follow the changes above.
4749 (elmo-msgdb-overview-get-entity): Ditto.
4750 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4751 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4753 (elmo-msgdb-make-index): Likewise.
4754 (elmo-msgdb-append): Removed third argument.
4755 (elmo-msgdb-clear): Clear index as nil.
4756 (elmo-folder-set-info-hashtb): Removed.
4757 (elmo-folder-set-info-max-by-numdb): Ditto.
4758 (elmo-folder-info-make-hashtb): Ditto.
4760 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4762 * elmo-map.el (elmo-folder-pack-number): Ditto.
4764 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4766 * elmo-version.el (elmo-version): Up to 2.9.10.
4768 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4770 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4772 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4774 * elmo-utils.el (elmo-make-directory): Add option.
4775 Default file mode is 700.
4777 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4779 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4781 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4783 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4786 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4789 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4791 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4792 (elmo-shimbun-folder-entity-hash): New function.
4793 (elmo-shimbun-folder-shimbun-header): Ditto.
4794 (elmo-shimbun-entity-to-header): Ditto.
4795 (elmo-shimbun-msgdb-to-headers): Removed.
4796 (elmo-shimbun-folder-setup): Ditto.
4797 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4799 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4800 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4801 Removed useless local bind.
4802 (elmo-folder-open-internal): Don't call
4803 `elmo-shimbun-folder-setup'.
4804 (elmo-folder-close-internal): Clear entity-hash slot.
4805 (elmo-folder-clear): Ditto.
4806 (elmo-shimbun-msgdb-create-entity): Use
4807 `elmo-shimbun-folder-shimbun-header'.
4808 (elmo-map-message-fetch): Ditto.
4809 (elmo-shimbun-update-overview): Use overview entity instead of
4810 shimbun header to lookup id by references.
4811 (elmo-map-folder-list-message-locations): Use not only headers but
4812 also overviews to list locations.
4814 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4816 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4819 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4821 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4823 * elmo-util.el (elmo-read-search-condition-internal): Give default
4826 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4828 * elmo-util.el (elmo-condition-parse-search-value): Accept
4829 YYYY-MM-DD format to search.
4830 * elmo-date.el (elmo-date-get-datevec): Likewise.
4832 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4834 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4837 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4839 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4842 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4844 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4845 case from `elmo-folder-exists-p'.
4846 (elmo-folder-exists-p): Removed.
4847 (elmo-folder-creatable-p) Ditto.
4849 * elmo-net.el (elmo-folder-create): Defined.
4850 (elmo-folder-create-unplugged): New function.
4851 (elmo-folder-exists-p): Changed default value to nil from t.
4853 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4854 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4856 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4857 `elmo-create-folder-dop' and append queue
4858 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4859 (elmo-folder-create-dop-delayed): New function.
4861 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4863 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4865 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4866 (elmo-folder-writable-p) : Ditto.
4868 * elmo-version.el (elmo-version): Up to 2.9.9.
4870 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4872 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4873 `elmo-message-use-cache-p' returns nil.
4874 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4875 (ignore cache file and refer the substance in local folders)
4877 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4879 * elmo-version.el (elmo-version): Up to 2.9.8.
4881 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4883 * elmo-version.el (elmo-version): Up to 2.9.7.
4885 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4887 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4889 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4891 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4893 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4895 (elmo-map-folder-list-message-locations): Reverse location list.
4897 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4899 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4901 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4903 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4905 (elmo-nntp-folder-list-subfolders): Follow the change above.
4907 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4909 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4910 name if authentication type is specified.
4912 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4914 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4916 (elmo-default-nntp-stream-type): Ditto.
4917 (elmo-default-pop3-stream-type): Ditto.
4919 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4921 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4923 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4925 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4927 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4929 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4930 (elmo-maildir-folder-path): Ditto.
4931 (elmo-maildir-list): Ditto (abolished).
4933 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4935 * elmo-version.el (elmo-version): Up to 2.9.6.
4937 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4939 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4940 (elmo-maildir-folder-path): Ditto.
4941 (elmo-msgdb-directory): Ditto.
4942 (elmo-passwd-life-time): Ditto.
4943 (elmo-msgdb-extra-fields): Ditto.
4944 (elmo-enable-disconnected-operation): Ditto.
4946 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4948 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4950 (elmo-pop3-default-authenticate-type): Ditto.
4952 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4954 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4956 (elmo-pop3-default-authenticate-type): Ditto.
4958 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4960 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4961 mailbox to new-folder.
4963 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4965 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4966 less than new, set new as unread.
4968 * elmo-util.el (elmo-string): Don't put text-property if nil.
4970 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4972 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4973 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4975 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4977 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4978 is nil on `completing-read'.
4980 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4982 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4984 (elmo-imap4-parse-namespace-subr): Ditto.
4985 (elmo-folder-list-subfolders): Append a delimiter when the specified
4986 folder path is a root with namespace and does not end with delimiter.
4988 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4990 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4993 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4995 * elmo-util.el (elmo-save-buffer): The first argument of message
4996 is a format control string.
4998 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5000 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5001 `elmo-folder-diff').
5002 (elmo-diff-unread): Likewise.
5004 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5006 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5007 is t on `completing-read'.
5009 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5011 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5012 method of target folder with self mark-alist if MARK-ALIST is nil.
5014 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5016 * elmo-version.el (elmo-version): Up to 2.9.5.
5018 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5020 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5021 (elmo-dop-merge-funcs): Remove.
5023 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5025 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5026 Return t if PATH is directory, too.
5027 Use `dolist' instead of while loop.
5029 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5031 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5034 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5036 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5038 (elmo-folder-list-messages-unplugged): Return t if
5039 elmo-enable-disconnected-operation is nil.
5041 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5042 `elmo-folder-list-messages-internal'.
5044 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5046 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5047 Change to looking-at `[23][0-9]+'.
5048 (elmo-network-initialize-session): Use 'error-msg'
5049 * elmo-net.el (elmo-network-open-session): Set unplugged
5050 if elmo-network-initialize-session returns 'elmo-open-err.
5052 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5054 * elmo-version.el (elmo-version): Up to 2.9.4.
5056 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5058 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5059 `elmo-folder-list-messages-internal'.
5061 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5063 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5064 (elmo-message-match-condition): New method.
5065 (elmo-folder-search-fast): New inline function.
5066 (elmo-msgdb-search): Removed.
5068 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5069 target folder if it is unplugged.
5070 (elmo-folder-list-messages-internal): Return t if target folder is
5071 unplugged and itself is persistent; In this case, use list be
5074 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5075 (elmo-msgdb-search-internal-primitive): Ditto.
5076 (elmo-msgdb-match-condition): New function.
5077 (elmo-msgdb-match-condition-primitive): Ditto.
5079 * elmo-util.el (elmo-filter-condition-p): New macro.
5081 * elmo-cache.el (elmo-folder-search): Removed.
5083 * elmo-localdir.el (elmo-folder-search): Ditto.
5085 * elmo-maildir.el (elmo-folder-search): Ditto.
5087 * elmo-mark.el (elmo-folder-search): Ditto.
5089 * elmo-nmz.el (elmo-folder-search): Ditto.
5091 * elmo-sendlog.el (elmo-folder-search): Ditto.
5093 * elmo-shimbun.el (elmo-folder-search): Ditto.
5095 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5096 if folder is unplugged.
5098 * elmo-nntp.el (elmo-folder-search): Likewise.
5099 (elmo-nntp-search-internal): New function.
5101 * elmo-version.el (elmo-version): Up to 2.9.3.
5103 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5105 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5107 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5109 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5111 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5113 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5115 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5117 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5118 (elmo-map-folder-list-message-locations): Do drive letter conversion
5119 on Windows environment.
5120 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5121 (elmo-map-message-fetch): Ditto.
5123 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5125 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5126 (elmo-network-initialize-session): Ditto.
5128 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5130 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5132 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5134 * elmo-util.el (elmo-progress-clear): Ditto.
5136 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5137 `DD-Mon-YYYY' type date.
5139 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5141 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5142 `elmo-date-make-sortable-string' instead of
5143 `timezone-make-date-sortable'.
5145 * elmo-date.el (elmo-date-make-sortable-string): Use
5146 `timezone-make-time-string'.
5148 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5150 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5152 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5153 `since'; Fix timezone.
5155 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5157 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5159 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5161 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5163 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5165 * elmo.el (elmo-generic-folder-append-messages): Make
5166 fetch-strategy with `use-cache' as 'maybe. Check return value of
5167 `elmo-message-fetch'.
5168 (elmo-message-fetch): Return return value of
5169 `elmo-message-fetch-with-cache-process'.
5170 (elmo-message-fetch-with-cache-process): Return non-nil if
5171 fetching was succeed. Load cache when fetching was failed and
5172 fetch-strategy-use-cache is 'maybe.
5174 * elmo-util.el (elmo-file-cache-load): New function.
5176 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5179 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5180 non-nil if fetching was succeed.
5182 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5184 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5186 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5187 (elmo-message-fetch-with-cache-process): Likwise.
5189 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5191 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5193 * elmo-version.el (elmo-version): Up to 2.9.2.
5195 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5197 * elmo.el (elmo-folder-delete): Delete msgdb path.
5199 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5201 * elmo-maildir.el (elmo-folder-delete): Ditto.
5203 * elmo-localdir.el (elmo-folder-delete): Ditto.
5205 * elmo-imap4.el (elmo-folder-delete): Ditto.
5207 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5209 * elmo.el (luna-define-class): Added `biff' slot.
5211 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5212 (elmo-pop3-debug-inhibit-logging): Abolished.
5213 (elmo-network-close-session): Eliminated needless let.
5214 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5215 (elmo-pop3-send-command): Added `no-log' argument.
5216 (elmo-pop3-process-filter): Use `with-current-buffer'.
5217 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5219 (elmo-pop3-auth-apop): Likewise.
5220 (elmo-network-authenticate-session): Likewise.
5222 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5225 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5226 string to determine protocol.
5227 (elmo-network-session-name-prefix): Abolished.
5228 (elmo-network-session-cache-key): Follow the change above.
5229 (elmo-network-open-session): Ditto.
5231 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5232 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5234 * elmo-version.el (elmo-version): Up to 2.9.1.
5236 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5237 unmatch condition checking.
5239 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5242 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5244 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5246 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5248 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5249 test for while loop to execute at least one SEARCH command.
5251 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5253 * elmo-version.el (elmo-version): Up to 2.9.0.
5255 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5257 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5258 (elmo-archive-folder-path): Define.
5259 (elmo-folder-initialize): Setup `dir-name' slot.
5260 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5261 Use `dir-name' as prefix of each subfolders.
5262 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5264 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5266 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5267 (elmo-pipe-folder-list-target-messages): New internal function.
5268 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5270 (elmo-pipe-folder-copied-list-load): New function.
5271 (elmo-pipe-folder-copied-list-save): Ditto.
5272 (elmo-folder-open-internal): Follow the change above.
5273 (elmo-folder-status): Fixed for copy.
5275 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5277 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5279 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5281 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5282 elmo-copy-file instead of elmo-add-name-to-file.
5284 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5286 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5289 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5290 of accept-process-output as 1.
5291 (elmo-pop3-read-contents): Ditto.
5292 (elmo-pop3-read-body): Ditto.
5294 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5296 * elmo-version.el (product-version-as-string): Remove define.
5298 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5300 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5301 (elmo-imap4-copy-messages): Chop number set using
5302 `elmo-imap4-number-set-chop-length'.
5303 (elmo-imap4-set-flag): Ditto.
5304 (elmo-imap4-search-internal-primitive): Ditto.
5306 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5308 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5309 `elmo-folder-make-temp-dir'
5311 * elmo-vars.el (elmo-cache-directory): New variable.
5312 (elmo-cache-dir): Abolished.
5313 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5315 * elmo-version.el (elmo-version): Up to 2.7.7.
5317 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5319 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5320 defcustom; Set default value as t.
5322 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5324 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5325 (ldap-search-program-arguments): Changed default value.
5326 (ldap-search-basic): Accept exit status 4.
5327 (ldap/field-body): Parse options.
5328 (ldap/collect-field): Ditto.
5329 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5331 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5332 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5333 (elmo-imap4-accept-ok): Ditto.
5334 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5335 'notify-bye, only BYE error is reported.
5336 (elmo-folder-exists-p-plugged): Set no-error argument of
5337 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5339 * elmo.el (elmo-imap4-bye-error): Changed message.
5341 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5342 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5343 queues (It causes infinite loop).
5345 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5347 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5348 (RECENT UNSEEN MESSAGES) extension.
5350 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5352 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5353 Check number of overview fields.
5355 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5357 * elmo.el (elmo-folder-confirm-appends): Changed message.
5358 (elmo-folder-confirm-appends): Ditto.
5360 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5362 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5364 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5366 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5367 of elmo-folder-update-threshold is nil, which can be set by
5368 wl-summary-update-confirm-threshold.
5370 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5372 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5373 (elmo-nmz-index-alias-alist): Ditto.
5374 (elmo-map-folder-list-message-locations): Follow the change above.
5376 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5378 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5380 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5382 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5384 * elmo-util.el (elmo-read): Ditto.
5385 (elmo-display-error): Ditto.
5387 * elmo-vars.el (elmo-date-match): Ditto.
5389 * pldap.el (ldap-coding-system): Ditto.
5391 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5392 `elmo-inhibit-number-mapping' as nil.
5394 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5396 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5397 space delimiter for list response.
5399 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5401 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5403 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5405 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5406 (elmo-map-message-fetch): Fix.
5407 * elmo-map.el (elmo-folder-status): Fix for killed.
5409 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5411 * elmo-sendlog.el: New file.
5412 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5414 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5416 * acap.el (acap-logging-out): New buffer local variable.
5417 (acap-close): Set it.
5418 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5421 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5423 * acap.el (acap-response-bye-p): New function.
5424 (acap-response-bye-message): Ditto.
5425 (acap-wait-for-response): If bye response is received, cause an error.
5426 (acap-parse-response): Make bye response when 'Bye' is received.
5428 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5430 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5432 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5434 * elmo-util.el (elmo-copy-file): Added argument
5435 `ok-if-already-exists'.
5436 (elmo-copy-file): Fixed typo.
5438 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5440 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5442 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5444 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5446 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5448 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5451 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5453 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5454 (elmo-folder-initialize): Fix for `copy'.
5455 (elmo-pipe-drain): Ditto.
5456 (elmo-folder-open-internal): Ditto.
5457 (elmo-folder-newsgroups): Fix.
5459 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5461 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5464 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5465 recent value is returned from imap folder.
5467 * elmo.el (elmo-folder-newsgroups): New generic function.
5469 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5470 (elmo-folder-initialize): Set it.
5471 (elmo-folder-expand-msgdb-path): Use it.
5472 (elmo-folder-newsgroups): Define.
5474 * elmo-filter.el (elmo-folder-newsgroups): Define.
5476 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5478 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5480 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5482 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5484 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5486 (elmo-shimbun-header-extra-field): New inline function.
5487 (elmo-shimbun-header-set-extra-field): Ditto.
5488 (elmo-shimbun-folder-header-hash-setup): Ditto.
5489 (elmo-shimbun-update-overview): Ditto.
5490 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5491 (elmo-shimbun-folder-setup): Use
5492 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5493 (elmo-shimbun-get-headers): Ditto.
5494 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5495 Insert `X-Shimbun-Id:' header if extra field is set.
5496 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5497 field's value instead of `shimbun-header-id'.
5499 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5501 (elmo-msgdb-overview-entity-set-date): Ditto.
5502 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5504 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5506 * mmimap.el (mmimap-entity-section): Changed body node number from
5509 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5511 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5512 `elmo-folder-delete-messages'.
5514 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5515 (elmo-folder-initialize): Changed to expand alias into index path.
5517 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5518 `elmo-mime-insert-header-from-buffer' with 6th arg
5521 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5523 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5525 * elmo.el (elmo-diff-new): New inline function.
5526 (elmo-diff-unread): Ditto.
5527 (elmo-diff-all): Ditto.
5529 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5530 value from responseb.
5531 (elmo-imap4-folder-diff-plugged): Ditto.
5532 (elmo-imap4-server-diff-async): Added recent argument.
5533 (elmo-server-diff-async): Ditto.
5534 (elmo-imap4-folder-diff-plugged): Ditto.
5536 * elmo-version.el (elmo-version): Up to 2.7.6.
5538 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5540 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5543 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5545 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5547 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5549 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5551 * elmo-multi.el (elmo-folder-initialize): Ditto.
5553 * elmo-util.el (elmo-parse-token): New function.
5554 (elmo-parse-prefixed-element): Ditto.
5556 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5558 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5560 (elmo-imap4-accept-ok): Ditto.
5562 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5564 * mmimap.el (mime-imap-entity-header-string): Don't check first
5565 element of node-id is `0' (Follow last change).
5567 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5569 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5570 assigned irregular node-id to nested multipart section.
5571 (initialize-instance): Followed above change.
5573 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5575 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5576 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5577 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5578 `elmo-shimbun-get-headers');
5579 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5580 visible article on summary exists in headers).
5581 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5583 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5585 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5588 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5590 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5592 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5594 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5595 header separator into loop condition.
5597 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5599 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5600 Return duplicate folder if it has subfolder.
5602 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5604 * elmo.el (elmo-make-folder): Add folder name error check.
5606 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5607 (elmo-nntp-encode-group-string): New inline function.
5608 (elmo-nntp-decode-group-string): Ditto.
5609 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5610 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5611 Use `not' instead of `null';
5612 Use elmo-nntp-decode-group-string.
5614 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5616 * elmo-version.el (elmo-version): Up to 2.7.5.
5618 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5620 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5621 Hide progress gauge if `elmo-folder-move-messages' exits
5624 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5626 * elmo-imap4.el (elmo-folder-initialize): Use
5627 `elmo-imap4-encode-folder-string' for folder name.
5629 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5631 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5634 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5636 * elmo-util.el (elmo-progress-counter-alist): New internal
5638 (elmo-progress-counter-value): New macro.
5639 (elmo-progress-counter-all-value): Ditto.
5640 (elmo-progress-counter-format): Ditto.
5641 (elmo-progress-counter-set-value): Ditto.
5642 (elmo-progress-set): New function.
5643 (elmo-progress-clear): Ditto.
5644 (elmo-progress-notify): Ditto.
5646 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5649 * elmo.el (elmo-generic-folder-append-messages): Call
5650 `elmo-progress-notify'.
5651 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5653 * elmo-archive.el (elmo-folder-append-messages): Call
5654 `elmo-progress-notify'.
5656 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5658 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5660 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5662 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5664 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5666 (elmo-message-encache-dop): Added argument `read'.
5668 * elmo-shimbun.el (elmo-message-encache): Ditto.
5670 * elmo-net.el (elmo-message-encache): Ditto.
5672 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5673 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5674 elmo-imap4-seen-messages.
5675 (elmo-folder-msgdb-create-plugged): Initialize
5676 elmo-imap4-seen-messages;
5677 Set seen mark on elmo-imap4-seen-messages.
5679 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5681 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5682 elmo-folder-append-buffer.
5683 (elmo-folder-encache): Added optional argument `read'.
5684 (elmo-message-encache): Ditto.
5686 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5688 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5690 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5691 if append buffer content succeds.
5693 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5695 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5696 elmo-display-progress.
5698 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5699 Set 4th argument of mime-display-message.
5700 (elmo-mime-display-as-is): Ditto.
5702 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5704 * elmo-nmz.el (toplevel): Require 'mime-edit.
5705 (elmo-nmz-content-type-alist): Abolished.
5706 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5707 content is not a message.
5708 (elmo-map-message-fetch): Changed behavior exept for message content;
5709 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5710 content-type, Add From: and Subject: field.
5712 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5714 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5715 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5718 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5720 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5721 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5723 * elmo-archive.el (elmo-folder-writable-p): Defined.
5725 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5727 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5729 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5731 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5733 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5735 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5737 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5739 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5741 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5743 * elmo-util.el (elmo-address-quote-specials): New function;
5744 Renamed from `wl-address-quote-specials'.
5746 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5748 * elmo-version.el (elmo-version): Up to 2.7.4.
5750 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5752 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5754 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5756 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5757 both compile-time and run-time to avoid byte-compile warning.
5759 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5761 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5763 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5765 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5767 (elmo-mime-display-as-is-internal): Use it.
5769 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5770 if `read-passwd' is not defined.
5772 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5774 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5776 (elmo-folder-status): Call `elmo-folder-open-internal';
5777 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5778 (elmo-folder-close-internal): Set location-alist as nil.
5779 (elmo-folder-clear): Define.
5780 (elmo-folder-check): Don't set location-alist as nil.
5782 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5784 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5786 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5787 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5789 * mmimap.el (mime-imap-entity::requested): New slot.
5790 (mime-imap-location-fetch-entity-p): New generic function.
5791 (mime-decode-parameters): Define using `defun-maybe'.
5792 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5793 content-type structure.
5794 (mime-entity-body): Return empty body if
5795 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5797 * elmo.el (elmo-message-displaying): New variable.
5799 * elmo-mime.el (elmo-mime-message-display): Bind
5800 elmo-message-displaying as t.
5802 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5804 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5806 * acap.el (acap-open): erase buffer before starting network process.
5807 (acap-store): Rewrite.
5809 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5811 * elmo-imap4.el (elmo-imap4-default-mailbox,
5812 elmo-imap4-default-server
5813 elmo-imap4-default-authenticate-type,
5814 elmo-imap4-default-user,
5815 elmo-imap4-default-port,
5816 elmo-imap4-default-stream-type,
5817 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5819 * elmo-pop3.el (elmo-pop3-default-user,
5820 elmo-pop3-default-server,
5821 elmo-pop3-default-authenticate-type,
5822 elmo-pop3-default-port,
5823 elmo-pop3-default-stream-type,
5824 elmo-pop3-stream-type-alist): Ditto.
5826 * elmo-nntp.el (elmo-nntp-default-server,
5827 elmo-nntp-default-user,
5828 elmo-nntp-default-port,
5829 elmo-nntp-default-stream-type,
5830 elmo-nntp-stream-type-alist): Ditto.
5832 * elmo-vars.el: Follow changes above.
5833 (elmo-setting): New custom group; added 'elmo-setting group to
5836 * elmo-version.el (elmo-version): Up to 2.7.3.
5838 * acap.el (acap-parse-response): Don't delete process when BYE
5839 response (It causes hang-up on slow network environment).
5840 (toplevel): Added comment.
5842 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5844 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5846 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5848 (acap-parse-return-metadata): Ditto.
5851 (toplevel): Fixed typo.
5853 * acap.el: New file.
5854 (acap-network-stream-open): Show "Connecting..." message.
5855 (acap-parse-response): Fixed problem for BYE untagged response.
5856 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5857 (toplevel): Added tiny comments.
5859 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5861 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5862 space delimiter for uidl response.
5864 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5866 * elmo-vars.el (elmo-use-semi): Eliminated.
5868 * elmo-util.el (elmo-string-assoc-all): New function.
5870 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5872 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5873 property 'mime-preview-situation for `mime-preview-quit'.
5875 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5877 * elmo.el (elmo-message-fetch-with-cache-process): Call
5878 elmo-message-fetch-internal instead of causing an error when fetch
5879 strategy is 'entire but only 'section cache is available.
5881 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5883 * elmo-version.el (elmo-version): Up to 2.7.2.
5885 * elmo.el (elmo-generic-folder-append-messages): Make
5886 fetch-strategy with `use-cache'.
5888 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5889 (elmo-dop-queue-method-name): New macro.
5891 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5893 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5894 unbalanced parenthesis.
5896 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5898 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5900 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5902 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5903 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5905 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5907 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5910 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5912 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5913 (elmo-message-use-cache-p): Define.
5914 (elmo-folder-msgdb-create): Treat cache.
5916 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5918 * elmo-nntp.el (elmo-network-initialize-session): Call
5919 `elmo-nntp-send-mode-reader'.
5920 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5922 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5924 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5926 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5929 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5930 for `elmo-plugged-p'.
5931 (elmo-open-network-stream): Fixed stream-type argument.
5933 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5935 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5936 unknown archive type is specified.
5938 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5940 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5942 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5943 while loading msgdb.
5945 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5946 (elmo-folder-open-internal): Rewrite.
5948 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5950 * elmo-mime.el (elmo-mime-display-as-is-internal):
5951 Adjust buffer-multibyte status.
5953 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5955 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5956 of elmo-condition-find-key.
5958 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5959 (elmo-condition-in-msgdb-p): Ditto.
5960 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5963 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5965 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5967 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5969 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5970 label for elmo-display-progress.
5972 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5974 * elmo.el (elmo-folder-clear): New method.
5975 (elmo-folder-clear): Define.
5976 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5978 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5979 (elmo-folder-clear): Define.
5981 * elmo-map.el (elmo-folder-clear): Define.
5983 * elmo-version.el (elmo-version): Up to 2.7.1.
5985 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5987 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5990 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5992 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5993 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5995 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5997 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5999 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6002 * elmo-imap4.el (elmo-folder-initialize): Use
6003 elmo-get-network-stream-type.
6005 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6007 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6009 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6011 * elmo.el (elmo-message-encache): Set unread argument for
6014 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6016 * elmo.el (elmo-net-port-info): New method.
6018 * elmo-shimbun.el (elmo-net-port-info): Define.
6019 (elmo-message-encache): Ditto.
6021 * elmo-net.el (elmo-net-port-info): Define as method.
6023 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6024 unplugged status when elmo-enable-disconnected-operation is t.
6026 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6027 of spool folder before checking new number.
6029 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6031 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6032 (elmo-network-setup-session): Ditto.
6033 (elmo-message-fetch-plugged): Ditto.
6034 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6035 (elmo-network-initialize-session): Ditto.
6036 (elmo-pop3-read-response): Abolish 3rd argument.
6037 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6038 (elmo-pop3-read-contents): Ditto.
6039 (elmo-pop3-read-body): Ditto.
6040 (elmo-folder-status): Call elmo-folder-close.
6041 (elmo-pop3-lock): Abolish.
6042 (elmo-pop3-unlock): Ditto.
6043 (elmo-pop3-locked-p): Ditto.
6044 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6046 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6048 * elmo-version.el (elmo-version): Up to 2.7.0.
6050 * elmo-pop3.el (elmo-pop3-debug): New variable.
6051 (elmo-pop3-debug-inhibit-logging): Ditto.
6052 (elmo-pop3-debug): New function.
6053 (elmo-pop3-send-command): Call elmo-pop3-debug.
6054 (elmo-pop3-read-response): Added keep-lock optional argument;
6055 Don't unlock if keep-lock is non-nil.
6056 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6057 (elmo-network-authenticate-session): Bind
6058 elmo-pop3-debug-inhibit-logging as t.
6059 (elmo-network-setup-session): Call elmo-pop3-read-response with
6061 (elmo-pop3-read-msg): Ditto.
6062 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6063 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6064 (elmo-network-initialize-session): Call elmo-pop3-lock.
6065 (elmo-folder-close-internal): Don't clear location-alist slot.
6066 (elmo-folder-check): Clear location-alist slot.
6068 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6070 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6071 (elmo-pop3-send-command): Call elmo-pop3-lock.
6072 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6073 (elmo-pop3-read-contents): Ditto.
6074 (elmo-pop3-lock): New function.
6075 (elmo-pop3-unlock): Ditto.
6076 (elmo-pop3-locked-p): Ditto.
6077 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6080 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6082 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6084 * elmo-util.el (elmo-file-field-primitive-condition-match):
6085 New inline function (Don't fetch file content if "first" or "last").
6086 (elmo-file-field-condition-match): Use
6087 elmo-file-field-primitive-condition-match.
6089 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6092 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6093 (elmo-message-fetch-plugged): Fixed.
6095 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6097 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6099 * elmo.el (elmo-folder-move-messages): Bind
6100 elmo-inhibit-display-retrieval-progress as t while moving messages.
6102 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6104 (elmo-inhibit-display-retrieval-progress): Ditto.
6106 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6107 for retrieval progress;
6108 Don't display progress when total buffer size is smaller than
6109 elmo-display-retrieval-progress-threshold.
6110 (elmo-message-fetch-plugged): Don't display progress when
6111 elmo-inhibit-display-retrieval-progress is non-nil.
6113 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6114 for retrieval progress;
6115 Don't display progress when literal size is smaller than
6116 elmo-display-retrieval-progress-threshold.
6117 (elmo-imap4-message-fetch): Don't display progress when
6118 elmo-inhibit-display-retrieval-progress is non-nil.
6120 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6122 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6123 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6124 (elmo-imap4-message-fetch): Likewise.
6126 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6127 (elmo-shimbun-index-range-alist): Ditto.
6128 (elmo-shimbun-use-entire-index): Abolish.
6129 (shimbun-mua-use-entire-index): Ditto.
6130 (elmo-shimbun-folder): Added new slot `range'.
6131 (elmo-folder-initialize): Setup slot `range'.
6133 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6135 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6136 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6137 (elmo-shimbun-get-headers): Use return value of
6138 `shimbun-article-expiration-days'.
6139 (elmo-folder-close-internal): Clean up last-check slot.
6141 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6142 (elmo-pop3-total-size): New variable.
6143 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6145 * elmo.el (elmo-folder-reserve-status-p): New method.
6147 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6148 (elmo-shimbun-use-entire-index): New user option.
6149 (shimbun-elmo-mua): New class.
6150 (shimbun-mua-search-id): Define.
6151 (shimbun-mua-use-entire-index): Ditto.
6152 (elmo-shimbun-folder:last-check): New slot.
6153 (elmo-shimbun-headers-cache-header-list): Abolish.
6154 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6155 (elmo-shimbun-headers-cache-header-hash): Ditto.
6156 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6157 (elmo-shimbun-headers-cache-last-check): Ditto.
6158 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6159 (elmo-shimbun-headers-check-p): Rewrite.
6160 (elmo-shimbun-msgdb-to-headers): New function.
6161 (elmo-shimbun-get-headers): Rewrite.
6162 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6163 (elmo-folder-open-internal): Get headers only if
6164 `elmo-shimbun-headers-check-p' is non-nil.
6165 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6167 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6168 (elmo-quit): Removed.
6170 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6172 (elmo-msgdb-overview-entity-set-extra): Ditto.
6173 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6175 * elmo-map.el (elmo-folder-status): Don't call
6176 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6179 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6181 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6182 of `elmo-msgdb-search-internal-primitive' when condition's car is
6185 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6187 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6189 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6191 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6192 call `elmo-pipe-drain'.
6194 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6196 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6197 typo. (elmo-cache-folder -> elmo-mark-folder)
6199 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6201 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6202 `elmo-message-fetch'.
6204 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6206 * elmo-net.el (elmo-message-encache): Fixed typo.
6207 (elmo-message-fetch-unplugged): Changed call
6208 `elmo-message-fetch-internal' without argument `outbuf'.
6210 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6212 * elmo.el (elmo-message-encache): Define as generic function.
6213 (elmo-message-fetch-field): New generic function.
6214 (elmo-message-fetch-with-cache-process): Cause an error when
6215 fetch strategy is 'entire but only 'section cache is available.
6216 (toplevel): Fixed nmz folder definition.
6218 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6219 (elmo-msgdb-resume-list-filename): Ditto.
6220 (elmo-queue-filename): Ditto.
6221 (elmo-enable-disconnected-operation): Changed default value to t.
6223 * elmo-util.el (elmo-cache-path-section-p): New function.
6224 (elmo-file-cache-get): Use it.
6225 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6226 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6227 (elmo-dop-queue-save): Ditto.
6229 * elmo-net.el (elmo-folder-status-unplugged): Call
6230 elmo-folder-status-dop.
6231 (elmo-folder-list-messages-unplugged): Implemented.
6232 (elmo-folder-delete-messages-unplugged): Define.
6233 (elmo-folder-msgdb-create): Define.
6234 (elmo-folder-msgdb-create-unplugged): Define.
6235 (elmo-folder-mark-as-read-unplugged): Ditto.
6236 (elmo-folder-unmark-read-unplugged): Ditto.
6237 (elmo-folder-mark-as-important-unplugged): Ditto.
6238 (elmo-folder-unmark-important-unplugged): Ditto.
6239 (elmo-message-encache): Ditto.
6241 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6242 (elmo-dop-queue-save): Ditto.
6244 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6245 `elmo-folder-msgdb-create'.
6246 (elmo-folder-append-buffer): Implemented unplugged operation.
6247 (elmo-folder-append-messages): Call parent method in unplugged status.
6248 (elmo-message-fetch-unplugged): Removed definition.
6249 (elmo-message-fetch-field): Implemented.
6251 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6252 (elmo-dop-folder): Removed variable definition.
6253 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6254 (elmo-dop-queue-flush): Implemented.
6255 (elmo-dop-queue-merge): Removed definition (TODO).
6256 (elmo-dop-spool-folder): New function.
6257 (elmo-dop-spool-folder-append-buffer): Ditto.
6258 (elmo-dop-spool-folder-list-messages): Ditto.
6259 (elmo-dop-list-deleting-messages): Ditto.
6260 (elmo-folder-append-buffer-dop): Ditto.
6261 (elmo-folder-delete-messages-dop): Ditto.
6262 (elmo-message-encache-dop): New inline function.
6263 (elmo-create-folder-dop): Ditto.
6264 (elmo-folder-mark-as-read-dop): Ditto.
6265 (elmo-folder-unmark-read-dop): Ditto.
6266 (elmo-folder-mark-as-important-dop): Ditto.
6267 (elmo-folder-unmark-important-dop): Ditto.
6268 (elmo-folder-status-dop): Fixed.
6269 (elmo-folder-append-buffer-dop-delayed): New function.
6270 (elmo-folder-delete-messages-dop-delayed): Ditto.
6271 (elmo-dop-msgdb): Ditto.
6273 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6275 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6277 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6279 * elmo.el (elmo-folder-move-messages): Fixed problem when
6280 `dst-folder' is 'null.
6282 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6284 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6285 instead of current mark.
6287 * elmo-multi.el (elmo-folder-list-importants-internal): No
6288 operation if importants is not list.
6290 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6291 Return t if importants is not list.
6293 * elmo-map.el (elmo-map-folder-list-importants): Define.
6294 (elmo-folder-list-importants-internal): Check return value of
6295 `elmo-map-folder-list-importants-internal'.
6297 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6299 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6301 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6303 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6305 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6307 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6308 (Patch is provided by <kita@coe.nttdata.co.jp>).
6310 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6312 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6315 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6317 * elmo.el (elmo-message-fetch): Define.
6318 (elmo-message-fetch-with-cache-process): New generic method.
6319 (elmo-message-fetch-internal): New generic method.
6320 (elmo-folder-synchronize):
6322 * elmo-archive.el (elmo-message-fetch-internal): Define.
6323 (elmo-message-fetch): Eliminated.
6325 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6326 (elmo-message-fetch): Eliminated.
6328 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6330 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6332 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6333 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6335 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6336 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6338 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6340 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6342 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6344 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6345 (elmo-message-fetch-unplugged): New generic method.
6346 (elmo-message-fetch-internal): Remove cache process (Renamed from
6347 `elmo-message-fetch').
6349 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6350 (elmo-message-fetch): Eliminated.
6351 (elmo-message-fetch-unplugged): Ditto.
6353 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6355 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6357 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6358 of `to-be-deleted' from number-alist to number-list.
6360 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6362 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6363 (elmo-folder-mark-as-important): Ditto.
6365 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6367 * elmo.el (elmo-folder): Added process-duplicates slot.
6369 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6370 (elmo-folder-unmark-read): Ditto.
6371 (elmo-folder-unmark-important): Ditto.
6372 (elmo-folder-mark-as-important): Ditto.
6374 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6375 duplicated message processing.
6377 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6379 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6381 * elmo-util.el (elmo-list-subdirectories-1): New function.
6382 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6383 (elmo-mapcar-list-of-list): New function.
6385 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6386 `elmo-mapcar-list-of-list' instead of `mapcar'.
6388 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6390 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6391 `elmo-have-link-count'. Return the fully qualified folder name.
6393 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6395 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6396 (elmo-shimbun-headers-cache): New internal variable.
6397 (elmo-shimbun-headers-cache-header-list): New inline function.
6398 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6399 (elmo-shimbun-headers-cache-header-hash): Ditto.
6400 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6401 (elmo-shimbun-headers-cache-last-check): Ditto.
6402 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6403 (elmo-shimbun-lapse-seconds): Ditto.
6404 (elmo-shimbun-headers-cache-check-p): Ditto.
6405 (elmo-shimbun-get-headers): New function.
6406 (elmo-folder-open-internal): Call it.
6407 (elmo-quit): Define (Clear headers-cache).
6409 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6411 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6413 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6414 (elmo-msgdb-flist-save): Ditto.
6416 * elmo-shimbun.el (elmo-folder-list-subfolders):
6417 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6418 (elmo-folder-exists-p): Ditto.
6420 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6421 argument for `shimbun-header-insert'.
6423 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6425 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6428 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6429 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6431 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6433 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6434 (elmo-folder-plugged-p): Define.
6435 (elmo-folder-set-plugged): Ditto.
6436 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6437 (elmo-folder-list-messages-internal): Return t if unplugged.
6438 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6440 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6441 when elmo-folder-list-messages-internal method of children returns t.
6443 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6445 (elmo-folder-open-internal): Don't update if unplugged status.
6447 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6449 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6452 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6454 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6456 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6459 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6461 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6463 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6464 (elmo-folder-open-internal): Set up headers slot.
6465 (elmo-folder-check): Call elmo-folder-close-internal and
6466 elmo-folder-open-internal.
6467 (elmo-folder-close-internal): Clean up headers slot.
6469 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6471 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6472 exactly folder list.
6473 (elmo-folder-append-messages): Fixed append archive with prefix.
6475 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6476 make temp files with start-number.
6478 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6480 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6482 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6483 argument `visible-only'.
6484 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6487 * elmo-pop3.el (elmo-folder-open-internal): Check
6488 `elmo-inhibit-number-mapping' is non-nil.
6490 * elmo-pipe.el (elmo-folder-status): Fixed.
6492 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6494 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6496 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6497 (elmo-folder-open-internal): Setup `header-hash' slot.
6498 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6500 (elmo-map-message-fetch): Ditto.
6502 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6504 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6505 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6506 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6507 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6509 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6511 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6513 * sb-airs.el: Added footer.
6515 * shimbun.el (shimbun-article): Define as luna-method.
6517 * sb-tcup.el: New file.
6519 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6520 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6522 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6524 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6525 (shimbun-get-headers): Ditto.
6527 * elmo.el: Moved obsolete variable definitions from
6528 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6530 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6533 * shimbun.el: New file.
6535 * elmo-shimbun.el: New file.
6537 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6538 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6539 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6540 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6542 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6544 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6547 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6549 * elmo.el (elmo-folder-msgdb): Define as macro.
6550 (elmo-folder-open): Added argument `load-msgdb'.
6551 (elmo-generic-folder-open): Ditto.
6552 (elmo-folder-encache): New function.
6554 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6556 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6558 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6559 Eliminated argument FOLDER and added argument MSGDB.
6560 (elmo-dop-queue-load): Moved from elmo-dop.el.
6561 (elmo-dop-queue-save): Ditto.
6563 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6565 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6567 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6568 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6569 (elmo-filter-folder-list-importants-internal): Ditto.
6571 * elmo-map.el (elmo-folder-pack-number): Ditto.
6573 * elmo-mime.el (elmo-mime-message-display): Ditto.
6575 * elmo.el (elmo-generic-folder-commit): Ditto.
6576 (elmo-folder-list-unreads): Ditto.
6577 (elmo-folder-list-importants): Ditto.
6578 (elmo-generic-folder-commit): Ditto.
6579 (elmo-message-set-mark): Ditto.
6580 (elmo-generic-folder-append-msgdb): Ditto.
6581 (elmo-folder-synchronize): Ditto.
6582 (elmo-folder-messages): Ditto.
6583 (elmo-init): Call elmo-dop-queue-load.
6584 (elmo-folder-list-messages): Ditto.
6586 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6587 (elmo-nntp-folder-process-crosspost): Ditto.
6588 (elmo-folder-list-unreads-internal): Ditto.
6590 * elmo-dop.el: Removed old functions.
6592 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6594 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6595 `folder' to `msgdb'.
6597 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6599 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6600 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6602 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6605 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6607 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6610 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6611 (mmimap-parse-parameters-from-list): Define as alias for
6612 `mime-decode-parameter-plist' if it is defined as function.
6613 (mmimap-make-mime-entity): Added argument `number'.
6614 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6616 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6618 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6620 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6622 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6624 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6626 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6628 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6629 when elmo-imap4-default-authenticate-type is nil.
6630 (elmo-folder-list-subfolders): Ditto
6631 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6632 (elmo-imap4-fetch-callback-1-subr): Renamed from
6633 `elmo-imap4-fetch-callback-1' and define as inline function.
6634 (elmo-imap4-fetch-callback-1):
6635 Renamed from `elmo-imap4-fetch-callback'.
6636 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6638 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6639 msgdb path (To keep compatibility with main trunk).
6641 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6643 * elmo-util.el (elmo-make-file-cache): Moved position of
6646 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6647 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6648 instead of `elmo-pop3-inhibit-uidl'.
6649 (elmo-folder-exists-p): Ditto.
6650 (elmo-pop3-folder-list-messages): Ditto.
6652 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6653 instead of `elmo-pop3-inhibit-uidl'.
6654 (elmo-folder-status): Ditto.
6656 * elmo-dop.el (elmo-dop-folder): New variable.
6657 (elmo-dop-lock-message): Eliminated.
6658 (elmo-dop-unlock-message): Ditto.
6659 (elmo-dop-lock-list-load): Ditto.
6660 (elmo-dop-lock-list-save): Ditto.
6661 (elmo-dop-delete-folder): Ditto.
6662 (elmo-dop-rename-folder): Ditto.
6664 * elmo.el: Removed incomplete commentary.
6666 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6668 * elmo.el (toplevel): Require 'elmo-version first;
6669 for little `recursive-load-depth' settings.
6670 Fix "ends here" comment.
6672 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6674 * elmo-util.el (toplevel): Require 'poem;
6675 Some functions are moved from elmo-cache.el.
6677 * elmo-net.el (toplevel): Require 'elmo-cache.
6679 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6681 * elmo.el (toplevel): Ditto.
6683 * elmo-cache.el: Rewrite with luna;
6684 Some functions are moved to elmo-util.el.
6686 * elmo-internal.el (elmo-internal-folder-list): New variable.
6687 (elmo-internal-folder-initialize): Rewrite.
6688 (elmo-folder-list-subfolders): Ditto.
6690 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6691 (elmo-cache-collect-sub-directories): Ditto.
6693 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6695 * elmo-version.el (elmo-version): Up to 2.5.8.
6697 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6699 * elmo-util.el (elmo-list-insert): New function.
6701 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6703 * elmo.el (elmo-init): New function.
6704 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6706 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6707 (Renamed from `elmo-localdir-header-chop-length').
6709 * elmo-pop3.el (elmo-pop3-use-cache,
6710 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6712 * elmo-nntp.el (elmo-message-fetch): Define.
6713 (elmo-message-fetch-unplugged): Ditto.
6714 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6715 (elmo-nntp-use-cache): Ditto.
6716 (elmo-nntp-max-number-precedes-list-active): Ditto.
6718 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6720 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6721 `elmo-msgdb-insert-file-header'.
6722 Use `elmo-msgdb-file-header-chop-length'.
6724 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6727 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6728 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6729 `elmo-msgdb-insert-file-header'.
6731 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6733 Define obsolete variables with `elmo-define-obsolete-variable',
6735 * elmo-util.el (elmo-warning-buffer-name): New constant.
6736 (elmo-warning): New function.
6737 (elmo-obsolete-variable-alist): New variable.
6738 (elmo-obsolete-variable-show-warnings): New variable.
6739 (elmo-define-obsolete-variable): New function.
6740 (elmo-resque-obsolete-variable): Ditto.
6741 (elmo-resque-obsolete-variables): Ditto.
6743 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6745 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6748 * elmo-pop3.el, elmo-nntp.el: Use custom.
6750 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6752 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6753 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6755 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6757 * Luna-fy Kenichi OKADA's following changes.
6758 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6760 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6762 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6764 * elmo-util.el (elmo-display-progress): Prefer
6765 `progress-feedback-with-label' to `lprogress-display'.
6767 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6769 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6771 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6773 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6774 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6775 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6776 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6777 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6778 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6779 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6780 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6781 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6782 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6783 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6784 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6785 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6787 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6789 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6790 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6792 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6794 * elmo.el (elmo-folder-process-crosspost): New generic method.
6795 (elmo-folder-writable-p): Ditto.
6796 (elmo-folder-message-appendable-p): Eliminated.
6797 (elmo-generic-folder-append-msgdb): Rewrite.
6798 (elmo-newsgroups-hashtb): New internal variable.
6799 (elmo-crosspost-message-set): Eliminated.
6800 (elmo-crosspost-message-delete): Ditto.
6801 (elmo-setup-subscribed-newsgroups): New function.
6802 (elmo-crosspost-message-alist-modified): New internal variable.
6803 (elmo-crosspost-message-alist-load): New function (Renamed from
6804 `wl-crosspost-alist-load').
6805 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6806 `wl-crosspost-alist-save').
6808 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6810 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6812 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6813 elmo-newsgroups-hashtb).
6814 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6815 `elmo-nntp-folder-update-crosspost-message-alist'.
6816 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6817 `elmo-nntp-groups-hashtb'.
6818 (elmo-nntp-make-groups-hashtb): Eliminated.
6819 (elmo-nntp-parse-newsgroups): New function (Renamed from
6820 `wl-parse-newsgroups').
6821 (elmo-folder-creatable-p, elmo-folder-writable-p,
6822 elmo-folder-close-internal, elmo-folder-mark-as-read,
6823 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6825 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6827 * elmo-net.el (elmo-message-fetch): Check buffer size.
6829 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6831 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6833 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6834 before `close' command.
6836 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6837 `mark-alist' (All other related portions are changed).
6839 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6841 * elmo-util.el (elmo-create-hash-size): Eliminated.
6842 (elmo-make-hash) Make a hash with `one less than a power of two'
6845 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6846 (elmo-hash-maximum-size): Changed value.
6848 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6850 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6851 (elmo-mime-message-display-as-is): Ditto.
6853 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6855 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6856 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6858 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6860 * elmo-mark.el: New file.
6862 * elmo-internal.el: Rewrite (Almost empty).
6864 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6866 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6867 (mime-imap-entity-header-string): Ditto.
6868 (mmimap-entity-section): Rewrite.
6870 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6872 * elmo-nmz.el: New file.
6874 * elmo-pipe.el: Rewrite with luna.
6876 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6878 * elmo-archive.el: Rewrite with luna.
6880 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6881 (elmo-folder-list-importants-internal): Ditto.
6883 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6885 * elmo-archive.el (elmo-archive-version): Abolish.
6886 (toplevel) Removed `boso' comment.
6888 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6890 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6891 elmo-msgdb-add-msgs-to-seen-list-subr;
6892 Changed argument seen-marks to unread-marks.
6894 * elmo-nntp.el: Rewrite with luna.
6896 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6898 * elmo-filter.el: Rewrite with luna.
6900 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6902 * elmo-pop3.el: Rewrite with luna.
6904 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6906 * elmo-multi.el: Rewrite with luna.
6908 * elmo-vars.el (elmo-use-killed-list): Abolish.
6909 All other related portions are changed.
6910 (elmo-filename-replace-string-alist): Renamed from
6911 elmo-msgid-replace-string-alist.
6913 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6915 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6917 * elmo-map.el: New file.
6918 * elmo-maildir.el: Rewrite with luna.
6920 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6922 * elmo.el: Changed meaning of `elmo-folder-commit'.
6923 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6925 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6927 * elmo.el (elmo-folder-append-buffer): New function.
6928 (Renamed from `elmo-append-msg')
6930 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6932 * elmo-mime.el: New file.
6934 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6936 * elmo-cache.el: Rewrite.
6938 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6940 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6942 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6944 * elmo-vars.el (elmo): New group.
6945 (elmo-strict-diff-folder-regexp): New variable.
6947 * elmo-util.el (elmo-call-func): Abolish.
6948 (elmo-folder-get-type): Ditto.
6949 (elmo-*-get-spec): Ditto.
6950 (elmo-*-spec-*): Ditto.
6951 (elmo-imap4-identical-name-space-p): Ditto.
6952 (elmo-folder-identical-system-p): Ditto.
6953 (elmo-folder-direct-copy-alist): Ditto.
6954 (elmo-folder-direct-copy-p): Ditto.
6956 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6957 (elmo-folder-initialize): Define.
6958 (elmo-folder-get-primitive-list): Ditto.
6960 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6961 (elmo-folder-initialize): Define.
6962 Renamed `elmo-network-session-host-internal' to
6963 `elmo-network-session-server-internal'.
6965 * elmo-multi.el (elmo-multi-folder): New luna class.
6966 (elmo-folder-initialize): Define.
6967 (elmo-folder-get-primitive-list): Ditto.
6968 (elmo-folder-contains-type): Ditto.
6969 (elmo-message-use-cache-p): Ditto.
6971 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6972 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6974 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6975 (elmo-folder-initialize): Define.
6977 * elmo-filter.el (elmo-filter-folder): New luna class.
6978 (elmo-folder-initialize): Define.
6979 (elmo-folder-get-primitive-list): Ditto.
6980 (elmo-folder-contains-type): Ditto.
6982 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6984 * elmo-imap4.el: Rewrite with luna.
6986 * mmimap.el: New file.
6988 * mmelmo.el, mmelmo-imap4.el: Removed.
6990 * elmo-net.el: Ditto.
6992 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6993 (elmo-folder-initialize): Define.
6995 * elmo-archive.el (elmo-archive-folder): New luna class.
6996 (elmo-folder-initialize): Define.
6998 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6999 `elmo-folder-msgdb-path'.
7000 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7003 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7005 * elmo.el: New file.
7007 * elmo2.el: Renamed to elmo.el.
7010 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7012 * elmo-cache.el (elmo-cache-expire-by-size): Count
7013 a disk usage for a cache file entry in KB even when
7014 its kind is a directory.
7016 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7018 * elmo-version.el (elmo-version): Up to 2.5.7.
7020 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7022 * elmo-version.el (elmo-version): Up to 2.5.6.
7024 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7026 * elmo-version.el (elmo-version): Up to 2.5.5.
7028 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7030 * elmo-imap4.el (elmo-network-authenticate-session):
7031 Fixed a logic for response checking.
7033 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7035 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7036 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7037 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7040 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7041 for `starttls-open-stream' and `starttls-negotiate'.
7043 * elmo-nntp.el: Remove autoload settings for
7044 `starttls-open-stream' and `starttls-negotiate'.
7046 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7047 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7048 `luna-define-class' with `eval-and-compile'.
7050 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7052 * elmo-util.el (elmo-read-search-condition-internal):
7053 Require an element of table for searching field.
7055 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7057 * elmo-version.el (elmo-version): Up to 2.5.4.
7059 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7061 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7063 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7065 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7067 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7069 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7072 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7074 * elmo-imap4.el (elmo-imap4-delete-folder):
7075 Send "close" before "delete" (Use commented out line).
7076 (elmo-imap4-rename-folder): Ditto.
7078 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7079 folder string itself.
7080 (elmo-dop-list-deleted): New function.
7081 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7084 * elmo-util.el (elmo-string-rassoc-all): New function.
7086 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7088 * elmo-version.el (elmo-version): Up to 2.5.3.
7090 * elmo-net.el (elmo-network-get-session): Changed logic for
7091 checking process status.
7093 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7095 Changed logic for checking process status.
7097 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7099 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7101 (elmo-network-setup-session): Set UIDL hash size according to
7102 the length of list response.
7103 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7104 according to the length of list response;
7105 Return the length of list response.
7106 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7108 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7110 * elmo-imap4.el (toplevel): Require 'ssl.
7111 Add autoload 'starttls.
7112 * elmo-pop3.el (toplevel): Ditto.
7113 * elmo-nntp.el (toplevel): Ditto.
7115 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7117 * elmo-imap4.el (toplevel): defun at compile time.
7118 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7119 sasl-next-step, sasl-step-data, sasl-step-set-data.
7120 * elmo-pop3.el (toplevel): Ditto.
7122 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7124 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7126 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7128 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7130 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7131 and `elmo-pop-auth-apop'.
7133 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7135 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7137 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7139 * elmo-pop3.el (elmo-network-authenticate-session): Split
7140 encoded response value.
7142 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7144 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7145 `elmo-pop3-force-login'.
7146 Redefine `sasl-mechanisms'.
7147 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7149 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7151 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7152 Delete `elmo-imap4-authenticator-alist'.
7153 (elmo-imap4-auth-cram-md5): Delete.
7154 (elmo-imap4-auth-digest-md5): Delete.
7156 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7158 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7159 (elmo-pop3-auth-scram-md5): Ditto.
7160 (elmo-pop3-auth-cram-md5): Ditto.
7162 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7164 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7165 Delete `elmo-pop3-authenticator-alist'.
7167 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7169 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7171 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7173 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7175 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7177 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7179 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7180 Fixed problem when `elmo-pop3-use-uidl' is nil.
7181 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7183 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7185 * elmo-version.el (elmo-version): Up to 2.5.2.
7187 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7189 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7191 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7192 (elmo-pop3-msgdb-create-as-numlist): Use it.
7194 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7195 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7197 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7198 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7200 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7202 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7203 when elmo-mark-as-read is called with second argument nil.
7205 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7207 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7208 Moved to elmo-util.el.
7210 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7211 Moved from elmo-pipe.el
7213 * elmo-archive.el (elmo-archive-call-process): Enclose with
7216 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7217 "RFC822" (because RFC822.PEEK is obsolete).
7218 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7220 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7222 * elmo-archive.el (elmo-archive-call-process): Don't check for
7223 the exit status when Nemacs is running.
7225 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7227 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7230 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7231 (elmo-pop3-get-spec): Set default of auth to 'user.
7233 * elmo-imap4.el (elmo-imap4-session-check):
7234 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7235 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7236 (elmo-imap4-auth-login): New function; Revival.
7237 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7238 `elmo-imap4-auth-login'.
7240 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7242 * elmo2.el (toplevel): Move `product-provide' declare.
7243 * mmelmo.el (toplevel): Ditto.
7245 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7247 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7249 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7251 * elmo-util.el (elmo-folder-get-store-type): New function.
7252 (elmo-folder-direct-copy-p): Use it.
7254 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7256 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7257 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7258 and result of `elmo-imap4-use-flag-p'.
7259 (elmo-imap4-fetch-callback-1): Set mark according to
7260 the result of `elmo-imap4-use-flag-p'.
7262 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7264 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7265 (elmo-generic-list-folder-unread): Ditto.
7266 (elmo-folder-get-info): Ditto.
7267 (elmo-folder-set-info-max-by-numdb): Ditto.
7268 (elmo-folder-get-info-max): Ditto.
7269 (elmo-folder-get-info-length): Ditto.
7270 (elmo-folder-get-info-unread): Ditto.
7271 (elmo-folder-info-make-hashtb): Ditto.
7273 * elmo2.el: Removed above functions.
7275 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7277 * elmo-imap4.el (toplevel): Require 'ssl.
7278 Add autoload 'starttls.
7279 * elmo-pop3.el (toplevel): Ditto.
7280 * elmo-nntp.el (toplevel): Ditto.
7282 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7284 * elmo-imap4.el (toplevel): defun at compile time.
7285 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7286 sasl-next-step, sasl-step-data, sasl-step-set-data.
7287 * elmo-pop3.el (toplevel): Ditto.
7289 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7291 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7293 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7295 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7297 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7298 and `elmo-pop-auth-apop'.
7300 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7302 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7304 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7306 * elmo-pop3.el (elmo-network-authenticate-session): Split
7307 encoded response value.
7309 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7311 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7312 `elmo-pop3-force-login'.
7313 Redefine `sasl-mechanisms'.
7314 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7316 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7318 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7319 Delete `elmo-imap4-authenticator-alist'.
7320 (elmo-imap4-auth-cram-md5): Delete.
7321 (elmo-imap4-auth-digest-md5): Delete.
7323 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7325 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7326 (elmo-pop3-auth-scram-md5): Ditto.
7327 (elmo-pop3-auth-cram-md5): Ditto.
7329 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7331 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7332 Delete `elmo-pop3-authenticator-alist'.
7334 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7336 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7338 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7341 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7343 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7345 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7347 * elmo-nntp.el (elmo-nntp-get-folders-info):
7348 Fixed problem when '\' character is contained in user-id.
7349 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7352 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7354 * elmo-imap4.el (elmo-imap4-delete-folder):
7355 Send "close" before "delete" (Use commented out line).
7356 (elmo-imap4-rename-folder): Ditto.
7358 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7359 folder string itself.
7360 (elmo-dop-list-deleted): New function.
7361 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7364 * elmo-util.el (elmo-string-rassoc-all): New function.
7366 * elmo-version.el (elmo-version): Up to 2.5.1.
7368 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7370 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7372 * elmo-internal.el (elmo-internal-search): Fix last change.
7374 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7376 * elmo-internal.el (elmo-internal-search): Rewrite.
7377 (Fixed problem which is pointed out by Akihiro MOTOKI
7378 <motoki@da.jp.nec.com>)
7380 * elmo-version.el (elmo-version): Up to 2.5.0.
7382 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7384 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7386 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7388 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7389 non-nil, make hierarchy.
7391 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7393 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7394 `elmo-pop3-use-uidl' must be bound to nil.
7395 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7397 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7399 * elmo-util.el (elmo-copy-file): Don't cause an error after
7400 `add-name-to-file' failed.
7402 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7403 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7405 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7407 * elmo-version.el (elmo-version): Up to 2.3.93.
7409 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7411 * elmo-util.el (elmo-flatten): New function.
7413 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7415 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7417 * elmo-cache.el (toplevel): Ditto.
7418 * elmo-database.el (toplevel): Ditto.
7419 * elmo-date.el (toplevel): Ditto.
7420 * elmo-dop.el (toplevel): Ditto.
7421 * elmo-filter.el (toplevel): Ditto.
7422 * elmo-imap4.el (toplevel): Ditto.
7423 * elmo-internal.el (toplevel): Ditto.
7424 * elmo-localdir.el (toplevel): Ditto.
7425 * elmo-localnews.el (toplevel): Ditto.
7426 * elmo-maildir.el (toplevel): Ditto.
7427 * elmo-msgdb.el (toplevel): Ditto.
7428 * elmo-multi.el (toplevel): Ditto.
7429 * elmo-net.el (toplevel): Ditto.
7430 * elmo-nntp.el (toplevel): Ditto.
7431 * elmo-pipe.el (toplevel): Ditto.
7432 * elmo-pop3.el (toplevel): Ditto.
7433 * elmo-util.el (toplevel): Ditto.
7434 * elmo-vars.el (toplevel): Ditto.
7435 * elmo2.el (toplevel): Ditto.
7436 * mmelmo-imap4.el (toplevel): Ditto.
7437 * mmelmo.el (toplevel): Ditto.
7439 * elmo-version.el (elmo-version): Move to top.
7441 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7442 * elmo-imap4.el (toplevel): Ditto.
7443 * elmo-localdir.el (toplevel): Ditto.
7444 * elmo-msgdb.el (toplevel): Ditto.
7445 * elmo-nntp.el (toplevel): Ditto.
7446 * elmo-pop3.el (toplevel): Ditto.
7447 * elmo-version.el (toplevel): Ditto.
7449 * elmo-localnews.el (toplevel): Added Keyword header.
7451 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7453 * elmo-version.el (product-version-as-string): Defined using
7457 * elmo-localdir.el (toplevel): Updated copyright notice.
7458 * elmo-version.el (toplevel): Ditto.
7459 * elmo-msgdb.el (toplevel): Ditto.
7460 * elmo-imap4.el (toplevel): Ditto.
7461 * elmo-nntp.el (toplevel): Ditto.
7462 * elmo-pop3.el (toplevel): Ditto.
7464 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7466 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7469 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7470 parameter value (It sometimes contains raw kanji).
7472 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7474 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7475 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7477 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7479 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7481 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7483 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7484 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7486 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7488 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7489 value if selecting folder succceeded.
7490 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7492 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7494 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7497 * elmo-util.el (elmo-string-matched-member): New function.
7499 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7501 * elmo-util.el (elmo-unintern): New macro.
7502 (elmo-number-set-member): Fixed docstring.
7504 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7507 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7509 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7510 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7512 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7514 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7517 Return non-nil if selecting folder succeeded.
7518 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7520 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7522 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7523 `file-name-completion' returns t.
7524 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7525 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7526 directory if it does not exist.
7527 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7530 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7532 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7533 enclosure (It's harmful in unplugged status).
7535 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7537 * mmelmo-1.el: Removed.
7539 * mmelmo-2.el: Ditto.
7541 * mmelmo-imap4-1.el: Ditto.
7543 * mmelmo-imap4-2.el: Ditto.
7545 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7547 * mmelmo.el: Merged mmelmo-2.el.
7549 * elmo-version.el (elmo-version): Up to 2.3.92.
7551 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7553 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7554 elmo-update-number): Remove last period in "...done." message.
7555 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7557 * elmo-cache.el (elmo-cache-expire-by-size,
7558 elmo-cache-get-sorted-cache-file-list,
7559 elmo-cache-msgdb-create-as-numlist): Ditto.
7560 * elmo-dop.el (elmo-dop-save-pending-messages,
7561 (elmo-dop-flush-pending-append-operations): Ditto.
7562 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7563 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7564 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7565 (elmo-localdir-pack-number): Ditto.
7566 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7567 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7568 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7569 mime-write-entity-content): Ditto.
7570 * pldap.el (ldap-search-basic): Ditto.
7572 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7574 * elmo-version.el (elmo-version): Up to 2.3.91.
7576 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7577 Only when filter is 'last'.
7579 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7580 (elmo-condition-parse-search-value): Use it.
7581 (elmo-read-search-condition-internal): Quote value only when
7584 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7586 * elmo2.el (elmo-generic-folder-diff): Fix.
7588 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7590 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7591 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7592 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7593 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7594 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7595 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7597 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7599 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7602 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7604 * elmo-version.el (elmo-version): Up to 2.3.90.
7606 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7607 (elmo-imap4-list-folder-important): Ditto.
7609 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7611 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7613 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7615 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7617 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7619 * elmo-nntp.el (elmo-network-initialize-session):
7620 Add starttls negotiation.
7622 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7624 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7626 (elmo-network-setup-session): Define.
7627 Call `elmo-nntp-send-mode-reader' when session opened.
7629 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7631 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7633 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7635 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7636 an invalid SPACE character ahead of `SEARCH' command. Move
7637 a valid SPACE character following `SEARCH' from conditional
7638 `format' arguments to control-strings.
7640 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7642 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7645 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7647 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7649 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7650 `w32-get-true-file-link-count' as t.
7652 * elmo-imap4.el (elmo-imap4-read): Abolished.
7653 (Renamed to `elmo-read' and moved to elmo-util.el)
7654 All other related portions are changed.
7656 * elmo-util.el (elmo-read): New function.
7657 (elmo-condition-parse-search-value): Use it.
7659 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7661 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7663 * elmo-nntp.el (elmo-nntp-session): Define.
7664 (elmo-nntp-setting): Abolished.
7665 All other related portions are changed.
7666 (elmo-nntp-get-server-command): Changed argument.
7667 (elmo-nntp-set-server-command): Ditto.
7668 (elmo-nntp-xover-p): Ditto.
7669 (elmo-nntp-set-xover): Ditto.
7670 (elmo-nntp-listgroup-p): Ditto.
7671 (elmo-nntp-set-listgroup): Ditto.
7672 (elmo-nntp-list-active-p): Ditto.
7673 (elmo-nntp-set-list-active): Ditto.
7674 (elmo-nntp-xhdr-p): Ditto.
7675 (elmo-nntp-set-xhdr): Ditto.
7676 (elmo-nntp-flush-connection): Abolished.
7677 (elmo-nntp-get-connection): Abolished.
7678 (elmo-nntp-get-session): New function.
7679 (elmo-network-initialize-session): Defined.
7680 (elmo-network-authenticate-session): Ditto.
7681 (elmo-nntp-send-mode-reader): Changed argument.
7682 (elmo-nntp-send-command): Changed argument.
7683 All other related portions are changed.
7684 (elmo-nntp-read-response): Ditto.
7685 (elmo-nntp-read-raw-response): Ditto.
7686 (elmo-nntp-read-contents): Ditto.
7687 (elmo-nntp-read-body): Ditto.
7688 (elmo-nntp-goto-folder): Abolished.
7689 (elmo-nntp-select-group): New function.
7690 All other related portions are changed.
7691 (This function substitutes `elmo-nntp-goto-folder')
7692 (elmo-nntp-msgdb-create-by-header): Rewrite.
7693 (elmo-nntp-get-overview): Eliminated.
7694 (elmo-nntp-get-message): Ditto.
7695 (elmo-nntp-open-connection) Abolished.
7696 (elmo-nntp-read-msg): Rewrite.
7697 (elmo-nntp-post): Ditto.
7698 (elmo-nntp-send-data): Abolished.
7699 (elmo-nntp-send-buffer): New function.
7700 (elmo-nntp-send-data-line): Define as inline function.
7701 (elmo-nntp-get-folders-info-prepare): Use session as key.
7702 (elmo-nntp-groups-read-response): Changed argument.
7703 (elmo-nntp-retrieve-headers): Ditto.
7704 (elmo-nntp-msgdb-create-message): Ditto.
7706 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7707 when searching by 'since' or 'before'.
7709 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7711 * elmo-version.el (toplevel): Use product-version-as-string for set
7712 verstion-string, if defined.
7714 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7716 * elmo-util.el: Doc fixes.
7718 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7720 * elmo-archive.el (toplevel): Use product-provide.
7721 * elmo-cache.el (toplevel): Ditto.
7722 * elmo-database.el (toplevel): Ditto.
7723 * elmo-date.el (toplevel): Ditto.
7724 * elmo-dop.el (toplevel): Ditto.
7725 * elmo-filter.el (toplevel): Ditto.
7726 * elmo-imap4.el (toplevel): Ditto.
7727 * elmo-internal.el (toplevel): Ditto.
7728 * elmo-localdir.el (toplevel): Ditto.
7729 * elmo-localnews.el (toplevel): Ditto.
7730 * elmo-maildir.el (toplevel): Ditto.
7731 * elmo-msgdb.el (toplevel): Ditto.
7732 * elmo-multi.el (toplevel): Ditto.
7733 * elmo-net.el (toplevel): Ditto.
7734 * elmo-nntp.el (toplevel): Ditto.
7735 * elmo-pipe.el (toplevel): Ditto.
7736 * elmo-pop3.el (toplevel): Ditto.
7737 * elmo-util.el (toplevel): Ditto.
7738 * elmo-vars.el (toplevel): Ditto.
7739 * elmo2.el (toplevel): Ditto.
7740 * mmelmo-1.el (toplevel): Ditto.
7741 * mmelmo-2.el (toplevel): Ditto.
7742 * mmelmo-imap4-1.el (toplevel): Ditto.
7743 * mmelmo-imap4-2.el (toplevel): Ditto.
7744 * mmelmo-imap4.el (toplevel): Ditto.
7745 * mmelmo.el (toplevel): Ditto.
7747 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7749 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7750 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7752 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7754 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7756 (elmo-multi-split-number-alist): Ditto.
7758 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7760 * elmo-version.el: New file. Use product.el.
7761 * elmo2.el: Add (require 'elmo-version).
7762 * elmo-vars.el (elmo-appname, elmo-version): Move to
7765 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7767 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7768 `elmo-msgdb-expand-path'.
7769 (elmo-msgdb-load): Ditto.
7770 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7771 (elmo-generic-list-folder-unread): Rewrite.
7772 (elmo-generic-list-folder-important): Changed argument.
7773 (elmo-list-folder-unread): Ditto.
7774 (elmo-list-folder-important): Ditto.
7775 (elmo-folder-diff): Rewrite.
7776 (elmo-generic-folder-diff): New function.
7777 (elmo-multi-get-number-alist-list): Abolished
7778 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7779 (elmo-multi-folder-diff): Moved to elmo-multi.el
7780 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7782 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7783 `elmo-msgdb-expand-path'.
7784 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7785 (elmo-pop3-read-msg): Ditto.
7786 (elmo-pop3-delete-msgs): Ditto.
7787 (elmo-pop3-folder-diff): New alias.
7789 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7790 `elmo-msgdb-expand-path'.
7791 (elmo-pipe-list-folder-unread): Changed arguments.
7792 (elmo-pipe-list-folder-important): Ditto.
7793 (elmo-pipe-folder-diff): New alias.
7795 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7796 `elmo-msgdb-expand-path'.
7797 (elmo-nntp-max-of-folder): Ditto.
7798 (elmo-nntp-msgdb-create): Ditto.
7799 (elmo-nntp-delete-msgs): Ditto.
7800 (elmo-nntp-folder-diff): New alias.
7802 * elmo-multi.el (elmo-multi-folder-diff): New function.
7803 (elmo-multi-split-mark-alist): Ditto.
7804 (elmo-multi-split-number-alist): Ditto.
7805 (elmo-multi-mark-alist-list): Abolished (Renamed to
7806 elmo-multi-split-mark-alist).
7807 (elmo-multi-list-folder-unread): Rewrite.
7808 (elmo-multi-list-folder-important): Ditto.
7809 (elmo-multi-list-folder): Set `spec' as 1st argument for
7810 `elmo-msgdb-expand-path'.
7811 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7812 instead of `elmo-multi-get-number-alist-list'.
7814 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7815 If 1st argument is not string, treat as spec.
7816 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7817 `elmo-msgdb-expand-path'.
7818 (elmo-msgdb-flist-load): Ditto.
7819 (elmo-msgdb-flist-save): Ditto.
7820 (elmo-msgdb-delete-path): Ditto.
7821 (elmo-msgdb-rename-path): Ditto.
7823 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7824 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7825 (elmo-maildir-delete-mark-msgs): Ditto.
7826 (elmo-maildir-msgdb-create): Ditto.
7827 (elmo-maildir-read-msg): Ditto.
7828 (elmo-maildir-delete-msgs): Ditto.
7829 (elmo-maildir-list-folder-subr): Ditto.
7830 (elmo-maildir-search): Ditto.
7831 (elmo-maildir-get-msg-filename): Ditto.
7832 (elmo-maildir-pack-number): Ditto.
7833 (elmo-maildir-folder-diff): New alias.
7835 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7837 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7838 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7839 (elmo-localdir-folder-diff): New alias.
7841 * elmo-internal.el (elmo-internal-list-folder-subr):
7842 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7843 (elmo-internal-list-folder-by-location): Ditto.
7844 (elmo-internal-msgdb-create): Ditto.
7845 (elmo-internal-delete-msgs): Ditto.
7846 (elmo-internal-read-msg): Ditto.
7847 (elmo-internal-folder-diff): New alias.
7849 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7850 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7851 `elmo-msgdb-expand-path'.
7852 (elmo-imap4-list-folder-unread): Changed arguments.
7853 (elmo-imap4-list-folder-important): Ditto.
7855 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7856 (elmo-filter-list-folder-important): Ditto.
7857 (elmo-filter-folder-diff): New function.
7859 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7861 * elmo-cache.el (elmo-cache-list-folder):
7862 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7863 (elmo-cache-copy-msgs): Ditto.
7864 (elmo-cache-folder-diff): New alias.
7866 * elmo-archive.el (elmo-archive-list-folder-subr):
7867 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7868 (elmo-archive-get-archive-name): Ditto.
7869 (elmo-archive-create-file): Ditto.
7870 (elmo-archive-append-msg): Ditto.
7871 (elmo-archive-copy-msgs): Ditto.
7872 (elmo-archive-copy-msgs-froms): Ditto.
7873 (elmo-archive-get-msg-filename): Ditto.
7874 (elmo-archive-folder-diff): New alias.
7876 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7878 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7879 (elmo-pop3-stream-type-alist): New variable.
7880 (elmo-nntp-stream-type-alist): New variable.
7882 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7883 (elmo-kill-buffer): Ditto.
7884 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7885 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7886 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7887 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7888 (elmo-imap4-get-spec): Take into account
7889 `elmo-imap4-stream-type-alist'.
7891 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7893 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7894 (elmo-nntp-list-folders-get-cache): Ditto.
7896 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7898 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7899 character before 'uid'.
7901 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7903 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7905 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7907 * elmo-util.el (elmo-number-set-member): New function.
7908 (elmo-number-set-append-list): Ditto.
7909 (elmo-number-set-append): Ditto.
7911 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7912 Use `elmo-number-set-member'.
7913 (elmo-living-messages): Ditto.
7914 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7915 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7917 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7918 (elmo-imap4-add-to-cont-list): Abolished.
7919 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7920 instead of elmo-imap4-add-to-cont-list.
7922 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7923 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7925 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7927 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7929 * elmo-util.el (elmo-condition-parse-search-value):
7932 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7934 * elmo-util.el (elmo-condition-find-key-internal): New function.
7935 (elmo-condition-find-key): Ditto.
7937 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7938 (elmo-msgdb-search-internal): Ditto.
7939 (elmo-msgdb-search): Ditto.
7941 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7943 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7944 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7946 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7947 (elmo-nntp-search-primitive): Fixed problem when condition is
7950 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7952 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7953 (elmo-nntp-xhdr-p): New macro.
7954 (elmo-nntp-set-xhdr): Ditto.
7955 (elmo-nntp-parse-xhdr-response): New function.
7956 (elmo-nntp-retrieve-field): Ditto.
7957 (elmo-nntp-search-primitive): Ditto.
7958 (elmo-nntp-search): Implemented.
7960 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7962 * elmo-archive.el (elmo-archive-search): Set all number list to
7963 `elmo-archive-field-condition-match'
7965 * elmo-localdir.el (elmo-localdir-search): Likewise.
7967 * elmo-maildir.el (elmo-maildir-search): Likewise.
7969 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7971 * elmo-msgdb.el (elmo-living-messages): New function.
7972 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7973 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7974 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7975 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7976 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7977 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7978 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7979 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7980 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7981 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7982 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7984 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7986 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7988 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7990 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7992 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7993 arguments for `SEARCH' command.
7994 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7995 All other related portions are changed.
7997 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7999 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8000 (elmo-list-folder-unread): Rewrite.
8001 (elmo-list-folder-important): Ditto.
8003 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8004 (elmo-condition-parse-error): New inline function.
8005 (elmo-read-search-condition): New function.
8006 (elmo-read-search-condition-internal): Ditto.
8007 (elmo-parse-search-condition): Rewrite.
8008 (elmo-condition-parse): New function.
8009 (elmo-condition-parse-or-expr): Ditto.
8010 (elmo-condition-parse-and-expr): Ditto.
8011 (elmo-condition-parse-primitive): Ditto.
8012 (elmo-condition-parse-search-value): Ditto.
8013 (elmo-buffer-field-primitive-condition-match): Ditto.
8014 (elmo-buffer-field-condition-match): Rewrite.
8015 (elmo-file-field-condition-match): Ditto.
8017 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8018 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8020 * elmo-internal.el (elmo-internal-search): Set `number' and
8021 `number-list' argument of `elmo-file-field-condition-match'.
8023 * elmo-maildir.el (elmo-maildir-search): Ditto.
8025 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8026 `msgdb' as argument instead of `mark-alist'.
8027 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8030 * elmo-multi.el: Likewise.
8032 * elmo-pipe.el: Likewise.
8034 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8035 (elmo-imap4-search-internal): Rewrite.
8036 (elmo-imap4-search): Ditto.
8038 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8039 (elmo-filter-list-folder-unread): Ditto.
8040 (elmo-filter-list-folder-important): Ditto.
8041 (elmo-filter-search): Rewrite.
8043 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8044 `number-list' argument of `elmo-file-field-condition-match'.
8045 (elmo-cache-search): Ditto.
8047 * elmo-localdir.el: Likewise.
8049 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8050 number-list and pass it to `elmo-buffer-field-condition-match'.
8051 (elmo-archive-field-condition-match): Pass `number-list' to
8052 `elmo-archive-field-condition-match'
8054 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8056 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8059 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8060 (elmo-folder-diff-async-callback-data): Ditto.
8061 (elmo-folder-diff-async): New function.
8063 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8064 (elmo-network-session-cache-key): Use it as a prefix of the session
8066 (elmo-network-open-session): Ditto.
8068 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8069 (elmo-imap4-status-callback-data): Ditto.
8070 (elmo-imap4-server-diff-async-callback): New variable.
8071 (elmo-imap4-server-diff-async-callback-data): Ditto.
8072 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8073 `elmo-imap4-status-callback-data'.
8074 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8075 `elmo-imap4-status-callback-data' as nil.
8076 (elmo-imap4-server-diff): Ditto.
8077 (elmo-imap4-server-diff-async-callback-1): New function.
8078 (elmo-imap4-server-diff-async): Ditto.
8079 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8081 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8083 * elmo-util.el (elmo-list-delete): Doc fix.
8084 (elmo-delete-lists): Abolish.
8085 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8086 instead of `elmo-delete-lists'.
8088 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8090 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8093 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8095 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8096 `elmo-imap4-literal-subr'.
8097 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8098 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8100 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8102 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8103 (elmo-archive-list-folder): Fix.
8104 (elmo-archive-max-of-folder): Fix.
8106 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8108 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8109 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8110 (elmo-localdir-append-msg): Ditto.
8111 (elmo-localdir-list-folder): Fix for `nonsort'.
8112 (elmo-localdir-list-folder-subr): Fix for `killed'.
8113 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8114 (elmo-maildir-list-folder-subr): Ditto.
8115 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8116 (elmo-archive-list-folder-subr): Ditto.
8117 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8118 (elmo-internal-list-folder-subr): Ditto.
8120 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8122 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8124 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8126 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8128 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8130 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8131 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8133 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8135 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8136 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8138 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8140 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8142 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8143 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8144 before STORE command.
8146 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8148 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8150 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8151 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8153 (elmo-imap4-list-folders): Removed unused local variable.
8154 (elmo-network-initialize-session): Ditto.
8155 (elmo-imap4-delete-msg-by-id): Ditto.
8156 (elmo-imap4-parse-fetch): Ditto.
8157 (elmo-imap4-copy-msgs): Ditto.
8158 Use `dst-spec' instead of `dst-folder'.
8159 (elmo-network-authenticate-session): Check authenticate type `plain'.
8161 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8163 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8165 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8166 `elmo-imap4-response-value'.
8167 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8169 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8171 * elmo-imap4.el (elmo-imap4-send-command):
8172 Cause elmo-imap4-bye-error when current response is BYE.
8173 (elmo-imap4-arrival-filter): Changed greeting response value.
8175 * elmo2.el (elmo-imap4-bye-error): Define.
8177 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8178 (elmo-imap4-server-diff): Ditto.
8179 (elmo-imap4-response-bye-p): New macro.
8180 (elmo-imap4-response-error-text): Get text from BYE response.
8181 (elmo-imap4-read-response): Return if BYE response.
8182 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8183 (elmo-imap4-folder-exists-p): Ditto.
8184 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8185 (elmo-imap4-parse-bye): New function.
8186 (elmo-imap4-parse-response): Remove needless let.
8187 Call `elmo-imap4-parse-bye'.
8189 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8191 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8192 the mailbox does not exist.
8193 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8195 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8197 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8199 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8201 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8203 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8204 (elmo-network-initialize-session-buffer): Defined.
8206 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8208 (mmelmo-imap4-get-mime-entity): Rewrite.
8210 * elmo2.el (elmo-error): Capitalize error message.
8212 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8213 (elmo-network-session-buffer): New macro.
8214 (elmo-network-open-session): Use it.
8216 * elmo-imap4.el: Rewrite.
8218 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8220 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8222 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8224 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8225 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8226 (elmo-imap4-create-msgdb-from-overview-string): Use
8227 `elmo-msgdb-create-overview-from-buffer'.
8229 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8231 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8232 (elmo-imap4-default-hierarchy-delimiter): New variable.
8233 (elmo-imap4-list-folders): Use it.
8235 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8237 * elmo-net.el (elmo-network-open-session): Add user and
8238 stream-type for process-buffer name.
8240 * elmo-pop3.el (elmo-network-initialize-session): Call
8241 buffer-disable-undo.
8243 * elmo-imap4.el (elmo-network-initialize-session):
8244 Set current-buffer as an argument for `buffer-disable-undo'.
8246 * elmo-pop3.el (elmo-network-close-session): Don't use
8249 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8250 Set default as 'user.
8252 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8254 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8255 and `elmo-imap4-flush-connection'.
8257 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8258 (elmo-pop3-get-spec): Assume auth as symbol.
8259 (elmo-open-network-stream): Moved to `elmo-net'.
8261 * elmo-pop3.el (toplevel): Require 'elmo-net.
8262 Define `sasl-cram-md5' to silence byte compilier.
8263 (elmo-pop3-connection-cache) Abolished.
8264 (elmo-pop3-authenticator-alist) New variable.
8265 (elmo-pop3-session): Define.
8266 (elmo-pop3-connection-get-process): Abolished.
8267 (elmo-pop3-connection-get-buffer): Ditto.
8268 (elmo-pop3-close-connection): Ditto.
8269 (elmo-pop3-flush-connection): Ditto.
8270 (elmo-pop3-get-connection): Ditto.
8271 (elmo-pop3-get-session): New function.
8272 (Replacement for `elmo-pop3-get-connection').
8273 All other related modules are changed.
8274 (elmo-network-close-session): Define.
8275 (elmo-pop3-send-command): Abolished argument `buffer'.
8276 All other related modules are changed.
8277 (elmo-pop3-read-response): Likewise.
8278 (elmo-pop3-open-connection): Abolished.
8279 (elmo-pop3-auth-user): New function.
8280 (elmo-pop3-auth-apop): Ditto.
8281 (elmo-pop3-auth-cram-md5): Ditto.
8282 (elmo-pop3-auth-scram-md5): Ditto.
8283 (elmo-pop3-auth-digest-md5): Ditto.
8284 (elmo-network-initialize-session): Define.
8285 (elmo-network-authenticate-session): Ditto.
8286 (elmo-network-setup-session): Ditto.
8288 * elmo-imap4.el (toplevel): Require 'elmo-net.
8289 (elmo-imap4-session): Define.
8290 (elmo-imap4-connection-cache): Abolished.
8291 (elmo-imap4-password-key): Ditto.
8292 (elmo-imap4-flush-connection): Ditto.
8293 (elmo-imap4-get-connection): Ditto.
8294 All other related modules are changed.
8295 (elmo-imap4-get-session): New function
8296 (Replacement for `elmo-imap4-get-connection').
8297 (elmo-imap4-read-response): Abolished argument `buffer'.
8298 All other related modules are changed.
8299 (elmo-imap4-send-command): Likewise.
8300 (elmo-imap4-select-folder): Abolished.
8301 All other related modules are changed.
8302 (elmo-imap4-select-mailbox): New function.
8303 (Replacement for `elmo-imap4-select-folder').
8304 (elmo-imap4-auth-login): Simplify.
8305 (Assume current buffer as process buffer)
8306 (elmo-imap4-auth-cram-md5): Ditto.
8307 (elmo-imap4-auth-digest-md5): Ditto.
8308 (elmo-imap4-login): Ditto.
8309 (elmo-imap4-open-connection): Abolished.
8310 (elmo-imap4-open-connection-1): Abolished.
8311 (elmo-network-initialize-sessoin): Define.
8312 (elmo-network-authenticate-session): Ditto.
8313 (elmo-network-setup-session): Ditto.
8315 * elmo-net.el: New module.
8317 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8319 * elmo-util.el (elmo-define-error): New function.
8321 * elmo2.el (elmo-error): Define.
8322 (elmo-open-error): Define.
8323 (elmo-authenticate-error): Define.
8325 * elmo-imap4.el (elmo-imap4-error): Abolish.
8326 (elmo-imap4-error-type): Abolish.
8327 (elmo-imap4-error-process): Abolish.
8328 (elmo-imap4-error-message): Abolish
8329 (elmo-imap4-list-folders): Don't quote lambda.
8330 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8331 (elmo-imap4-parse-namespace): Ditto.
8332 (elmo-imap4-open-connection): Rewrite.
8333 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8334 (elmo-imap4-get-connection): Abolish local variable `result'.
8336 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8338 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8339 wrong-type-argument error when auth is nil.
8341 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8343 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8344 (elmo-default-nntp-stream-type): Ditto.
8345 (elmo-default-pop3-stream-type): Ditto.
8346 (elmo-network-stream-type-alist): Ditto.
8347 (elmo-default-imap4-ssl): Abolished.
8348 (elmo-default-nntp-ssl): Ditto.
8349 (elmo-default-pop3-ssl): Ditto.
8351 * elmo-util.el: (toplevel): Removed needless requires.
8352 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8353 (elmo-open-network-stream): Open network stream according to
8354 the value of `elmo-network-stream-type-alist'.
8355 (elmo-get-network-stream-type): New function.
8356 (elmo-network-stream-type-spec-string): New macro.
8357 (elmo-network-stream-type-symbol): Ditto.
8358 (elmo-network-stream-type-function): Ditto.
8360 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8361 network-stream-type. All other related portions are changed.
8362 (elmo-pop3-open-connection): Ditto.
8364 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8365 network-stream-type. All other related portions are changed.
8367 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8368 network-stream-type.All other related portions are changed.
8369 (elmo-imap4-error): New macro.
8370 (elmo-imap4-error-type): Ditto.
8371 (elmo-imap4-error-process): Ditto.
8372 (elmo-imap4-error-message): Ditto.
8373 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8374 (elmo-imap4-auth-cram-md5): Ditto.
8375 (elmo-imap4-auth-digest-md5): Ditto.
8376 (elmo-imap4-login): Ditto.
8377 (elmo-imap4-open-connection): Remove password entry if authentication
8379 (elmo-imap4-user-at-host): Abolished.
8380 (elmo-imap4-password-key): New buffer local variable.
8381 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8382 using protocol, port, auth and stream-type.
8384 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8386 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8388 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8390 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8392 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8393 (elmo-imap4-authenticator-alist): New variable.
8394 (elmo-imap4-open-connection-1): Rename from
8395 elmo-imap4-open-connection.
8396 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8397 only wraps elmo-imap4-open-connection-1.
8398 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8400 (elmo-imap4-auth-login): New function.
8401 (elmo-imap4-auth-cram-md5): New function.
8402 (elmo-imap4-auth-digest-md5): New function.
8403 (elmo-imap4-login): New function.
8405 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8407 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8410 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8412 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8414 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8416 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8418 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8420 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8421 for server responses, quote `*' regardless of where it appears.
8423 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8425 * elmo-maildir.el (elmo-maildir-commit): New alias.
8427 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8429 * elmo-util.el (elmo-display-progress):
8430 Use `progress-feedback-with-label'.
8432 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8434 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8435 (elmo-imap4-non-atom-char-regex): Ditto.
8436 (elmo-imap4-non-text-char-regex): Ditto.
8437 (elmo-imap4-literal-threshold): Ditto.
8438 (elmo-imap4-atom-p): New function.
8439 (elmo-imap4-quotable-p): Ditto.
8440 (elmo-imap4-nil): Ditto.
8441 (elmo-imap4-atom): Ditto.
8442 (elmo-imap4-quoted): Ditto.
8443 (elmo-imap4-literal-subr): Ditto.
8444 (elmo-imap4-literal): Ditto.
8445 (elmo-imap4-buffer-literal): Ditto.
8446 (elmo-imap4-string-subr): Ditto.
8447 (elmo-imap4-string): Ditto.
8448 (elmo-imap4-buffer-string): Ditto.
8449 (elmo-imap4-astring-subr): Ditto.
8450 (elmo-imap4-astring): Ditto.
8451 (elmo-imap4-buffer-astring): Ditto.
8452 (elmo-imap4-nstring): Ditto.
8453 (elmo-imap4-buffer-nstring): Ditto.
8454 (elmo-imap4-mailbox): New alias.
8455 (elmo-imap4-field-body): Ditto.
8456 (elmo-imap4-userid): Ditto.
8457 (elmo-imap4-password): Ditto.
8458 (elmo-imap4-format-quoted): New function.
8459 (elmo-imap4-send-command): Rewritten. Accept a list of command
8460 arguments and handle "atom", "quoted" and "literal" string here.
8461 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8462 `elmo-imap4-send-command'.
8463 (elmo-imap4-folder-exists-p): Likewise.
8464 (elmo-imap4-create-folder): Likewise.
8465 (elmo-imap4-delete-folder): Likewise.
8466 (elmo-imap4-rename-folder): Likewise.
8467 (elmo-imap4-max-of-folder): Likewise.
8468 (elmo-imap4-check-validity): Likewise.
8469 (elmo-imap4-sync-validity): Likewise.
8470 (elmo-imap4-server-diff): Likewise.
8471 (elmo-imap4-select-folder): Likewise.
8472 (elmo-imap4-copy-msgs): Likewise.
8473 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8474 (elmo-imap4-mark-set-on-msgs): Likewise.
8475 (elmo-imap4-read-part): Likewise.
8476 (elmo-imap4-read-msg): Likewise.
8477 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8478 `elmo-imap4-password' for `elmo-imap4-send-command'.
8479 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8480 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8481 `elmo-imap4-buffer-literal'.
8482 (elmo-imap4-append-msg): Likewise.
8484 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8485 `delete' for removing dead connection from the connection cache.
8486 Move deletion of the process buffer after that.
8487 (elmo-imap4-list): Change `defsubst' to `defun'.
8488 (elmo-imap4-commit): Make error message verbose.
8489 (elmo-imap4-search): Ditto.
8490 (elmo-imap4-list): Ditto.
8491 (elmo-imap4-select-folder): Ditto.
8492 (elmo-imap4-copy-msgs): Ditto.
8493 (elmo-imap4-delete-msg-by-id): Ditto.
8494 (elmo-imap4-append-msg-by-id): Ditto.
8495 (elmo-imap4-append-msg): Ditto.
8497 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8499 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8500 when dired is used on XEmacs.
8502 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8504 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8505 instead of `append'.
8506 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8507 `elmo-plugged-p' directly.
8508 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8509 of `elmo-plugged-p' directly.
8511 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8512 Eliminate unused variable. Use `memq' for checking a process status.
8513 Use `cons' instead of `append' for updating the connection cache.
8514 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8515 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8517 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8519 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8520 `elmo-imap4-read-point' exactly.
8522 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8523 the local variable `folder' to `mailbox'.
8524 Rename the argument `fld' to `folder'.
8526 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8528 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8529 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8531 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8533 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8534 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8535 (elmo-pop3-uidl-number-hash): Ditto.
8536 (elmo-pop3-size-hash): Ditto.
8537 (elmo-pop3-uidl-done): Ditto.
8538 (elmo-pop3-list-done): Ditto.
8539 (elmo-pop3-connection-get-process): New defmacro.
8540 (elmo-pop3-connection-get-buffer): Ditto.
8541 (elmo-pop3-close-connection): Delete buffer and process.
8542 (elmo-pop3-flush-connection): Don't delete buffer and process.
8543 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8544 Setup UIDL and size hash.
8545 (elmo-pop3-send-command-no-erase): Deleted
8546 (elmo-pop3-send-command): Added optional argument `no-erase'.
8547 (elmo-pop3-parse-uidl-response): New function.
8548 (elmo-pop3-parse-list-response): Set size hash.
8549 (elmo-pop3-list-location): New function.
8550 (elmo-pop3-list-by-uidl-subr): Ditto.
8551 (elmo-pop3-list-by-list): Ditto.
8552 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8553 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8554 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8555 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8556 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8558 (elmo-pop3-uidl-to-number): New function.
8559 (elmo-pop3-number-to-uidl): Ditto.
8560 (elmo-pop3-number-to-size): Ditto.
8561 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8562 Set number by use of uidl.
8563 (elmo-pop3-msgdb-create-message): Likewise.
8564 Set size, loc-alist in msgdb.
8565 (elmo-pop3-read-msg): Set number by use of uidl.
8566 Added optional argument `msgdb'.
8567 (elmo-pop3-delete-msg): Ditto.
8568 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8569 (elmo-pop3-commit): Close connection.
8571 * elmo-pipe.el (elmo-pipe-max-of-folder):
8572 Bind `elmo-pop3-use-uidl' as nil.
8573 (elmo-pipe-drain): Ditto.
8576 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8577 (elmo-msgdb-overview-entity-set-size): New defsubst.
8579 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8581 * elmo-vars.el (elmo-use-killed-list): New variable
8582 (Renamed from `elmo-nntp-use-killed-list').
8583 (elmo-nntp-use-killed-list): Eliminated.
8585 * elmo-msgdb.el (elmo-msgdb-expand-path):
8586 Changed expanding msgdb path for elmo-multi.
8588 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8589 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8590 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8591 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8592 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8593 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8594 (toplevel): Deleted time-stamp line.
8596 * elmo2.el (elmo-clear-killed ): Defined as function
8597 (Abolished defining as a backend function).
8598 All other related modules are changed.
8600 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8602 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8604 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8606 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8608 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8610 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8612 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8614 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8615 asynchronous folder check.
8617 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8619 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8620 `elmo-nntp-use-killed-list'.
8621 (elmo-nntp-list-folder): Use killed list.
8622 (elmo-nntp-max-of-folder): Ditto.
8623 (elmo-nntp-msgdb-create): Set killed list.
8625 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8627 * elmo2.el (elmo-clear-killed): New backend function.
8628 All other related modules are changed.
8630 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8632 * elmo-util.el (elmo-imap4-spec-folder): Use
8633 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8634 All callers changed.
8636 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8638 * mmelmo-2.el (initialize-instance):
8639 Use `mime-buffer-entity-buffer-internal' instead of
8640 `mime-entity-buffer'.
8642 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8643 (mime-entity-body): Implemented.
8644 (mime-goto-header-start-point): Deleted.
8645 (mime-goto-body-end-point): Ditto.
8646 (mime-entity-point-min): Ditto.
8647 (mime-entity-point-max): Ditto.
8648 (mime-entity-children): Ditto.
8649 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8650 instead of `mime-entity-buffer'.
8651 (mime-entity-header-buffer): Ditto.
8652 (mime-entity-body-buffer): Ditto.
8653 (mime-write-entity-content): Ditto.
8655 * pldap.el (ldap-static-if): New macro.
8656 (toplevel): Use it instead of `static-if'.
8658 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8660 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8661 included in `attrs' argument.
8663 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8665 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8667 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8668 (ldap-ldif-safe-init-char-regexp): Ditto.
8669 (ldap-ldif-safe-string-regexp): Ditto.
8670 (ldap/ldif-safe-string-p): New macro.
8671 (ldap/ldif-insert-field): Ditto.
8672 (ldap-modify): Use it.
8674 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8675 (ldap-decode-attribute): Decode only when `attr' is consp.
8676 (ldap-delete): Bind `ret'.
8677 (toplevel): Require 'cl at compile time.
8678 Removed (require 'poe) and (require 'std11).
8679 (pldap-version): Eliminated.
8680 (ldap-search-basic): Removed auth and dn binding.
8681 (ldap-ldif-field-name-regexp): New constant.
8682 (ldap-ldif-field-head-regexp): Ditto.
8683 (ldap-ldif-next-field-head-regexp): Ditto.
8684 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8685 (ldap/field-end): New function.
8686 (ldap/field-body): Use it.
8687 (ldap/collect-field): Ditto.
8688 (ldap-search-basic): Use `ldap/field-body'.
8690 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8692 * pldap.el (ldap-default-attribute-encoder): New user option.
8693 (ldap/field-body): Decode base64 string.
8694 (ldap/collect-field): Ditto.
8695 (ldap-encode-attribute): New function.
8696 (ldap-add-entries): Use it.
8697 (ldap-modify-entries): Ditto.
8698 (ldap-search-entries): Enclosed decoding function with
8699 `with-temp-buffer' and set as unibyte.
8700 (ldap-search-basic): Set process buffer as unibyte.
8702 * elmo-util.el (elmo-folder-identical-system-p):
8703 Eliminated name space checking.
8705 * pldap.el: New module.
8706 toplevel: Changed condition to detect built-in ldap feature.
8707 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8708 (ldap-add): Added error handling.
8709 (ldap-modify): Ditto.
8710 (ldap-delete): Ditto.
8712 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8714 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8715 Initialize local variables with `let'. Inline a temporary
8716 variable for the progress percentage. Sort `setq' to reduce
8717 function call in the while-loop.
8719 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8720 into the conditional branch.
8722 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8724 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8725 Move a conditional out of the while-loop.
8727 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8729 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8730 elmo-msgdb-overview-get-entity-by-number.
8731 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8734 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8736 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8737 the local variable for a packed number self descriptively.
8739 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8741 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8742 * elmo-localdir.el (elmo-localdir-pack-number): Use
8743 `elmo-msgdb-overview-get-entity' instead of
8744 `elmo-msgdb-overview-get-entity-by-number'.
8745 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8746 (elmo-msgdb-search-overview-entity): Removed.
8747 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8748 by message-id or number.
8749 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8750 instead of `elmo-msgdb-overview-get-entity-by-number'.
8752 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8754 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8755 non-nil, use hash table for overview.
8756 (elmo-hash-maximum-size): New variable.
8757 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8758 (elmo-msgdb-make-overview-hashtb): New function.
8759 (elmo-msgdb-clear-overview-hashtb): New function.
8760 (elmo-clear-hash-val): New macro.
8761 All other related modules are changed.
8763 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8765 * elmo2.el (elmo-move-msgs): If there's other message with
8766 same message-id, don't use cache.
8768 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8770 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8771 number is already packed.
8773 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8775 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8777 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8779 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8780 All other related modules are changed.
8782 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8784 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8785 of refiling failure on Maildir.
8787 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8789 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8790 decoded mime-charset with cache.
8791 (elmo-msgdb-overview-entity-get-from): Ditto.
8792 (elmo-msgdb-overview-entity-get-subject): Ditto.
8793 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8795 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8797 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8798 (elmo-remove-passwd): Fill password with 0 before erase.
8799 * elmo-vars.el (elmo-passwd-life-time): New variable.
8802 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8804 * elmo-cache.el (elmo-buffer-cache-add):
8805 Set message cache buffer as unibyte.
8807 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8809 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8812 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8814 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8815 when display is finished.
8816 (elmo-nntp-msgdb-create): Ditto.
8817 (elmo-nntp-groups-read-response): Ditto.
8818 (elmo-nntp-retrieve-headers): Ditto.
8819 (elmo-nntp-msgdb-create-message): Ditto.
8820 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8821 (elmo-pop3-msgdb-create-message): Ditto.
8823 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8825 * elmo-maildir.el (elmo-maildir-msgdb-create):
8826 Use `elmo-msgdb-sort-by-date'.
8828 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8830 * elmo2.el (elmo-read-msg-no-cache):
8831 Eliminated arguments after `outbuf'.
8832 Don't use cache even if it exists.
8833 (elmo-read-msg): Don't pass arguments after `outbuf' to
8834 `elmo-read-msg-no-cache'.
8836 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8838 * elmo-archive.el (elmo-archive-list-folders):
8839 Use `file-name-directory' if base folder does not exist.
8841 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8843 * elmo-archive.el (elmo-archive-list-folders): Don't use
8844 `file-name-directory'.
8846 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8848 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8849 If `force' is non-nil, try flushing all operation queues.
8851 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8853 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8856 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8858 * elmo-util.el (elmo-display-progress): Fixed.
8860 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8862 * elmo-util.el (elmo-display-progress): New function.
8863 All other related modules are changed.