1 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
3 * elmo-maildir.el (elmo-maildir-list-location): Reduce
4 `elmo-get-last-modification-time' call.
6 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
10 (elmo-maildir-set-mark): Ditto.
11 (elmo-maildir-delete-mark): Ditto.
13 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
15 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
16 optional argument `separators'.
18 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
20 * elmo.el (cache-changed): Abolish.
21 (status-changed): New signal.
22 (elmo-message-killed-p): New generic function and define for
24 (elmo-folder-recover-messages): Ditto.
25 (elmo-message-set-cached): Emit signal `status-changed' instead of
27 (elmo-message-status): New macro.
28 (elmo-message-status-folder): Ditto.
29 (elmo-message-status-number): Ditto.
30 (elmo-message-status-set-flags): Ditto.
31 (elmo-message-status-set-killed): Ditto.
32 (elmo-message-status-flags): New function.
33 (elmo-message-status-cached-p): Ditto.
34 (elmo-message-status-killed-p): Ditto.
36 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
37 `status-changed' instead of `cache-changed'.
38 (elmo-folder-recover-messages): Define.
39 (elmo-message-killed-p): Ditto.
41 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
42 `status-changed' instead of `cache-changed'.
44 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
45 (elmo-message-killed-p): Define.
46 (elmo-folder-recover-messages): Ditto.
48 * elmo-version.el (elmo-version): Up to 2.15.3.
50 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
52 * elmo-signal.el (elmo-signal-bindings): Use cons to append
54 (elmo-define-signal-handler): Add docstring.
55 (elmo-define-signal-filter): Ditto.
57 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
59 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
61 * elmo-util.el (elmo-flatten): Don't use recursive call.
63 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
65 (elmo-folder-message-make-temp-files): Use `number-to-string'
66 instead of `int-to-string'.
68 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
70 * elmo-search.el (elmo-folder-delete-messages): Define.
72 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
74 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
76 (elmo-mailing-list-count-spec-list): Ditto.
78 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
81 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
83 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
86 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
88 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
89 (elmo-mailing-list-count-spec-list): Ditto.
91 * elmo-util.el (elmo-map-until-success): New function.
92 (elmo-string-match-substring): Ditto.
93 (elmo-find-list-match-value): Ditto.
95 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
97 (modb-entity-extract-ml-info-from-subject): Ditto.
98 (modb-entity-extract-ml-info-from-return-path): Ditto.
99 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
100 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
101 (modb-entity-extract-ml-info-from-mailman): Ditto.
102 (modb-entity-extract-mailing-list-info-functions): Ditto.
103 (modb-entity-extract-mailing-list-info): Rewrite with
104 `elmo-find-list-match-value'.
106 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
108 * elmo-net.el (elmo-network-session-retry-count): New user option.
109 (elmo-network-session-buffer-name): New internal function.
110 (elmo-network-session-buffer-create): Ditto.
111 (elmo-network-open-session): Retry open network session
112 `elmo-network-session-retry-count' times.
114 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
116 * elmo-util.el (elmo-list-filter): Rewritten.
118 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
120 * elmo-util.el (elmo-string-member): Allow symbol element in list.
122 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
124 * elmo-search.el (elmo-make-search-engine): Use prefix
125 `elmo-search-' for require symbol instead of `else-'.
126 (elmo-search-engine-extprog): New class.
127 (elmo-search-engine-do-search): Remove nil from argument
128 list. Added argument pattern to evaluate element as function.
129 (elmo-search-engine-local-file): Derived from
130 `elmo-search-engine-extprog'.
131 (elmo-search-engine-create-message-entity): Check existance of file.
132 (elmo-search-engine-fetch-message): Ditto.
133 (elmo-search-namazu-index): Follow the API change.
134 (elmo-search-grep-target): Ditto.
136 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
138 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
139 characters of working buffer.
141 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
142 Does not bind `default-mime-charset'.
143 (elmo-msgdb-create-message-entity-from-buffer): Removed
144 unnecessary local bind.
146 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
148 (modb-entity-extract-mailing-list-info-functions): Added it.
150 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
152 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
153 when number and message-id are non-nil.
155 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
157 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
158 conditional steatment.
159 (elmo-pop3-auth-apop): Likewise.
160 (elmo-network-authenticate-session): Likewise.
162 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
164 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
165 symbol `fill-column'.
166 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
169 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
170 (elmo-decoded-field-body): Ditto.
172 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
174 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
175 `tokens' to `params'.
177 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
179 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
182 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
184 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
187 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
189 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
190 Set default value as nil.
191 (toplevel): Register search engines by
192 `elmo-search-register-engine' if there are not defined.
194 * elmo.el (autoload): Added autoload setting for
195 `elmo-search-register-engine'.
197 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
199 * elmo.el (toplevel): `[' is redefined as the prefix of the search
200 folder instead of nmz folder.
201 (elmo-nmz-default-index-path): Added obsolete variable setting.
202 (elmo-nmz-index-alias-alist): Ditto.
203 (elmo-nmz-use-drive-letter): Ditto.
205 * elmo-search.el (elmo-search-register-engine): New function.
207 * elmo-nmz.el: Removed.
209 * elmo-version.el (elmo-version): Up to 2.15.2.
211 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
213 * elmo-search.el: New file.
215 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
217 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
218 condition `larger' and `smaller'.
220 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
222 * elmo-util.el (elmo-safe-filename): Rewrite to replace
223 `"' (double quote) into "_Q_".
225 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
227 * elmo-net.el (elmo-net-quote-chars): Abolish.
228 (elmo-net-format-quoted): Ditto.
230 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
232 * elmo.el (elmo-get-folder-function): New variable.
233 (elmo-get-folder): New function.
234 (elmo-folder-rename): Call `elmo-make-folder' with specified
237 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
239 (elmo-split-subr): Ditto.
241 * elmo-multi.el (elmo-folder-initialize): Ditto.
243 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
245 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
246 (elmo-flag-get-folder): Ditto.
248 * elmo-filter.el (elmo-folder-initialize): Ditto.
250 * elmo-access.el (elmo-folder-initialize): Ditto.
251 (elmo-access-folder-update-children): Ditto.
253 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
254 (elmo-dop-queue-flush): Ditto.
255 (elmo-folder-append-buffer-dop-delayed): Ditto.
256 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
259 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
260 instead of `elmo-make-folder'.
261 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
262 destination folder instead of send `elmo-folder-rename-internal'.
264 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
265 slot of subfolder instead of create it.
267 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
269 * elmo-util.el (elmo-collect-separators): New function.
270 (elmo-collect-separators-internal): Ditto.
271 (elmo-collect-trail-separators): Ditto.
272 (elmo-parse-separated-tokens): Ditto.
273 (elmo-parse-separated-tokens-internal): Ditto.
274 (elmo-quote-syntactical-element): Ditto.
276 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
277 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
279 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
280 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
281 (elmo-nntp-folder-list-subfolders): Quote a user name.
283 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
284 (elmo-net-parse-network): Abolish.
285 (elmo-net-folder-set-parameters): New function.
286 (elmo-folder-initialize): Follow the above change.
288 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
289 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
290 (elmo-folder-list-subfolders): Use
291 `elmo-quote-syntactical-element' instead of
292 `elmo-net-format-quoted' to quote mailbox and user name.
294 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
296 * elmo-util.el (elmo-token-valid-p): New function.
297 (elmo-parse-token): Add optional argument `requirement'.
298 (elmo-parse-prefixed-element): Likewise.
300 * elmo-net.el (elmo-net-quote-chars): Renamed from
301 `elmo-net-quote-chars-regexp'.
302 (elmo-net-format-quoted): Add optional argument `extra-chars'.
304 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
305 by info document. Check token `uidl' is started an alphabet.
307 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
308 by info document. Check token `user' is started an alphabet.
310 * elmo-imap4.el (elmo-folder-initialize): Ditto.
311 (elmo-folder-list-subfolders): Quote user.
313 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
315 * elmo-util.el (elmo-quoted-specials-list): New constant.
316 (elmo-quoted-token): New function.
318 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
319 (elmo-net-format-quoted): New function.
320 (elmo-net-parse-network): Ditto.
321 (elmo-folder-initialize): Use it.
323 * elmo-nntp.el (elmo-folder-initialize): Use
324 `elmo-net-parse-network' to parse network specification instead of
325 `elmo-folder-initialize#elmo-net'.
327 * elmo-pop3.el (elmo-folder-initialize): Ditto.
329 * elmo-imap4.el (elmo-folder-initialize): Ditto.
330 (elmo-folder-list-subfolders): Quote folder name by
331 `elmo-net-format-quoted'.
333 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
335 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
336 (elmo-folder-search): Use it.
338 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
340 * modb-standard.el (modb-standard-loaded-message-id): Use
341 `elmo-msgdb-message-entity-field'.
343 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
345 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
348 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
350 * elmo-util.el (elmo-set-auto-coding): New function.
351 (elmo-object-load): Use it.
353 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
355 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
356 (elmo-time<): Define as alias of `elmo-time-less-p'.
357 (elmo-time-to-datevec): New function.
359 * elmo-date.el (elmo-time-to-days): New function.
361 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
363 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
366 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
368 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
371 * elmo-util.el (elmo-map-recursive): New function.
373 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
374 (modb-entity-encode-string-recursive): Ditto.
376 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
378 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
379 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
380 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
381 compare sequence number when last modified time is nil.
383 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
385 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
387 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
389 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
391 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
392 modification time of the file.
394 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
396 * elmo-util.el (elmo-condition-optimize): Discriminated against
397 preserved fields, extra fields and the other weight.
399 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
401 * modb-entity.el (initialize-instance): Define.
402 (modb-entity-handler-mime-charset): New internal function.
403 (modb-standard-entity-set-field): Use it.
404 (elmo-msgdb-message-entity-field): Ditto.
405 (elmo-msgdb-message-entity-field): Ditto.
407 * modb.el (elmo-msgdb-match-condition): Rewrite with
408 `elmo-condition-match'.
409 (elmo-msgdb-match-condition-primitive): New function.
411 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
412 arguments `flags' and `numbers'.
413 (elmo-msgdb-match-condition-primitive): Abolished (merged to
414 `elmo-msgdb-message-match-condition').
415 (modb-buffer-entity-handler): New class.
417 * elmo.el (elmo-folder-search): Optimize condition to use
418 `elmo-condition-optimize'.
419 (elmo-message-buffer-match-condition): New function.
420 (elmo-message-match-condition): Use
421 `elmo-message-buffer-match-condition' instead of
422 `elmo-buffer-field-condition-match'.
424 * elmo-util.el (elmo-condition-match): New function.
425 (elmo-condition-optimize): Ditto.
426 (elmo-buffer-field-primitive-condition-match): Abolish.
427 (elmo-buffer-field-condition-match): Ditto.
429 * elmo-archive.el (elmo-archive-field-condition-match): Use
430 `elmo-message-buffer-match-condition' instead of
431 `elmo-buffer-field-condition-match'.
433 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
435 * elmo-flag.el (elmo-global-flags-initialize): Check the
436 existence of the flag directory.
438 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
440 * elmo-access.el (elmo-folder-initialize): Call
441 `elmo-multi-connect-signals'.
443 * elmo-pipe.el (elmo-folder-close): Define.
445 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
448 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
451 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
454 * elmo-multi.el (elmo-message-entity): Don't use return value of
455 `elmo-message-entity-set-number'.
457 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * modb.el (modb-generic): Added slot `mime-charset'.
461 * modb-standard.el (modb-standard): Added slot `overview-handler'.
462 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
463 and `modb-entity-handler-dump-parameters'.
464 (modb-standard-default-entity-handler): Abolish.
465 (elmo-msgdb-message-entity-handler): Save created handler by
468 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
469 (modb-entity-handler-list-parameters): New method.
470 (modb-entity-handler-equal-p): New function.
471 (modb-entity-handler-dump-parameters): Ditto.
472 (modb-entity-parse-address-string): Encode return value.
473 (modb-entity-make-address-string): Decode argument value.
474 (modb-entity-decode-string-recursive): New function.
475 (modb-entity-encode-string-recursive): Ditto.
476 (modb-standard-entity-normalizer): Set to encode field value.
477 (modb-standard-entity-specializer): Follow the above change.
478 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
479 mime-charset of handler.
480 (elmo-msgdb-message-entity-field): Ditto.
481 (elmo-msgdb-copy-message-entity): Fixed reference to internal
483 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
485 * elmo.el (elmo-folder): Added slot `mime-charset'.
486 (elmo-make-folder): Added argument `mime-charset'.
487 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
490 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
491 (elmo-make-msgdb): Likewise.
493 * elmo-internal.el (elmo-internal-folder-initialize): Call
494 `luna-make-entity' with :mime-charset parameter.
496 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
498 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
499 encoded words in `from' and `subject' field.
501 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
503 * modb.el (elmo-msgdb-message-field): Add argument `type'.
504 (elmo-msgdb-match-condition): Get handler from entity instead of
507 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
508 (modb-standard-load-entity): Treat new file format.
509 (modb-standard-save-entity-1): Save as new file format.
510 (modb-standard-save-entity): Split messages into section here.
511 (elmo-msgdb-message-field): Follow the API change.
512 (modb-standard-default-entity-handler): New internal variable.
513 (elmo-msgdb-message-entity-handler): Define.
515 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
517 (modb-entity-field-extractor-alist): New user option.
518 (elmo-msgdb-message-entity-field): Removed argument `decode' and
519 added argument `type'.
520 (elmo-msgdb-copy-message-entity): Add optional argument
522 (modb-set-field-converter): New function.
523 (modb-convert-field-value): Ditto.
524 (modb-entity-string-decoder): Ditto.
525 (modb-entity-string-encoder): Ditto.
526 (modb-entity-parse-date-string): Ditto.
527 (modb-entity-make-date-string): Ditto.
528 (modb-entity-mime-decoder): Ditto.
529 (modb-entity-mime-encoder): Ditto.
530 (modb-entity-address-list-decoder): Ditto.
531 (modb-entity-address-list-encoder): Ditto.
532 (modb-entity-parse-address-string): Ditto.
533 (modb-entity-make-address-string): Ditto.
534 (modb-entity-create-field-indices): Ditto.
535 (modb-legacy-entity-field-slots): New constant.
536 (modb-legacy-entity-field-indices): Ditto.
537 (modb-legacy-entity-normalizer): New variable.
538 (modb-legacy-entity-specializer): Ditto.
539 (modb-legacy-entity-field-index): New macro.
540 (modb-legacy-entity-set-field): New function.
541 (modb-legacy-make-message-entity): Rewrite.
542 (elmo-msgdb-create-message-entity-from-buffer): Use
543 `elmo-msgdb-get-references-from-buffer'. Use
544 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
545 Use `modb-legacy-entity-set-field' instead of
546 `elmo-msgdb-message-entity-set-field'.
547 (elmo-msgdb-message-entity-field): Rewrite.
548 (elmo-msgdb-message-entity-set-field): Ditto.
549 (elmo-msgdb-copy-message-entity): Make new entity by
550 `make-handler' if it specified.
551 (elmo-msgdb-message-match-condition): Define a method of
552 `modb-entity-handler' and follow the API change.
553 (modb-standard-entity-handler): New class.
554 (modb-entity-extract-ml-info-from-x-sequence): New function.
555 (modb-entity-extract-ml-info-from-subject): Ditto.
556 (modb-entity-extract-ml-info-from-return-path): Ditto.
557 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
558 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
559 (modb-entity-extract-mailing-list-info): Ditto.
560 (modb-entity-extract-mailing-list-info-functions): New variable.
562 * elmo.el (elmo-message-field): Add optional argument `type'.
564 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
565 from `modb-entity.el'.
567 * elmo-util.el (elmo-object-load): Decode by coding-system from
568 `set-auto-coding-function'.
569 (elmo-object-save): Use `detect-mime-charset-region' and add
570 coding cookie if encode.
571 (elmo-msgdb-get-references-from-buffer): New function.
572 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
574 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
576 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
577 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
578 instead of `shimbun-make-header' and follow the API change.
579 (elmo-shimbun-update-overview): Follow the API change.
580 (elmo-map-folder-list-message-locations): Ditto.
582 * elmo-pipe.el (elmo-message-field): Ditto.
584 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
587 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
589 * elmo-multi.el (elmo-message-field): Ditto.
591 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
592 (elmo-msgdb-sort-by-date): Ditto.
593 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
594 `elmo-message-entity-field'.
595 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
597 (elmo-msgdb-overview-entity-get-from): Ditto.
598 (elmo-msgdb-overview-entity-get-subject): Ditto.
599 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
600 (elmo-msgdb-overview-entity-get-date): Ditto.
601 (elmo-msgdb-overview-entity-get-to): Ditto.
602 (elmo-msgdb-overview-entity-get-cc): Ditto.
604 * elmo-mime.el (elmo-message-mime-entity): Ditto.
605 (elmo-mime-collect-message/partial-pieces): Ditto.
607 * elmo-filter.el (elmo-message-field): Ditto.
609 * elmo-date.el (elmo-datevec-to-time): New function.
610 (elmo-time-parse-date-string): Ditto.
611 (elmo-time-make-date-string): Ditto.
614 * elmo-version.el (elmo-version): Up to 2.15.1.
616 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
618 * elmo-flag.el (elmo-global-flags-initialize): Don't include
619 member of elmo-local-flags.
621 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
623 * elmo-version.el (elmo-version): Up to 2.15.0.
625 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
627 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
628 `ignore-msgdb' is non-nil.
630 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
632 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
633 (elmo-condition-in-msgdb-p): Ditto.
634 (elmo-file-field-primitive-condition-match): Ditto.
635 (elmo-file-field-condition-match): Ditto.
637 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
639 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
641 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
643 (elmo-global-flags-initialize): New function.
645 * elmo.el (toplevel): Added autoload setting for
646 `elmo-global-flags-initialize'.
648 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
650 * elmo.el (message-number-changed): Define new signal.
651 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
652 message-number-changed signal.
653 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
654 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
655 Respect `elmo-pack-number-check-strict'.
657 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
659 * elmo-signal.el (elmo-connect-signal): Document.
660 (elmo-emit-signal): Ditto.
661 (elmo-emit-signal): It should pass source argument to filter and
662 handler, not slot-source.
664 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
666 * modb.el (elmo-msgdb-update-entity): New API and define generic
669 * modb-standard.el (elmo-msgdb-update-entity): Define.
671 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
672 API and define generic implement.
674 * elmo.el (update-overview): New singnal.
676 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
677 `elmo-msgdb-update-entity' and emit signal `update-overview'.
678 (elmo-message-entity-parent): Define.
680 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
683 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
685 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
687 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
689 * elmo.el (elmo-folder-synchronize): Sort the return value of
692 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
695 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
697 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
698 `default-enable-multibyte-characters'.
699 (elmo-object-load): Use `with-temp-buffer' instead of
701 (elmo-object-save): Ditto.
702 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
704 (elmo-decoded-field-body): Ditto.
706 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
708 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
709 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
711 * elmo-version.el (elmo-version): Up to 2.13.3.
713 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
715 * elmo-util.el (elmo-list-diff): Fix the last change.
716 Reverse order of result lists.
718 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
720 * modb-standard.el (elmo-msgdb-set-flag): Use
721 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
722 (elmo-msgdb-unset-flag): Ditto.
724 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
727 * elmo-util.el (elmo-list-diff): Rewrite.
728 (elmo-list-diff-nonsortable): New function.
730 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
732 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
733 `elmo-multibypte-buffer-name'. All referers are updated.
735 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
737 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
738 (elmo-mime-entity-fragment-p): New function.
739 (mime-elmo-buffer-entity): Added slot `reassembled'.
740 (elmo-message-mime-entity): Added 4th argument `reassemble'.
741 (elmo-message-mime-entity-internal): New function (renamed from
742 `elmo-message-mime-entity').
743 (elmo-mime-inherit-field-list-from-enclosed): New constant.
744 (elmo-mime-make-reassembled-mime-entity): New function.
745 (elmo-message-reassembled-mime-entity): Ditto.
746 (elmo-mime-collect-message/partial-pieces): Ditto.
748 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
750 * elmo.el (elmo-message-fetch-string): Disable multibyte.
752 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
753 (elmo-with-enable-multibyte): New macro.
755 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
757 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
759 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
761 (elmo-filter-connect-signals): Follow the above change.
763 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
765 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
767 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
768 that only the first flag is used.
770 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
772 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
775 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
777 * elmo-signal.el: New file.
779 * elmo.el (toplevel): Require elmo-signal.
780 (flag-changing, flag-changed, cache-changed): New signal.
781 (elmo-folder): Remove slog `handlers'.
782 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
783 `elmo-folder-notify-event'.
784 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
785 (elmo-folder-unset-flag): Ditto.
786 (elmo-event-handler): Abolish.
787 (elmo-event-handler-flag-changed): Ditto.
788 (elmo-event-handler-cache-changed): Ditto.
789 (elmo-folder-add-handler): Ditto.
790 (elmo-folder-remove-handler): Ditto.
791 (elmo-folder-notify-event): Ditto.
793 * elmo-pipe.el (toplevel): Require elmo-signal.
794 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
795 (elmo-pipe-connect-signals): New function.
796 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
797 (elmo-folder-set-flag): Ditto.
798 (elmo-folder-unset-flag): Ditto.
799 (elmo-message-set-cached): Ditto.
801 * elmo-multi.el (toplevel): Require elmo-signal.
802 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
803 (elmo-multi-connect-signals): New function.
804 (elmo-multi-map-numbers): Ditto.
805 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
806 (elmo-message-fetch): Ditto.
807 (elmo-folder-set-flag): Ditto.
808 (elmo-folder-unset-flag): Ditto.
810 * elmo-filter.el (toplevel): Require elmo-signal.
811 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
812 (elmo-filter-connect-signals): New function.
813 (elmo-filter-add-flag-count): Ditto.
814 (elmo-message-fetch): Does not call
815 `elmo-filter-folder-countup-message-flags' and
816 `elmo-folder-notify-event'.
817 (elmo-message-set-cached): Ditto.
818 (elmo-folder-set-flag): Ditto.
819 (elmo-folder-unset-flag): Ditto.
821 * elmo-version.el (elmo-version): Up to 2.13.2.
823 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
825 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
828 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
830 * elmo-filter.el (elmo-message-set-cached): Call
831 `elmo-folder-notify-event' with event `cache-changed'.
833 * elmo-multi.el (elmo-message-set-cached): Ditto.
835 * elmo-pipe.el (elmo-message-set-cached): Ditto.
837 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
839 * elmo.el (elmo-folder-encache): Abolish.
841 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
843 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
844 (elmo-folder-next-message-number-dop): Return appropriate negative
847 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
849 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
850 clearing pending operations.
851 (elmo-folder-next-message-number-dop): Return appropriate negative
854 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
856 * elmo.el (toplevel): Added autoload setting for `md5'.
857 (elmo-msgdb-path-encode-threshold): New user option.
858 (elmo-folder-msgdb-path): Encode msgdb path if its length is
859 longer than `elmo-msgdb-path-encode-threshold'.
861 * elmo-flag.el (elmo-global-mark-migrate): Use
862 `elmo-folder-expand-msgdb-path' instead of
863 `elmo-folder-msgdb-path'.
865 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
867 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
868 element of the difference is nil.
870 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
872 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
873 to the check logic of file systems which are weak in colon character.
875 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
877 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
879 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
881 * elmo-maildir.el (elmo-maildir-move-file): New function.
882 (elmo-folder-append-buffer): Use it.
883 (elmo-folder-append-messages): Ditto.
884 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
886 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
887 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
889 * elmo-maildir.el (elmo-maildir-separator): New user option.
890 (elmo-maildir-adjust-separator): New macro.
891 (elmo-maildir-list-location): Use it.
892 (elmo-maildir-update-current): Ditto.
893 (elmo-maildir-set-mark): Ditto.
894 (elmo-maildir-delete-mark): Ditto.
895 (These changes are based on Hiroya Murata's patch [wl: 13437])
897 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
899 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
901 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
903 * elmo-flag.el (elmo-flag-valid-p): Simplify.
904 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
905 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
907 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
909 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
910 Use `with-temp-buffer'.
912 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
914 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
916 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
917 `wl-read-search-condition').
918 (elmo-read-search-condition-internal): Likewise.
920 * elmo-flag.el (elmo-flag-char-regexp): New constant.
921 (elmo-flag-valid-p): New function.
922 (elmo-folder-initialize): Check flag name is valid.
924 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
926 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
927 delimiter to obtain root mailbox itself.
929 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
931 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
934 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
936 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
939 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
941 * elmo-shimbun.el (toplevel): Require cl at compile.
943 * elmo-nntp.el (toplevel): Ditto.
945 * elmo-nmz.el (toplevel): Ditto.
947 * elmo-multi.el (toplevel): Ditto.
949 * elmo-file.el (toplevel): Ditto.
951 * elmo-dop.el (toplevel): Ditto.
953 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
955 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
957 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
960 * elmo.el (elmo-message-fetch): Return t even when the output buffer
961 size of elmo-message-fetch-internal is 0 byte.
963 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
965 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
967 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
969 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
972 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
974 * elmo-maildir.el (elmo-map-message-fetch): Call
975 `elmo-map-folder-set-flag'.
977 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
978 (elmo-message-fetch): Merge from
979 `elmo-message-fetch-with-cache-process'.
981 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
982 (elmo-message-fetch): Define.
984 * elmo-nntp.el (elmo-message-fetch): Renamed from
985 `elmo-message-fetch-with-cache-process'.
987 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
988 (elmo-message-fetch): Define.
990 * elmo-util.el (elmo-condition-parse-primitive): Downcase
993 * elmo-shimbun.el (shimbun-mua-search-id): Use
994 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
995 (elmo-shimbun-folder-shimbun-header): Ditto.
996 (elmo-shimbun-get-headers): Ditto.
997 (elmo-shimbun-update-overview): Ditto.
999 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1001 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1002 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1004 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1006 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1008 (elmo-message-fetch-string): Fixed argument.
1010 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1012 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1013 exchange order of arguments `section' and `unread'.
1014 (elmo-message-encache): Follow the API change.
1015 (elmo-message-match-condition): Ditto.
1016 (elmo-generic-folder-append-messages): Ditto.
1017 (elmo-message-fetch-string): New function.
1019 * elmo-split.el (elmo-split-subr): Ditto.
1021 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1023 * elmo-pipe.el (elmo-message-fetch): Ditto.
1025 * elmo-multi.el (elmo-message-fetch): Ditto.
1027 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1029 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1031 * elmo-filter.el (elmo-message-fetch): Ditto.
1033 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1035 * elmo-imap4.el (mime-imap-location-section-body): Use
1036 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1037 follow the API change.
1039 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1041 * elmo-access.el: New file.
1043 * elmo-null.el: Ditto.
1045 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1047 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1049 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1050 (elmo-network-session): New attribute `last-accessed'.
1051 (elmo-network-get-session): Discard network cache if elapsed time
1052 since last-accessed is larger than elmo-network-session-idle-timeout.
1054 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1056 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1057 and added `number', `require-entireness'.
1058 (elmo-find-fetch-strategy): Rewrite.
1059 (elmo-message-fetch): Unset `unread' flag when argument unread is
1062 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1064 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1065 (elmo-message-fetch): Notify event `flag-changed'.
1067 * elmo-pipe.el: Likewise.
1069 * elmo-mime.el (elmo-mime-entity): New class.
1070 (elmo-mime-entity-display-p): New generic function.
1071 (elmo-mime-entity-display): Ditto.
1072 (elmo-mime-entity-display-as-is): Ditto.
1073 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1075 (elmo-make-mime-message-location): Removed.
1076 (elmo-mime-message-display): Ditto.
1077 (elmo-mime-display-as-is): Ditto.
1078 (elmo-message-mime-entity): New function.
1080 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1082 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1084 (elmo-message-fetch): Re-count flagged message number and notify
1085 event `flag-changed'.
1087 * elmo-version.el (elmo-version): Up to 2.13.1.
1089 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1091 * elmo-filter.el (elmo-message-field): Define.
1092 (elmo-message-set-field): Ditto.
1094 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1096 * elmo.el (elmo-message-set-cached): Call
1097 `elmo-folder-notify-event' with cache-changed.
1098 (elmo-event-handler-cache-changed): New generic function.
1100 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1102 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1103 instead of elmo-add-name-to-file.
1104 (elmo-folder-append-messages): Ditto.
1106 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1108 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1110 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1112 * elmo-version.el (elmo-version): Up to 2.13.0.
1114 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1117 * modb-standard.el (modb-standard-economize-entity-size): Changed
1118 default value to `t'.
1120 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1123 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1124 after parsing greeting string.
1126 2004-11-23 Daishi Kato <daishi@axlight.com>
1128 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1130 (elmo-spam-spamoracle-call): Use it.
1132 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1134 * elmo.el (elmo-message-accessible-p): Message in dop spool
1137 2004-11-23 Daishi Kato <daishi@axlight.com>
1139 * elsp-spamoracle.el: New file.
1141 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1143 * elmo.el (elmo-message-flags-for-append): New function.
1144 (elmo-generic-folder-append-messages): Use it.
1146 * elmo-split.el (elmo-split-subr): Ditto.
1148 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1149 `flags' and use elmo-folder-append-buffer instead of
1150 write-region-as-binary.
1151 (elmo-dop-filter-pending-messages): New function.
1152 (elmo-folder-append-buffer-dop): Call
1153 elmo-dop-spool-folder-append-buffer with `flag'.
1154 (elmo-folder-set-flag-dop): Filter messages by
1155 elmo-dop-filter-pending-messages.
1156 (elmo-folder-unset-flag-dop): Ditto.
1157 (elmo-folder-append-buffer-dop-delayed): Use
1158 elmo-message-flags-for-append to get flags of the message and
1161 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1163 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1165 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1167 * elmo.el (elmo-folder): Added handlers slot.
1168 (elmo-event-handler): New class.
1169 (elmo-event-handler-flag-changed): New API.
1170 (elmo-folder-add-handler): New function.
1171 (elmo-folder-remove-handler): Ditto.
1172 (elmo-folder-notify-event): Ditto.
1173 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1175 (elmo-folder-unset-flag): Ditto.
1177 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1178 (elmo-folder-unset-flag): Ditto.
1180 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1181 (elmo-folder-unset-flag): Ditto.
1183 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1184 (elmo-folder-unset-flag): Ditto.
1186 * elmo-version.el (elmo-version): Up to 2.11.33.
1188 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1190 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1192 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1194 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1196 * elmo-flag.el (elmo-folder-unset-flag): Define.
1197 (elmo-global-flag-detach): Do process when the flag is not target
1200 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1202 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1204 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1206 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1208 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1210 (elmo-folder-delete-messages): Detach messages before delete
1211 messages from target folder.
1212 (elmo-folder-detach-messages): Set updated number-list to slot.
1214 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1216 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1218 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1220 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1222 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1224 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1226 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1228 (elmo-folder-delete-messages): Define.
1229 (elmo-folder-move-messages): Don't call
1230 `elmo-folder-detach-messages'.
1231 (elmo-folder-synchronize): Rewrite.
1232 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1234 * elmo-util.el (elmo-last): New function.
1235 (elmo-set-list): Ditto.
1236 (elmo-number-set-delete-list): Ditto.
1237 (elmo-number-set-delete): Ditto.
1239 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1241 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1242 `elmo-folder-delete-messages' and don't delete location map.
1243 (elmo-folder-detach-messages): Define.
1245 * elmo-imap4.el (elmo-folder-delete): Use
1246 `elmo-folder-delete-messages-internal' instead of
1247 `elmo-folder-delete-messages'.
1249 * elmo-filter.el (elmo-folder-delete-messages): Call
1250 `elmo-folder-detach-messages'.
1251 (elmo-folder-detach-messages): Don't call
1252 `elmo-folder-detach-messages' for target folder.
1254 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1255 message deletion is succeeded.
1257 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1259 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1260 from `elmo-folder-delete-messages'.
1262 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1264 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1266 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1268 * elmo-version.el (elmo-version): Up to 2.11.32.
1270 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1272 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1273 (elmo-global-flag-list): Added obsolete variable setting.
1275 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1277 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1278 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1279 `elmo-mime-display-header-analysis' is nil.
1281 * elmo-flag.el (elmo-global-flags): Renamed from
1282 `elmo-global-flag-list' (All other related portions are changed).
1283 (elmo-local-flags): New variable.
1284 (elmo-local-flag-p): New function.
1285 (elmo-global-flag-set-internal): Cause an error when flag is not
1288 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1290 * elmo-util.el (elmo-concat-path): Treat empty path.
1292 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1294 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1296 (elmo-split-address-match): Ditto.
1297 (elmo-split-equal): Ditto.
1298 (elmo-split-match): Ditto.
1300 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1302 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1303 (elmo-generic-folder-append-messages): If src message exists but
1304 has no flag, pass (read) for the FLAG argument of
1305 `elmo-folder-append-buffer'. Otherwise, pass nil.
1307 * elmo-split.el (elmo-split-subr): Likewise.
1309 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1311 * elmo-multi.el (elmo-message-flags): Ditto.
1313 * elmo-filter.el (elmo-message-flags): Ditto.
1315 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1316 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1317 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1319 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1321 * elmo-split.el (elmo-split-rule): Update comment.
1322 (elmo-split-address-equal): Allow 2nd argument to be a list.
1323 (elmo-split-address-match): Ditto.
1324 (elmo-split-equal): Ditto.
1325 (elmo-split-match): Ditto.
1327 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1329 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1330 (elmo-folder-append-msgdb): Don't treat `read'.
1331 (elmo-message-flags): Don't return `read'.
1333 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1334 (elmo-folder-unset-read-delayed): Ditto.
1336 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1338 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1340 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1343 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1345 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1348 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1350 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1352 (elmo-msgdb-save): Bind inhibit-quit.
1353 (modb-standard-message-entity): Ditto.
1355 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1357 * elmo-database.el: No need to require elmo-msgdb.
1359 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1361 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1362 instead of `elmo-list-subdirectories'.
1364 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1366 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1368 (elmo-folder-exists-p): "[" is empty.
1369 (elmo-folder-list-subfolders): Define.
1370 (elmo-folder-have-subfolder-p): Ditto.
1372 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1374 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1376 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1378 * elmo-filter.el (elmo-folder-local-p): Define.
1380 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1382 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1383 when entity is garbaged.
1384 (modb-standard-save-entity-1): Don't modify the original entity.
1386 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1388 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1390 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1392 * elmo.el (elmo-strict-folder-diff): Use
1393 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1395 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1397 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1398 (elmo-msgdb-message-number): Ditto.
1399 (elmo-msgdb-message-field): Ditto.
1401 * modb-standard.el (modb-standard-economize-entity-size): New user
1403 (modb-standard-loaded-message-id): New inline function.
1404 (modb-standard-load-entity): Use it.
1405 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1406 throw message-id string away.
1407 (elmo-msgdb-flag-available-p): Define.
1408 (elmo-msgdb-message-number): Ditto.
1409 (elmo-msgdb-message-field): Ditto.
1411 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1412 (suppoted -> supported).
1413 (modb-legacy-supported-flag-p): Ditto.
1414 (elmo-msgdb-set-flag): Ditto.
1415 (elmo-msgdb-unset-flag): Ditto.
1416 (elmo-msgdb-flag-available-p): Define.
1418 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1419 is `t', treat it as legacy entity.
1421 * elmo.el (elmo-message-flag-available-p): New generic function.
1422 (elmo-message-number): Ditto.
1423 (elmo-message-field): Use `elmo-msgdb-message-field'.
1425 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1427 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1428 (elmo-message-number): Ditto.
1430 * elmo-multi.el (elmo-message-number): Define.
1431 (elmo-message-flag-available-p): Ditto.
1433 * elmo-filter.el (elmo-message-flag-available-p): Define.
1434 (elmo-message-number): Ditto.
1436 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1437 (elmo-folder-initialize): Load `max-number'.
1438 (elmo-folder-commit): Save it.
1439 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1440 (elmo-global-flag-set-internal): Set up max-number slot.
1442 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1444 * elmo-version.el (elmo-version): Up to 2.11.31.
1446 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1448 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1449 unibyte string of the current buffer for the argument of `md5'
1450 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1452 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1454 * modb-legacy.el (modb-legacy-flag-list): New constant.
1455 (modb-legacy-suppoted-flag-p): New internal function.
1456 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1457 (elmo-msgdb-unset-flag): Ditto.
1459 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1461 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1463 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1466 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1468 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1469 (follow the API change).
1471 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1473 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1475 * modb-standard.el (modb-standard-digest-flags): Abolish.
1476 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1478 * elmo-vars.el (elmo-digest-flags): New variable.
1479 (elmo-preserved-flags): Moved from elmo-flag.el.
1481 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1482 (elmo-imap4-flag-to-imap-criteria): Ditto.
1483 (elmo-imap4-folder-list-flagged): Use it.
1485 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1487 * elmo.el (elmo-folder-count-flags): Changed return value.
1489 * elmo-flag.el (elmo-preserved-flags): New variable.
1490 (elmo-get-global-flags): Use it.
1492 * modb-standard.el (modb-standard-digest-flags): New variable.
1493 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1494 Changed behavior of `any'.
1496 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1497 which are defined the Internet draft
1498 (draft-melnikov-imap-keywords-03.txt).
1499 (elmo-imap4-flags-to-imap): New function.
1500 (elmo-folder-append-buffer): Use it.
1502 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1505 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1506 avoid the bug of Emacs 21.3.
1508 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1510 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1511 function find-coding-system does not exist.
1513 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1515 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1518 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1520 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1523 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1525 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1526 (elmo-network-close-session): Follow the changes in
1527 `elmo-pop3-read-response'.
1528 (elmo-pop3-auth-user): Ditto.
1529 (elmo-pop3-auth-apop): Ditto.
1530 (elmo-network-initialize-session): Ditto.
1531 (elmo-network-authenticate-session): Ditto.
1532 (elmo-network-setup-session): Ditto.
1533 (elmo-folder-status): Ditto.
1534 (elmo-message-fetch-plugged): Ditto.
1535 (elmo-pop3-delete-msg): Ditto.
1537 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1539 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1542 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1544 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1546 (elmo-bind-directory): Ditto.
1548 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1550 * elmo.el (elmo-folder-append-messages): Note on return value.
1551 * elmo-archive.el (elmo-folder-append-messages): Don't return
1552 message numbers which could not be appended.
1554 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1556 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1558 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1560 * elmo-version.el (elmo-version): Up to 2.11.30.
1562 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1564 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1567 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1569 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1570 (elmo-multi-split-numbers): Add elmo-folder object into each
1571 element of return value at first.
1572 (elmo-folder-delete-messages): Follow the above change.
1573 (elmo-folder-detach-messages): Ditto.
1575 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1576 number which is synchronized in target folder.
1578 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1580 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1581 Change default value to symbol `all'.
1582 (elmo-map-message-fetch): Change condition to update overview
1585 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1587 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1588 behavior to update overview.
1589 (elmo-shimbun-update-overview-folder-list): Note it.
1591 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1593 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1596 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1598 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1599 buffer-disable-undo, it is unnecessary.
1600 (elmo-spam-register-good-messages): Ditto.
1602 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1605 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1607 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1609 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1610 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1611 elmo-set-buffer-multibyte.
1612 (elmo-object-load): Ditto.
1613 (elmo-save-buffer): Ditto.
1614 (elmo-delete-char): Ditto.
1615 (elmo-file-field-primitive-condition-match): Ditto.
1616 (elmo-mime-string): Ditto.
1618 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1619 (elmo-archive-field-condition-match): Ditto.
1621 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1623 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1625 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1626 (elmo-nntp-msgdb-create-message): Ditto.
1628 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1630 * elmo.el (elmo-message-match-condition): Ditto.
1631 (elmo-message-match-condition): Ditto.
1633 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1636 * elmo-version.el (elmo-version): Up to 2.11.29.
1638 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1639 (elsp-header): New backend.
1641 * elmo-util.el (elmo-decoded-field-body): New function.
1643 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1645 * elmo-version.el (elmo-version): Up to 2.11.28.
1647 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1649 * elmo-filter.el: Rewrite.
1651 * elmo-version.el (elmo-version): Up to 2.11.27.
1653 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1655 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1656 msgdb path for the localdir folder with absolute path.
1658 * utf7.el: Synch up with latest gnus/utf7.el;
1659 Modified for latest Emacs.
1661 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1663 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1664 shimbun backend couldn't open.
1666 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1668 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1669 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1670 when a destination folder is a filter folder.
1672 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1674 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1675 (elmo-generic-folder-append-messages): Call elmo-message-flags
1676 with argument `msgid'.
1678 * elmo-split.el (elmo-split-subr): Ditto.
1680 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1682 * elmo-multi.el (elmo-message-flags): Ditto.
1684 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1686 * elmo.el (elmo-folder): Add new slot `flag-table'.
1687 (elmo-folder-flag-table): New API.
1688 (elmo-folder-close-flag-table): Ditto.
1689 (elmo-folder-preserve-flags): New function.
1690 (elmo-generic-folder-append-messages): Use
1691 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1692 Flag of a non-registered message, it sets to nil.
1693 Does not set flag to flag-table.
1695 * elmo-maildir.el (elmo-folder-append-buffer): Use
1696 `elmo-folder-preserve-flags'.
1697 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1698 `elmo-folder-close-flag-table'.
1700 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1701 (elmo-archive-folder-append-buffer): Use
1702 `elmo-folder-preserve-flags'.
1704 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1706 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1708 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1709 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1710 `elmo-folder-close-flag-table'.
1712 * elmo-version.el (elmo-version): Up to 2.11.26.
1714 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1716 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1718 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1719 md5's 4th and 5th argument (non-existent in flim one).
1721 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1723 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1724 message, It sets to nil.
1726 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1728 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1731 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1733 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1735 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1737 * elmo-util.el (elmo-uniq-sorted-list): New function.
1738 (elmo-make-number-list): Ditto.
1739 (elmo-number-set-to-number-list): Use elmo-make-number-list
1740 and don't use nreverse.
1742 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1744 * elmo-version.el (elmo-version): Up to 2.11.25.
1746 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1748 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1749 field not exists in message, Use md5 message digest of header.
1751 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1753 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1754 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1755 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1756 * elmo-split.el (elmo-split-subr): Check return value of
1757 elmo-folder-append-buffer.
1759 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1760 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1762 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1765 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1767 * elmo-split.el (elmo-split-subr): Append message with flag.
1769 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1770 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1771 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1773 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1775 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1776 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1777 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1779 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1781 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1782 with a function call of `process-buffer'. All callers are updated.
1783 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1784 Remove redundant `set-buffer' in a while loop.
1786 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1788 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1791 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1793 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1794 elsp-spamfilter-register-buffer-internal with current buffer.
1795 (elmo-spam-register-spam-buffer): Ditto.
1796 (elmo-spam-register-good-buffer): Ditto.
1798 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1800 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1801 if it is not contained in the response(A workaround for courier-imap).
1803 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1805 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1808 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1810 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1813 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1815 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1818 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1820 (elmo-msgdb-message-match-condition): Follow the change above.
1822 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1824 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1827 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1829 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1831 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1835 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1837 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1840 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1842 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1844 (elmo-file-command-argument): Undo last change for cygwin.
1845 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1847 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1849 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1851 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1852 value returned from elmo-file-find is nil.
1854 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1856 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1859 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1860 instead of insert-file-contents-as-binary.
1861 (elmo-message-set-field): New generic function.
1863 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1864 behavior change on `split-string'.
1866 * elmo-file.el (elmo-file-find): New function.
1867 (elmo-file-command): New user option.
1868 (elmo-file-command-argument): Ditto.
1869 (elmo-file-fetch-max-size): Ditto.
1870 (elmo-file-detect-format): New function.
1871 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1872 Use elmo-file-detect-format.
1873 (elmo-map-folder-list-message-locations): Don't treat directories.
1875 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1877 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1878 (elmo-passwd-alist-clear): Shred password before clear.
1879 (elmo-remove-passwd): Remove all mached pair.
1881 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1883 * elmo.el (elmo-folder-synchronize): Fix description of the return
1886 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1888 * elmo.el (elmo-message-fetch-bodystructure): New method.
1889 (elmo-message-fetch-bodystructure): Define default.
1891 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1892 elmo-message-fetch-bodystructure.
1893 (elmo-message-fetch-bodystructure): Define.
1895 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1897 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1899 * elmo-filter.el (elmo-message-folder): Define.
1901 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1903 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1904 elmo-delete-cr-buffer.
1906 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1908 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1910 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1912 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1913 type seems to be a text.
1915 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1917 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1918 (elmo-spam-register-good-buffer): Ditto.
1919 (elmo-spam-spamassassin-register-messages): Ditto.
1921 * elmo-util.el (elmo-string-member-ignore-case): Define with
1924 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1926 * elmo.el (elmo-folder-type): Undo last change.
1928 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1930 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1933 * elmo-file.el: New file.
1935 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1937 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1939 (elmo-spam-spamassassin-register-messages): New inline function.
1940 (elmo-spam-register-spam-messages): Define.
1941 (elmo-spam-register-good-messages): Ditto.
1943 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1946 * elmo.el (toplevel): Added autoload setting for
1947 `elmo-get-global-flags'.
1948 (elmo-message-has-global-flag-p): New function.
1949 (elmo-message-set-global-flags): Ditto.
1950 (elmo-folder-type): Improvement for name: format.
1952 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1953 availability of keyword flags.
1954 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1955 (elmo-folder-list-flagged-plugged): Renamed from
1956 elmo-folder-list-flagged-unplugged.
1957 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1958 accept any flag as keyword flag.
1959 (elmo-folder-set-flag-plugged): Accept keyword flags.
1960 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1962 * elmo-flag.el (elmo-get-global-flags): New function.
1964 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1967 * elmo-version.el (elmo-version): Up to 2.11.24.
1969 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1971 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1972 elmo-multiple-field-body instead of std11-field-body to check all
1975 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1977 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1980 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1982 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1983 unintern is unbound.
1985 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1987 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1988 Protect from infinite loop.
1990 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1992 * elsp-bogofilter.el
1993 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1994 (elmo-spam-bogofilter-register-messages): New internal function.
1995 (elmo-spam-register-spam-messages): Define.
1996 (elmo-spam-register-good-messages): Ditto.
1998 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2000 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2001 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2002 (elmo-spam-bogofilter-call): Fixed the last change.
2003 (elmo-spam-bogofilter-arguments): Ditto.
2005 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2006 Follow the options change of latest bogofilter.
2008 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2009 (elmo-spam-bogofilter-good-switch): Ditto.
2010 (elmo-spam-bogofilter-arguments-alist): New user option.
2011 (elmo-spam-bogofilter-debug): Ditto.
2012 (elmo-spam-bogofilter-call): Renamed from
2013 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2014 is non-nil, insert output in buffer for debug.
2015 (elmo-spam-bogofilter-arguments): New macro.
2016 (elmo-spam-buffer-spam-p): Use it.
2017 (elsp-bogofilter-register-buffer): Ditto.
2019 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2021 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2024 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2026 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2028 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2029 (elmo-spam-bsfilter-program): Set default value as full path for
2031 (elmo-spam-bsfilter-debug): New user option.
2032 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2033 non-nil, insert output in buffer for debug. Fix treating of
2036 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2038 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2039 `elmo-maildir-flag-specs' element instead of one.
2040 (elmo-map-folder-unset-flag): Ditto.
2041 (Reported by Ken Makimura <macky@astem.or.jp>)
2043 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2044 (elmo-folder-unset-flag-plugged): Ditto.
2046 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2048 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2049 to `reads' slot only if `in-msgdb' is nil.
2051 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2053 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2054 and complement argument list.
2056 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2058 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2059 instead of elmo-folder-list-flagged.
2061 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2063 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2065 * elsp-bsfilter.el: New file.
2067 * elmo-pipe.el (elmo-folder-list-unreads,
2068 elmo-folder-list-answereds,
2069 elmo-folder-list-importants,
2070 elmo-folder-flag-as-important,
2071 elmo-folder-unflag-important,
2072 elmo-folder-flag-as-read,
2073 elmo-folder-unflag-read,
2074 elmo-folder-flag-as-answered,
2075 elmo-folder-unflag-answered): Remove.
2076 (elmo-folder-set-flag): Define.
2077 (elmo-folder-unset-flag): Ditto.
2079 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2080 (elmo-folder-set-flag): Define.
2081 (elmo-folder-unset-flag): Ditto.
2082 (elmo-folder-list-unreads): Remove.
2083 (elmo-folder-list-flagged): Define.
2085 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2086 (elmo-folder-list-unreads,
2087 elmo-folder-list-importants,
2088 elmo-folder-list-answereds,
2089 elmo-folder-list-unreads-plugged,
2090 elmo-folder-list-importants-plugged,
2091 elmo-folder-list-answereds-plugged): Remove.
2092 (elmo-folder-list-flagged-plugged): New method.
2093 (elmo-folder-unflag-important,
2094 elmo-folder-flag-as-important,
2095 elmo-folder-unflag-read,
2096 elmo-folder-flag-as-read,
2097 elmo-folder-unflag-answered,
2098 elmo-folder-flag-as-answered,
2099 elmo-folder-flag-as-read-unplugged,
2100 elmo-folder-unflag-read-unplugged,
2101 elmo-folder-flag-as-important-unplugged,
2102 elmo-folder-unflag-important-unplugged,
2103 elmo-folder-flag-as-answered-unplugged,
2104 elmo-folder-unflag-answered-unplugged): Remove.
2105 (elmo-folder-set-flag): Define.
2106 (elmo-folder-unset-flag): Ditto.
2107 (elmo-folder-set-flag-unplugged): Ditto.
2108 (elmo-folder-unset-flag-unplugged): Ditto.
2110 * elmo-multi.el (elmo-folder-list-unreads,
2111 elmo-folder-list-answereds,
2112 elmo-folder-list-importants,
2113 elmo-folder-flag-as-important,
2114 elmo-folder-unflag-important,
2115 elmo-folder-flag-as-read,
2116 elmo-folder-unflag-read,
2117 elmo-folder-flag-as-answered,
2118 elmo-folder-unflag-answered): Remove.
2119 (elmo-folder-set-flag): Define.
2120 (elmo-folder-unset-flag): Ditto.
2122 * elmo-map.el (elmo-map-folder-unflag-important,
2123 elmo-map-folder-flag-as-important,
2124 elmo-map-folder-unflag-read,
2125 elmo-map-folder-flag-as-read,
2126 elmo-map-folder-unflag-answered,
2127 elmo-map-folder-flag-as-answered): Remove.
2128 (elmo-map-folder-set-flag): New method.
2129 (elmo-map-folder-unset-flag): Ditto.
2130 (elmo-map-folder-list-unreads,
2131 elmo-map-folder-list-importants,
2132 elmo-map-folder-list-answereds): Remove.
2133 (elmo-folder-list-flagged-internal): Define.
2134 (elmo-map-folder-list-flagged): New method.
2136 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2137 (elmo-map-folder-list-unreads,
2138 elmo-map-folder-list-importants,
2139 elmo-map-folder-list-flagged): Remove.
2140 (elmo-map-folder-list-flagged): Define.
2141 (elmo-map-folder-flag-as-important,
2142 elmo-map-folder-unflag-important,
2143 elmo-map-folder-flag-as-read,
2144 elmo-map-folder-unflag-read,
2145 elmo-map-folder-flag-as-answered,
2146 elmo-map-folder-unflag-answered): Remove.
2147 (elmo-maildir-set-mark-messages): New internal function.
2148 (elmo-map-folder-set-flag): Define.
2149 (elmo-map-folder-unset-flag): Ditto.
2151 * elmo.el (toplevel): Added autoload setting for
2152 `elmo-folder-list-global-flag-messages'.
2153 (elmo-folder-list-unreads,
2154 elmo-folder-list-importants,
2155 elmo-folder-list-answereds): Remove.
2156 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2157 Return a list whitch merged with messages have global flag.
2158 (elmo-folder-list-flagged-internal): New method.
2159 (elmo-folder-unflag-important,
2160 elmo-folder-flag-as-important,
2161 elmo-folder-unflag-read,
2162 elmo-folder-flag-as-read,
2163 elmo-folder-unflag-answered,
2164 elmo-folder-flag-as-answered): Remove.
2165 (elmo-folder-set-flag): New method.
2166 (elmo-folder-unset-flag): Ditto.
2167 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2168 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2170 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2171 (elmo-folder-list-unreads-plugged,
2172 elmo-folder-list-importants-plugged,
2173 elmo-folder-list-answereds-plugged,
2174 elmo-folder-list-flagged-unplugged,
2175 elmo-folder-unflag-important-plugged,
2176 elmo-folder-flag-as-important-plugged,
2177 elmo-folder-unflag-read-plugged,
2178 elmo-folder-flag-as-read-plugged,
2179 elmo-folder-unflag-answered-plugged,
2180 elmo-folder-flag-as-answered-plugged): Remove.
2181 (elmo-folder-set-flag-plugged,
2182 elmo-folder-unset-flag-plugged): Define.
2184 * elmo-flag.el (elmo-folder-initialize): Register to
2185 `elmo-global-flag-list' if flag is not global.
2186 (elmo-folder-append-messages): Set flag to source messages.
2188 * elmo-filter.el (elmo-filter-folder-list-unreads,
2189 elmo-folder-list-unreads,
2190 elmo-filter-folder-list-importants,
2191 elmo-folder-list-importants,
2192 elmo-folder-flag-as-read,
2193 elmo-folder-unflag-read,
2194 elmo-folder-flag-as-important,
2195 elmo-folder-unflag-important,
2196 elmo-folder-flag-as-answered,
2197 elmo-folder-unflag-answered): Remove.
2198 (elmo-folder-set-flag): Define.
2199 (elmo-folder-unset-flag): Ditto.
2201 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2202 elmo-folder-unflag-read-dop,
2203 elmo-folder-flag-as-important-dop,
2204 elmo-folder-unflag-important-dop,
2205 elmo-folder-flag-as-answered-dop,
2206 elmo-folder-unflag-answered-dop): Remove.
2207 (elmo-folder-set-flag-dop,
2208 elmo-folder-unset-flag-dop,
2209 elmo-folder-set-important-delayed,
2210 elmo-folder-unset-important-delayed,
2211 elmo-folder-set-read-delayed,
2212 elmo-folder-unset-read-delayed,
2213 elmo-folder-set-answered-delayed,
2214 elmo-folder-unset-answered-delayed): New function.
2215 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2216 (elmo-dop-queue-method-name-alist): Ditto.
2218 * elmo-version.el (elmo-version): Up to 2.11.23.
2220 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2222 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2224 * elsp-sa.el: New file.
2226 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2228 * modb-standard.el (modb-standard-message-entity): New function.
2229 (elmo-msgdb-message-entity): Use it.
2231 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2233 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2234 behavior when one-level is nil.
2236 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2238 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2240 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2242 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2244 (elmo-generic-folder-diff): Ditto.
2246 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2247 (elmo-folder-update-number): Ditto.
2249 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2250 (elmo-folder-next-message-number-dop): Ditto.
2252 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2254 * elmo-filter.el (elmo-folder-msgdb-create): Use
2255 `elmo-message-entity' and `elmo-message-flags' instead of
2256 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2258 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2260 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2263 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2265 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2267 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2269 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2271 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2273 * elmo-version.el (elmo-version): Up to 2.11.22.
2275 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2277 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2279 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2281 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2282 if the message dose not exist.
2284 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2286 * elmo-version.el (elmo-version): Up to 2.11.21.
2288 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2290 * modb-standard.el (toplevel): Don't require mime.
2292 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2294 * elsp-bogofilter.el (toplevel): Don't require path-util.
2295 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2296 (elmo-spam-bogofilter-header): Abolish.
2297 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2298 (elmo-spam-bogofilter-args): New user option.
2299 (elsp-bogofilter-call-bogofilter): New internal function.
2300 (elmo-spam-buffer-spam-p): Use it.
2301 (elsp-bogofilter-register-buffer): Renamed from
2302 `elmo-spam-bogofilter-register-buffer';
2303 Use `elsp-bogofilter-call-bogofilter'.
2304 (elmo-spam-register-spam-buffer): Follow the change above.
2305 (elmo-spam-register-good-buffer): Ditto.
2307 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2309 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2310 message-id is nil do nothing.
2312 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2314 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2316 (elmo-imap4-session): Removed use-flag slot.
2317 (elmo-imap4-session-select-mailbox): Undo last change.
2318 (elmo-folder-use-flag-p): Use
2319 elmo-imap4-disuse-server-flag-mailbox-regexp.
2321 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2323 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2324 (elmo-imap4-session-select-mailbox): Set it up.
2325 (elmo-folder-use-flag-p): Return value of use-flag slot.
2327 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2329 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2331 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2333 * modb-entity.el (elmo-message-entity-handler): Likewise.
2335 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2337 * elmo.el (toplevel): Remove setting of autoloding for
2338 elmo-global-flag-initialize.
2339 (elmo-init): Don't call elmo-global-flag-initialize.
2340 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2342 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2343 (elmo-global-mark-migrate): Don't call it.
2344 (elmo-global-mark-upgrade): Ditto.
2346 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2348 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2349 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2351 * elmo-vars.el (elmo-init-hook): New user option.
2353 * elmo.el (elmo-init): Run the elmo-init-hook.
2355 * elmo-flag.el (elmo-global-mark-migrate): New function.
2357 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2359 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2360 Undo last change (move to elmo-msgdb-unset-flag).
2361 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2364 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2366 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2368 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2369 (elmo-msgdb-unset-flag): Ditto.
2371 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2373 * elmo-split.el (elmo-split): Return split message count.
2375 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2377 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2380 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2382 * elmo.el (elmo-folder-unflag-important): Call
2383 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2386 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2388 (elmo-global-flag-detach): Delete the message from flag folder, if
2389 `delete-if-none' is a symbol `always'.
2391 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2393 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2394 `elmo-spam-spamfilter-decode-buffer'.
2395 (elsp-spamfilter-register-buffer-internal): New internal function.
2396 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2397 (elmo-spam-register-spam-buffer): Ditto.
2398 (elmo-spam-register-good-buffer): Ditto.
2400 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2402 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2403 (elmo-spam-register-spam-buffer): Follow the API change.
2404 (elmo-spam-register-good-buffer): Ditto.
2406 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2407 (elmo-split-spam-p): Added argument plist; Call
2408 `elmo-spam-buffer-spam-p' with new argument register.
2410 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2412 (elmo-spam-message-spam-p): Ditto.
2413 (elmo-spam-register-spam-buffer): Added optional argument
2415 (elmo-spam-register-good-buffer): Ditto.
2416 (elmo-spam-register-spam-messages): Ditto.
2417 (elmo-spam-register-good-messages): Ditto.
2419 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2421 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2422 register into good corpus.
2423 (elmo-spam-register-good-buffer): Fixed to register into bad
2426 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2428 * elmo-version.el (elmo-version): Up to 2.11.20.
2430 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2433 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2434 flag without depending on \Recent flag.
2436 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2438 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2439 (elmo-spam-modified-p): Defined.
2440 (elmo-spam-save-status): Set `modified' slot to nil.
2441 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2442 (elmo-spam-register-good-buffer): Ditto.
2444 * elmo-spam.el (elmo-spam-modified-p): New API.
2446 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2448 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2449 duplicate definition.
2451 * elmo-util.el (elmo-unfold-field-body): New function.
2452 (elmo-msgdb-get-message-id-from-buffer): Use it.
2454 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2455 Fixed the last change; Use elmo-unfold-field-body.
2457 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2459 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2462 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2464 * elmo-spam.el (elmo-spam-save-status): New API.
2466 * elsp-spamfilter.el: New file.
2468 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2470 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2472 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2474 * elmo-split.el (elmo-split-spam-p): New function.
2476 * elmo-spam.el: New file.
2478 * elsp-bogofilter.el: Ditto.
2480 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2482 * elmo.el (elmo-folder-next-message-number): New API.
2483 (elmo-folder-next-message-number): Define.
2484 (elmo-message-field): Don't check folder length.
2486 * elmo-net.el (elmo-folder-next-message-number): Define.
2487 (elmo-folder-next-message-number-unplugged): Define.
2489 * elmo-map.el (elmo-folder-next-message-number): Define.
2490 (elmo-folder-delete-messages): Clear hash value.
2492 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2494 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2495 (elmo-folder-delete-messages-dop-delayed): Always return t.
2497 * elmo-version.el (elmo-version): Up to 2.11.19.
2499 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2501 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2504 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2505 identical cons cell into the mark-alist and the hash table.
2507 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2509 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2510 elmo-folder-list-messages with argument `visible-only' as t.
2512 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2513 (elmo-folder-msgdb-create): Check the target folder.
2515 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2517 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2518 `permanentflag' instead of `flags'.
2519 (elmo-folder-open): Ditto.
2520 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2521 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2522 (elmo-folder-use-flag-p): Always return t.
2523 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2524 `permanentflags' does not exist.
2525 (elmo-folder-open): Ditto.
2527 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2529 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2531 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2533 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2534 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2536 (elmo-folder-open): Ditto.
2537 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2538 slot of the session includes the flag.
2539 (elmo-imap4-session-flag-available-p): New function.
2540 (elmo-imap4-folder-list-flagged): Ditto.
2541 (elmo-folder-list-unreads-plugged): Use it.
2542 (elmo-folder-list-importants-plugged): Ditto.
2543 (elmo-folder-list-answereds-plugged): Ditto.
2544 (elmo-imap4-search-internal-primitive): Ditto.
2545 (elmo-imap4-folder-list-any-plugged,
2546 elmo-imap4-folder-list-digest-plugged): Abolish.
2548 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2551 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2553 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2555 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2557 * elmo-util.el (elmo-get-hash-val): Simplify.
2558 (elmo-set-hash-val): Rewrite.
2560 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2562 * elmo.el (elmo-folder-list-messages): Append killed messages into
2563 result if `visible-only' is nil and `in-msgdb' is non-nil.
2565 * elmo-util.el (elmo-uniq-list): Added optional argument
2568 * modb.el (elmo-msgdb-flag-count): New API.
2570 * modb-standard.el (modb-standard): Added slot flag-count.
2571 (modb-standard-countup-flags): New function.
2572 (modb-standard-load-flag): Call it.
2573 (elmo-msgdb-append): Ditto.
2574 (elmo-msgdb-clear): Clear slot flag-count.
2575 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2576 (elmo-msgdb-unset-flag): Treat `all' flag and call
2577 modb-standard-countup-flags.
2578 (elmo-msgdb-flag-count): Define.
2579 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2580 (elmo-msgdb-delete-messages): Ditto.
2582 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2583 (elmo-msgdb-flag-count): Define.
2585 * elmo.el (elmo-folder-list-messages): Undo last change.
2586 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2587 (elmo-folder-kill-messages): Unset all flags to numbers.
2589 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2590 elmo-folder-kill-messages.
2592 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2593 (elmo-nntp-folder-delete-messages): Abolish.
2595 * elmo-version.el (elmo-version): Up to 2.11.18.
2597 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2599 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2600 (elmo-folder-kill-messages-range): New function.
2601 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2602 instead of elmo-folder-kill-messages-before.
2604 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2606 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2607 elmo-imap4-current-msgdb to decide entity handler.
2609 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2611 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2613 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2615 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2616 (elmo-msgdb-overview-entity-set-number,
2617 elmo-msgdb-overview-entity-get-references,
2618 elmo-msgdb-overview-entity-set-references,
2619 elmo-msgdb-overview-entity-get-from-no-decode,
2620 elmo-msgdb-overview-entity-get-from,
2621 elmo-msgdb-overview-entity-set-from,
2622 elmo-msgdb-overview-entity-get-subject,
2623 elmo-msgdb-overview-entity-get-subject-no-decode,
2624 elmo-msgdb-overview-entity-set-subject,
2625 elmo-msgdb-overview-entity-get-date,
2626 elmo-msgdb-overview-entity-set-date,
2627 elmo-msgdb-overview-entity-get-to,
2628 elmo-msgdb-overview-entity-get-cc,
2629 elmo-msgdb-overview-entity-get-size,
2630 elmo-msgdb-overview-entity-set-size,
2631 elmo-msgdb-overview-entity-get-extra,
2632 elmo-msgdb-overview-entity-set-extra,
2633 elmo-msgdb-overview-entity-get-extra-field,
2634 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2635 (elmo-msgdb-make-index): Use
2636 `elmo-msgdb-overview-entity-get-number-internal'.
2637 (elmo-msgdb-clear-index): Ditto.
2638 (elmo-msgdb-append-entity): Ditto;
2639 Use `elmo-msgdb-overview-entity-get-id-internal'.
2641 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2642 elmo-msgdb-overview-entity-set-number,
2643 elmo-msgdb-overview-entity-get-references,
2644 elmo-msgdb-overview-entity-set-references,
2645 elmo-msgdb-overview-entity-get-from-no-decode,
2646 elmo-msgdb-overview-entity-get-from,
2647 elmo-msgdb-overview-entity-set-from,
2648 elmo-msgdb-overview-entity-get-subject,
2649 elmo-msgdb-overview-entity-get-subject-no-decode,
2650 elmo-msgdb-overview-entity-set-subject,
2651 elmo-msgdb-overview-entity-get-date,
2652 elmo-msgdb-overview-entity-set-date,
2653 elmo-msgdb-overview-entity-get-to,
2654 elmo-msgdb-overview-entity-get-cc,
2655 elmo-msgdb-overview-entity-get-size,
2656 elmo-msgdb-overview-entity-set-size,
2657 elmo-msgdb-overview-entity-get-extra,
2658 elmo-msgdb-overview-entity-set-extra,
2659 elmo-msgdb-overview-entity-get-extra-field,
2660 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2661 and rewrote for backward compatibility.
2663 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2665 * elmo.el (elmo-message-entity-number,
2666 elmo-message-entity-set-number,
2667 elmo-message-entity-field,
2668 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2670 * elmo-msgdb.el (elmo-message-entity-number,
2671 elmo-message-entity-set-number,
2672 elmo-message-entity-field,
2673 elmo-message-entity-set-field): Moved from elmo.el.
2675 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2677 * elmo.el (toplevel): Changed definition orders.
2679 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2681 * modb.el (elmo-msgdb-search): New API .
2682 (elmo-msgdb-match-condition): Ditto.
2684 * modb-standard.el (elmo-msgdb-search): Define.
2686 * modb-legacy.el (elmo-msgdb-search): Ditto.
2688 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2689 from elmo-msgdb-match-condition-internal.
2691 * elmo.el (elmo-folder-search-fast): Abolish.
2692 (elmo-folder-search): Use elmo-msgdb-search and
2693 elmo-with-progress-display.
2695 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2698 * elmo.el (elmo-folder): Remove slot message-modified and
2700 (elmo-folder-set-message-modified): Abolish.
2701 (elmo-generic-folder-commit): Follow the change above.
2702 (elmo-folder-synchronize): Ditto.
2704 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2706 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2708 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2710 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2712 * modb-standard.el (modb-standard-make-message-entity,
2713 elmo-msgdb-make-message-entity,
2714 elmo-msgdb-create-message-entity-from-buffer,
2715 elmo-msgdb-message-entity-number,
2716 elmo-msgdb-message-entity-set-number,
2717 elmo-msgdb-message-entity-field,
2718 elmo-msgdb-message-entity-set-field,
2719 elmo-msgdb-copy-message-entity,
2720 elmo-msgdb-match-condition-internal): Remove.
2722 * modb-entity.el: New file (again).
2724 * modb.el (toplevel): Require modb-entity.
2725 (elmo-msgdb-message-entity-handler): New method.
2727 * modb-standard.el (modb-standard-entity-id): Use
2728 elmo-message-entity-handler.
2729 (modb-standard-load-entity): Ditto.
2730 (elmo-msgdb-append-entity): Ditto.
2731 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2733 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2734 elmo-msgdb-decoded-cache-hashtb,
2735 (modb-legacy-make-message-entity,
2736 elmo-msgdb-make-message-entity,
2737 elmo-msgdb-create-message-entity-from-buffer,
2738 elmo-msgdb-message-entity-number,
2739 elmo-msgdb-message-entity-set-number,
2740 elmo-msgdb-message-entity-field,
2741 elmo-msgdb-message-entity-set-field,
2742 elmo-msgdb-copy-message-entity,
2743 elmo-msgdb-match-condition-internal,
2744 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2746 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2747 (elmo-message-entity-set-number): Ditto.
2748 (elmo-message-entity-field): Ditto.
2749 (elmo-message-entity-set-field): Ditto.
2751 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2753 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2755 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2757 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2758 (elmo-nntp-msgdb-create-message): Ditto.
2760 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2761 (elmo-folder-msgdb-create): Add unread flag.
2763 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2765 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2767 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2769 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2771 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2772 elmo-msgdb-messge-entity-handler.
2773 * elmo-version.el (elmo-version): Up to 2.11.17.
2775 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2777 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2780 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2782 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2784 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2785 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2786 (elmo-msgdb-flag-table): Ditto.
2787 (elmo-msgdb-sort-by-date): Ditto.
2789 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2791 * modb-standard.el (toplevel): Require mime.
2792 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2793 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2794 elmo-msgdb-message-entity-number.
2795 (elmo-msgdb-append-entity): Ditto.
2796 (elmo-msgdb-create-message-entity-from-file): Remove.
2797 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2798 corresponds to the entity.
2799 (elmo-msgdb-message-entity-number): Do nothing currently.
2800 (elmo-msgdb-message-entity-field): Ditto.
2801 (elmo-msgdb-message-entity-set-field): Ditto.
2802 (elmo-msgdb-copy-message-entity): Ditto.
2803 (elmo-msgdb-match-condition-internal): Ditto.
2805 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2807 (elmo-msgdb-create-message-entity-from-file): Remove.
2809 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2811 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2813 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2815 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2817 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2818 (elmo-msgdb-message-entity-field): Ditto.
2819 (elmo-msgdb-message-entity-number): Ditto.
2821 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2823 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2824 Fixed how to set extra field into entity.
2825 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2828 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2829 Fixed how to set extra field into entity.
2830 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2833 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2835 * modb.el (elmo-message-entity-db): New function.
2836 (elmo-msgdb-make-message-entity): New API.
2837 (elmo-msgdb-message-entity-number): Ditto.
2838 (elmo-msgdb-message-entity-set-number): Ditto.
2839 (elmo-msgdb-message-entity-field): Ditto.
2840 (elmo-msgdb-message-entity-set-field): Ditto.
2841 (elmo-msgdb-copy-message-entity): Ditto.
2842 (elmo-msgdb-create-message-entity-from-file): Ditto.
2843 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2844 (elmo-msgdb-match-condition-internal): Ditto.
2846 * modb-standard.el (modb-legacy): Require modb-legacy.
2847 (modb-standard-make-message-entity): New inline function.
2848 (elmo-msgdb-make-message-entity): Define.
2849 (elmo-msgdb-create-message-entity-from-file): Ditto.
2850 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2851 (elmo-msgdb-message-entity-field): Ditto.
2852 (elmo-msgdb-message-entity-set-field): Ditto.
2853 (elmo-msgdb-copy-message-entity): Ditto.
2854 (elmo-msgdb-match-condition-internal): Ditto.
2856 * modb-legacy.el: Don't require modb-entity.
2857 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2858 (elmo-msgdb-match-condition-primitive): Ditto.
2859 (elmo-msgdb-get-decoded-cache): Ditto.
2860 (elmo-msgdb-overview-entity-get-id): Ditto.
2861 (elmo-msgdb-overview-entity-get-number): Ditto.
2862 (elmo-msgdb-overview-entity-set-number): Ditto.
2863 (elmo-msgdb-overview-entity-get-references): Ditto.
2864 (elmo-msgdb-overview-entity-set-references): Ditto.
2865 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2866 (elmo-msgdb-overview-entity-get-from): Ditto.
2867 (elmo-msgdb-overview-entity-set-from): Ditto.
2868 (elmo-msgdb-overview-entity-get-subject): Ditto.
2869 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2870 (elmo-msgdb-overview-entity-set-subject): Ditto.
2871 (elmo-msgdb-overview-entity-get-date): Ditto.
2872 (elmo-msgdb-overview-entity-set-date): Ditto.
2873 (elmo-msgdb-overview-entity-get-to): Ditto.
2874 (elmo-msgdb-overview-entity-get-cc): Ditto.
2875 (elmo-msgdb-overview-entity-get-size): Ditto.
2876 (elmo-msgdb-overview-entity-set-size): Ditto.
2877 (elmo-msgdb-overview-entity-get-extra): Ditto.
2878 (elmo-msgdb-overview-entity-set-extra): Ditto.
2879 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2880 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2881 (elmo-msgdb-number-load): Ditto.
2882 (elmo-msgdb-overview-load): Ditto.
2883 (elmo-msgdb-mark-load): Ditto.
2884 (elmo-msgdb-number-save): Ditto.
2885 (elmo-msgdb-mark-save): Ditto.
2886 (elmo-msgdb-overview-save): Ditto.
2887 (modb-legacy-make-message-entity): New inline function.
2888 (elmo-msgdb-insert-file-header): Ditto.
2889 (elmo-msgdb-make-message-entity): Define.
2890 (elmo-msgdb-create-message-entity-from-file): Ditto.
2891 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2892 (elmo-msgdb-message-entity-number): Ditto.
2893 (elmo-msgdb-message-entity-set-number): Ditto.
2894 (elmo-msgdb-message-entity-field): Ditto.
2895 (elmo-msgdb-message-entity-set-field): Ditto.
2896 (elmo-msgdb-copy-message-entity): Ditto.
2897 (elmo-msgdb-match-condition-internal): Ditto.
2899 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2900 (elmo-message-copy-entity): Rewrite.
2901 (elmo-message-entity-number): Ditto.
2902 (elmo-message-entity-set-number): Ditto.
2903 (elmo-message-entity-field): Use elmo-message-entity-db.
2904 (elmo-message-entity-set-field): Ditto.
2905 (elmo-message-field): Rewrite.
2907 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2909 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2911 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2912 elmo-message-entity-field.
2913 (elmo-shimbun-folder-shimbun-header): Ditto.
2914 (elmo-shimbun-entity-to-header): Ditto.
2915 (elmo-folder-msgdb-create): Ditto.
2916 (elmo-shimbun-msgdb-create-entity): Ditto;
2917 Use elmo-msgdb-create-message-entity-from-buffer.
2918 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2919 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2921 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2922 elmo-msgdb-create-message-entity-from-file and
2923 elmo-message-entity-field.
2925 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2926 elmo-message-entity-number.
2927 (elmo-pop3-msgdb-create-message): Use
2928 elmo-msgdb-create-message-entity-from-buffer,
2929 elmo-message-entity-set-field, elmo-message-entity-number and
2930 elmo-message-entity-set-number.
2932 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2933 the API change in elmo-msgdb-make-message-entity.
2934 (elmo-nntp-msgdb-create-message): Use
2935 elmo-msgdb-create-message-entity-from-buffer.
2937 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2938 elmo-message-entity-field and
2939 elmo-msgdb-create-message-entity-from-file.
2941 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2942 (elmo-msgdb-get-field): Abolish.
2943 (elmo-msgdb-get-number): Rewrite.
2944 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2945 (elmo-msgdb-flag-table): Ditto.
2946 (elmo-msgdb-get-last-message-id,
2947 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2948 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2949 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2950 (elmo-msgdb-create-overview-from-buffer,
2951 elmo-msgdb-overview-get-parent-entity): Abolish.
2953 * elmo-mime.el (elmo-mime-display-as-is): Use
2954 elmo-message-entity-field.
2956 * elmo-map.el (elmo-folder-pack-numbers): Use
2957 elmo-message-entity-set-number.
2959 * elmo-maildir.el (elmo-folder-msgdb-create):
2960 elmo-msgdb-create-message-entity-from-file instead of
2961 elmo-msgdb-create-overview-entity-from-file.
2963 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2965 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2966 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2968 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2969 elmo-messge-entity-field and elmo-message-entity-number.
2970 (elmo-imap4-fetch-callback-1): Call
2971 elmo-msgdb-create-message-entity-from-buffer instead of
2972 elmo-msgdb-create-overview-from-buffer.
2973 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2974 (elmo-find-fetch-strategy): Likewise.
2976 * elmo-flag.el (elmo-folder-msgdb-create): Call
2977 elmo-localdir-msgdb-create-entity with argument msgdb.
2979 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2980 and elmo-message-entity-set-number.
2982 * elmo-cache.el (elmo-folder-msgdb-create): Use
2983 elmo-message-entity-field.
2984 (elmo-folder-msgdb-create): Call
2985 elmo-msgdb-create-message-entity-from-file instead of
2986 elmo-msgdb-create-overview-entity-from-file.
2988 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2989 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2990 instead of elmo-msgdb-create-overview-from-buffer.
2991 (elmo-archive-msgdb-create-entity): Ditto.
2992 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2993 elmo-message-entity-field.
2994 (elmo-archive-parse-mmdf): Ditto.
2996 * modb-entity.el: Removed.
2998 * elmo-version.el (elmo-version): Up to 2.11.16.
3000 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3002 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3004 (elmo-folder-flag-as-answered): Ditto.
3006 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3008 * modb-standard.el: New file.
3010 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3011 elmo-msgdb-convert-type is `sync'.
3013 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3014 (elmo-msgdb-convert-type): New user option.
3016 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3017 (elmo-load-msgdb): Auto detect saved type.
3019 * elmo-version.el (elmo-version): Up to 2.11.15.
3021 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3023 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3025 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3026 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3027 with argument `delete-if-none' when dst-folder is 'null.
3029 * elmo-flag.el (elmo-folder-append-messages): Defined.
3030 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3032 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3034 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3036 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3038 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3039 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3040 (elmo-folder-commit): Ditto.
3042 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3044 * elmo-flag.el: New file.
3046 * elmo-mark.el: Removed.
3048 * modb-legacy.el (modb-legacy-new-mark,
3049 modb-legacy-unread-uncached-mark,
3050 modb-legacy-unread-cached-mark,
3051 modb-legacy-read-uncached-mark,
3052 modb-legacy-answered-cached-mark,
3053 modb-legacy-answered-uncached-mark,
3054 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3055 All other related portions are changed.
3057 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3058 (elmo-folder-list-messages-with-global-mark): Abolish.
3059 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3060 (elmo-folder-flag-as-important): Ditto.
3061 (elmo-folder-unflag-read): Ditto.
3062 (elmo-folder-flag-as-read): Ditto.
3063 (elmo-folder-unflag-answered): Ditto.
3064 (elmo-folder-flag-as-answered): Ditto.
3065 (elmo-message-encache): Return the cache path.
3066 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3067 (elmo-message-set-flag): Transitional implementation.
3068 (elmo-message-unset-flag): Ditto.
3069 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3070 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3071 (elmo-init): Call elmo-global-flag-initialize.
3072 (toplevel): Added autoload settings for elmo-flag.
3074 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3076 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3077 (elmo-file-cache-delete): Don't treat global-mark.
3079 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3081 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3083 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3084 `elmo-global-flags-set'.
3086 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3088 (elmo-folder-unflag-read): Ditto.
3089 (elmo-folder-unflag-important): Ditto.
3090 (elmo-folder-flag-as-important): Ditto.
3091 (elmo-folder-unflag-answered): Ditto.
3092 (elmo-folder-flag-as-answered): Ditto.
3094 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3095 `elmo-global-flags-set'.
3096 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3098 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3100 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3102 (elmo-folder-flag-as-important): Ditto.
3103 (elmo-folder-unflag-important): Ditto.
3104 (elmo-folder-flag-as-important): Ditto.
3105 (elmo-folder-unflag-read): Ditto.
3106 (elmo-folder-flag-as-read): Ditto.
3107 (elmo-folder-unflag-answered): Ditto.
3108 (elmo-folder-flag-as-answered): Ditto.
3110 * elmo-multi.el (elmo-folder-list-importants): Don't call
3111 elmo-folder-list-messages-with-global-mark.
3112 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3113 (elmo-folder-unflag-important): Ditto.
3114 (elmo-folder-flag-as-read): Ditto.
3115 (elmo-folder-unflag-read): Ditto.
3116 (elmo-folder-flag-as-answered): Ditto.
3117 (elmo-folder-unflag-answered): Ditto.
3119 * elmo-msgdb.el (elmo-msgdb-new-mark,
3120 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3121 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3122 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3123 (Moved to modb-legacy.el).
3124 (elmo-flag-table-get): Treat important flag too.
3126 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3128 (elmo-map-folder-flag-as-important): Ditto.
3129 (elmo-map-folder-unflag-read): Ditto.
3130 (elmo-map-folder-flag-as-read): Ditto.
3131 (elmo-map-folder-unflag-answered): Ditto.
3132 (elmo-map-folder-flag-as-answered): Ditto.
3133 (elmo-folder-unflag-important): Ditto.
3134 (elmo-folder-flag-as-important): Ditto.
3135 (elmo-folder-unflag-read): Ditto.
3136 (elmo-folder-flag-as-read): Ditto.
3137 (elmo-folder-unflag-answered): Ditto.
3138 (elmo-folder-flag-as-answered): Ditto.
3140 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3141 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3143 (elmo-map-folder-unflag-important): Ditto.
3144 (elmo-map-folder-flag-as-read): Ditto.
3145 (elmo-map-folder-unflag-read): Ditto.
3146 (elmo-map-folder-flag-as-answered): Ditto.
3147 (elmo-map-folder-unflag-answered): Ditto.
3149 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3150 `elmo-global-flags-set'.
3151 (elmo-global-flags-set): Added autoload setting.
3153 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3156 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3157 `elmo-msgdb-global-mark-set'.
3158 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3159 Call `elmo-global-flags-set'.
3160 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3162 (elmo-folder-flag-as-important-plugged): Ditto.
3163 (elmo-folder-unflag-read-plugged): Ditto.
3164 (elmo-folder-flag-as-read-plugged): Ditto.
3165 (elmo-folder-unflag-answered-plugged): Ditto.
3166 (elmo-folder-flag-as-answered-plugged): Ditto.
3167 (elmo-global-flags-set): Added autoload setting.
3169 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3171 (elmo-folder-unflag-read): Ditto.
3172 (elmo-folder-flag-as-important): Ditto.
3173 (elmo-folder-unflag-important): Ditto.
3174 (elmo-folder-flag-as-answered): Ditto.
3175 (elmo-folder-unflag-answered): Ditto.
3177 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3178 change of `mark'->`flag'.
3179 (elmo-dop-queue-method-name-alist): Ditto.
3180 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3181 (elmo-folder-unflag-read-dop): Ditto.
3182 (elmo-folder-flag-as-important-dop): Ditto.
3183 (elmo-folder-unflag-important-dop): Ditto.
3184 (elmo-folder-flag-as-answered-dop): Ditto.
3185 (elmo-folder-unflag-answered-dop): Ditto.
3187 * elmo-cache.el (elmo-folder-msgdb-create): Call
3188 `elmo-global-flags-set'.
3190 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3191 Call `elmo-global-flags-set'.
3192 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3193 elmo-archive-parse-mmdf with argument `folder'.
3194 (elmo-archive-parse-mmdf): Added argument `folder';
3195 Call `elmo-global-flags-set'.
3197 * elmo-version.el (elmo-version): Up to 2.11.14.
3199 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3201 * modb.el (elmo-msgdb-length): Define.
3203 * elmo.el (elmo-make-folder): Fixed.
3204 (elmo-generic-folder-append-messages): Follow the API change.
3206 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3209 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3211 * modb.el: New file.
3213 * modb-entity.el: Ditto.
3215 * modb-legacy.el: Ditto.
3217 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3218 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3219 of `elmo-msgdb-overview-get-entity'.
3220 (elmo-msgdb-get-field): Ditto.
3221 (elmo-msgdb-merge): Moved to `elmo.el'.
3222 (elmo-msgdb-length): Removed; redefine as modb method.
3223 (elmo-msgdb-change-mark): Abolish.
3224 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3225 (elmo-msgdb-match-condition): Don't use mark.
3226 (elmo-msgdb-overview-get-entity): Abolish.
3227 Split modb part into `modb*.el'.
3229 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3231 * elmo-shimbun.el (shimbun-mua-search-id): Use
3232 `elmo-msgdb-message-entity' instead of
3233 `elmo-msgdb-overview-get-entity'.
3234 (elmo-shimbun-folder-shimbun-header): Ditto.
3235 (elmo-shimbun-get-headers): Ditto.
3236 (elmo-shimbun-update-overview): Ditto.
3238 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3240 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3242 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3243 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3245 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3246 `elmo-msgdb-mark-to-flags'.
3248 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3249 `elmo-msgdb-set-path'.
3251 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3253 * elmo-version.el (elmo-version): Up to 2.11.13.
3255 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3257 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3260 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3262 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3265 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3267 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3268 instead of `elmo-msgdb-get-cached'.
3269 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3271 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3272 (elmo-msgdb-set-cached): Ditto.
3273 (elmo-msgdb-set-flag): Rewrite.
3274 (elmo-msgdb-unset-flag): Ditto.
3276 * elmo-msgdb.el: Rewrite with luna.
3278 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3279 (elmo-folder-msgdb): Follow the change above.
3280 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3281 (elmo-folder-unmark-important): Follow the API change.
3282 (elmo-folder-mark-as-important): Ditto.
3283 (elmo-folder-unmark-read): Ditto.
3284 (elmo-folder-mark-as-read): Ditto.
3285 (elmo-folder-unmark-answered): Ditto.
3286 (elmo-folder-mark-as-answered): Ditto.
3287 (elmo-folder-clear): Likewise.
3289 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3290 instead of `elmo-msgdb-load' (renamed).
3292 * elmo-version.el (elmo-version): Up to 2.11.12.
3294 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3296 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3298 (elmo-message-mark): Abolish.
3299 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3300 instead of `elmo-msgdb-change-mark'.
3302 * elmo-pipe.el (elmo-message-mark): Abolish.
3304 * elmo-multi.el (elmo-message-mark): Ditto.
3306 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3307 (elmo-msgdb-unread-uncached-mark): Ditto.
3308 (elmo-msgdb-unread-cached-mark): Ditto.
3309 (elmo-msgdb-read-uncached-mark): Ditto.
3310 (elmo-msgdb-answered-cached-mark): Ditto.
3311 (elmo-msgdb-answered-uncached-mark): Ditto.
3312 (elmo-msgdb-important-mark): Ditto.
3313 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3315 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3317 (elmo-flag-table-load): Changed flag to list of flag.
3318 (elmo-flag-table-set): If flags is nil, set read flag.
3319 (elmo-flag-table-get): Return derived flags from global mark,
3320 cache status and saved flags.
3321 (elmo-msgdb-flag-table): Follow the change above.
3322 (elmo-msgdb-out-of-date-messages): New function.
3324 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3326 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3328 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3330 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3331 (elmo-nntp-msgdb-create-message): Ditto.
3333 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3335 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3337 (elmo-folder-msgdb-create): Follow the API change.
3339 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3340 (elmo-folder-append-messages): Ditto.
3342 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3343 (elmo-folder-append-buffer): Ditto.
3345 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3347 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3349 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3350 (elmo-archive-parse-mmdf): Ditto.
3352 * elmo-version.el (elmo-version): Up to 2.11.11.
3354 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3356 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3359 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3361 * elmo-pipe.el (elmo-message-flags): Defined.
3363 * elmo-multi.el (elmo-message-flags): Ditto.
3365 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3367 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3368 `elmo-msgdb-delete-msgs'.
3370 * elmo.el (elmo-folder-count-flags): Don't use
3371 `elmo-msgdb-get-mark-alist'.
3372 (elmo-folder-detach-messages): Follow the API change.
3374 * elmo.el (elmo-folder-list-messages): Append killed messages into
3375 result if `visible-only' is nil.
3377 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3379 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3380 (elmo-folder-update-number): Likewise.
3382 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3383 (elmo-pop3-sort-msgdb-by-original-number): Use
3384 `elmo-msgdb-sort-entities'.
3386 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3387 (elmo-msgdb-sort-by-date): Use it.
3388 (elmo-msgdb-overview-sort-by-date): Abolish.
3390 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3392 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3393 (elmo-msgdb-flags): New function.
3394 (elmo-msgdb-merge): Use elmo-msgdb-append.
3396 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3399 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3401 * elmo-dop.el (elmo-folder-status-dop): Use
3402 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3404 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3406 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3408 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3410 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3412 * elmo-util.el (elmo-with-progress-display): New macro.
3414 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3416 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3418 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3419 `elmo-folder-list-message-entities' instead of
3420 `elmo-msgdb-get-overview'.
3421 (elmo-map-folder-list-message-locations): Ditto.
3423 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3424 methods instead of treat directly).
3425 (elmo-msgdb-clear): Ditto.
3426 (elmo-msgdb-delete-msgs): Ditto.
3427 (elmo-msgdb-sort-by-date): Ditto.
3429 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3431 (elmo-nntp-folder-msgdb-create): Follow the API change.
3433 * elmo-version.el (elmo-version): Up to 2.11.10.
3435 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3437 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3438 (elmo-msgdb-flags-to-mark): Ditto.
3439 (elmo-msgdb-append-entity): Ditto.
3441 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3442 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3443 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3444 (elmo-archive-parse-mmdf): Ditto.
3446 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3448 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3450 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3452 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3454 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3456 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3458 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3460 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3462 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3463 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3466 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3467 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3468 instead of directly construction.
3469 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3470 instead of construct msgdb.
3472 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3473 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3474 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3475 instead of construct msgdb.
3477 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3479 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3480 when field is from or subject.
3482 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3484 * elmo-multi.el (elmo-message-entity-parent): Define.
3485 (elmo-folder-search): Rewrite.
3487 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3489 * elmo-multi.el (elmo-message-cached-p): Define.
3491 * elmo.el (elmo-message-cached-p): New method.
3492 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3493 (elmo-message-flags): New method.
3494 (elmo-message-flagged-p): New function.
3496 * elmo-version.el (elmo-version): Up to 2.11.9.
3498 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3500 * elmo-version.el (elmo-version): Up to 2.11.8.
3502 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3504 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3506 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3508 * elmo.el (elmo-folder-detach-messages): Undo last change.
3510 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3512 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3514 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3515 only when src folder type is pop3.
3517 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3519 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3520 elmo-msgdb-overview-entity-get-number instead of
3521 elmo-message-entity-number.
3523 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3525 * elmo-version.el (elmo-version): Up to 2.11.7.
3527 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3529 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3532 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3533 (elmo-msgdb-merge): New function.
3534 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3535 (elmo-msgdb-make-index): Rewrite.
3537 * elmo-version.el (elmo-version): Up to 2.11.6.
3539 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3540 use it as a the path for loading message entities.
3542 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3544 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3546 * elmo-filter.el (elmo-folder-set-message-modified): Set
3547 message-modified slot of itself if it does not require target msgdb.
3549 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3550 if folder length is zero.
3551 (elmo-mime-display-as-is): Ditto.
3553 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3555 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3557 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3559 * elmo.el (elmo-folder-set-message-modified): New method.
3560 (elmo-generic-folder-commit): Use it.
3561 (elmo-folder-synchronize): Ditto.
3563 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3564 (elmo-folder-commit): Remove duplicate definition.
3566 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3568 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3570 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3572 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3573 (elmo-strict-folder-diff): Ditto.
3574 (elmo-folder-set-info-max-by-numdb): Simplify.
3576 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3577 elmo-msgdb-list-messages.
3579 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3580 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3582 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3584 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3585 visible-only is non-nil.
3586 (elmo-folder-confirm-appends): Changed message.
3587 (elmo-folder-synchronize): Added argument disable-killed.
3589 * elmo-multi.el (elmo-folder-synchronize): Added argument
3592 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3594 * elmo-version.el (elmo-version): Up to 2.11.5.
3596 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3599 * elmo-util.el (elmo-list-filter): Simplify.
3601 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3602 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3603 (elmo-generic-folder-diff): Abolish argument.
3604 (elmo-msgdb-load): Don't use number-alist.
3606 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3608 * elmo-pipe.el (elmo-folder-diff): Ditto.
3610 * elmo-nmz.el (elmo-folder-diff): Ditto.
3612 * elmo-net.el (elmo-folder-diff): Ditto.
3614 * elmo-maildir.el (elmo-folder-diff): Ditto.
3616 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3618 * elmo-multi.el (elmo-folder-diff): Ditto
3619 (elmo-multi-folder-diff): Rewrite.
3621 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3623 * elmo-pipe.el (elmo-folder-msgdb): Define.
3625 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3627 * elmo.el (elmo-message-set-cached): Define as a method.
3629 * elmo-pipe.el (elmo-message-set-cached): Define.
3630 (elmo-find-fetch-strategy): Ditto.
3632 * elmo-multi.el (elmo-message-set-cached): Define.
3633 (elmo-find-fetch-strategy): Rewrite.
3635 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3637 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3639 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3641 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3642 instead of number-alist.
3644 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3645 mark nor message-id when msgdb of source folder is not loaded.
3647 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3649 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3651 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3653 * elmo.el (elmo-folder-length): Don't require msgdb.
3655 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3657 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3658 (elmo-message-field): Ditto.
3660 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3661 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3663 (elmo-map-folder-list-answereds): Define.
3664 (elmo-maildir-list-location): Treat 'R' info.
3665 (elmo-folder-msgdb-create): Treat flag-table.
3666 (elmo-folder-append-messages): Save flag-table.
3668 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3670 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3671 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3673 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3675 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3677 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3678 'read when mark is null.
3680 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3682 * elmo-version.el (elmo-version): Up to 2.11.4.
3684 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3686 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3687 (elmo-folder-mark-as-answered): Ditto.
3689 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3691 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3692 (elmo-pop3-get-session): Make msgdb directory after session.
3693 (elmo-folder-exists-p): Check exactly at the first time even when the
3694 elmo-pop3-exists-exactly is nil.
3696 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3697 (elmo-folder-list-messages): Define instead of
3698 elmo-folder-list-messages-internal.
3699 (elmo-folder-check): Check destination folder.
3700 (elmo-folder-synchronize): Drain the pipe.
3702 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3703 when msgdb is not loaded.
3705 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3707 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3708 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3711 * elmo.el (elmo-folder-kill-messages-before): New function.
3712 (elmo-folder-kill-messages): Ditto.
3713 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3715 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3716 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3717 killed not by synchronize (e.g. scoring).
3719 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3721 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3723 (elmo-folder-search): Follow the change above.
3725 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3726 into the candidates of search field.
3728 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3730 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3731 (elmo-msgdb-unset-flag): Ditto.
3733 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3735 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3737 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3738 (elmo-folder-commit): Define.
3739 (elmo-folder-synchronize): Ditto.
3740 (elmo-folder-list-flagged): Ditto.
3741 (elmo-folder-commit): Ditto.
3742 (elmo-folder-length): Ditto.
3743 (elmo-folder-count-flags): Ditto.
3744 (elmo-message-mark): Ditto.
3745 (elmo-message-field): Ditto.
3746 (elmo-message-entity): Ditto.
3747 (elmo-message-folder): Ditto.
3749 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3751 * elmo.el (elmo-message-field): Define as a method.
3753 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3754 (elmo-message-field): Define.
3756 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3757 (elmo-folder-list-importants): Ditto.
3758 (elmo-folder-list-answereds): Ditto.
3760 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3762 (elmo-folder-mark-as-read): Ditto.
3763 (elmo-folder-unmark-read): Ditto.
3764 (elmo-folder-mark-as-answered): Ditto.
3765 (elmo-folder-unmark-answered): Ditto.
3766 (elmo-folder-list-flagged): Define.
3767 (elmo-folder-commit): Ditto.
3768 (elmo-folder-length): Ditto.
3769 (elmo-folder-count-flags): Ditto.
3771 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3773 * elmo.el (elmo-folder-detach-messages): New method.
3774 (elmo-folder-move-messages): Use it.
3775 (elmo-folder-synchronize): Ditto.
3777 * elmo-multi.el (elmo-folder-detach-messages): Define.
3779 * elmo.el (elmo-message-copy-entity): New function.
3780 (elmo-message-entity-set-number): Ditto.
3781 (elmo-message-mark): Define as method.
3783 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3784 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3785 (elmo-message-entity): Fixed last change.
3786 (elmo-message-mark): Define.
3787 (elmo-folder-msgdb-create): Abolish.
3788 (elmo-multi-folder-append-msgdb): Ditto.
3789 (elmo-multi-folder-diff): Fixed.
3790 (elmo-multi-split-number-alist): Removed.
3791 (elmo-multi-split-mark-alist): Removed.
3792 (elmo-folder-list-messages): Define.
3793 (elmo-folder-list-messages-internal): Removed.
3795 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3796 local file messages.
3797 (elmo-folder-msgdb-create): Fixed read mark.
3799 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3801 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3804 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3806 * elmo.el (elmo-folder-list-message-entities): Define as inline
3808 (elmo-folder-messages): Abolish.
3810 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3812 (elmo-folder-synchronize): Define.
3813 (elmo-message-entity): Define.
3815 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3817 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3818 elmo-imap4-session-select-mailbox.
3820 * elmo.el (elmo-folder-move-messages): Don't display any message.
3822 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3824 (elmo-imap4-session-check): Don't wait CHECK response.
3825 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3827 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3829 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3831 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3833 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3835 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3838 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3839 (elmo-folder-list-message-entities): Added argument in-msgdb and
3841 (elmo-folder-synchronize): Define as a method.
3843 * elmo-nntp.el (elmo-folder-initialize): Don't use
3844 elmo-nntp-default-user if zero-length username is specified
3847 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3849 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3850 server name in case with username.
3851 (XXX: this is ad-hoc fix against username includes "@", it
3852 should be solved fundamentally)
3854 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3856 * elmo-nntp.el (elmo-nntp-debug): New function.
3857 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3858 (elmo-network-authenticate-session): Hide auth-info from the log.
3860 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3861 user name if it is equal to elmo-nntp-default-user.
3863 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3865 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3866 instead of shimbun-server-internal;
3867 Use shimbun-current-group instead of shimbun-current-group-internal.
3868 (elmo-folder-plugged-p): Use shimbun-server instead of
3869 shimbun-server-internal.
3870 (elmo-folder-set-plugged): Ditto.
3871 (elmo-net-port-info): Ditto.
3872 (elmo-folder-check): Ditto.
3873 (elmo-folder-expand-msgdb-path): Ditto.
3874 (elmo-folder-list-subfolders): Ditto.
3876 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3878 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3879 Convert field-name to lower case.
3880 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3882 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3884 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3885 `message' and `error' take format string.
3887 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3889 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3891 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3893 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3894 recursive call (can't byte compile on emacs 20.7).
3896 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3898 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3899 (elmo-folder-list-message-entities): New API.
3900 (elmo-message-entity): Ditto.
3901 (elmo-message-entity-parent): Ditto.
3902 (elmo-folder-do-each-message-entity): Ditto.
3903 (elmo-message-entity-number): Ditto.
3904 (elmo-message-entity-field): Ditto.
3905 (elmo-message-entity-set-field): Ditto.
3906 (elmo-folder-count-flags): Ditto.
3907 (elmo-folder-length): Ditto.
3909 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3912 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3913 (elmo-msgdb-count-marks): Abolish.
3914 (elmo-msgdb-make-entity): Ditto.
3915 (elmo-msgdb-do-each-entity): Ditto.
3916 (elmo-msgdb-message-entity): New inline function.
3917 (elmo-msgdb-message-entity-field): Ditto.
3918 (elmo-msgdb-message-entity-set-field): Ditto.
3919 (elmo-msgdb-make-message-entity): New function.
3921 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3923 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3924 to flag. (All other related portions are changed.)
3925 (elmo-folder-msgdb-create): Likewise.
3926 (elmo-generic-folder-append-messages): Use flag-table instead of
3928 (elmo-folder-move-messages): Removed redundant process.
3929 (elmo-folder-synchronize): Likewise.
3931 * elmo-msgdb.el (elmo-flag-table-get): New function.
3932 (elmo-flag-table-save): Fixed.
3933 (elmo-msgdb-length): New inline function.
3934 (elmo-msgdb-flag-table): New function.
3935 (elmo-msgdb-mark): Add optional argument new.
3936 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3937 (elmo-msgdb-seen-list): Ditto.
3938 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3941 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3943 * elmo.el (elmo-message-set-mark): Abolish.
3944 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3945 (All related portions are changed.)
3947 * elmo-msgdb.el (toplevel): Added comment.
3948 (elmo-load-msgdb): Added 4th element `path'.
3949 (elmo-msgdb-append): Follow the change above.
3950 (elmo-msgdb-clear): Ditto.
3951 (elmo-msgdb-delete-msgs): Ditto.
3952 (elmo-msgdb-get-path): New inline function.
3953 (elmo-msgdb-set-path): Ditto.
3954 (elmo-flag-table-filename): New variable.
3955 (elmo-flag-table-load): New function.
3956 (elmo-flag-table-set): Ditto.
3957 (elmo-flag-table-save): Ditto.
3958 (elmo-msgdb-get-field-value): Abolish.
3959 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3961 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3963 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3964 the folder has been deleted successfully.
3965 * elmo-imap4.el (elmo-folder-delete): Ditto.
3966 * elmo-archive.el (elmo-folder-delete): Ditto.
3967 * elmo-localdir.el (elmo-folder-delete): Ditto.
3968 * elmo-maildir.el (elmo-folder-delete): Ditto.
3970 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3972 * elmo-util.el (elmo-string-member-ignore-case): New function.
3973 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3974 (elmo-imap4-fetch-callback-1-subr): Likewise.
3976 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3978 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3979 the case of the name attribute "\Noselect".
3981 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3983 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3985 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3986 flist, is not always a member of onum-alist.
3988 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3990 * elmo-version.el (elmo-version): Up to 2.11.3.
3992 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3994 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3995 copied from localdir's one.
3997 * elmo-pipe.el (elmo-folder-rename): New method, rename
3998 destination folder with leaving source folder as it is.
4000 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4002 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4005 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4007 * elmo-version.el (elmo-version): Up to 2.11.2.
4009 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4011 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4012 shimbun-open in case of "@".
4013 (elmo-folder-open-internal): Cope with shimbun = nil case.
4014 (elmo-folder-plugged-p): Ditto.
4015 (elmo-folder-list-subfolders): Make list for "@/" group.
4017 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4019 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4020 mailbox (e.g. for %~/something).
4022 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4024 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4025 Replace nested conditional with guard clauses.
4027 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4029 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4032 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4035 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4037 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4038 Replace nested conditional with guard clauses.
4040 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4042 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4043 (elmo-passwd-alist-save): Ditto.
4044 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4046 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4048 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4049 dir-name only if it is absolute path.
4050 (TODO: distinguish +/something and +something)
4052 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4054 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4055 path for "+~/something".
4057 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4059 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4060 as non-directory, cause error before rename-file.
4061 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4062 apropriately, mimic localdir's one.
4063 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4065 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4067 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4069 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4071 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4073 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4075 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4076 is included in the global-mark or not.
4078 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4080 * utf7.el (toplevel): Avoid error when the function
4081 find-coding-system does not exist.
4083 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4085 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4086 cache even if the folder is plugged.
4087 (elmo-nntp-search-primitive): Do nothing when body search is
4088 invoked (although it is not used by the change above).
4089 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4091 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4093 * elmo-version.el (elmo-version): Up to 2.11.1.
4095 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4097 * elmo-archive.el: Specify charset.
4099 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4101 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4102 process buffer lives or not.
4104 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4105 while flushing queues (It causes infinite loop).
4107 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4109 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4111 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4113 * utf7.el (toplevel): Check the ucs features dynamically.
4114 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4116 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4117 folder is creatabe or not if it already exists.
4119 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4121 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4123 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4125 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4126 (elmo-imap4-read-response): Take care of garbage response.
4128 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4130 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4131 just return nil instead of error.
4133 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4135 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4136 search-key is "body".
4138 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4140 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4141 of elmo-string-matched-assoc to use match-data.
4142 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4144 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4146 * elmo-split.el (elmo-split->): New function.
4147 (elmo-split-<): Ditto.
4149 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4151 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4152 workaround for invalid message-id.
4154 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4156 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4157 return normal pop3 session or pop3 biff session.
4159 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4161 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4162 info part to the cur files when the new files already have it.
4163 (Adviced by Jared Rhine <jared@wordzoo.com>)
4165 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4167 * elmo-split.el (elmo-split-default-action): New variable.
4168 (elmo-split-subr): Use it if all other conditions are passed.
4169 Extend `fname' and rename it as `action'. (implemented
4170 Teranishi-san's idea in [wl:10800])
4172 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4174 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4175 * elmo-util.el: Ditto.
4177 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4179 * elmo.el (elmo-message-accessible-p): Renamed from
4180 elmo-message-cached-p and rewritten.
4182 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4184 * elmo.el (elmo-folder-list-flagged): New generic function.
4185 (elmo-folder-list-importants): New implementation.
4186 (elmo-folder-list-answereds): Ditto.
4187 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4189 (elmo-message-cached-p): New function.
4190 (elmo-message-set-flag): Ditto (no content).
4191 (elmo-message-unset-flag): Ditto.
4192 (elmo-folder-list-messages-mark-match): Abolish.
4194 * elmo-util.el (elmo-regexp-opt): New function.
4196 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4197 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4199 (elmo-msgdb-list-flagged): New function.
4201 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4202 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4205 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4207 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4209 * elmo-version.el (elmo-version): Up to 2.11.0.
4211 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4213 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4214 `elmo-file-cache-exists-p'; use proper mark that depends on
4216 (elmo-msgdb-unset-flag): Ditto.
4217 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4219 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4220 with 4th argument `use-cache'.
4222 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4224 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4225 (elmo-folder-mark-as-important): Ditto.
4226 (elmo-folder-unmark-read): Ditto.
4227 (elmo-folder-mark-as-read): Ditto.
4228 (elmo-folder-unmark-answered): Ditto.
4229 (elmo-folder-mark-as-answered): Ditto.
4231 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4233 (elmo-msgdb-mark): Likewise.
4234 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4235 (elmo-msgdb-unset-flag): Likewise.
4237 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4239 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4241 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4244 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4246 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4247 set spool-length to 0.
4249 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4251 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4252 (elmo-dop-queue-flush): Fixed last change.
4254 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4256 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4257 if require-msgdb slot is nil.
4258 (elmo-folder-list-importants): Likewise.
4260 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4262 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4265 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4266 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4269 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4271 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4273 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4275 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4277 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4279 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4281 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4282 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4284 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4286 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4287 the problem reported by Sean Rima [wl-en:180].
4289 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4291 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4293 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4295 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4297 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4299 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4301 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4303 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4305 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4307 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4310 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4312 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4313 (elmo-folder-mark-as-read): Follow the API change.
4314 (elmo-message-set-cached): New function.
4316 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4318 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4320 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4321 (elmo-folder-mark-as-important): Ditto.
4322 (elmo-folder-unmark-read): Ditto.
4323 (elmo-folder-mark-as-read): Ditto.
4324 (elmo-folder-unmark-answered): Ditto.
4325 (elmo-folder-mark-as-answered): Ditto.
4327 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4328 (elmo-folder-unmark-important): Ditto.
4329 (elmo-folder-mark-as-read): Ditto.
4330 (elmo-folder-unmark-read): Ditto.
4331 (elmo-folder-mark-as-answered): Ditto.
4332 (elmo-folder-unmark-answered): Ditto.
4334 * elmo-mark.el (toplevel): Removed some mark method definitions.
4336 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4337 (elmo-map-folder-mark-as-answered): Ditto.
4338 (elmo-folder-unmark-important): Add :before qualifier.
4339 (elmo-folder-mark-as-important): Ditto.
4340 (elmo-folder-unmark-read): Ditto.
4341 (elmo-folder-mark-as-read): Ditto.
4342 (elmo-folder-unmark-answered): Define.
4343 (elmo-folder-mark-as-answered): Ditto.
4345 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4346 (elmo-map-folder-unmark-answered): Ditto.
4348 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4350 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4351 (elmo-folder-mark-as-important): Ditto.
4352 (elmo-folder-unmark-read): Ditto.
4353 (elmo-folder-mark-as-read): Ditto.
4354 (elmo-folder-unmark-answered): Ditto.
4355 (elmo-folder-mark-as-answered): Ditto.
4357 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4358 `mark'; evaluate mark condition.
4359 (elmo-msgdb-match-condition-internal): New function.
4360 (elmo-msgdb-match-condition): Call it; changed argument.
4362 * elmo.el (elmo-folder-search): Follow the API change on
4363 `elmo-msgdb-match-condition'.
4365 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4367 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4368 original mark is non-nil.
4370 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4372 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4373 (elmo-map-folder-list-answereds): New method.
4374 (elmo-folder-list-unreads): Add :around qualifier.
4375 (elmo-folder-list-importants): Ditto.
4376 (elmo-folder-list-answereds): Ditto.
4378 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4380 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4382 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4383 method if msgdb is not required.
4384 (elmo-filter-folder-list-importants): Don't treat global-mark.
4386 * elmo.el (elmo-folder-list-importants): Ditto.
4388 * elmo-net.el (elmo-folder-list-importants): Ditto.
4390 * elmo-map.el (elmo-folder-list-importants): Ditto.
4392 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4394 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4395 (elmo-imap4-folder-list-any-plugged): New function.
4396 (elmo-imap4-search-internal-primitive): Use it.
4398 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4399 only when require-msgdb slot is non-nil.
4400 (elmo-folder-close): Clear target folder's msgdb.
4402 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4404 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4405 (elmo-pop3-msgdb-create-by-header): Ditto.
4406 (elmo-pop3-msgdb-create-message): Ditto.
4408 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4410 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4412 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4414 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4415 (elmo-folder-msgdb-create): Ditto.
4416 (elmo-nntp-folder-msgdb-create): Ditto.
4417 (elmo-nntp-msgdb-create-by-header): Ditto.
4418 (elmo-nntp-msgdb-create-message): Ditto.
4419 (elmo-folder-list-unreads): Define.
4421 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4422 (elmo-folder-append-messages): Ditto.
4423 (elmo-folder-list-unreads): Define.
4424 (elmo-folder-list-importants): Ditto.
4425 (elmo-folder-list-answereds): Ditto.
4427 * elmo-net.el (elmo-folder-list-unreads): Define.
4428 (elmo-folder-list-importants): Ditto.
4429 (elmo-folder-list-answereds): Ditto.
4430 (elmo-folder-list-answereds-plugged): Ditto.
4431 (elmo-folder-msgdb-create): Follow the API change.
4432 (elmo-folder-msgdb-create-unplugged): Ditto.
4433 (elmo-folder-unmark-answered): Define.
4434 (elmo-folder-mark-as-answered-unplugged): Ditto.
4435 (elmo-folder-unmark-answered-unplugged): Ditto.
4437 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4438 (elmo-msgdb-unread-uncached-mark): Ditto.
4439 (elmo-msgdb-unread-cached-mark): Ditto.
4440 (elmo-msgdb-read-uncached-mark): Ditto.
4441 (elmo-msgdb-answered-cached-mark): Ditto.
4442 (elmo-msgdb-answered-uncached-mark): Ditto.
4443 (elmo-msgdb-important-mark): Ditto.
4444 (elmo-msgdb-set-mark): Rewrite.
4445 (elmo-msgdb-count-marks): Rewrite.
4446 (elmo-msgdb-mark-alist-set): Abolish.
4447 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4448 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4450 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4451 (elmo-folder-close): Define.
4452 (elmo-folder-msgdb-create): Follow the API change.
4453 (elmo-folder-list-unreads): Rewrite.
4454 (elmo-folder-mark-as-important): Ditto.
4455 (elmo-folder-unmark-important): Ditto.
4456 (elmo-folder-mark-as-read): Ditto.
4457 (elmo-folder-unmark-read): Ditto.
4458 (elmo-folder-mark-as-answered): Define.
4459 (elmo-folder-unmark-answered): Ditto.
4461 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4462 (elmo-folder-append-messages): Ditto.
4464 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4466 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4467 (elmo-folder-list-importants): Ditto.
4469 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4470 (elmo-folder-append-messages): Ditto.
4472 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4474 (elmo-folder-msgdb-create-plugged): Ditto.
4475 (elmo-folder-append-messages): Ditto.
4476 (elmo-folder-list-answereds-plugged): Define.
4477 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4478 (elmo-folder-unmark-answered-plugged): Define.
4479 (elmo-folder-mark-as-answered-plugged): Ditto.
4480 (elmo-folder-search-requires-msgdb-p): Ditto.
4482 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4483 (elmo-folder-initialize): Set it.
4484 (elmo-folder-msgdb): Define.
4485 (elmo-folder-check): Call elmo-folder-synchronize.
4486 (elmo-folder-close): Define.
4487 (elmo-folder-commit): Ditto.
4488 (elmo-folder-msgdb-create): Rewrite.
4489 (elmo-folder-list-unreads): Ditto.
4490 (elmo-folder-list-importants): Ditto.
4491 (elmo-folder-mark-as-read): Ditto.
4492 (elmo-folder-unmark-read): Ditto.
4493 (elmo-folder-mark-as-important): Ditto.
4494 (elmo-folder-unmark-important): Ditto.
4495 (elmo-folder-mark-as-answered): Define.
4496 (elmo-folder-unmark-answered): Ditto.
4498 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4499 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4500 (elmo-dop-queue-method-name-alist): Likewise.
4501 (elmo-folder-mark-as-answered-dop): New inline function.
4502 (elmo-folder-unmark-answered-dop): Ditto.
4503 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4505 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4506 (elmo-folder-msgdb-create): Ditto.
4507 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4508 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4509 (elmo-archive-parse-mmdf): Ditto.
4511 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4512 (elmo-folder-list-unreads-internal): Ditto.
4514 * elmo.el (elmo-folder-msgdb): Define as generic function.
4515 (elmo-folder-list-messages): Added argument `in-msgdb'.
4516 (elmo-folder-list-unreads): Define as generic function.
4517 (elmo-folder-list-importants): Ditto.
4518 (elmo-folder-list-answereds): Ditto.
4519 (elmo-folder-list-messages-with-global-mark): New function.
4520 (elmo-folder-msgdb-create): Removed mark arguments.
4521 (elmo-folder-unmark-answered): New generic function.
4522 (elmo-folder-mark-as-answered): Ditto.
4523 (elmo-folder-append-messages): Removed argunment `unread-marks'
4524 (elmo-folder-list-unreads-internal): Abolish.
4525 (elmo-folder-list-importants-internal): Ditto.
4526 (elmo-folder-search-requires-msgdb-p): New generic function.
4527 (elmo-folder-search-requires-msgdb-p-internal): New function.
4528 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4530 (elmo-folder-search-fast): Added key 'mark'.
4531 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4532 instead of unread-marks argument.
4533 (elmo-folder-move-messages): Removed argunment `unread-marks'
4534 (elmo-folder-unmark-important): Define.
4535 (elmo-folder-mark-as-important): Ditto.
4536 (elmo-folder-unmark-read): Ditto.
4537 (elmo-folder-mark-as-read): Ditto.
4538 (elmo-folder-unmark-answered): Ditto.
4539 (elmo-folder-mark-as-answered): Ditto.
4540 (elmo-folder-replace-marks): Abolish.
4541 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4543 (elmo-folder-synchronize): Removed mark arguments;
4544 return crosspost only number.
4546 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4548 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4549 Remove redundunt connectivity check.
4551 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4553 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4554 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4556 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4558 * pldap.el (ldap-decode-string): Return string as-is if
4559 `ldap-coding-system' is nil.
4560 (ldap-encode-string): Ditto.
4561 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4562 (ldap-default-host): Fixed docstring.
4564 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4566 * elmo-util.el (elmo-warning): Define as a macro which uses
4567 `display-warning' if it is defined as a function.
4569 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4570 (elmo-split-equal): Use it.
4571 (elmo-split-match): Ditto.
4572 (elmo-split-message-entity): New buffer-local variable.
4573 (elmo-split-subr): Set it.
4575 * elmo-version.el (elmo-version): Up to 2.9.15.
4577 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4579 * elmo-imap4.el (elmo-network-initialize-session):
4580 Check capability after starttls.
4582 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4584 * elmo-util.el (elmo-list-delete): Added optional argument
4587 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4589 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4591 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4593 * elmo-imap4.el (elmo-folder-initialize): Don't use
4594 elmo-imap4-default-mailbox.
4596 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4598 * elmo-split.el (toplevel): Use `product-provide'.
4599 (elmo-split): Checkdoc.
4601 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4603 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4604 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4605 the function `elmo-imap4-debug-1'.
4607 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4609 * elmo-split.el (elmo-split): Moved to run hooks and to show
4610 message from elmo-split-subr.
4611 (elmo-split-subr): Follow the change above.
4613 * elmo-split.el (elmo-split-subr): New function (renamed from
4615 (elmo-split): Changed to call elmo-split-subr by element of
4617 (elmo-split-folder): Changed customization type to choice.
4619 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4621 * elmo-split.el (elmo-split-and): Fixed condition.
4623 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4625 * elmo-split.el: New file.
4626 (elmo-split): Fixed logic.
4627 Display "Test:" instead of "Folder:" when reharsal.
4629 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4632 * elmo-version.el (elmo-version): Up to 2.9.14.
4634 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4637 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4639 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4640 message with no message-id field.
4642 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4644 * elmo-version.el (elmo-version): Up to 2.9.13.
4646 * elmo-dop.el (elmo-folder-status-dop): Fix.
4648 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4650 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4652 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4653 changing default value of default-mime-charset.
4654 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4656 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4658 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4659 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4660 instead of elmo-dop-queue-method-name-alist to check merging queue.
4661 (elmo-folder-delete-messages-dop): Delete from queue if negative
4663 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4664 file is already removed.
4666 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4668 * elmo-vars.el: Bind colon keywords for old Emacsen.
4670 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4672 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4673 against non-exsisting charset.
4675 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4677 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4678 Use eword-decode-and-unfold-unstructured-field-body.
4680 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4681 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4682 exists to decode raw subject string.
4683 (toplevel): Require 'mime.
4685 * elmo-version.el (elmo-version): Up to 2.9.12.
4687 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4689 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4690 (elmo-msgdb-set-mark): Ditto.
4692 * elmo-version.el (elmo-version): Up to 2.9.11.
4694 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4696 * elmo-util.el (elmo-delete-match-files): New function.
4698 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4699 instead of elmo-delete-directory.
4701 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4702 elmo-hash-minimun-size as 63.
4704 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4705 elmo-diff-unread is nil.
4707 * elmo-imap4.el (elmo-folder-open): Fix.
4709 * elmo.el (elmo-message-mark): Rewrite.
4710 (elmo-message-field): Ditto.
4711 (elmo-message-set-mark): Ditto.
4712 (elmo-folder-replace-marks): New function.
4713 (elmo-generic-folder-append-msgdb): Removed third argument for
4715 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4716 (elmo-msgdb-load): New implementation.
4718 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4720 * elmo-util.el (elmo-list-insert): New implementation.
4722 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4723 argument for elmo-msgdb-append.
4726 * elmo-msgdb.el (elmo-load-msgdb): New function.
4727 (elmo-make-msgdb): Ditto.
4728 (elmo-msgdb-get-index): New inline function.
4729 (elmo-msgdb-set-index): Ditto.
4730 (elmo-msgdb-get-entity-hashtb): Ditto.
4731 (elmo-msgdb-get-mark-hashtb): Ditto.
4732 (elmo-msgdb-get-mark): Ditto.
4733 (elmo-msgdb-set-mark): Ditto.
4734 (elmo-msgdb-count-marks): Ditto.
4735 (elmo-msgdb-get-number): Ditto.
4736 (elmo-msgdb-get-field): Ditto.
4737 (elmo-msgdb-seen-list): Ditto.
4738 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4739 (elmo-msgdb-delete-msgs): Follow the changes above.
4740 (elmo-msgdb-overview-get-entity): Ditto.
4741 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4742 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4744 (elmo-msgdb-make-index): Likewise.
4745 (elmo-msgdb-append): Removed third argument.
4746 (elmo-msgdb-clear): Clear index as nil.
4747 (elmo-folder-set-info-hashtb): Removed.
4748 (elmo-folder-set-info-max-by-numdb): Ditto.
4749 (elmo-folder-info-make-hashtb): Ditto.
4751 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4753 * elmo-map.el (elmo-folder-pack-number): Ditto.
4755 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4757 * elmo-version.el (elmo-version): Up to 2.9.10.
4759 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4761 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4763 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4765 * elmo-utils.el (elmo-make-directory): Add option.
4766 Default file mode is 700.
4768 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4770 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4772 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4774 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4777 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4780 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4782 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4783 (elmo-shimbun-folder-entity-hash): New function.
4784 (elmo-shimbun-folder-shimbun-header): Ditto.
4785 (elmo-shimbun-entity-to-header): Ditto.
4786 (elmo-shimbun-msgdb-to-headers): Removed.
4787 (elmo-shimbun-folder-setup): Ditto.
4788 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4790 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4791 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4792 Removed useless local bind.
4793 (elmo-folder-open-internal): Don't call
4794 `elmo-shimbun-folder-setup'.
4795 (elmo-folder-close-internal): Clear entity-hash slot.
4796 (elmo-folder-clear): Ditto.
4797 (elmo-shimbun-msgdb-create-entity): Use
4798 `elmo-shimbun-folder-shimbun-header'.
4799 (elmo-map-message-fetch): Ditto.
4800 (elmo-shimbun-update-overview): Use overview entity instead of
4801 shimbun header to lookup id by references.
4802 (elmo-map-folder-list-message-locations): Use not only headers but
4803 also overviews to list locations.
4805 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4807 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4810 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4812 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4814 * elmo-util.el (elmo-read-search-condition-internal): Give default
4817 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4819 * elmo-util.el (elmo-condition-parse-search-value): Accept
4820 YYYY-MM-DD format to search.
4821 * elmo-date.el (elmo-date-get-datevec): Likewise.
4823 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4825 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4828 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4830 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4833 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4835 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4836 case from `elmo-folder-exists-p'.
4837 (elmo-folder-exists-p): Removed.
4838 (elmo-folder-creatable-p) Ditto.
4840 * elmo-net.el (elmo-folder-create): Defined.
4841 (elmo-folder-create-unplugged): New function.
4842 (elmo-folder-exists-p): Changed default value to nil from t.
4844 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4845 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4847 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4848 `elmo-create-folder-dop' and append queue
4849 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4850 (elmo-folder-create-dop-delayed): New function.
4852 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4854 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4856 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4857 (elmo-folder-writable-p) : Ditto.
4859 * elmo-version.el (elmo-version): Up to 2.9.9.
4861 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4863 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4864 `elmo-message-use-cache-p' returns nil.
4865 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4866 (ignore cache file and refer the substance in local folders)
4868 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4870 * elmo-version.el (elmo-version): Up to 2.9.8.
4872 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4874 * elmo-version.el (elmo-version): Up to 2.9.7.
4876 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4878 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4880 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4882 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4884 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4886 (elmo-map-folder-list-message-locations): Reverse location list.
4888 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4890 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4892 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4894 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4896 (elmo-nntp-folder-list-subfolders): Follow the change above.
4898 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4900 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4901 name if authentication type is specified.
4903 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4905 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4907 (elmo-default-nntp-stream-type): Ditto.
4908 (elmo-default-pop3-stream-type): Ditto.
4910 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4912 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4914 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4916 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4918 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4920 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4921 (elmo-maildir-folder-path): Ditto.
4922 (elmo-maildir-list): Ditto (abolished).
4924 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4926 * elmo-version.el (elmo-version): Up to 2.9.6.
4928 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4930 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4931 (elmo-maildir-folder-path): Ditto.
4932 (elmo-msgdb-directory): Ditto.
4933 (elmo-passwd-life-time): Ditto.
4934 (elmo-msgdb-extra-fields): Ditto.
4935 (elmo-enable-disconnected-operation): Ditto.
4937 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4939 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4941 (elmo-pop3-default-authenticate-type): Ditto.
4943 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4945 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4947 (elmo-pop3-default-authenticate-type): Ditto.
4949 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4951 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4952 mailbox to new-folder.
4954 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4956 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4957 less than new, set new as unread.
4959 * elmo-util.el (elmo-string): Don't put text-property if nil.
4961 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4963 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4964 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4966 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4968 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4969 is nil on `completing-read'.
4971 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4973 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4975 (elmo-imap4-parse-namespace-subr): Ditto.
4976 (elmo-folder-list-subfolders): Append a delimiter when the specified
4977 folder path is a root with namespace and does not end with delimiter.
4979 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4981 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4984 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4986 * elmo-util.el (elmo-save-buffer): The first argument of message
4987 is a format control string.
4989 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4991 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4992 `elmo-folder-diff').
4993 (elmo-diff-unread): Likewise.
4995 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4997 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4998 is t on `completing-read'.
5000 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5002 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5003 method of target folder with self mark-alist if MARK-ALIST is nil.
5005 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5007 * elmo-version.el (elmo-version): Up to 2.9.5.
5009 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5011 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5012 (elmo-dop-merge-funcs): Remove.
5014 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5016 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5017 Return t if PATH is directory, too.
5018 Use `dolist' instead of while loop.
5020 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5022 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5025 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5027 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5029 (elmo-folder-list-messages-unplugged): Return t if
5030 elmo-enable-disconnected-operation is nil.
5032 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5033 `elmo-folder-list-messages-internal'.
5035 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5037 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5038 Change to looking-at `[23][0-9]+'.
5039 (elmo-network-initialize-session): Use 'error-msg'
5040 * elmo-net.el (elmo-network-open-session): Set unplugged
5041 if elmo-network-initialize-session returns 'elmo-open-err.
5043 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5045 * elmo-version.el (elmo-version): Up to 2.9.4.
5047 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5049 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5050 `elmo-folder-list-messages-internal'.
5052 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5054 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5055 (elmo-message-match-condition): New method.
5056 (elmo-folder-search-fast): New inline function.
5057 (elmo-msgdb-search): Removed.
5059 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5060 target folder if it is unplugged.
5061 (elmo-folder-list-messages-internal): Return t if target folder is
5062 unplugged and itself is persistent; In this case, use list be
5065 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5066 (elmo-msgdb-search-internal-primitive): Ditto.
5067 (elmo-msgdb-match-condition): New function.
5068 (elmo-msgdb-match-condition-primitive): Ditto.
5070 * elmo-util.el (elmo-filter-condition-p): New macro.
5072 * elmo-cache.el (elmo-folder-search): Removed.
5074 * elmo-localdir.el (elmo-folder-search): Ditto.
5076 * elmo-maildir.el (elmo-folder-search): Ditto.
5078 * elmo-mark.el (elmo-folder-search): Ditto.
5080 * elmo-nmz.el (elmo-folder-search): Ditto.
5082 * elmo-sendlog.el (elmo-folder-search): Ditto.
5084 * elmo-shimbun.el (elmo-folder-search): Ditto.
5086 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5087 if folder is unplugged.
5089 * elmo-nntp.el (elmo-folder-search): Likewise.
5090 (elmo-nntp-search-internal): New function.
5092 * elmo-version.el (elmo-version): Up to 2.9.3.
5094 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5096 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5098 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5100 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5102 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5104 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5106 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5108 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5109 (elmo-map-folder-list-message-locations): Do drive letter conversion
5110 on Windows environment.
5111 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5112 (elmo-map-message-fetch): Ditto.
5114 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5116 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5117 (elmo-network-initialize-session): Ditto.
5119 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5121 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5123 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5125 * elmo-util.el (elmo-progress-clear): Ditto.
5127 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5128 `DD-Mon-YYYY' type date.
5130 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5132 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5133 `elmo-date-make-sortable-string' instead of
5134 `timezone-make-date-sortable'.
5136 * elmo-date.el (elmo-date-make-sortable-string): Use
5137 `timezone-make-time-string'.
5139 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5141 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5143 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5144 `since'; Fix timezone.
5146 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5148 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5150 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5152 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5154 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5156 * elmo.el (elmo-generic-folder-append-messages): Make
5157 fetch-strategy with `use-cache' as 'maybe. Check return value of
5158 `elmo-message-fetch'.
5159 (elmo-message-fetch): Return return value of
5160 `elmo-message-fetch-with-cache-process'.
5161 (elmo-message-fetch-with-cache-process): Return non-nil if
5162 fetching was succeed. Load cache when fetching was failed and
5163 fetch-strategy-use-cache is 'maybe.
5165 * elmo-util.el (elmo-file-cache-load): New function.
5167 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5170 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5171 non-nil if fetching was succeed.
5173 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5175 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5177 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5178 (elmo-message-fetch-with-cache-process): Likwise.
5180 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5182 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5184 * elmo-version.el (elmo-version): Up to 2.9.2.
5186 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5188 * elmo.el (elmo-folder-delete): Delete msgdb path.
5190 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5192 * elmo-maildir.el (elmo-folder-delete): Ditto.
5194 * elmo-localdir.el (elmo-folder-delete): Ditto.
5196 * elmo-imap4.el (elmo-folder-delete): Ditto.
5198 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5200 * elmo.el (luna-define-class): Added `biff' slot.
5202 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5203 (elmo-pop3-debug-inhibit-logging): Abolished.
5204 (elmo-network-close-session): Eliminated needless let.
5205 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5206 (elmo-pop3-send-command): Added `no-log' argument.
5207 (elmo-pop3-process-filter): Use `with-current-buffer'.
5208 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5210 (elmo-pop3-auth-apop): Likewise.
5211 (elmo-network-authenticate-session): Likewise.
5213 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5216 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5217 string to determine protocol.
5218 (elmo-network-session-name-prefix): Abolished.
5219 (elmo-network-session-cache-key): Follow the change above.
5220 (elmo-network-open-session): Ditto.
5222 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5223 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5225 * elmo-version.el (elmo-version): Up to 2.9.1.
5227 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5228 unmatch condition checking.
5230 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5233 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5235 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5237 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5239 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5240 test for while loop to execute at least one SEARCH command.
5242 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5244 * elmo-version.el (elmo-version): Up to 2.9.0.
5246 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5248 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5249 (elmo-archive-folder-path): Define.
5250 (elmo-folder-initialize): Setup `dir-name' slot.
5251 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5252 Use `dir-name' as prefix of each subfolders.
5253 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5255 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5257 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5258 (elmo-pipe-folder-list-target-messages): New internal function.
5259 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5261 (elmo-pipe-folder-copied-list-load): New function.
5262 (elmo-pipe-folder-copied-list-save): Ditto.
5263 (elmo-folder-open-internal): Follow the change above.
5264 (elmo-folder-status): Fixed for copy.
5266 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5268 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5270 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5272 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5273 elmo-copy-file instead of elmo-add-name-to-file.
5275 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5277 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5280 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5281 of accept-process-output as 1.
5282 (elmo-pop3-read-contents): Ditto.
5283 (elmo-pop3-read-body): Ditto.
5285 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5287 * elmo-version.el (product-version-as-string): Remove define.
5289 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5291 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5292 (elmo-imap4-copy-messages): Chop number set using
5293 `elmo-imap4-number-set-chop-length'.
5294 (elmo-imap4-set-flag): Ditto.
5295 (elmo-imap4-search-internal-primitive): Ditto.
5297 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5299 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5300 `elmo-folder-make-temp-dir'
5302 * elmo-vars.el (elmo-cache-directory): New variable.
5303 (elmo-cache-dir): Abolished.
5304 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5306 * elmo-version.el (elmo-version): Up to 2.7.7.
5308 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5310 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5311 defcustom; Set default value as t.
5313 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5315 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5316 (ldap-search-program-arguments): Changed default value.
5317 (ldap-search-basic): Accept exit status 4.
5318 (ldap/field-body): Parse options.
5319 (ldap/collect-field): Ditto.
5320 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5322 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5323 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5324 (elmo-imap4-accept-ok): Ditto.
5325 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5326 'notify-bye, only BYE error is reported.
5327 (elmo-folder-exists-p-plugged): Set no-error argument of
5328 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5330 * elmo.el (elmo-imap4-bye-error): Changed message.
5332 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5333 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5334 queues (It causes infinite loop).
5336 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5338 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5339 (RECENT UNSEEN MESSAGES) extension.
5341 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5343 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5344 Check number of overview fields.
5346 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5348 * elmo.el (elmo-folder-confirm-appends): Changed message.
5349 (elmo-folder-confirm-appends): Ditto.
5351 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5353 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5355 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5357 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5358 of elmo-folder-update-threshold is nil, which can be set by
5359 wl-summary-update-confirm-threshold.
5361 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5363 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5364 (elmo-nmz-index-alias-alist): Ditto.
5365 (elmo-map-folder-list-message-locations): Follow the change above.
5367 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5369 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5371 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5373 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5375 * elmo-util.el (elmo-read): Ditto.
5376 (elmo-display-error): Ditto.
5378 * elmo-vars.el (elmo-date-match): Ditto.
5380 * pldap.el (ldap-coding-system): Ditto.
5382 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5383 `elmo-inhibit-number-mapping' as nil.
5385 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5387 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5388 space delimiter for list response.
5390 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5392 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5394 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5396 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5397 (elmo-map-message-fetch): Fix.
5398 * elmo-map.el (elmo-folder-status): Fix for killed.
5400 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5402 * elmo-sendlog.el: New file.
5403 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5405 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5407 * acap.el (acap-logging-out): New buffer local variable.
5408 (acap-close): Set it.
5409 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5412 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5414 * acap.el (acap-response-bye-p): New function.
5415 (acap-response-bye-message): Ditto.
5416 (acap-wait-for-response): If bye response is received, cause an error.
5417 (acap-parse-response): Make bye response when 'Bye' is received.
5419 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5421 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5423 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5425 * elmo-util.el (elmo-copy-file): Added argument
5426 `ok-if-already-exists'.
5427 (elmo-copy-file): Fixed typo.
5429 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5431 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5433 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5435 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5437 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5439 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5442 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5444 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5445 (elmo-folder-initialize): Fix for `copy'.
5446 (elmo-pipe-drain): Ditto.
5447 (elmo-folder-open-internal): Ditto.
5448 (elmo-folder-newsgroups): Fix.
5450 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5452 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5455 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5456 recent value is returned from imap folder.
5458 * elmo.el (elmo-folder-newsgroups): New generic function.
5460 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5461 (elmo-folder-initialize): Set it.
5462 (elmo-folder-expand-msgdb-path): Use it.
5463 (elmo-folder-newsgroups): Define.
5465 * elmo-filter.el (elmo-folder-newsgroups): Define.
5467 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5469 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5471 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5473 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5475 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5477 (elmo-shimbun-header-extra-field): New inline function.
5478 (elmo-shimbun-header-set-extra-field): Ditto.
5479 (elmo-shimbun-folder-header-hash-setup): Ditto.
5480 (elmo-shimbun-update-overview): Ditto.
5481 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5482 (elmo-shimbun-folder-setup): Use
5483 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5484 (elmo-shimbun-get-headers): Ditto.
5485 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5486 Insert `X-Shimbun-Id:' header if extra field is set.
5487 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5488 field's value instead of `shimbun-header-id'.
5490 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5492 (elmo-msgdb-overview-entity-set-date): Ditto.
5493 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5495 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5497 * mmimap.el (mmimap-entity-section): Changed body node number from
5500 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5502 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5503 `elmo-folder-delete-messages'.
5505 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5506 (elmo-folder-initialize): Changed to expand alias into index path.
5508 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5509 `elmo-mime-insert-header-from-buffer' with 6th arg
5512 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5514 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5516 * elmo.el (elmo-diff-new): New inline function.
5517 (elmo-diff-unread): Ditto.
5518 (elmo-diff-all): Ditto.
5520 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5521 value from responseb.
5522 (elmo-imap4-folder-diff-plugged): Ditto.
5523 (elmo-imap4-server-diff-async): Added recent argument.
5524 (elmo-server-diff-async): Ditto.
5525 (elmo-imap4-folder-diff-plugged): Ditto.
5527 * elmo-version.el (elmo-version): Up to 2.7.6.
5529 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5531 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5534 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5536 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5538 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5540 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5542 * elmo-multi.el (elmo-folder-initialize): Ditto.
5544 * elmo-util.el (elmo-parse-token): New function.
5545 (elmo-parse-prefixed-element): Ditto.
5547 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5549 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5551 (elmo-imap4-accept-ok): Ditto.
5553 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5555 * mmimap.el (mime-imap-entity-header-string): Don't check first
5556 element of node-id is `0' (Follow last change).
5558 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5560 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5561 assigned irregular node-id to nested multipart section.
5562 (initialize-instance): Followed above change.
5564 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5566 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5567 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5568 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5569 `elmo-shimbun-get-headers');
5570 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5571 visible article on summary exists in headers).
5572 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5574 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5576 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5579 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5581 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5583 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5585 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5586 header separator into loop condition.
5588 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5590 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5591 Return duplicate folder if it has subfolder.
5593 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5595 * elmo.el (elmo-make-folder): Add folder name error check.
5597 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5598 (elmo-nntp-encode-group-string): New inline function.
5599 (elmo-nntp-decode-group-string): Ditto.
5600 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5601 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5602 Use `not' instead of `null';
5603 Use elmo-nntp-decode-group-string.
5605 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5607 * elmo-version.el (elmo-version): Up to 2.7.5.
5609 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5611 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5612 Hide progress gauge if `elmo-folder-move-messages' exits
5615 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5617 * elmo-imap4.el (elmo-folder-initialize): Use
5618 `elmo-imap4-encode-folder-string' for folder name.
5620 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5622 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5625 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5627 * elmo-util.el (elmo-progress-counter-alist): New internal
5629 (elmo-progress-counter-value): New macro.
5630 (elmo-progress-counter-all-value): Ditto.
5631 (elmo-progress-counter-format): Ditto.
5632 (elmo-progress-counter-set-value): Ditto.
5633 (elmo-progress-set): New function.
5634 (elmo-progress-clear): Ditto.
5635 (elmo-progress-notify): Ditto.
5637 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5640 * elmo.el (elmo-generic-folder-append-messages): Call
5641 `elmo-progress-notify'.
5642 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5644 * elmo-archive.el (elmo-folder-append-messages): Call
5645 `elmo-progress-notify'.
5647 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5649 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5651 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5653 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5655 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5657 (elmo-message-encache-dop): Added argument `read'.
5659 * elmo-shimbun.el (elmo-message-encache): Ditto.
5661 * elmo-net.el (elmo-message-encache): Ditto.
5663 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5664 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5665 elmo-imap4-seen-messages.
5666 (elmo-folder-msgdb-create-plugged): Initialize
5667 elmo-imap4-seen-messages;
5668 Set seen mark on elmo-imap4-seen-messages.
5670 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5672 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5673 elmo-folder-append-buffer.
5674 (elmo-folder-encache): Added optional argument `read'.
5675 (elmo-message-encache): Ditto.
5677 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5679 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5681 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5682 if append buffer content succeds.
5684 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5686 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5687 elmo-display-progress.
5689 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5690 Set 4th argument of mime-display-message.
5691 (elmo-mime-display-as-is): Ditto.
5693 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5695 * elmo-nmz.el (toplevel): Require 'mime-edit.
5696 (elmo-nmz-content-type-alist): Abolished.
5697 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5698 content is not a message.
5699 (elmo-map-message-fetch): Changed behavior exept for message content;
5700 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5701 content-type, Add From: and Subject: field.
5703 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5705 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5706 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5709 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5711 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5712 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5714 * elmo-archive.el (elmo-folder-writable-p): Defined.
5716 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5718 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5720 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5722 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5724 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5726 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5728 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5730 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5732 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5734 * elmo-util.el (elmo-address-quote-specials): New function;
5735 Renamed from `wl-address-quote-specials'.
5737 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5739 * elmo-version.el (elmo-version): Up to 2.7.4.
5741 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5743 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5745 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5747 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5748 both compile-time and run-time to avoid byte-compile warning.
5750 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5752 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5754 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5756 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5758 (elmo-mime-display-as-is-internal): Use it.
5760 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5761 if `read-passwd' is not defined.
5763 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5765 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5767 (elmo-folder-status): Call `elmo-folder-open-internal';
5768 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5769 (elmo-folder-close-internal): Set location-alist as nil.
5770 (elmo-folder-clear): Define.
5771 (elmo-folder-check): Don't set location-alist as nil.
5773 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5775 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5777 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5778 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5780 * mmimap.el (mime-imap-entity::requested): New slot.
5781 (mime-imap-location-fetch-entity-p): New generic function.
5782 (mime-decode-parameters): Define using `defun-maybe'.
5783 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5784 content-type structure.
5785 (mime-entity-body): Return empty body if
5786 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5788 * elmo.el (elmo-message-displaying): New variable.
5790 * elmo-mime.el (elmo-mime-message-display): Bind
5791 elmo-message-displaying as t.
5793 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5795 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5797 * acap.el (acap-open): erase buffer before starting network process.
5798 (acap-store): Rewrite.
5800 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5802 * elmo-imap4.el (elmo-imap4-default-mailbox,
5803 elmo-imap4-default-server
5804 elmo-imap4-default-authenticate-type,
5805 elmo-imap4-default-user,
5806 elmo-imap4-default-port,
5807 elmo-imap4-default-stream-type,
5808 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5810 * elmo-pop3.el (elmo-pop3-default-user,
5811 elmo-pop3-default-server,
5812 elmo-pop3-default-authenticate-type,
5813 elmo-pop3-default-port,
5814 elmo-pop3-default-stream-type,
5815 elmo-pop3-stream-type-alist): Ditto.
5817 * elmo-nntp.el (elmo-nntp-default-server,
5818 elmo-nntp-default-user,
5819 elmo-nntp-default-port,
5820 elmo-nntp-default-stream-type,
5821 elmo-nntp-stream-type-alist): Ditto.
5823 * elmo-vars.el: Follow changes above.
5824 (elmo-setting): New custom group; added 'elmo-setting group to
5827 * elmo-version.el (elmo-version): Up to 2.7.3.
5829 * acap.el (acap-parse-response): Don't delete process when BYE
5830 response (It causes hang-up on slow network environment).
5831 (toplevel): Added comment.
5833 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5835 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5837 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5839 (acap-parse-return-metadata): Ditto.
5842 (toplevel): Fixed typo.
5844 * acap.el: New file.
5845 (acap-network-stream-open): Show "Connecting..." message.
5846 (acap-parse-response): Fixed problem for BYE untagged response.
5847 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5848 (toplevel): Added tiny comments.
5850 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5852 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5853 space delimiter for uidl response.
5855 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5857 * elmo-vars.el (elmo-use-semi): Eliminated.
5859 * elmo-util.el (elmo-string-assoc-all): New function.
5861 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5863 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5864 property 'mime-preview-situation for `mime-preview-quit'.
5866 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5868 * elmo.el (elmo-message-fetch-with-cache-process): Call
5869 elmo-message-fetch-internal instead of causing an error when fetch
5870 strategy is 'entire but only 'section cache is available.
5872 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5874 * elmo-version.el (elmo-version): Up to 2.7.2.
5876 * elmo.el (elmo-generic-folder-append-messages): Make
5877 fetch-strategy with `use-cache'.
5879 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5880 (elmo-dop-queue-method-name): New macro.
5882 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5884 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5885 unbalanced parenthesis.
5887 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5889 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5891 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5893 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5894 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5896 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5898 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5901 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5903 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5904 (elmo-message-use-cache-p): Define.
5905 (elmo-folder-msgdb-create): Treat cache.
5907 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5909 * elmo-nntp.el (elmo-network-initialize-session): Call
5910 `elmo-nntp-send-mode-reader'.
5911 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5913 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5915 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5917 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5920 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5921 for `elmo-plugged-p'.
5922 (elmo-open-network-stream): Fixed stream-type argument.
5924 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5926 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5927 unknown archive type is specified.
5929 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5931 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5933 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5934 while loading msgdb.
5936 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5937 (elmo-folder-open-internal): Rewrite.
5939 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5941 * elmo-mime.el (elmo-mime-display-as-is-internal):
5942 Adjust buffer-multibyte status.
5944 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5946 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5947 of elmo-condition-find-key.
5949 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5950 (elmo-condition-in-msgdb-p): Ditto.
5951 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5954 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5956 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5958 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5960 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5961 label for elmo-display-progress.
5963 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5965 * elmo.el (elmo-folder-clear): New method.
5966 (elmo-folder-clear): Define.
5967 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5969 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5970 (elmo-folder-clear): Define.
5972 * elmo-map.el (elmo-folder-clear): Define.
5974 * elmo-version.el (elmo-version): Up to 2.7.1.
5976 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5978 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5981 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5983 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5984 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5986 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5988 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5990 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5993 * elmo-imap4.el (elmo-folder-initialize): Use
5994 elmo-get-network-stream-type.
5996 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5998 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6000 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6002 * elmo.el (elmo-message-encache): Set unread argument for
6005 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6007 * elmo.el (elmo-net-port-info): New method.
6009 * elmo-shimbun.el (elmo-net-port-info): Define.
6010 (elmo-message-encache): Ditto.
6012 * elmo-net.el (elmo-net-port-info): Define as method.
6014 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6015 unplugged status when elmo-enable-disconnected-operation is t.
6017 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6018 of spool folder before checking new number.
6020 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6022 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6023 (elmo-network-setup-session): Ditto.
6024 (elmo-message-fetch-plugged): Ditto.
6025 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6026 (elmo-network-initialize-session): Ditto.
6027 (elmo-pop3-read-response): Abolish 3rd argument.
6028 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6029 (elmo-pop3-read-contents): Ditto.
6030 (elmo-pop3-read-body): Ditto.
6031 (elmo-folder-status): Call elmo-folder-close.
6032 (elmo-pop3-lock): Abolish.
6033 (elmo-pop3-unlock): Ditto.
6034 (elmo-pop3-locked-p): Ditto.
6035 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6037 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6039 * elmo-version.el (elmo-version): Up to 2.7.0.
6041 * elmo-pop3.el (elmo-pop3-debug): New variable.
6042 (elmo-pop3-debug-inhibit-logging): Ditto.
6043 (elmo-pop3-debug): New function.
6044 (elmo-pop3-send-command): Call elmo-pop3-debug.
6045 (elmo-pop3-read-response): Added keep-lock optional argument;
6046 Don't unlock if keep-lock is non-nil.
6047 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6048 (elmo-network-authenticate-session): Bind
6049 elmo-pop3-debug-inhibit-logging as t.
6050 (elmo-network-setup-session): Call elmo-pop3-read-response with
6052 (elmo-pop3-read-msg): Ditto.
6053 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6054 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6055 (elmo-network-initialize-session): Call elmo-pop3-lock.
6056 (elmo-folder-close-internal): Don't clear location-alist slot.
6057 (elmo-folder-check): Clear location-alist slot.
6059 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6061 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6062 (elmo-pop3-send-command): Call elmo-pop3-lock.
6063 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6064 (elmo-pop3-read-contents): Ditto.
6065 (elmo-pop3-lock): New function.
6066 (elmo-pop3-unlock): Ditto.
6067 (elmo-pop3-locked-p): Ditto.
6068 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6071 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6073 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6075 * elmo-util.el (elmo-file-field-primitive-condition-match):
6076 New inline function (Don't fetch file content if "first" or "last").
6077 (elmo-file-field-condition-match): Use
6078 elmo-file-field-primitive-condition-match.
6080 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6083 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6084 (elmo-message-fetch-plugged): Fixed.
6086 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6088 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6090 * elmo.el (elmo-folder-move-messages): Bind
6091 elmo-inhibit-display-retrieval-progress as t while moving messages.
6093 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6095 (elmo-inhibit-display-retrieval-progress): Ditto.
6097 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6098 for retrieval progress;
6099 Don't display progress when total buffer size is smaller than
6100 elmo-display-retrieval-progress-threshold.
6101 (elmo-message-fetch-plugged): Don't display progress when
6102 elmo-inhibit-display-retrieval-progress is non-nil.
6104 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6105 for retrieval progress;
6106 Don't display progress when literal size is smaller than
6107 elmo-display-retrieval-progress-threshold.
6108 (elmo-imap4-message-fetch): Don't display progress when
6109 elmo-inhibit-display-retrieval-progress is non-nil.
6111 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6113 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6114 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6115 (elmo-imap4-message-fetch): Likewise.
6117 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6118 (elmo-shimbun-index-range-alist): Ditto.
6119 (elmo-shimbun-use-entire-index): Abolish.
6120 (shimbun-mua-use-entire-index): Ditto.
6121 (elmo-shimbun-folder): Added new slot `range'.
6122 (elmo-folder-initialize): Setup slot `range'.
6124 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6126 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6127 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6128 (elmo-shimbun-get-headers): Use return value of
6129 `shimbun-article-expiration-days'.
6130 (elmo-folder-close-internal): Clean up last-check slot.
6132 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6133 (elmo-pop3-total-size): New variable.
6134 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6136 * elmo.el (elmo-folder-reserve-status-p): New method.
6138 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6139 (elmo-shimbun-use-entire-index): New user option.
6140 (shimbun-elmo-mua): New class.
6141 (shimbun-mua-search-id): Define.
6142 (shimbun-mua-use-entire-index): Ditto.
6143 (elmo-shimbun-folder:last-check): New slot.
6144 (elmo-shimbun-headers-cache-header-list): Abolish.
6145 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6146 (elmo-shimbun-headers-cache-header-hash): Ditto.
6147 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6148 (elmo-shimbun-headers-cache-last-check): Ditto.
6149 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6150 (elmo-shimbun-headers-check-p): Rewrite.
6151 (elmo-shimbun-msgdb-to-headers): New function.
6152 (elmo-shimbun-get-headers): Rewrite.
6153 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6154 (elmo-folder-open-internal): Get headers only if
6155 `elmo-shimbun-headers-check-p' is non-nil.
6156 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6158 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6159 (elmo-quit): Removed.
6161 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6163 (elmo-msgdb-overview-entity-set-extra): Ditto.
6164 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6166 * elmo-map.el (elmo-folder-status): Don't call
6167 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6170 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6172 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6173 of `elmo-msgdb-search-internal-primitive' when condition's car is
6176 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6178 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6180 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6182 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6183 call `elmo-pipe-drain'.
6185 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6187 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6188 typo. (elmo-cache-folder -> elmo-mark-folder)
6190 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6192 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6193 `elmo-message-fetch'.
6195 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6197 * elmo-net.el (elmo-message-encache): Fixed typo.
6198 (elmo-message-fetch-unplugged): Changed call
6199 `elmo-message-fetch-internal' without argument `outbuf'.
6201 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6203 * elmo.el (elmo-message-encache): Define as generic function.
6204 (elmo-message-fetch-field): New generic function.
6205 (elmo-message-fetch-with-cache-process): Cause an error when
6206 fetch strategy is 'entire but only 'section cache is available.
6207 (toplevel): Fixed nmz folder definition.
6209 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6210 (elmo-msgdb-resume-list-filename): Ditto.
6211 (elmo-queue-filename): Ditto.
6212 (elmo-enable-disconnected-operation): Changed default value to t.
6214 * elmo-util.el (elmo-cache-path-section-p): New function.
6215 (elmo-file-cache-get): Use it.
6216 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6217 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6218 (elmo-dop-queue-save): Ditto.
6220 * elmo-net.el (elmo-folder-status-unplugged): Call
6221 elmo-folder-status-dop.
6222 (elmo-folder-list-messages-unplugged): Implemented.
6223 (elmo-folder-delete-messages-unplugged): Define.
6224 (elmo-folder-msgdb-create): Define.
6225 (elmo-folder-msgdb-create-unplugged): Define.
6226 (elmo-folder-mark-as-read-unplugged): Ditto.
6227 (elmo-folder-unmark-read-unplugged): Ditto.
6228 (elmo-folder-mark-as-important-unplugged): Ditto.
6229 (elmo-folder-unmark-important-unplugged): Ditto.
6230 (elmo-message-encache): Ditto.
6232 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6233 (elmo-dop-queue-save): Ditto.
6235 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6236 `elmo-folder-msgdb-create'.
6237 (elmo-folder-append-buffer): Implemented unplugged operation.
6238 (elmo-folder-append-messages): Call parent method in unplugged status.
6239 (elmo-message-fetch-unplugged): Removed definition.
6240 (elmo-message-fetch-field): Implemented.
6242 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6243 (elmo-dop-folder): Removed variable definition.
6244 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6245 (elmo-dop-queue-flush): Implemented.
6246 (elmo-dop-queue-merge): Removed definition (TODO).
6247 (elmo-dop-spool-folder): New function.
6248 (elmo-dop-spool-folder-append-buffer): Ditto.
6249 (elmo-dop-spool-folder-list-messages): Ditto.
6250 (elmo-dop-list-deleting-messages): Ditto.
6251 (elmo-folder-append-buffer-dop): Ditto.
6252 (elmo-folder-delete-messages-dop): Ditto.
6253 (elmo-message-encache-dop): New inline function.
6254 (elmo-create-folder-dop): Ditto.
6255 (elmo-folder-mark-as-read-dop): Ditto.
6256 (elmo-folder-unmark-read-dop): Ditto.
6257 (elmo-folder-mark-as-important-dop): Ditto.
6258 (elmo-folder-unmark-important-dop): Ditto.
6259 (elmo-folder-status-dop): Fixed.
6260 (elmo-folder-append-buffer-dop-delayed): New function.
6261 (elmo-folder-delete-messages-dop-delayed): Ditto.
6262 (elmo-dop-msgdb): Ditto.
6264 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6266 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6268 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6270 * elmo.el (elmo-folder-move-messages): Fixed problem when
6271 `dst-folder' is 'null.
6273 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6275 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6276 instead of current mark.
6278 * elmo-multi.el (elmo-folder-list-importants-internal): No
6279 operation if importants is not list.
6281 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6282 Return t if importants is not list.
6284 * elmo-map.el (elmo-map-folder-list-importants): Define.
6285 (elmo-folder-list-importants-internal): Check return value of
6286 `elmo-map-folder-list-importants-internal'.
6288 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6290 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6292 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6294 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6296 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6298 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6299 (Patch is provided by <kita@coe.nttdata.co.jp>).
6301 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6303 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6306 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6308 * elmo.el (elmo-message-fetch): Define.
6309 (elmo-message-fetch-with-cache-process): New generic method.
6310 (elmo-message-fetch-internal): New generic method.
6311 (elmo-folder-synchronize):
6313 * elmo-archive.el (elmo-message-fetch-internal): Define.
6314 (elmo-message-fetch): Eliminated.
6316 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6317 (elmo-message-fetch): Eliminated.
6319 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6321 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6323 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6324 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6326 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6327 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6329 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6331 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6333 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6335 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6336 (elmo-message-fetch-unplugged): New generic method.
6337 (elmo-message-fetch-internal): Remove cache process (Renamed from
6338 `elmo-message-fetch').
6340 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6341 (elmo-message-fetch): Eliminated.
6342 (elmo-message-fetch-unplugged): Ditto.
6344 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6346 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6348 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6349 of `to-be-deleted' from number-alist to number-list.
6351 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6353 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6354 (elmo-folder-mark-as-important): Ditto.
6356 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6358 * elmo.el (elmo-folder): Added process-duplicates slot.
6360 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6361 (elmo-folder-unmark-read): Ditto.
6362 (elmo-folder-unmark-important): Ditto.
6363 (elmo-folder-mark-as-important): Ditto.
6365 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6366 duplicated message processing.
6368 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6370 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6372 * elmo-util.el (elmo-list-subdirectories-1): New function.
6373 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6374 (elmo-mapcar-list-of-list): New function.
6376 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6377 `elmo-mapcar-list-of-list' instead of `mapcar'.
6379 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6381 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6382 `elmo-have-link-count'. Return the fully qualified folder name.
6384 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6386 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6387 (elmo-shimbun-headers-cache): New internal variable.
6388 (elmo-shimbun-headers-cache-header-list): New inline function.
6389 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6390 (elmo-shimbun-headers-cache-header-hash): Ditto.
6391 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6392 (elmo-shimbun-headers-cache-last-check): Ditto.
6393 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6394 (elmo-shimbun-lapse-seconds): Ditto.
6395 (elmo-shimbun-headers-cache-check-p): Ditto.
6396 (elmo-shimbun-get-headers): New function.
6397 (elmo-folder-open-internal): Call it.
6398 (elmo-quit): Define (Clear headers-cache).
6400 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6402 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6404 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6405 (elmo-msgdb-flist-save): Ditto.
6407 * elmo-shimbun.el (elmo-folder-list-subfolders):
6408 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6409 (elmo-folder-exists-p): Ditto.
6411 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6412 argument for `shimbun-header-insert'.
6414 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6416 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6419 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6420 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6422 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6424 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6425 (elmo-folder-plugged-p): Define.
6426 (elmo-folder-set-plugged): Ditto.
6427 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6428 (elmo-folder-list-messages-internal): Return t if unplugged.
6429 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6431 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6432 when elmo-folder-list-messages-internal method of children returns t.
6434 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6436 (elmo-folder-open-internal): Don't update if unplugged status.
6438 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6440 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6443 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6445 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6447 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6450 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6452 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6454 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6455 (elmo-folder-open-internal): Set up headers slot.
6456 (elmo-folder-check): Call elmo-folder-close-internal and
6457 elmo-folder-open-internal.
6458 (elmo-folder-close-internal): Clean up headers slot.
6460 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6462 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6463 exactly folder list.
6464 (elmo-folder-append-messages): Fixed append archive with prefix.
6466 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6467 make temp files with start-number.
6469 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6471 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6473 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6474 argument `visible-only'.
6475 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6478 * elmo-pop3.el (elmo-folder-open-internal): Check
6479 `elmo-inhibit-number-mapping' is non-nil.
6481 * elmo-pipe.el (elmo-folder-status): Fixed.
6483 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6485 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6487 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6488 (elmo-folder-open-internal): Setup `header-hash' slot.
6489 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6491 (elmo-map-message-fetch): Ditto.
6493 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6495 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6496 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6497 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6498 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6500 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6502 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6504 * sb-airs.el: Added footer.
6506 * shimbun.el (shimbun-article): Define as luna-method.
6508 * sb-tcup.el: New file.
6510 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6511 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6513 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6515 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6516 (shimbun-get-headers): Ditto.
6518 * elmo.el: Moved obsolete variable definitions from
6519 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6521 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6524 * shimbun.el: New file.
6526 * elmo-shimbun.el: New file.
6528 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6529 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6530 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6531 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6533 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6535 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6538 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6540 * elmo.el (elmo-folder-msgdb): Define as macro.
6541 (elmo-folder-open): Added argument `load-msgdb'.
6542 (elmo-generic-folder-open): Ditto.
6543 (elmo-folder-encache): New function.
6545 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6547 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6549 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6550 Eliminated argument FOLDER and added argument MSGDB.
6551 (elmo-dop-queue-load): Moved from elmo-dop.el.
6552 (elmo-dop-queue-save): Ditto.
6554 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6556 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6558 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6559 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6560 (elmo-filter-folder-list-importants-internal): Ditto.
6562 * elmo-map.el (elmo-folder-pack-number): Ditto.
6564 * elmo-mime.el (elmo-mime-message-display): Ditto.
6566 * elmo.el (elmo-generic-folder-commit): Ditto.
6567 (elmo-folder-list-unreads): Ditto.
6568 (elmo-folder-list-importants): Ditto.
6569 (elmo-generic-folder-commit): Ditto.
6570 (elmo-message-set-mark): Ditto.
6571 (elmo-generic-folder-append-msgdb): Ditto.
6572 (elmo-folder-synchronize): Ditto.
6573 (elmo-folder-messages): Ditto.
6574 (elmo-init): Call elmo-dop-queue-load.
6575 (elmo-folder-list-messages): Ditto.
6577 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6578 (elmo-nntp-folder-process-crosspost): Ditto.
6579 (elmo-folder-list-unreads-internal): Ditto.
6581 * elmo-dop.el: Removed old functions.
6583 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6585 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6586 `folder' to `msgdb'.
6588 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6590 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6591 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6593 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6596 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6598 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6601 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6602 (mmimap-parse-parameters-from-list): Define as alias for
6603 `mime-decode-parameter-plist' if it is defined as function.
6604 (mmimap-make-mime-entity): Added argument `number'.
6605 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6607 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6609 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6611 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6613 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6615 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6617 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6619 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6620 when elmo-imap4-default-authenticate-type is nil.
6621 (elmo-folder-list-subfolders): Ditto
6622 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6623 (elmo-imap4-fetch-callback-1-subr): Renamed from
6624 `elmo-imap4-fetch-callback-1' and define as inline function.
6625 (elmo-imap4-fetch-callback-1):
6626 Renamed from `elmo-imap4-fetch-callback'.
6627 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6629 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6630 msgdb path (To keep compatibility with main trunk).
6632 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6634 * elmo-util.el (elmo-make-file-cache): Moved position of
6637 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6638 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6639 instead of `elmo-pop3-inhibit-uidl'.
6640 (elmo-folder-exists-p): Ditto.
6641 (elmo-pop3-folder-list-messages): Ditto.
6643 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6644 instead of `elmo-pop3-inhibit-uidl'.
6645 (elmo-folder-status): Ditto.
6647 * elmo-dop.el (elmo-dop-folder): New variable.
6648 (elmo-dop-lock-message): Eliminated.
6649 (elmo-dop-unlock-message): Ditto.
6650 (elmo-dop-lock-list-load): Ditto.
6651 (elmo-dop-lock-list-save): Ditto.
6652 (elmo-dop-delete-folder): Ditto.
6653 (elmo-dop-rename-folder): Ditto.
6655 * elmo.el: Removed incomplete commentary.
6657 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6659 * elmo.el (toplevel): Require 'elmo-version first;
6660 for little `recursive-load-depth' settings.
6661 Fix "ends here" comment.
6663 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6665 * elmo-util.el (toplevel): Require 'poem;
6666 Some functions are moved from elmo-cache.el.
6668 * elmo-net.el (toplevel): Require 'elmo-cache.
6670 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6672 * elmo.el (toplevel): Ditto.
6674 * elmo-cache.el: Rewrite with luna;
6675 Some functions are moved to elmo-util.el.
6677 * elmo-internal.el (elmo-internal-folder-list): New variable.
6678 (elmo-internal-folder-initialize): Rewrite.
6679 (elmo-folder-list-subfolders): Ditto.
6681 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6682 (elmo-cache-collect-sub-directories): Ditto.
6684 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6686 * elmo-version.el (elmo-version): Up to 2.5.8.
6688 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6690 * elmo-util.el (elmo-list-insert): New function.
6692 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6694 * elmo.el (elmo-init): New function.
6695 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6697 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6698 (Renamed from `elmo-localdir-header-chop-length').
6700 * elmo-pop3.el (elmo-pop3-use-cache,
6701 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6703 * elmo-nntp.el (elmo-message-fetch): Define.
6704 (elmo-message-fetch-unplugged): Ditto.
6705 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6706 (elmo-nntp-use-cache): Ditto.
6707 (elmo-nntp-max-number-precedes-list-active): Ditto.
6709 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6711 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6712 `elmo-msgdb-insert-file-header'.
6713 Use `elmo-msgdb-file-header-chop-length'.
6715 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6718 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6719 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6720 `elmo-msgdb-insert-file-header'.
6722 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6724 Define obsolete variables with `elmo-define-obsolete-variable',
6726 * elmo-util.el (elmo-warning-buffer-name): New constant.
6727 (elmo-warning): New function.
6728 (elmo-obsolete-variable-alist): New variable.
6729 (elmo-obsolete-variable-show-warnings): New variable.
6730 (elmo-define-obsolete-variable): New function.
6731 (elmo-resque-obsolete-variable): Ditto.
6732 (elmo-resque-obsolete-variables): Ditto.
6734 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6736 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6739 * elmo-pop3.el, elmo-nntp.el: Use custom.
6741 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6743 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6744 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6746 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6748 * Luna-fy Kenichi OKADA's following changes.
6749 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6751 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6753 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6755 * elmo-util.el (elmo-display-progress): Prefer
6756 `progress-feedback-with-label' to `lprogress-display'.
6758 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6760 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6762 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6764 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6765 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6766 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6767 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6768 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6769 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6770 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6771 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6772 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6773 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6774 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6775 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6776 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6778 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6780 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6781 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6783 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6785 * elmo.el (elmo-folder-process-crosspost): New generic method.
6786 (elmo-folder-writable-p): Ditto.
6787 (elmo-folder-message-appendable-p): Eliminated.
6788 (elmo-generic-folder-append-msgdb): Rewrite.
6789 (elmo-newsgroups-hashtb): New internal variable.
6790 (elmo-crosspost-message-set): Eliminated.
6791 (elmo-crosspost-message-delete): Ditto.
6792 (elmo-setup-subscribed-newsgroups): New function.
6793 (elmo-crosspost-message-alist-modified): New internal variable.
6794 (elmo-crosspost-message-alist-load): New function (Renamed from
6795 `wl-crosspost-alist-load').
6796 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6797 `wl-crosspost-alist-save').
6799 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6801 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6803 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6804 elmo-newsgroups-hashtb).
6805 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6806 `elmo-nntp-folder-update-crosspost-message-alist'.
6807 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6808 `elmo-nntp-groups-hashtb'.
6809 (elmo-nntp-make-groups-hashtb): Eliminated.
6810 (elmo-nntp-parse-newsgroups): New function (Renamed from
6811 `wl-parse-newsgroups').
6812 (elmo-folder-creatable-p, elmo-folder-writable-p,
6813 elmo-folder-close-internal, elmo-folder-mark-as-read,
6814 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6816 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6818 * elmo-net.el (elmo-message-fetch): Check buffer size.
6820 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6822 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6824 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6825 before `close' command.
6827 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6828 `mark-alist' (All other related portions are changed).
6830 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6832 * elmo-util.el (elmo-create-hash-size): Eliminated.
6833 (elmo-make-hash) Make a hash with `one less than a power of two'
6836 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6837 (elmo-hash-maximum-size): Changed value.
6839 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6841 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6842 (elmo-mime-message-display-as-is): Ditto.
6844 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6846 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6847 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6849 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6851 * elmo-mark.el: New file.
6853 * elmo-internal.el: Rewrite (Almost empty).
6855 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6857 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6858 (mime-imap-entity-header-string): Ditto.
6859 (mmimap-entity-section): Rewrite.
6861 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6863 * elmo-nmz.el: New file.
6865 * elmo-pipe.el: Rewrite with luna.
6867 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6869 * elmo-archive.el: Rewrite with luna.
6871 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6872 (elmo-folder-list-importants-internal): Ditto.
6874 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6876 * elmo-archive.el (elmo-archive-version): Abolish.
6877 (toplevel) Removed `boso' comment.
6879 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6881 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6882 elmo-msgdb-add-msgs-to-seen-list-subr;
6883 Changed argument seen-marks to unread-marks.
6885 * elmo-nntp.el: Rewrite with luna.
6887 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6889 * elmo-filter.el: Rewrite with luna.
6891 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6893 * elmo-pop3.el: Rewrite with luna.
6895 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6897 * elmo-multi.el: Rewrite with luna.
6899 * elmo-vars.el (elmo-use-killed-list): Abolish.
6900 All other related portions are changed.
6901 (elmo-filename-replace-string-alist): Renamed from
6902 elmo-msgid-replace-string-alist.
6904 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6906 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6908 * elmo-map.el: New file.
6909 * elmo-maildir.el: Rewrite with luna.
6911 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6913 * elmo.el: Changed meaning of `elmo-folder-commit'.
6914 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6916 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6918 * elmo.el (elmo-folder-append-buffer): New function.
6919 (Renamed from `elmo-append-msg')
6921 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6923 * elmo-mime.el: New file.
6925 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6927 * elmo-cache.el: Rewrite.
6929 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6931 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6933 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6935 * elmo-vars.el (elmo): New group.
6936 (elmo-strict-diff-folder-regexp): New variable.
6938 * elmo-util.el (elmo-call-func): Abolish.
6939 (elmo-folder-get-type): Ditto.
6940 (elmo-*-get-spec): Ditto.
6941 (elmo-*-spec-*): Ditto.
6942 (elmo-imap4-identical-name-space-p): Ditto.
6943 (elmo-folder-identical-system-p): Ditto.
6944 (elmo-folder-direct-copy-alist): Ditto.
6945 (elmo-folder-direct-copy-p): Ditto.
6947 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6948 (elmo-folder-initialize): Define.
6949 (elmo-folder-get-primitive-list): Ditto.
6951 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6952 (elmo-folder-initialize): Define.
6953 Renamed `elmo-network-session-host-internal' to
6954 `elmo-network-session-server-internal'.
6956 * elmo-multi.el (elmo-multi-folder): New luna class.
6957 (elmo-folder-initialize): Define.
6958 (elmo-folder-get-primitive-list): Ditto.
6959 (elmo-folder-contains-type): Ditto.
6960 (elmo-message-use-cache-p): Ditto.
6962 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6963 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6965 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6966 (elmo-folder-initialize): Define.
6968 * elmo-filter.el (elmo-filter-folder): New luna class.
6969 (elmo-folder-initialize): Define.
6970 (elmo-folder-get-primitive-list): Ditto.
6971 (elmo-folder-contains-type): Ditto.
6973 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6975 * elmo-imap4.el: Rewrite with luna.
6977 * mmimap.el: New file.
6979 * mmelmo.el, mmelmo-imap4.el: Removed.
6981 * elmo-net.el: Ditto.
6983 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6984 (elmo-folder-initialize): Define.
6986 * elmo-archive.el (elmo-archive-folder): New luna class.
6987 (elmo-folder-initialize): Define.
6989 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6990 `elmo-folder-msgdb-path'.
6991 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6994 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6996 * elmo.el: New file.
6998 * elmo2.el: Renamed to elmo.el.
7001 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7003 * elmo-cache.el (elmo-cache-expire-by-size): Count
7004 a disk usage for a cache file entry in KB even when
7005 its kind is a directory.
7007 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7009 * elmo-version.el (elmo-version): Up to 2.5.7.
7011 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7013 * elmo-version.el (elmo-version): Up to 2.5.6.
7015 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7017 * elmo-version.el (elmo-version): Up to 2.5.5.
7019 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7021 * elmo-imap4.el (elmo-network-authenticate-session):
7022 Fixed a logic for response checking.
7024 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7026 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7027 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7028 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7031 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7032 for `starttls-open-stream' and `starttls-negotiate'.
7034 * elmo-nntp.el: Remove autoload settings for
7035 `starttls-open-stream' and `starttls-negotiate'.
7037 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7038 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7039 `luna-define-class' with `eval-and-compile'.
7041 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7043 * elmo-util.el (elmo-read-search-condition-internal):
7044 Require an element of table for searching field.
7046 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7048 * elmo-version.el (elmo-version): Up to 2.5.4.
7050 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7052 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7054 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7056 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7058 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7060 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7063 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7065 * elmo-imap4.el (elmo-imap4-delete-folder):
7066 Send "close" before "delete" (Use commented out line).
7067 (elmo-imap4-rename-folder): Ditto.
7069 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7070 folder string itself.
7071 (elmo-dop-list-deleted): New function.
7072 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7075 * elmo-util.el (elmo-string-rassoc-all): New function.
7077 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7079 * elmo-version.el (elmo-version): Up to 2.5.3.
7081 * elmo-net.el (elmo-network-get-session): Changed logic for
7082 checking process status.
7084 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7086 Changed logic for checking process status.
7088 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7090 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7092 (elmo-network-setup-session): Set UIDL hash size according to
7093 the length of list response.
7094 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7095 according to the length of list response;
7096 Return the length of list response.
7097 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7099 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7101 * elmo-imap4.el (toplevel): Require 'ssl.
7102 Add autoload 'starttls.
7103 * elmo-pop3.el (toplevel): Ditto.
7104 * elmo-nntp.el (toplevel): Ditto.
7106 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7108 * elmo-imap4.el (toplevel): defun at compile time.
7109 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7110 sasl-next-step, sasl-step-data, sasl-step-set-data.
7111 * elmo-pop3.el (toplevel): Ditto.
7113 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7115 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7117 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7119 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7121 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7122 and `elmo-pop-auth-apop'.
7124 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7126 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7128 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7130 * elmo-pop3.el (elmo-network-authenticate-session): Split
7131 encoded response value.
7133 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7135 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7136 `elmo-pop3-force-login'.
7137 Redefine `sasl-mechanisms'.
7138 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7140 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7142 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7143 Delete `elmo-imap4-authenticator-alist'.
7144 (elmo-imap4-auth-cram-md5): Delete.
7145 (elmo-imap4-auth-digest-md5): Delete.
7147 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7149 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7150 (elmo-pop3-auth-scram-md5): Ditto.
7151 (elmo-pop3-auth-cram-md5): Ditto.
7153 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7155 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7156 Delete `elmo-pop3-authenticator-alist'.
7158 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7160 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7162 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7164 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7166 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7168 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7170 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7171 Fixed problem when `elmo-pop3-use-uidl' is nil.
7172 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7174 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7176 * elmo-version.el (elmo-version): Up to 2.5.2.
7178 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7180 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7182 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7183 (elmo-pop3-msgdb-create-as-numlist): Use it.
7185 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7186 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7188 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7189 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7191 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7193 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7194 when elmo-mark-as-read is called with second argument nil.
7196 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7198 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7199 Moved to elmo-util.el.
7201 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7202 Moved from elmo-pipe.el
7204 * elmo-archive.el (elmo-archive-call-process): Enclose with
7207 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7208 "RFC822" (because RFC822.PEEK is obsolete).
7209 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7211 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7213 * elmo-archive.el (elmo-archive-call-process): Don't check for
7214 the exit status when Nemacs is running.
7216 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7218 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7221 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7222 (elmo-pop3-get-spec): Set default of auth to 'user.
7224 * elmo-imap4.el (elmo-imap4-session-check):
7225 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7226 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7227 (elmo-imap4-auth-login): New function; Revival.
7228 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7229 `elmo-imap4-auth-login'.
7231 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7233 * elmo2.el (toplevel): Move `product-provide' declare.
7234 * mmelmo.el (toplevel): Ditto.
7236 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7238 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7240 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7242 * elmo-util.el (elmo-folder-get-store-type): New function.
7243 (elmo-folder-direct-copy-p): Use it.
7245 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7247 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7248 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7249 and result of `elmo-imap4-use-flag-p'.
7250 (elmo-imap4-fetch-callback-1): Set mark according to
7251 the result of `elmo-imap4-use-flag-p'.
7253 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7255 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7256 (elmo-generic-list-folder-unread): Ditto.
7257 (elmo-folder-get-info): Ditto.
7258 (elmo-folder-set-info-max-by-numdb): Ditto.
7259 (elmo-folder-get-info-max): Ditto.
7260 (elmo-folder-get-info-length): Ditto.
7261 (elmo-folder-get-info-unread): Ditto.
7262 (elmo-folder-info-make-hashtb): Ditto.
7264 * elmo2.el: Removed above functions.
7266 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7268 * elmo-imap4.el (toplevel): Require 'ssl.
7269 Add autoload 'starttls.
7270 * elmo-pop3.el (toplevel): Ditto.
7271 * elmo-nntp.el (toplevel): Ditto.
7273 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7275 * elmo-imap4.el (toplevel): defun at compile time.
7276 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7277 sasl-next-step, sasl-step-data, sasl-step-set-data.
7278 * elmo-pop3.el (toplevel): Ditto.
7280 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7282 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7284 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7286 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7288 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7289 and `elmo-pop-auth-apop'.
7291 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7293 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7295 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7297 * elmo-pop3.el (elmo-network-authenticate-session): Split
7298 encoded response value.
7300 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7302 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7303 `elmo-pop3-force-login'.
7304 Redefine `sasl-mechanisms'.
7305 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7307 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7309 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7310 Delete `elmo-imap4-authenticator-alist'.
7311 (elmo-imap4-auth-cram-md5): Delete.
7312 (elmo-imap4-auth-digest-md5): Delete.
7314 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7316 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7317 (elmo-pop3-auth-scram-md5): Ditto.
7318 (elmo-pop3-auth-cram-md5): Ditto.
7320 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7322 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7323 Delete `elmo-pop3-authenticator-alist'.
7325 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7327 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7329 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7332 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7334 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7336 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7338 * elmo-nntp.el (elmo-nntp-get-folders-info):
7339 Fixed problem when '\' character is contained in user-id.
7340 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7343 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7345 * elmo-imap4.el (elmo-imap4-delete-folder):
7346 Send "close" before "delete" (Use commented out line).
7347 (elmo-imap4-rename-folder): Ditto.
7349 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7350 folder string itself.
7351 (elmo-dop-list-deleted): New function.
7352 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7355 * elmo-util.el (elmo-string-rassoc-all): New function.
7357 * elmo-version.el (elmo-version): Up to 2.5.1.
7359 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7361 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7363 * elmo-internal.el (elmo-internal-search): Fix last change.
7365 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7367 * elmo-internal.el (elmo-internal-search): Rewrite.
7368 (Fixed problem which is pointed out by Akihiro MOTOKI
7369 <motoki@da.jp.nec.com>)
7371 * elmo-version.el (elmo-version): Up to 2.5.0.
7373 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7375 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7377 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7379 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7380 non-nil, make hierarchy.
7382 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7384 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7385 `elmo-pop3-use-uidl' must be bound to nil.
7386 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7388 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7390 * elmo-util.el (elmo-copy-file): Don't cause an error after
7391 `add-name-to-file' failed.
7393 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7394 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7396 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7398 * elmo-version.el (elmo-version): Up to 2.3.93.
7400 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7402 * elmo-util.el (elmo-flatten): New function.
7404 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7406 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7408 * elmo-cache.el (toplevel): Ditto.
7409 * elmo-database.el (toplevel): Ditto.
7410 * elmo-date.el (toplevel): Ditto.
7411 * elmo-dop.el (toplevel): Ditto.
7412 * elmo-filter.el (toplevel): Ditto.
7413 * elmo-imap4.el (toplevel): Ditto.
7414 * elmo-internal.el (toplevel): Ditto.
7415 * elmo-localdir.el (toplevel): Ditto.
7416 * elmo-localnews.el (toplevel): Ditto.
7417 * elmo-maildir.el (toplevel): Ditto.
7418 * elmo-msgdb.el (toplevel): Ditto.
7419 * elmo-multi.el (toplevel): Ditto.
7420 * elmo-net.el (toplevel): Ditto.
7421 * elmo-nntp.el (toplevel): Ditto.
7422 * elmo-pipe.el (toplevel): Ditto.
7423 * elmo-pop3.el (toplevel): Ditto.
7424 * elmo-util.el (toplevel): Ditto.
7425 * elmo-vars.el (toplevel): Ditto.
7426 * elmo2.el (toplevel): Ditto.
7427 * mmelmo-imap4.el (toplevel): Ditto.
7428 * mmelmo.el (toplevel): Ditto.
7430 * elmo-version.el (elmo-version): Move to top.
7432 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7433 * elmo-imap4.el (toplevel): Ditto.
7434 * elmo-localdir.el (toplevel): Ditto.
7435 * elmo-msgdb.el (toplevel): Ditto.
7436 * elmo-nntp.el (toplevel): Ditto.
7437 * elmo-pop3.el (toplevel): Ditto.
7438 * elmo-version.el (toplevel): Ditto.
7440 * elmo-localnews.el (toplevel): Added Keyword header.
7442 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7444 * elmo-version.el (product-version-as-string): Defined using
7448 * elmo-localdir.el (toplevel): Updated copyright notice.
7449 * elmo-version.el (toplevel): Ditto.
7450 * elmo-msgdb.el (toplevel): Ditto.
7451 * elmo-imap4.el (toplevel): Ditto.
7452 * elmo-nntp.el (toplevel): Ditto.
7453 * elmo-pop3.el (toplevel): Ditto.
7455 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7457 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7460 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7461 parameter value (It sometimes contains raw kanji).
7463 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7465 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7466 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7468 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7470 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7472 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7474 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7475 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7477 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7479 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7480 value if selecting folder succceeded.
7481 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7483 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7485 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7488 * elmo-util.el (elmo-string-matched-member): New function.
7490 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7492 * elmo-util.el (elmo-unintern): New macro.
7493 (elmo-number-set-member): Fixed docstring.
7495 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7498 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7500 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7501 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7503 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7505 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7508 Return non-nil if selecting folder succeeded.
7509 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7511 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7513 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7514 `file-name-completion' returns t.
7515 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7516 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7517 directory if it does not exist.
7518 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7521 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7523 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7524 enclosure (It's harmful in unplugged status).
7526 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7528 * mmelmo-1.el: Removed.
7530 * mmelmo-2.el: Ditto.
7532 * mmelmo-imap4-1.el: Ditto.
7534 * mmelmo-imap4-2.el: Ditto.
7536 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7538 * mmelmo.el: Merged mmelmo-2.el.
7540 * elmo-version.el (elmo-version): Up to 2.3.92.
7542 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7544 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7545 elmo-update-number): Remove last period in "...done." message.
7546 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7548 * elmo-cache.el (elmo-cache-expire-by-size,
7549 elmo-cache-get-sorted-cache-file-list,
7550 elmo-cache-msgdb-create-as-numlist): Ditto.
7551 * elmo-dop.el (elmo-dop-save-pending-messages,
7552 (elmo-dop-flush-pending-append-operations): Ditto.
7553 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7554 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7555 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7556 (elmo-localdir-pack-number): Ditto.
7557 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7558 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7559 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7560 mime-write-entity-content): Ditto.
7561 * pldap.el (ldap-search-basic): Ditto.
7563 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7565 * elmo-version.el (elmo-version): Up to 2.3.91.
7567 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7568 Only when filter is 'last'.
7570 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7571 (elmo-condition-parse-search-value): Use it.
7572 (elmo-read-search-condition-internal): Quote value only when
7575 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7577 * elmo2.el (elmo-generic-folder-diff): Fix.
7579 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7581 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7582 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7583 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7584 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7585 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7586 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7588 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7590 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7593 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7595 * elmo-version.el (elmo-version): Up to 2.3.90.
7597 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7598 (elmo-imap4-list-folder-important): Ditto.
7600 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7602 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7604 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7606 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7608 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7610 * elmo-nntp.el (elmo-network-initialize-session):
7611 Add starttls negotiation.
7613 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7615 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7617 (elmo-network-setup-session): Define.
7618 Call `elmo-nntp-send-mode-reader' when session opened.
7620 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7622 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7624 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7626 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7627 an invalid SPACE character ahead of `SEARCH' command. Move
7628 a valid SPACE character following `SEARCH' from conditional
7629 `format' arguments to control-strings.
7631 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7633 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7636 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7638 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7640 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7641 `w32-get-true-file-link-count' as t.
7643 * elmo-imap4.el (elmo-imap4-read): Abolished.
7644 (Renamed to `elmo-read' and moved to elmo-util.el)
7645 All other related portions are changed.
7647 * elmo-util.el (elmo-read): New function.
7648 (elmo-condition-parse-search-value): Use it.
7650 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7652 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7654 * elmo-nntp.el (elmo-nntp-session): Define.
7655 (elmo-nntp-setting): Abolished.
7656 All other related portions are changed.
7657 (elmo-nntp-get-server-command): Changed argument.
7658 (elmo-nntp-set-server-command): Ditto.
7659 (elmo-nntp-xover-p): Ditto.
7660 (elmo-nntp-set-xover): Ditto.
7661 (elmo-nntp-listgroup-p): Ditto.
7662 (elmo-nntp-set-listgroup): Ditto.
7663 (elmo-nntp-list-active-p): Ditto.
7664 (elmo-nntp-set-list-active): Ditto.
7665 (elmo-nntp-xhdr-p): Ditto.
7666 (elmo-nntp-set-xhdr): Ditto.
7667 (elmo-nntp-flush-connection): Abolished.
7668 (elmo-nntp-get-connection): Abolished.
7669 (elmo-nntp-get-session): New function.
7670 (elmo-network-initialize-session): Defined.
7671 (elmo-network-authenticate-session): Ditto.
7672 (elmo-nntp-send-mode-reader): Changed argument.
7673 (elmo-nntp-send-command): Changed argument.
7674 All other related portions are changed.
7675 (elmo-nntp-read-response): Ditto.
7676 (elmo-nntp-read-raw-response): Ditto.
7677 (elmo-nntp-read-contents): Ditto.
7678 (elmo-nntp-read-body): Ditto.
7679 (elmo-nntp-goto-folder): Abolished.
7680 (elmo-nntp-select-group): New function.
7681 All other related portions are changed.
7682 (This function substitutes `elmo-nntp-goto-folder')
7683 (elmo-nntp-msgdb-create-by-header): Rewrite.
7684 (elmo-nntp-get-overview): Eliminated.
7685 (elmo-nntp-get-message): Ditto.
7686 (elmo-nntp-open-connection) Abolished.
7687 (elmo-nntp-read-msg): Rewrite.
7688 (elmo-nntp-post): Ditto.
7689 (elmo-nntp-send-data): Abolished.
7690 (elmo-nntp-send-buffer): New function.
7691 (elmo-nntp-send-data-line): Define as inline function.
7692 (elmo-nntp-get-folders-info-prepare): Use session as key.
7693 (elmo-nntp-groups-read-response): Changed argument.
7694 (elmo-nntp-retrieve-headers): Ditto.
7695 (elmo-nntp-msgdb-create-message): Ditto.
7697 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7698 when searching by 'since' or 'before'.
7700 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7702 * elmo-version.el (toplevel): Use product-version-as-string for set
7703 verstion-string, if defined.
7705 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7707 * elmo-util.el: Doc fixes.
7709 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7711 * elmo-archive.el (toplevel): Use product-provide.
7712 * elmo-cache.el (toplevel): Ditto.
7713 * elmo-database.el (toplevel): Ditto.
7714 * elmo-date.el (toplevel): Ditto.
7715 * elmo-dop.el (toplevel): Ditto.
7716 * elmo-filter.el (toplevel): Ditto.
7717 * elmo-imap4.el (toplevel): Ditto.
7718 * elmo-internal.el (toplevel): Ditto.
7719 * elmo-localdir.el (toplevel): Ditto.
7720 * elmo-localnews.el (toplevel): Ditto.
7721 * elmo-maildir.el (toplevel): Ditto.
7722 * elmo-msgdb.el (toplevel): Ditto.
7723 * elmo-multi.el (toplevel): Ditto.
7724 * elmo-net.el (toplevel): Ditto.
7725 * elmo-nntp.el (toplevel): Ditto.
7726 * elmo-pipe.el (toplevel): Ditto.
7727 * elmo-pop3.el (toplevel): Ditto.
7728 * elmo-util.el (toplevel): Ditto.
7729 * elmo-vars.el (toplevel): Ditto.
7730 * elmo2.el (toplevel): Ditto.
7731 * mmelmo-1.el (toplevel): Ditto.
7732 * mmelmo-2.el (toplevel): Ditto.
7733 * mmelmo-imap4-1.el (toplevel): Ditto.
7734 * mmelmo-imap4-2.el (toplevel): Ditto.
7735 * mmelmo-imap4.el (toplevel): Ditto.
7736 * mmelmo.el (toplevel): Ditto.
7738 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7740 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7741 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7743 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7745 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7747 (elmo-multi-split-number-alist): Ditto.
7749 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7751 * elmo-version.el: New file. Use product.el.
7752 * elmo2.el: Add (require 'elmo-version).
7753 * elmo-vars.el (elmo-appname, elmo-version): Move to
7756 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7758 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7759 `elmo-msgdb-expand-path'.
7760 (elmo-msgdb-load): Ditto.
7761 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7762 (elmo-generic-list-folder-unread): Rewrite.
7763 (elmo-generic-list-folder-important): Changed argument.
7764 (elmo-list-folder-unread): Ditto.
7765 (elmo-list-folder-important): Ditto.
7766 (elmo-folder-diff): Rewrite.
7767 (elmo-generic-folder-diff): New function.
7768 (elmo-multi-get-number-alist-list): Abolished
7769 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7770 (elmo-multi-folder-diff): Moved to elmo-multi.el
7771 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7773 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7774 `elmo-msgdb-expand-path'.
7775 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7776 (elmo-pop3-read-msg): Ditto.
7777 (elmo-pop3-delete-msgs): Ditto.
7778 (elmo-pop3-folder-diff): New alias.
7780 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7781 `elmo-msgdb-expand-path'.
7782 (elmo-pipe-list-folder-unread): Changed arguments.
7783 (elmo-pipe-list-folder-important): Ditto.
7784 (elmo-pipe-folder-diff): New alias.
7786 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7787 `elmo-msgdb-expand-path'.
7788 (elmo-nntp-max-of-folder): Ditto.
7789 (elmo-nntp-msgdb-create): Ditto.
7790 (elmo-nntp-delete-msgs): Ditto.
7791 (elmo-nntp-folder-diff): New alias.
7793 * elmo-multi.el (elmo-multi-folder-diff): New function.
7794 (elmo-multi-split-mark-alist): Ditto.
7795 (elmo-multi-split-number-alist): Ditto.
7796 (elmo-multi-mark-alist-list): Abolished (Renamed to
7797 elmo-multi-split-mark-alist).
7798 (elmo-multi-list-folder-unread): Rewrite.
7799 (elmo-multi-list-folder-important): Ditto.
7800 (elmo-multi-list-folder): Set `spec' as 1st argument for
7801 `elmo-msgdb-expand-path'.
7802 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7803 instead of `elmo-multi-get-number-alist-list'.
7805 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7806 If 1st argument is not string, treat as spec.
7807 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7808 `elmo-msgdb-expand-path'.
7809 (elmo-msgdb-flist-load): Ditto.
7810 (elmo-msgdb-flist-save): Ditto.
7811 (elmo-msgdb-delete-path): Ditto.
7812 (elmo-msgdb-rename-path): Ditto.
7814 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7815 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7816 (elmo-maildir-delete-mark-msgs): Ditto.
7817 (elmo-maildir-msgdb-create): Ditto.
7818 (elmo-maildir-read-msg): Ditto.
7819 (elmo-maildir-delete-msgs): Ditto.
7820 (elmo-maildir-list-folder-subr): Ditto.
7821 (elmo-maildir-search): Ditto.
7822 (elmo-maildir-get-msg-filename): Ditto.
7823 (elmo-maildir-pack-number): Ditto.
7824 (elmo-maildir-folder-diff): New alias.
7826 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7828 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7829 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7830 (elmo-localdir-folder-diff): New alias.
7832 * elmo-internal.el (elmo-internal-list-folder-subr):
7833 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7834 (elmo-internal-list-folder-by-location): Ditto.
7835 (elmo-internal-msgdb-create): Ditto.
7836 (elmo-internal-delete-msgs): Ditto.
7837 (elmo-internal-read-msg): Ditto.
7838 (elmo-internal-folder-diff): New alias.
7840 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7841 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7842 `elmo-msgdb-expand-path'.
7843 (elmo-imap4-list-folder-unread): Changed arguments.
7844 (elmo-imap4-list-folder-important): Ditto.
7846 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7847 (elmo-filter-list-folder-important): Ditto.
7848 (elmo-filter-folder-diff): New function.
7850 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7852 * elmo-cache.el (elmo-cache-list-folder):
7853 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7854 (elmo-cache-copy-msgs): Ditto.
7855 (elmo-cache-folder-diff): New alias.
7857 * elmo-archive.el (elmo-archive-list-folder-subr):
7858 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7859 (elmo-archive-get-archive-name): Ditto.
7860 (elmo-archive-create-file): Ditto.
7861 (elmo-archive-append-msg): Ditto.
7862 (elmo-archive-copy-msgs): Ditto.
7863 (elmo-archive-copy-msgs-froms): Ditto.
7864 (elmo-archive-get-msg-filename): Ditto.
7865 (elmo-archive-folder-diff): New alias.
7867 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7869 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7870 (elmo-pop3-stream-type-alist): New variable.
7871 (elmo-nntp-stream-type-alist): New variable.
7873 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7874 (elmo-kill-buffer): Ditto.
7875 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7876 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7877 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7878 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7879 (elmo-imap4-get-spec): Take into account
7880 `elmo-imap4-stream-type-alist'.
7882 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7884 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7885 (elmo-nntp-list-folders-get-cache): Ditto.
7887 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7889 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7890 character before 'uid'.
7892 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7894 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7896 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7898 * elmo-util.el (elmo-number-set-member): New function.
7899 (elmo-number-set-append-list): Ditto.
7900 (elmo-number-set-append): Ditto.
7902 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7903 Use `elmo-number-set-member'.
7904 (elmo-living-messages): Ditto.
7905 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7906 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7908 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7909 (elmo-imap4-add-to-cont-list): Abolished.
7910 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7911 instead of elmo-imap4-add-to-cont-list.
7913 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7914 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7916 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7918 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7920 * elmo-util.el (elmo-condition-parse-search-value):
7923 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7925 * elmo-util.el (elmo-condition-find-key-internal): New function.
7926 (elmo-condition-find-key): Ditto.
7928 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7929 (elmo-msgdb-search-internal): Ditto.
7930 (elmo-msgdb-search): Ditto.
7932 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7934 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7935 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7937 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7938 (elmo-nntp-search-primitive): Fixed problem when condition is
7941 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7943 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7944 (elmo-nntp-xhdr-p): New macro.
7945 (elmo-nntp-set-xhdr): Ditto.
7946 (elmo-nntp-parse-xhdr-response): New function.
7947 (elmo-nntp-retrieve-field): Ditto.
7948 (elmo-nntp-search-primitive): Ditto.
7949 (elmo-nntp-search): Implemented.
7951 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7953 * elmo-archive.el (elmo-archive-search): Set all number list to
7954 `elmo-archive-field-condition-match'
7956 * elmo-localdir.el (elmo-localdir-search): Likewise.
7958 * elmo-maildir.el (elmo-maildir-search): Likewise.
7960 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7962 * elmo-msgdb.el (elmo-living-messages): New function.
7963 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7964 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7965 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7966 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7967 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7968 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7969 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7970 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7971 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7972 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7973 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7975 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7977 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7979 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7981 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7983 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7984 arguments for `SEARCH' command.
7985 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7986 All other related portions are changed.
7988 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7990 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7991 (elmo-list-folder-unread): Rewrite.
7992 (elmo-list-folder-important): Ditto.
7994 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7995 (elmo-condition-parse-error): New inline function.
7996 (elmo-read-search-condition): New function.
7997 (elmo-read-search-condition-internal): Ditto.
7998 (elmo-parse-search-condition): Rewrite.
7999 (elmo-condition-parse): New function.
8000 (elmo-condition-parse-or-expr): Ditto.
8001 (elmo-condition-parse-and-expr): Ditto.
8002 (elmo-condition-parse-primitive): Ditto.
8003 (elmo-condition-parse-search-value): Ditto.
8004 (elmo-buffer-field-primitive-condition-match): Ditto.
8005 (elmo-buffer-field-condition-match): Rewrite.
8006 (elmo-file-field-condition-match): Ditto.
8008 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8009 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8011 * elmo-internal.el (elmo-internal-search): Set `number' and
8012 `number-list' argument of `elmo-file-field-condition-match'.
8014 * elmo-maildir.el (elmo-maildir-search): Ditto.
8016 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8017 `msgdb' as argument instead of `mark-alist'.
8018 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8021 * elmo-multi.el: Likewise.
8023 * elmo-pipe.el: Likewise.
8025 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8026 (elmo-imap4-search-internal): Rewrite.
8027 (elmo-imap4-search): Ditto.
8029 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8030 (elmo-filter-list-folder-unread): Ditto.
8031 (elmo-filter-list-folder-important): Ditto.
8032 (elmo-filter-search): Rewrite.
8034 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8035 `number-list' argument of `elmo-file-field-condition-match'.
8036 (elmo-cache-search): Ditto.
8038 * elmo-localdir.el: Likewise.
8040 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8041 number-list and pass it to `elmo-buffer-field-condition-match'.
8042 (elmo-archive-field-condition-match): Pass `number-list' to
8043 `elmo-archive-field-condition-match'
8045 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8047 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8050 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8051 (elmo-folder-diff-async-callback-data): Ditto.
8052 (elmo-folder-diff-async): New function.
8054 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8055 (elmo-network-session-cache-key): Use it as a prefix of the session
8057 (elmo-network-open-session): Ditto.
8059 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8060 (elmo-imap4-status-callback-data): Ditto.
8061 (elmo-imap4-server-diff-async-callback): New variable.
8062 (elmo-imap4-server-diff-async-callback-data): Ditto.
8063 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8064 `elmo-imap4-status-callback-data'.
8065 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8066 `elmo-imap4-status-callback-data' as nil.
8067 (elmo-imap4-server-diff): Ditto.
8068 (elmo-imap4-server-diff-async-callback-1): New function.
8069 (elmo-imap4-server-diff-async): Ditto.
8070 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8072 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8074 * elmo-util.el (elmo-list-delete): Doc fix.
8075 (elmo-delete-lists): Abolish.
8076 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8077 instead of `elmo-delete-lists'.
8079 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8081 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8084 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8086 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8087 `elmo-imap4-literal-subr'.
8088 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8089 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8091 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8093 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8094 (elmo-archive-list-folder): Fix.
8095 (elmo-archive-max-of-folder): Fix.
8097 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8099 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8100 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8101 (elmo-localdir-append-msg): Ditto.
8102 (elmo-localdir-list-folder): Fix for `nonsort'.
8103 (elmo-localdir-list-folder-subr): Fix for `killed'.
8104 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8105 (elmo-maildir-list-folder-subr): Ditto.
8106 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8107 (elmo-archive-list-folder-subr): Ditto.
8108 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8109 (elmo-internal-list-folder-subr): Ditto.
8111 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8113 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8115 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8117 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8119 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8121 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8122 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8124 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8126 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8127 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8129 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8131 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8133 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8134 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8135 before STORE command.
8137 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8139 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8141 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8142 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8144 (elmo-imap4-list-folders): Removed unused local variable.
8145 (elmo-network-initialize-session): Ditto.
8146 (elmo-imap4-delete-msg-by-id): Ditto.
8147 (elmo-imap4-parse-fetch): Ditto.
8148 (elmo-imap4-copy-msgs): Ditto.
8149 Use `dst-spec' instead of `dst-folder'.
8150 (elmo-network-authenticate-session): Check authenticate type `plain'.
8152 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8154 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8156 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8157 `elmo-imap4-response-value'.
8158 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8160 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8162 * elmo-imap4.el (elmo-imap4-send-command):
8163 Cause elmo-imap4-bye-error when current response is BYE.
8164 (elmo-imap4-arrival-filter): Changed greeting response value.
8166 * elmo2.el (elmo-imap4-bye-error): Define.
8168 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8169 (elmo-imap4-server-diff): Ditto.
8170 (elmo-imap4-response-bye-p): New macro.
8171 (elmo-imap4-response-error-text): Get text from BYE response.
8172 (elmo-imap4-read-response): Return if BYE response.
8173 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8174 (elmo-imap4-folder-exists-p): Ditto.
8175 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8176 (elmo-imap4-parse-bye): New function.
8177 (elmo-imap4-parse-response): Remove needless let.
8178 Call `elmo-imap4-parse-bye'.
8180 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8182 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8183 the mailbox does not exist.
8184 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8186 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8188 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8190 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8192 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8194 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8195 (elmo-network-initialize-session-buffer): Defined.
8197 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8199 (mmelmo-imap4-get-mime-entity): Rewrite.
8201 * elmo2.el (elmo-error): Capitalize error message.
8203 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8204 (elmo-network-session-buffer): New macro.
8205 (elmo-network-open-session): Use it.
8207 * elmo-imap4.el: Rewrite.
8209 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8211 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8213 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8215 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8216 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8217 (elmo-imap4-create-msgdb-from-overview-string): Use
8218 `elmo-msgdb-create-overview-from-buffer'.
8220 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8222 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8223 (elmo-imap4-default-hierarchy-delimiter): New variable.
8224 (elmo-imap4-list-folders): Use it.
8226 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8228 * elmo-net.el (elmo-network-open-session): Add user and
8229 stream-type for process-buffer name.
8231 * elmo-pop3.el (elmo-network-initialize-session): Call
8232 buffer-disable-undo.
8234 * elmo-imap4.el (elmo-network-initialize-session):
8235 Set current-buffer as an argument for `buffer-disable-undo'.
8237 * elmo-pop3.el (elmo-network-close-session): Don't use
8240 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8241 Set default as 'user.
8243 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8245 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8246 and `elmo-imap4-flush-connection'.
8248 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8249 (elmo-pop3-get-spec): Assume auth as symbol.
8250 (elmo-open-network-stream): Moved to `elmo-net'.
8252 * elmo-pop3.el (toplevel): Require 'elmo-net.
8253 Define `sasl-cram-md5' to silence byte compilier.
8254 (elmo-pop3-connection-cache) Abolished.
8255 (elmo-pop3-authenticator-alist) New variable.
8256 (elmo-pop3-session): Define.
8257 (elmo-pop3-connection-get-process): Abolished.
8258 (elmo-pop3-connection-get-buffer): Ditto.
8259 (elmo-pop3-close-connection): Ditto.
8260 (elmo-pop3-flush-connection): Ditto.
8261 (elmo-pop3-get-connection): Ditto.
8262 (elmo-pop3-get-session): New function.
8263 (Replacement for `elmo-pop3-get-connection').
8264 All other related modules are changed.
8265 (elmo-network-close-session): Define.
8266 (elmo-pop3-send-command): Abolished argument `buffer'.
8267 All other related modules are changed.
8268 (elmo-pop3-read-response): Likewise.
8269 (elmo-pop3-open-connection): Abolished.
8270 (elmo-pop3-auth-user): New function.
8271 (elmo-pop3-auth-apop): Ditto.
8272 (elmo-pop3-auth-cram-md5): Ditto.
8273 (elmo-pop3-auth-scram-md5): Ditto.
8274 (elmo-pop3-auth-digest-md5): Ditto.
8275 (elmo-network-initialize-session): Define.
8276 (elmo-network-authenticate-session): Ditto.
8277 (elmo-network-setup-session): Ditto.
8279 * elmo-imap4.el (toplevel): Require 'elmo-net.
8280 (elmo-imap4-session): Define.
8281 (elmo-imap4-connection-cache): Abolished.
8282 (elmo-imap4-password-key): Ditto.
8283 (elmo-imap4-flush-connection): Ditto.
8284 (elmo-imap4-get-connection): Ditto.
8285 All other related modules are changed.
8286 (elmo-imap4-get-session): New function
8287 (Replacement for `elmo-imap4-get-connection').
8288 (elmo-imap4-read-response): Abolished argument `buffer'.
8289 All other related modules are changed.
8290 (elmo-imap4-send-command): Likewise.
8291 (elmo-imap4-select-folder): Abolished.
8292 All other related modules are changed.
8293 (elmo-imap4-select-mailbox): New function.
8294 (Replacement for `elmo-imap4-select-folder').
8295 (elmo-imap4-auth-login): Simplify.
8296 (Assume current buffer as process buffer)
8297 (elmo-imap4-auth-cram-md5): Ditto.
8298 (elmo-imap4-auth-digest-md5): Ditto.
8299 (elmo-imap4-login): Ditto.
8300 (elmo-imap4-open-connection): Abolished.
8301 (elmo-imap4-open-connection-1): Abolished.
8302 (elmo-network-initialize-sessoin): Define.
8303 (elmo-network-authenticate-session): Ditto.
8304 (elmo-network-setup-session): Ditto.
8306 * elmo-net.el: New module.
8308 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8310 * elmo-util.el (elmo-define-error): New function.
8312 * elmo2.el (elmo-error): Define.
8313 (elmo-open-error): Define.
8314 (elmo-authenticate-error): Define.
8316 * elmo-imap4.el (elmo-imap4-error): Abolish.
8317 (elmo-imap4-error-type): Abolish.
8318 (elmo-imap4-error-process): Abolish.
8319 (elmo-imap4-error-message): Abolish
8320 (elmo-imap4-list-folders): Don't quote lambda.
8321 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8322 (elmo-imap4-parse-namespace): Ditto.
8323 (elmo-imap4-open-connection): Rewrite.
8324 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8325 (elmo-imap4-get-connection): Abolish local variable `result'.
8327 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8329 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8330 wrong-type-argument error when auth is nil.
8332 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8334 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8335 (elmo-default-nntp-stream-type): Ditto.
8336 (elmo-default-pop3-stream-type): Ditto.
8337 (elmo-network-stream-type-alist): Ditto.
8338 (elmo-default-imap4-ssl): Abolished.
8339 (elmo-default-nntp-ssl): Ditto.
8340 (elmo-default-pop3-ssl): Ditto.
8342 * elmo-util.el: (toplevel): Removed needless requires.
8343 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8344 (elmo-open-network-stream): Open network stream according to
8345 the value of `elmo-network-stream-type-alist'.
8346 (elmo-get-network-stream-type): New function.
8347 (elmo-network-stream-type-spec-string): New macro.
8348 (elmo-network-stream-type-symbol): Ditto.
8349 (elmo-network-stream-type-function): Ditto.
8351 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8352 network-stream-type. All other related portions are changed.
8353 (elmo-pop3-open-connection): Ditto.
8355 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8356 network-stream-type. All other related portions are changed.
8358 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8359 network-stream-type.All other related portions are changed.
8360 (elmo-imap4-error): New macro.
8361 (elmo-imap4-error-type): Ditto.
8362 (elmo-imap4-error-process): Ditto.
8363 (elmo-imap4-error-message): Ditto.
8364 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8365 (elmo-imap4-auth-cram-md5): Ditto.
8366 (elmo-imap4-auth-digest-md5): Ditto.
8367 (elmo-imap4-login): Ditto.
8368 (elmo-imap4-open-connection): Remove password entry if authentication
8370 (elmo-imap4-user-at-host): Abolished.
8371 (elmo-imap4-password-key): New buffer local variable.
8372 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8373 using protocol, port, auth and stream-type.
8375 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8377 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8379 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8381 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8383 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8384 (elmo-imap4-authenticator-alist): New variable.
8385 (elmo-imap4-open-connection-1): Rename from
8386 elmo-imap4-open-connection.
8387 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8388 only wraps elmo-imap4-open-connection-1.
8389 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8391 (elmo-imap4-auth-login): New function.
8392 (elmo-imap4-auth-cram-md5): New function.
8393 (elmo-imap4-auth-digest-md5): New function.
8394 (elmo-imap4-login): New function.
8396 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8398 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8401 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8403 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8405 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8407 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8409 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8411 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8412 for server responses, quote `*' regardless of where it appears.
8414 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8416 * elmo-maildir.el (elmo-maildir-commit): New alias.
8418 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8420 * elmo-util.el (elmo-display-progress):
8421 Use `progress-feedback-with-label'.
8423 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8425 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8426 (elmo-imap4-non-atom-char-regex): Ditto.
8427 (elmo-imap4-non-text-char-regex): Ditto.
8428 (elmo-imap4-literal-threshold): Ditto.
8429 (elmo-imap4-atom-p): New function.
8430 (elmo-imap4-quotable-p): Ditto.
8431 (elmo-imap4-nil): Ditto.
8432 (elmo-imap4-atom): Ditto.
8433 (elmo-imap4-quoted): Ditto.
8434 (elmo-imap4-literal-subr): Ditto.
8435 (elmo-imap4-literal): Ditto.
8436 (elmo-imap4-buffer-literal): Ditto.
8437 (elmo-imap4-string-subr): Ditto.
8438 (elmo-imap4-string): Ditto.
8439 (elmo-imap4-buffer-string): Ditto.
8440 (elmo-imap4-astring-subr): Ditto.
8441 (elmo-imap4-astring): Ditto.
8442 (elmo-imap4-buffer-astring): Ditto.
8443 (elmo-imap4-nstring): Ditto.
8444 (elmo-imap4-buffer-nstring): Ditto.
8445 (elmo-imap4-mailbox): New alias.
8446 (elmo-imap4-field-body): Ditto.
8447 (elmo-imap4-userid): Ditto.
8448 (elmo-imap4-password): Ditto.
8449 (elmo-imap4-format-quoted): New function.
8450 (elmo-imap4-send-command): Rewritten. Accept a list of command
8451 arguments and handle "atom", "quoted" and "literal" string here.
8452 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8453 `elmo-imap4-send-command'.
8454 (elmo-imap4-folder-exists-p): Likewise.
8455 (elmo-imap4-create-folder): Likewise.
8456 (elmo-imap4-delete-folder): Likewise.
8457 (elmo-imap4-rename-folder): Likewise.
8458 (elmo-imap4-max-of-folder): Likewise.
8459 (elmo-imap4-check-validity): Likewise.
8460 (elmo-imap4-sync-validity): Likewise.
8461 (elmo-imap4-server-diff): Likewise.
8462 (elmo-imap4-select-folder): Likewise.
8463 (elmo-imap4-copy-msgs): Likewise.
8464 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8465 (elmo-imap4-mark-set-on-msgs): Likewise.
8466 (elmo-imap4-read-part): Likewise.
8467 (elmo-imap4-read-msg): Likewise.
8468 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8469 `elmo-imap4-password' for `elmo-imap4-send-command'.
8470 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8471 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8472 `elmo-imap4-buffer-literal'.
8473 (elmo-imap4-append-msg): Likewise.
8475 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8476 `delete' for removing dead connection from the connection cache.
8477 Move deletion of the process buffer after that.
8478 (elmo-imap4-list): Change `defsubst' to `defun'.
8479 (elmo-imap4-commit): Make error message verbose.
8480 (elmo-imap4-search): Ditto.
8481 (elmo-imap4-list): Ditto.
8482 (elmo-imap4-select-folder): Ditto.
8483 (elmo-imap4-copy-msgs): Ditto.
8484 (elmo-imap4-delete-msg-by-id): Ditto.
8485 (elmo-imap4-append-msg-by-id): Ditto.
8486 (elmo-imap4-append-msg): Ditto.
8488 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8490 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8491 when dired is used on XEmacs.
8493 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8495 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8496 instead of `append'.
8497 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8498 `elmo-plugged-p' directly.
8499 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8500 of `elmo-plugged-p' directly.
8502 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8503 Eliminate unused variable. Use `memq' for checking a process status.
8504 Use `cons' instead of `append' for updating the connection cache.
8505 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8506 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8508 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8510 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8511 `elmo-imap4-read-point' exactly.
8513 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8514 the local variable `folder' to `mailbox'.
8515 Rename the argument `fld' to `folder'.
8517 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8519 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8520 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8522 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8524 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8525 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8526 (elmo-pop3-uidl-number-hash): Ditto.
8527 (elmo-pop3-size-hash): Ditto.
8528 (elmo-pop3-uidl-done): Ditto.
8529 (elmo-pop3-list-done): Ditto.
8530 (elmo-pop3-connection-get-process): New defmacro.
8531 (elmo-pop3-connection-get-buffer): Ditto.
8532 (elmo-pop3-close-connection): Delete buffer and process.
8533 (elmo-pop3-flush-connection): Don't delete buffer and process.
8534 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8535 Setup UIDL and size hash.
8536 (elmo-pop3-send-command-no-erase): Deleted
8537 (elmo-pop3-send-command): Added optional argument `no-erase'.
8538 (elmo-pop3-parse-uidl-response): New function.
8539 (elmo-pop3-parse-list-response): Set size hash.
8540 (elmo-pop3-list-location): New function.
8541 (elmo-pop3-list-by-uidl-subr): Ditto.
8542 (elmo-pop3-list-by-list): Ditto.
8543 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8544 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8545 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8546 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8547 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8549 (elmo-pop3-uidl-to-number): New function.
8550 (elmo-pop3-number-to-uidl): Ditto.
8551 (elmo-pop3-number-to-size): Ditto.
8552 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8553 Set number by use of uidl.
8554 (elmo-pop3-msgdb-create-message): Likewise.
8555 Set size, loc-alist in msgdb.
8556 (elmo-pop3-read-msg): Set number by use of uidl.
8557 Added optional argument `msgdb'.
8558 (elmo-pop3-delete-msg): Ditto.
8559 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8560 (elmo-pop3-commit): Close connection.
8562 * elmo-pipe.el (elmo-pipe-max-of-folder):
8563 Bind `elmo-pop3-use-uidl' as nil.
8564 (elmo-pipe-drain): Ditto.
8567 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8568 (elmo-msgdb-overview-entity-set-size): New defsubst.
8570 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8572 * elmo-vars.el (elmo-use-killed-list): New variable
8573 (Renamed from `elmo-nntp-use-killed-list').
8574 (elmo-nntp-use-killed-list): Eliminated.
8576 * elmo-msgdb.el (elmo-msgdb-expand-path):
8577 Changed expanding msgdb path for elmo-multi.
8579 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8580 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8581 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8582 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8583 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8584 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8585 (toplevel): Deleted time-stamp line.
8587 * elmo2.el (elmo-clear-killed ): Defined as function
8588 (Abolished defining as a backend function).
8589 All other related modules are changed.
8591 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8593 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8595 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8597 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8599 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8601 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8603 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8605 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8606 asynchronous folder check.
8608 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8610 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8611 `elmo-nntp-use-killed-list'.
8612 (elmo-nntp-list-folder): Use killed list.
8613 (elmo-nntp-max-of-folder): Ditto.
8614 (elmo-nntp-msgdb-create): Set killed list.
8616 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8618 * elmo2.el (elmo-clear-killed): New backend function.
8619 All other related modules are changed.
8621 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8623 * elmo-util.el (elmo-imap4-spec-folder): Use
8624 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8625 All callers changed.
8627 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8629 * mmelmo-2.el (initialize-instance):
8630 Use `mime-buffer-entity-buffer-internal' instead of
8631 `mime-entity-buffer'.
8633 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8634 (mime-entity-body): Implemented.
8635 (mime-goto-header-start-point): Deleted.
8636 (mime-goto-body-end-point): Ditto.
8637 (mime-entity-point-min): Ditto.
8638 (mime-entity-point-max): Ditto.
8639 (mime-entity-children): Ditto.
8640 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8641 instead of `mime-entity-buffer'.
8642 (mime-entity-header-buffer): Ditto.
8643 (mime-entity-body-buffer): Ditto.
8644 (mime-write-entity-content): Ditto.
8646 * pldap.el (ldap-static-if): New macro.
8647 (toplevel): Use it instead of `static-if'.
8649 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8651 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8652 included in `attrs' argument.
8654 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8656 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8658 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8659 (ldap-ldif-safe-init-char-regexp): Ditto.
8660 (ldap-ldif-safe-string-regexp): Ditto.
8661 (ldap/ldif-safe-string-p): New macro.
8662 (ldap/ldif-insert-field): Ditto.
8663 (ldap-modify): Use it.
8665 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8666 (ldap-decode-attribute): Decode only when `attr' is consp.
8667 (ldap-delete): Bind `ret'.
8668 (toplevel): Require 'cl at compile time.
8669 Removed (require 'poe) and (require 'std11).
8670 (pldap-version): Eliminated.
8671 (ldap-search-basic): Removed auth and dn binding.
8672 (ldap-ldif-field-name-regexp): New constant.
8673 (ldap-ldif-field-head-regexp): Ditto.
8674 (ldap-ldif-next-field-head-regexp): Ditto.
8675 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8676 (ldap/field-end): New function.
8677 (ldap/field-body): Use it.
8678 (ldap/collect-field): Ditto.
8679 (ldap-search-basic): Use `ldap/field-body'.
8681 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8683 * pldap.el (ldap-default-attribute-encoder): New user option.
8684 (ldap/field-body): Decode base64 string.
8685 (ldap/collect-field): Ditto.
8686 (ldap-encode-attribute): New function.
8687 (ldap-add-entries): Use it.
8688 (ldap-modify-entries): Ditto.
8689 (ldap-search-entries): Enclosed decoding function with
8690 `with-temp-buffer' and set as unibyte.
8691 (ldap-search-basic): Set process buffer as unibyte.
8693 * elmo-util.el (elmo-folder-identical-system-p):
8694 Eliminated name space checking.
8696 * pldap.el: New module.
8697 toplevel: Changed condition to detect built-in ldap feature.
8698 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8699 (ldap-add): Added error handling.
8700 (ldap-modify): Ditto.
8701 (ldap-delete): Ditto.
8703 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8705 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8706 Initialize local variables with `let'. Inline a temporary
8707 variable for the progress percentage. Sort `setq' to reduce
8708 function call in the while-loop.
8710 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8711 into the conditional branch.
8713 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8715 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8716 Move a conditional out of the while-loop.
8718 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8720 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8721 elmo-msgdb-overview-get-entity-by-number.
8722 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8725 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8727 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8728 the local variable for a packed number self descriptively.
8730 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8732 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8733 * elmo-localdir.el (elmo-localdir-pack-number): Use
8734 `elmo-msgdb-overview-get-entity' instead of
8735 `elmo-msgdb-overview-get-entity-by-number'.
8736 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8737 (elmo-msgdb-search-overview-entity): Removed.
8738 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8739 by message-id or number.
8740 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8741 instead of `elmo-msgdb-overview-get-entity-by-number'.
8743 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8745 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8746 non-nil, use hash table for overview.
8747 (elmo-hash-maximum-size): New variable.
8748 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8749 (elmo-msgdb-make-overview-hashtb): New function.
8750 (elmo-msgdb-clear-overview-hashtb): New function.
8751 (elmo-clear-hash-val): New macro.
8752 All other related modules are changed.
8754 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8756 * elmo2.el (elmo-move-msgs): If there's other message with
8757 same message-id, don't use cache.
8759 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8761 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8762 number is already packed.
8764 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8766 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8768 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8770 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8771 All other related modules are changed.
8773 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8775 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8776 of refiling failure on Maildir.
8778 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8780 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8781 decoded mime-charset with cache.
8782 (elmo-msgdb-overview-entity-get-from): Ditto.
8783 (elmo-msgdb-overview-entity-get-subject): Ditto.
8784 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8786 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8788 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8789 (elmo-remove-passwd): Fill password with 0 before erase.
8790 * elmo-vars.el (elmo-passwd-life-time): New variable.
8793 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8795 * elmo-cache.el (elmo-buffer-cache-add):
8796 Set message cache buffer as unibyte.
8798 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8800 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8803 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8805 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8806 when display is finished.
8807 (elmo-nntp-msgdb-create): Ditto.
8808 (elmo-nntp-groups-read-response): Ditto.
8809 (elmo-nntp-retrieve-headers): Ditto.
8810 (elmo-nntp-msgdb-create-message): Ditto.
8811 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8812 (elmo-pop3-msgdb-create-message): Ditto.
8814 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8816 * elmo-maildir.el (elmo-maildir-msgdb-create):
8817 Use `elmo-msgdb-sort-by-date'.
8819 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8821 * elmo2.el (elmo-read-msg-no-cache):
8822 Eliminated arguments after `outbuf'.
8823 Don't use cache even if it exists.
8824 (elmo-read-msg): Don't pass arguments after `outbuf' to
8825 `elmo-read-msg-no-cache'.
8827 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8829 * elmo-archive.el (elmo-archive-list-folders):
8830 Use `file-name-directory' if base folder does not exist.
8832 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8834 * elmo-archive.el (elmo-archive-list-folders): Don't use
8835 `file-name-directory'.
8837 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8839 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8840 If `force' is non-nil, try flushing all operation queues.
8842 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8844 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8847 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8849 * elmo-util.el (elmo-display-progress): Fixed.
8851 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8853 * elmo-util.el (elmo-display-progress): New function.
8854 All other related modules are changed.