1 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-version.el (elmo-version): Up to 2.15.3.
5 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7 * elmo-signal.el (elmo-signal-bindings): Use cons to append
9 (elmo-define-signal-handler): Add docstring.
10 (elmo-define-signal-filter): Ditto.
12 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
14 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
16 * elmo-util.el (elmo-flatten): Don't use recursive call.
18 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
20 (elmo-folder-message-make-temp-files): Use `number-to-string'
21 instead of `int-to-string'.
23 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
25 * elmo-search.el (elmo-folder-delete-messages): Define.
27 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
29 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
31 (elmo-mailing-list-count-spec-list): Ditto.
33 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
36 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
38 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
41 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
43 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
44 (elmo-mailing-list-count-spec-list): Ditto.
46 * elmo-util.el (elmo-map-until-success): New function.
47 (elmo-string-match-substring): Ditto.
48 (elmo-find-list-match-value): Ditto.
50 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
52 (modb-entity-extract-ml-info-from-subject): Ditto.
53 (modb-entity-extract-ml-info-from-return-path): Ditto.
54 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
55 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
56 (modb-entity-extract-ml-info-from-mailman): Ditto.
57 (modb-entity-extract-mailing-list-info-functions): Ditto.
58 (modb-entity-extract-mailing-list-info): Rewrite with
59 `elmo-find-list-match-value'.
61 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
63 * elmo-net.el (elmo-network-session-retry-count): New user option.
64 (elmo-network-session-buffer-name): New internal function.
65 (elmo-network-session-buffer-create): Ditto.
66 (elmo-network-open-session): Retry open network session
67 `elmo-network-session-retry-count' times.
69 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
71 * elmo-util.el (elmo-list-filter): Rewritten.
73 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
75 * elmo-util.el (elmo-string-member): Allow symbol element in list.
77 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
79 * elmo-search.el (elmo-make-search-engine): Use prefix
80 `elmo-search-' for require symbol instead of `else-'.
81 (elmo-search-engine-extprog): New class.
82 (elmo-search-engine-do-search): Remove nil from argument
83 list. Added argument pattern to evaluate element as function.
84 (elmo-search-engine-local-file): Derived from
85 `elmo-search-engine-extprog'.
86 (elmo-search-engine-create-message-entity): Check existance of file.
87 (elmo-search-engine-fetch-message): Ditto.
88 (elmo-search-namazu-index): Follow the API change.
89 (elmo-search-grep-target): Ditto.
91 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
93 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
94 characters of working buffer.
96 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
97 Does not bind `default-mime-charset'.
98 (elmo-msgdb-create-message-entity-from-buffer): Removed
99 unnecessary local bind.
101 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
103 (modb-entity-extract-mailing-list-info-functions): Added it.
105 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
107 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
108 when number and message-id are non-nil.
110 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
112 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
113 conditional steatment.
114 (elmo-pop3-auth-apop): Likewise.
115 (elmo-network-authenticate-session): Likewise.
117 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
119 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
120 symbol `fill-column'.
121 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
124 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
125 (elmo-decoded-field-body): Ditto.
127 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
129 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
130 `tokens' to `params'.
132 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
134 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
137 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
139 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
142 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
144 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
145 Set default value as nil.
146 (toplevel): Register search engines by
147 `elmo-search-register-engine' if there are not defined.
149 * elmo.el (autoload): Added autoload setting for
150 `elmo-search-register-engine'.
152 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
154 * elmo.el (toplevel): `[' is redefined as the prefix of the search
155 folder instead of nmz folder.
156 (elmo-nmz-default-index-path): Added obsolete variable setting.
157 (elmo-nmz-index-alias-alist): Ditto.
158 (elmo-nmz-use-drive-letter): Ditto.
160 * elmo-search.el (elmo-search-register-engine): New function.
162 * elmo-nmz.el: Removed.
164 * elmo-version.el (elmo-version): Up to 2.15.2.
166 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
168 * elmo-search.el: New file.
170 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
172 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
173 condition `larger' and `smaller'.
175 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
177 * elmo-util.el (elmo-safe-filename): Rewrite to replace
178 `"' (double quote) into "_Q_".
180 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
182 * elmo-net.el (elmo-net-quote-chars): Abolish.
183 (elmo-net-format-quoted): Ditto.
185 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
187 * elmo.el (elmo-get-folder-function): New variable.
188 (elmo-get-folder): New function.
189 (elmo-folder-rename): Call `elmo-make-folder' with specified
192 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
194 (elmo-split-subr): Ditto.
196 * elmo-multi.el (elmo-folder-initialize): Ditto.
198 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
200 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
201 (elmo-flag-get-folder): Ditto.
203 * elmo-filter.el (elmo-folder-initialize): Ditto.
205 * elmo-access.el (elmo-folder-initialize): Ditto.
206 (elmo-access-folder-update-children): Ditto.
208 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
209 (elmo-dop-queue-flush): Ditto.
210 (elmo-folder-append-buffer-dop-delayed): Ditto.
211 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
214 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
215 instead of `elmo-make-folder'.
216 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
217 destination folder instead of send `elmo-folder-rename-internal'.
219 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
220 slot of subfolder instead of create it.
222 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
224 * elmo-util.el (elmo-collect-separators): New function.
225 (elmo-collect-separators-internal): Ditto.
226 (elmo-collect-trail-separators): Ditto.
227 (elmo-parse-separated-tokens): Ditto.
228 (elmo-parse-separated-tokens-internal): Ditto.
229 (elmo-quote-syntactical-element): Ditto.
231 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
232 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
234 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
235 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
236 (elmo-nntp-folder-list-subfolders): Quote a user name.
238 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
239 (elmo-net-parse-network): Abolish.
240 (elmo-net-folder-set-parameters): New function.
241 (elmo-folder-initialize): Follow the above change.
243 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
244 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
245 (elmo-folder-list-subfolders): Use
246 `elmo-quote-syntactical-element' instead of
247 `elmo-net-format-quoted' to quote mailbox and user name.
249 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
251 * elmo-util.el (elmo-token-valid-p): New function.
252 (elmo-parse-token): Add optional argument `requirement'.
253 (elmo-parse-prefixed-element): Likewise.
255 * elmo-net.el (elmo-net-quote-chars): Renamed from
256 `elmo-net-quote-chars-regexp'.
257 (elmo-net-format-quoted): Add optional argument `extra-chars'.
259 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
260 by info document. Check token `uidl' is started an alphabet.
262 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
263 by info document. Check token `user' is started an alphabet.
265 * elmo-imap4.el (elmo-folder-initialize): Ditto.
266 (elmo-folder-list-subfolders): Quote user.
268 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
270 * elmo-util.el (elmo-quoted-specials-list): New constant.
271 (elmo-quoted-token): New function.
273 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
274 (elmo-net-format-quoted): New function.
275 (elmo-net-parse-network): Ditto.
276 (elmo-folder-initialize): Use it.
278 * elmo-nntp.el (elmo-folder-initialize): Use
279 `elmo-net-parse-network' to parse network specification instead of
280 `elmo-folder-initialize#elmo-net'.
282 * elmo-pop3.el (elmo-folder-initialize): Ditto.
284 * elmo-imap4.el (elmo-folder-initialize): Ditto.
285 (elmo-folder-list-subfolders): Quote folder name by
286 `elmo-net-format-quoted'.
288 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
290 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
291 (elmo-folder-search): Use it.
293 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
295 * modb-standard.el (modb-standard-loaded-message-id): Use
296 `elmo-msgdb-message-entity-field'.
298 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
300 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
303 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
305 * elmo-util.el (elmo-set-auto-coding): New function.
306 (elmo-object-load): Use it.
308 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
310 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
311 (elmo-time<): Define as alias of `elmo-time-less-p'.
312 (elmo-time-to-datevec): New function.
314 * elmo-date.el (elmo-time-to-days): New function.
316 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
318 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
321 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
323 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
326 * elmo-util.el (elmo-map-recursive): New function.
328 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
329 (modb-entity-encode-string-recursive): Ditto.
331 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
333 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
334 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
335 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
336 compare sequence number when last modified time is nil.
338 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
340 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
342 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
344 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
346 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
347 modification time of the file.
349 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
351 * elmo-util.el (elmo-condition-optimize): Discriminated against
352 preserved fields, extra fields and the other weight.
354 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
356 * modb-entity.el (initialize-instance): Define.
357 (modb-entity-handler-mime-charset): New internal function.
358 (modb-standard-entity-set-field): Use it.
359 (elmo-msgdb-message-entity-field): Ditto.
360 (elmo-msgdb-message-entity-field): Ditto.
362 * modb.el (elmo-msgdb-match-condition): Rewrite with
363 `elmo-condition-match'.
364 (elmo-msgdb-match-condition-primitive): New function.
366 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
367 arguments `flags' and `numbers'.
368 (elmo-msgdb-match-condition-primitive): Abolished (merged to
369 `elmo-msgdb-message-match-condition').
370 (modb-buffer-entity-handler): New class.
372 * elmo.el (elmo-folder-search): Optimize condition to use
373 `elmo-condition-optimize'.
374 (elmo-message-buffer-match-condition): New function.
375 (elmo-message-match-condition): Use
376 `elmo-message-buffer-match-condition' instead of
377 `elmo-buffer-field-condition-match'.
379 * elmo-util.el (elmo-condition-match): New function.
380 (elmo-condition-optimize): Ditto.
381 (elmo-buffer-field-primitive-condition-match): Abolish.
382 (elmo-buffer-field-condition-match): Ditto.
384 * elmo-archive.el (elmo-archive-field-condition-match): Use
385 `elmo-message-buffer-match-condition' instead of
386 `elmo-buffer-field-condition-match'.
388 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
390 * elmo-flag.el (elmo-global-flags-initialize): Check the
391 existence of the flag directory.
393 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
395 * elmo-access.el (elmo-folder-initialize): Call
396 `elmo-multi-connect-signals'.
398 * elmo-pipe.el (elmo-folder-close): Define.
400 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
403 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
406 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
409 * elmo-multi.el (elmo-message-entity): Don't use return value of
410 `elmo-message-entity-set-number'.
412 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
414 * modb.el (modb-generic): Added slot `mime-charset'.
416 * modb-standard.el (modb-standard): Added slot `overview-handler'.
417 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
418 and `modb-entity-handler-dump-parameters'.
419 (modb-standard-default-entity-handler): Abolish.
420 (elmo-msgdb-message-entity-handler): Save created handler by
423 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
424 (modb-entity-handler-list-parameters): New method.
425 (modb-entity-handler-equal-p): New function.
426 (modb-entity-handler-dump-parameters): Ditto.
427 (modb-entity-parse-address-string): Encode return value.
428 (modb-entity-make-address-string): Decode argument value.
429 (modb-entity-decode-string-recursive): New function.
430 (modb-entity-encode-string-recursive): Ditto.
431 (modb-standard-entity-normalizer): Set to encode field value.
432 (modb-standard-entity-specializer): Follow the above change.
433 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
434 mime-charset of handler.
435 (elmo-msgdb-message-entity-field): Ditto.
436 (elmo-msgdb-copy-message-entity): Fixed reference to internal
438 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
440 * elmo.el (elmo-folder): Added slot `mime-charset'.
441 (elmo-make-folder): Added argument `mime-charset'.
442 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
445 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
446 (elmo-make-msgdb): Likewise.
448 * elmo-internal.el (elmo-internal-folder-initialize): Call
449 `luna-make-entity' with :mime-charset parameter.
451 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
453 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
454 encoded words in `from' and `subject' field.
456 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
458 * modb.el (elmo-msgdb-message-field): Add argument `type'.
459 (elmo-msgdb-match-condition): Get handler from entity instead of
462 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
463 (modb-standard-load-entity): Treat new file format.
464 (modb-standard-save-entity-1): Save as new file format.
465 (modb-standard-save-entity): Split messages into section here.
466 (elmo-msgdb-message-field): Follow the API change.
467 (modb-standard-default-entity-handler): New internal variable.
468 (elmo-msgdb-message-entity-handler): Define.
470 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
472 (modb-entity-field-extractor-alist): New user option.
473 (elmo-msgdb-message-entity-field): Removed argument `decode' and
474 added argument `type'.
475 (elmo-msgdb-copy-message-entity): Add optional argument
477 (modb-set-field-converter): New function.
478 (modb-convert-field-value): Ditto.
479 (modb-entity-string-decoder): Ditto.
480 (modb-entity-string-encoder): Ditto.
481 (modb-entity-parse-date-string): Ditto.
482 (modb-entity-make-date-string): Ditto.
483 (modb-entity-mime-decoder): Ditto.
484 (modb-entity-mime-encoder): Ditto.
485 (modb-entity-address-list-decoder): Ditto.
486 (modb-entity-address-list-encoder): Ditto.
487 (modb-entity-parse-address-string): Ditto.
488 (modb-entity-make-address-string): Ditto.
489 (modb-entity-create-field-indices): Ditto.
490 (modb-legacy-entity-field-slots): New constant.
491 (modb-legacy-entity-field-indices): Ditto.
492 (modb-legacy-entity-normalizer): New variable.
493 (modb-legacy-entity-specializer): Ditto.
494 (modb-legacy-entity-field-index): New macro.
495 (modb-legacy-entity-set-field): New function.
496 (modb-legacy-make-message-entity): Rewrite.
497 (elmo-msgdb-create-message-entity-from-buffer): Use
498 `elmo-msgdb-get-references-from-buffer'. Use
499 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
500 Use `modb-legacy-entity-set-field' instead of
501 `elmo-msgdb-message-entity-set-field'.
502 (elmo-msgdb-message-entity-field): Rewrite.
503 (elmo-msgdb-message-entity-set-field): Ditto.
504 (elmo-msgdb-copy-message-entity): Make new entity by
505 `make-handler' if it specified.
506 (elmo-msgdb-message-match-condition): Define a method of
507 `modb-entity-handler' and follow the API change.
508 (modb-standard-entity-handler): New class.
509 (modb-entity-extract-ml-info-from-x-sequence): New function.
510 (modb-entity-extract-ml-info-from-subject): Ditto.
511 (modb-entity-extract-ml-info-from-return-path): Ditto.
512 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
513 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
514 (modb-entity-extract-mailing-list-info): Ditto.
515 (modb-entity-extract-mailing-list-info-functions): New variable.
517 * elmo.el (elmo-message-field): Add optional argument `type'.
519 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
520 from `modb-entity.el'.
522 * elmo-util.el (elmo-object-load): Decode by coding-system from
523 `set-auto-coding-function'.
524 (elmo-object-save): Use `detect-mime-charset-region' and add
525 coding cookie if encode.
526 (elmo-msgdb-get-references-from-buffer): New function.
527 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
529 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
531 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
532 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
533 instead of `shimbun-make-header' and follow the API change.
534 (elmo-shimbun-update-overview): Follow the API change.
535 (elmo-map-folder-list-message-locations): Ditto.
537 * elmo-pipe.el (elmo-message-field): Ditto.
539 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
542 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
544 * elmo-multi.el (elmo-message-field): Ditto.
546 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
547 (elmo-msgdb-sort-by-date): Ditto.
548 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
549 `elmo-message-entity-field'.
550 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
552 (elmo-msgdb-overview-entity-get-from): Ditto.
553 (elmo-msgdb-overview-entity-get-subject): Ditto.
554 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
555 (elmo-msgdb-overview-entity-get-date): Ditto.
556 (elmo-msgdb-overview-entity-get-to): Ditto.
557 (elmo-msgdb-overview-entity-get-cc): Ditto.
559 * elmo-mime.el (elmo-message-mime-entity): Ditto.
560 (elmo-mime-collect-message/partial-pieces): Ditto.
562 * elmo-filter.el (elmo-message-field): Ditto.
564 * elmo-date.el (elmo-datevec-to-time): New function.
565 (elmo-time-parse-date-string): Ditto.
566 (elmo-time-make-date-string): Ditto.
569 * elmo-version.el (elmo-version): Up to 2.15.1.
571 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
573 * elmo-flag.el (elmo-global-flags-initialize): Don't include
574 member of elmo-local-flags.
576 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
578 * elmo-version.el (elmo-version): Up to 2.15.0.
580 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
582 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
583 `ignore-msgdb' is non-nil.
585 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
587 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
588 (elmo-condition-in-msgdb-p): Ditto.
589 (elmo-file-field-primitive-condition-match): Ditto.
590 (elmo-file-field-condition-match): Ditto.
592 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
594 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
596 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
598 (elmo-global-flags-initialize): New function.
600 * elmo.el (toplevel): Added autoload setting for
601 `elmo-global-flags-initialize'.
603 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
605 * elmo.el (message-number-changed): Define new signal.
606 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
607 message-number-changed signal.
608 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
609 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
610 Respect `elmo-pack-number-check-strict'.
612 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
614 * elmo-signal.el (elmo-connect-signal): Document.
615 (elmo-emit-signal): Ditto.
616 (elmo-emit-signal): It should pass source argument to filter and
617 handler, not slot-source.
619 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
621 * modb.el (elmo-msgdb-update-entity): New API and define generic
624 * modb-standard.el (elmo-msgdb-update-entity): Define.
626 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
627 API and define generic implement.
629 * elmo.el (update-overview): New singnal.
631 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
632 `elmo-msgdb-update-entity' and emit signal `update-overview'.
633 (elmo-message-entity-parent): Define.
635 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
638 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
640 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
642 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
644 * elmo.el (elmo-folder-synchronize): Sort the return value of
647 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
650 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
652 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
653 `default-enable-multibyte-characters'.
654 (elmo-object-load): Use `with-temp-buffer' instead of
656 (elmo-object-save): Ditto.
657 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
659 (elmo-decoded-field-body): Ditto.
661 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
663 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
664 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
666 * elmo-version.el (elmo-version): Up to 2.13.3.
668 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
670 * elmo-util.el (elmo-list-diff): Fix the last change.
671 Reverse order of result lists.
673 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
675 * modb-standard.el (elmo-msgdb-set-flag): Use
676 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
677 (elmo-msgdb-unset-flag): Ditto.
679 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
682 * elmo-util.el (elmo-list-diff): Rewrite.
683 (elmo-list-diff-nonsortable): New function.
685 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
687 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
688 `elmo-multibypte-buffer-name'. All referers are updated.
690 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
692 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
693 (elmo-mime-entity-fragment-p): New function.
694 (mime-elmo-buffer-entity): Added slot `reassembled'.
695 (elmo-message-mime-entity): Added 4th argument `reassemble'.
696 (elmo-message-mime-entity-internal): New function (renamed from
697 `elmo-message-mime-entity').
698 (elmo-mime-inherit-field-list-from-enclosed): New constant.
699 (elmo-mime-make-reassembled-mime-entity): New function.
700 (elmo-message-reassembled-mime-entity): Ditto.
701 (elmo-mime-collect-message/partial-pieces): Ditto.
703 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
705 * elmo.el (elmo-message-fetch-string): Disable multibyte.
707 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
708 (elmo-with-enable-multibyte): New macro.
710 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
712 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
714 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
716 (elmo-filter-connect-signals): Follow the above change.
718 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
720 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
722 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
723 that only the first flag is used.
725 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
727 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
730 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
732 * elmo-signal.el: New file.
734 * elmo.el (toplevel): Require elmo-signal.
735 (flag-changing, flag-changed, cache-changed): New signal.
736 (elmo-folder): Remove slog `handlers'.
737 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
738 `elmo-folder-notify-event'.
739 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
740 (elmo-folder-unset-flag): Ditto.
741 (elmo-event-handler): Abolish.
742 (elmo-event-handler-flag-changed): Ditto.
743 (elmo-event-handler-cache-changed): Ditto.
744 (elmo-folder-add-handler): Ditto.
745 (elmo-folder-remove-handler): Ditto.
746 (elmo-folder-notify-event): Ditto.
748 * elmo-pipe.el (toplevel): Require elmo-signal.
749 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
750 (elmo-pipe-connect-signals): New function.
751 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
752 (elmo-folder-set-flag): Ditto.
753 (elmo-folder-unset-flag): Ditto.
754 (elmo-message-set-cached): Ditto.
756 * elmo-multi.el (toplevel): Require elmo-signal.
757 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
758 (elmo-multi-connect-signals): New function.
759 (elmo-multi-map-numbers): Ditto.
760 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
761 (elmo-message-fetch): Ditto.
762 (elmo-folder-set-flag): Ditto.
763 (elmo-folder-unset-flag): Ditto.
765 * elmo-filter.el (toplevel): Require elmo-signal.
766 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
767 (elmo-filter-connect-signals): New function.
768 (elmo-filter-add-flag-count): Ditto.
769 (elmo-message-fetch): Does not call
770 `elmo-filter-folder-countup-message-flags' and
771 `elmo-folder-notify-event'.
772 (elmo-message-set-cached): Ditto.
773 (elmo-folder-set-flag): Ditto.
774 (elmo-folder-unset-flag): Ditto.
776 * elmo-version.el (elmo-version): Up to 2.13.2.
778 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
780 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
783 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
785 * elmo-filter.el (elmo-message-set-cached): Call
786 `elmo-folder-notify-event' with event `cache-changed'.
788 * elmo-multi.el (elmo-message-set-cached): Ditto.
790 * elmo-pipe.el (elmo-message-set-cached): Ditto.
792 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
794 * elmo.el (elmo-folder-encache): Abolish.
796 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
798 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
799 (elmo-folder-next-message-number-dop): Return appropriate negative
802 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
804 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
805 clearing pending operations.
806 (elmo-folder-next-message-number-dop): Return appropriate negative
809 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
811 * elmo.el (toplevel): Added autoload setting for `md5'.
812 (elmo-msgdb-path-encode-threshold): New user option.
813 (elmo-folder-msgdb-path): Encode msgdb path if its length is
814 longer than `elmo-msgdb-path-encode-threshold'.
816 * elmo-flag.el (elmo-global-mark-migrate): Use
817 `elmo-folder-expand-msgdb-path' instead of
818 `elmo-folder-msgdb-path'.
820 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
822 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
823 element of the difference is nil.
825 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
827 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
828 to the check logic of file systems which are weak in colon character.
830 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
832 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
834 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
836 * elmo-maildir.el (elmo-maildir-move-file): New function.
837 (elmo-folder-append-buffer): Use it.
838 (elmo-folder-append-messages): Ditto.
839 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
841 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
842 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
844 * elmo-maildir.el (elmo-maildir-separator): New user option.
845 (elmo-maildir-adjust-separator): New macro.
846 (elmo-maildir-list-location): Use it.
847 (elmo-maildir-update-current): Ditto.
848 (elmo-maildir-set-mark): Ditto.
849 (elmo-maildir-delete-mark): Ditto.
850 (These changes are based on Hiroya Murata's patch [wl: 13437])
852 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
854 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
856 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
858 * elmo-flag.el (elmo-flag-valid-p): Simplify.
859 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
860 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
862 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
864 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
865 Use `with-temp-buffer'.
867 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
869 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
871 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
872 `wl-read-search-condition').
873 (elmo-read-search-condition-internal): Likewise.
875 * elmo-flag.el (elmo-flag-char-regexp): New constant.
876 (elmo-flag-valid-p): New function.
877 (elmo-folder-initialize): Check flag name is valid.
879 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
881 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
882 delimiter to obtain root mailbox itself.
884 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
886 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
889 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
891 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
894 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
896 * elmo-shimbun.el (toplevel): Require cl at compile.
898 * elmo-nntp.el (toplevel): Ditto.
900 * elmo-nmz.el (toplevel): Ditto.
902 * elmo-multi.el (toplevel): Ditto.
904 * elmo-file.el (toplevel): Ditto.
906 * elmo-dop.el (toplevel): Ditto.
908 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
910 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
912 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
915 * elmo.el (elmo-message-fetch): Return t even when the output buffer
916 size of elmo-message-fetch-internal is 0 byte.
918 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
920 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
922 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
924 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
927 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
929 * elmo-maildir.el (elmo-map-message-fetch): Call
930 `elmo-map-folder-set-flag'.
932 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
933 (elmo-message-fetch): Merge from
934 `elmo-message-fetch-with-cache-process'.
936 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
937 (elmo-message-fetch): Define.
939 * elmo-nntp.el (elmo-message-fetch): Renamed from
940 `elmo-message-fetch-with-cache-process'.
942 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
943 (elmo-message-fetch): Define.
945 * elmo-util.el (elmo-condition-parse-primitive): Downcase
948 * elmo-shimbun.el (shimbun-mua-search-id): Use
949 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
950 (elmo-shimbun-folder-shimbun-header): Ditto.
951 (elmo-shimbun-get-headers): Ditto.
952 (elmo-shimbun-update-overview): Ditto.
954 * elmo-pipe.el (elmo-folder-detach-messages): Define.
956 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
957 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
959 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
961 * elmo.el (elmo-message-fetch): Unset unread flag on server when
963 (elmo-message-fetch-string): Fixed argument.
965 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
967 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
968 exchange order of arguments `section' and `unread'.
969 (elmo-message-encache): Follow the API change.
970 (elmo-message-match-condition): Ditto.
971 (elmo-generic-folder-append-messages): Ditto.
972 (elmo-message-fetch-string): New function.
974 * elmo-split.el (elmo-split-subr): Ditto.
976 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
978 * elmo-pipe.el (elmo-message-fetch): Ditto.
980 * elmo-multi.el (elmo-message-fetch): Ditto.
982 * elmo-mime.el (elmo-message-mime-entity): Ditto.
984 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
986 * elmo-filter.el (elmo-message-fetch): Ditto.
988 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
990 * elmo-imap4.el (mime-imap-location-section-body): Use
991 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
992 follow the API change.
994 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
996 * elmo-access.el: New file.
998 * elmo-null.el: Ditto.
1000 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1002 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1004 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1005 (elmo-network-session): New attribute `last-accessed'.
1006 (elmo-network-get-session): Discard network cache if elapsed time
1007 since last-accessed is larger than elmo-network-session-idle-timeout.
1009 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1011 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1012 and added `number', `require-entireness'.
1013 (elmo-find-fetch-strategy): Rewrite.
1014 (elmo-message-fetch): Unset `unread' flag when argument unread is
1017 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1019 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1020 (elmo-message-fetch): Notify event `flag-changed'.
1022 * elmo-pipe.el: Likewise.
1024 * elmo-mime.el (elmo-mime-entity): New class.
1025 (elmo-mime-entity-display-p): New generic function.
1026 (elmo-mime-entity-display): Ditto.
1027 (elmo-mime-entity-display-as-is): Ditto.
1028 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1030 (elmo-make-mime-message-location): Removed.
1031 (elmo-mime-message-display): Ditto.
1032 (elmo-mime-display-as-is): Ditto.
1033 (elmo-message-mime-entity): New function.
1035 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1037 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1039 (elmo-message-fetch): Re-count flagged message number and notify
1040 event `flag-changed'.
1042 * elmo-version.el (elmo-version): Up to 2.13.1.
1044 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1046 * elmo-filter.el (elmo-message-field): Define.
1047 (elmo-message-set-field): Ditto.
1049 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1051 * elmo.el (elmo-message-set-cached): Call
1052 `elmo-folder-notify-event' with cache-changed.
1053 (elmo-event-handler-cache-changed): New generic function.
1055 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1057 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1058 instead of elmo-add-name-to-file.
1059 (elmo-folder-append-messages): Ditto.
1061 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1063 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1065 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1067 * elmo-version.el (elmo-version): Up to 2.13.0.
1069 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1072 * modb-standard.el (modb-standard-economize-entity-size): Changed
1073 default value to `t'.
1075 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1078 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1079 after parsing greeting string.
1081 2004-11-23 Daishi Kato <daishi@axlight.com>
1083 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1085 (elmo-spam-spamoracle-call): Use it.
1087 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1089 * elmo.el (elmo-message-accessible-p): Message in dop spool
1092 2004-11-23 Daishi Kato <daishi@axlight.com>
1094 * elsp-spamoracle.el: New file.
1096 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1098 * elmo.el (elmo-message-flags-for-append): New function.
1099 (elmo-generic-folder-append-messages): Use it.
1101 * elmo-split.el (elmo-split-subr): Ditto.
1103 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1104 `flags' and use elmo-folder-append-buffer instead of
1105 write-region-as-binary.
1106 (elmo-dop-filter-pending-messages): New function.
1107 (elmo-folder-append-buffer-dop): Call
1108 elmo-dop-spool-folder-append-buffer with `flag'.
1109 (elmo-folder-set-flag-dop): Filter messages by
1110 elmo-dop-filter-pending-messages.
1111 (elmo-folder-unset-flag-dop): Ditto.
1112 (elmo-folder-append-buffer-dop-delayed): Use
1113 elmo-message-flags-for-append to get flags of the message and
1116 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1118 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1120 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1122 * elmo.el (elmo-folder): Added handlers slot.
1123 (elmo-event-handler): New class.
1124 (elmo-event-handler-flag-changed): New API.
1125 (elmo-folder-add-handler): New function.
1126 (elmo-folder-remove-handler): Ditto.
1127 (elmo-folder-notify-event): Ditto.
1128 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1130 (elmo-folder-unset-flag): Ditto.
1132 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1133 (elmo-folder-unset-flag): Ditto.
1135 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1136 (elmo-folder-unset-flag): Ditto.
1138 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1139 (elmo-folder-unset-flag): Ditto.
1141 * elmo-version.el (elmo-version): Up to 2.11.33.
1143 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1145 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1147 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1149 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1151 * elmo-flag.el (elmo-folder-unset-flag): Define.
1152 (elmo-global-flag-detach): Do process when the flag is not target
1155 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1157 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1159 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1161 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1163 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1165 (elmo-folder-delete-messages): Detach messages before delete
1166 messages from target folder.
1167 (elmo-folder-detach-messages): Set updated number-list to slot.
1169 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1171 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1173 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1175 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1177 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1179 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1181 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1183 (elmo-folder-delete-messages): Define.
1184 (elmo-folder-move-messages): Don't call
1185 `elmo-folder-detach-messages'.
1186 (elmo-folder-synchronize): Rewrite.
1187 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1189 * elmo-util.el (elmo-last): New function.
1190 (elmo-set-list): Ditto.
1191 (elmo-number-set-delete-list): Ditto.
1192 (elmo-number-set-delete): Ditto.
1194 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1196 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1197 `elmo-folder-delete-messages' and don't delete location map.
1198 (elmo-folder-detach-messages): Define.
1200 * elmo-imap4.el (elmo-folder-delete): Use
1201 `elmo-folder-delete-messages-internal' instead of
1202 `elmo-folder-delete-messages'.
1204 * elmo-filter.el (elmo-folder-delete-messages): Call
1205 `elmo-folder-detach-messages'.
1206 (elmo-folder-detach-messages): Don't call
1207 `elmo-folder-detach-messages' for target folder.
1209 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1210 message deletion is succeeded.
1212 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1214 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1215 from `elmo-folder-delete-messages'.
1217 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1219 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1221 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1223 * elmo-version.el (elmo-version): Up to 2.11.32.
1225 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1227 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1228 (elmo-global-flag-list): Added obsolete variable setting.
1230 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1232 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1233 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1234 `elmo-mime-display-header-analysis' is nil.
1236 * elmo-flag.el (elmo-global-flags): Renamed from
1237 `elmo-global-flag-list' (All other related portions are changed).
1238 (elmo-local-flags): New variable.
1239 (elmo-local-flag-p): New function.
1240 (elmo-global-flag-set-internal): Cause an error when flag is not
1243 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1245 * elmo-util.el (elmo-concat-path): Treat empty path.
1247 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1249 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1251 (elmo-split-address-match): Ditto.
1252 (elmo-split-equal): Ditto.
1253 (elmo-split-match): Ditto.
1255 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1257 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1258 (elmo-generic-folder-append-messages): If src message exists but
1259 has no flag, pass (read) for the FLAG argument of
1260 `elmo-folder-append-buffer'. Otherwise, pass nil.
1262 * elmo-split.el (elmo-split-subr): Likewise.
1264 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1266 * elmo-multi.el (elmo-message-flags): Ditto.
1268 * elmo-filter.el (elmo-message-flags): Ditto.
1270 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1271 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1272 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1274 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1276 * elmo-split.el (elmo-split-rule): Update comment.
1277 (elmo-split-address-equal): Allow 2nd argument to be a list.
1278 (elmo-split-address-match): Ditto.
1279 (elmo-split-equal): Ditto.
1280 (elmo-split-match): Ditto.
1282 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1284 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1285 (elmo-folder-append-msgdb): Don't treat `read'.
1286 (elmo-message-flags): Don't return `read'.
1288 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1289 (elmo-folder-unset-read-delayed): Ditto.
1291 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1293 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1295 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1298 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1300 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1303 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1305 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1307 (elmo-msgdb-save): Bind inhibit-quit.
1308 (modb-standard-message-entity): Ditto.
1310 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1312 * elmo-database.el: No need to require elmo-msgdb.
1314 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1316 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1317 instead of `elmo-list-subdirectories'.
1319 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1321 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1323 (elmo-folder-exists-p): "[" is empty.
1324 (elmo-folder-list-subfolders): Define.
1325 (elmo-folder-have-subfolder-p): Ditto.
1327 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1329 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1331 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1333 * elmo-filter.el (elmo-folder-local-p): Define.
1335 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1337 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1338 when entity is garbaged.
1339 (modb-standard-save-entity-1): Don't modify the original entity.
1341 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1343 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1345 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1347 * elmo.el (elmo-strict-folder-diff): Use
1348 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1350 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1352 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1353 (elmo-msgdb-message-number): Ditto.
1354 (elmo-msgdb-message-field): Ditto.
1356 * modb-standard.el (modb-standard-economize-entity-size): New user
1358 (modb-standard-loaded-message-id): New inline function.
1359 (modb-standard-load-entity): Use it.
1360 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1361 throw message-id string away.
1362 (elmo-msgdb-flag-available-p): Define.
1363 (elmo-msgdb-message-number): Ditto.
1364 (elmo-msgdb-message-field): Ditto.
1366 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1367 (suppoted -> supported).
1368 (modb-legacy-supported-flag-p): Ditto.
1369 (elmo-msgdb-set-flag): Ditto.
1370 (elmo-msgdb-unset-flag): Ditto.
1371 (elmo-msgdb-flag-available-p): Define.
1373 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1374 is `t', treat it as legacy entity.
1376 * elmo.el (elmo-message-flag-available-p): New generic function.
1377 (elmo-message-number): Ditto.
1378 (elmo-message-field): Use `elmo-msgdb-message-field'.
1380 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1382 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1383 (elmo-message-number): Ditto.
1385 * elmo-multi.el (elmo-message-number): Define.
1386 (elmo-message-flag-available-p): Ditto.
1388 * elmo-filter.el (elmo-message-flag-available-p): Define.
1389 (elmo-message-number): Ditto.
1391 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1392 (elmo-folder-initialize): Load `max-number'.
1393 (elmo-folder-commit): Save it.
1394 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1395 (elmo-global-flag-set-internal): Set up max-number slot.
1397 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1399 * elmo-version.el (elmo-version): Up to 2.11.31.
1401 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1403 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1404 unibyte string of the current buffer for the argument of `md5'
1405 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1407 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1409 * modb-legacy.el (modb-legacy-flag-list): New constant.
1410 (modb-legacy-suppoted-flag-p): New internal function.
1411 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1412 (elmo-msgdb-unset-flag): Ditto.
1414 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1416 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1418 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1421 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1423 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1424 (follow the API change).
1426 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1428 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1430 * modb-standard.el (modb-standard-digest-flags): Abolish.
1431 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1433 * elmo-vars.el (elmo-digest-flags): New variable.
1434 (elmo-preserved-flags): Moved from elmo-flag.el.
1436 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1437 (elmo-imap4-flag-to-imap-criteria): Ditto.
1438 (elmo-imap4-folder-list-flagged): Use it.
1440 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1442 * elmo.el (elmo-folder-count-flags): Changed return value.
1444 * elmo-flag.el (elmo-preserved-flags): New variable.
1445 (elmo-get-global-flags): Use it.
1447 * modb-standard.el (modb-standard-digest-flags): New variable.
1448 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1449 Changed behavior of `any'.
1451 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1452 which are defined the Internet draft
1453 (draft-melnikov-imap-keywords-03.txt).
1454 (elmo-imap4-flags-to-imap): New function.
1455 (elmo-folder-append-buffer): Use it.
1457 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1460 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1461 avoid the bug of Emacs 21.3.
1463 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1465 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1466 function find-coding-system does not exist.
1468 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1470 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1473 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1475 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1478 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1480 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1481 (elmo-network-close-session): Follow the changes in
1482 `elmo-pop3-read-response'.
1483 (elmo-pop3-auth-user): Ditto.
1484 (elmo-pop3-auth-apop): Ditto.
1485 (elmo-network-initialize-session): Ditto.
1486 (elmo-network-authenticate-session): Ditto.
1487 (elmo-network-setup-session): Ditto.
1488 (elmo-folder-status): Ditto.
1489 (elmo-message-fetch-plugged): Ditto.
1490 (elmo-pop3-delete-msg): Ditto.
1492 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1494 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1497 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1499 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1501 (elmo-bind-directory): Ditto.
1503 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1505 * elmo.el (elmo-folder-append-messages): Note on return value.
1506 * elmo-archive.el (elmo-folder-append-messages): Don't return
1507 message numbers which could not be appended.
1509 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1511 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1513 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1515 * elmo-version.el (elmo-version): Up to 2.11.30.
1517 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1519 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1522 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1524 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1525 (elmo-multi-split-numbers): Add elmo-folder object into each
1526 element of return value at first.
1527 (elmo-folder-delete-messages): Follow the above change.
1528 (elmo-folder-detach-messages): Ditto.
1530 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1531 number which is synchronized in target folder.
1533 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1535 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1536 Change default value to symbol `all'.
1537 (elmo-map-message-fetch): Change condition to update overview
1540 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1542 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1543 behavior to update overview.
1544 (elmo-shimbun-update-overview-folder-list): Note it.
1546 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1548 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1551 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1553 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1554 buffer-disable-undo, it is unnecessary.
1555 (elmo-spam-register-good-messages): Ditto.
1557 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1560 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1562 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1564 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1565 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1566 elmo-set-buffer-multibyte.
1567 (elmo-object-load): Ditto.
1568 (elmo-save-buffer): Ditto.
1569 (elmo-delete-char): Ditto.
1570 (elmo-file-field-primitive-condition-match): Ditto.
1571 (elmo-mime-string): Ditto.
1573 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1574 (elmo-archive-field-condition-match): Ditto.
1576 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1578 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1580 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1581 (elmo-nntp-msgdb-create-message): Ditto.
1583 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1585 * elmo.el (elmo-message-match-condition): Ditto.
1586 (elmo-message-match-condition): Ditto.
1588 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1591 * elmo-version.el (elmo-version): Up to 2.11.29.
1593 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1594 (elsp-header): New backend.
1596 * elmo-util.el (elmo-decoded-field-body): New function.
1598 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1600 * elmo-version.el (elmo-version): Up to 2.11.28.
1602 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1604 * elmo-filter.el: Rewrite.
1606 * elmo-version.el (elmo-version): Up to 2.11.27.
1608 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1610 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1611 msgdb path for the localdir folder with absolute path.
1613 * utf7.el: Synch up with latest gnus/utf7.el;
1614 Modified for latest Emacs.
1616 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1618 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1619 shimbun backend couldn't open.
1621 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1623 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1624 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1625 when a destination folder is a filter folder.
1627 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1629 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1630 (elmo-generic-folder-append-messages): Call elmo-message-flags
1631 with argument `msgid'.
1633 * elmo-split.el (elmo-split-subr): Ditto.
1635 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1637 * elmo-multi.el (elmo-message-flags): Ditto.
1639 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1641 * elmo.el (elmo-folder): Add new slot `flag-table'.
1642 (elmo-folder-flag-table): New API.
1643 (elmo-folder-close-flag-table): Ditto.
1644 (elmo-folder-preserve-flags): New function.
1645 (elmo-generic-folder-append-messages): Use
1646 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1647 Flag of a non-registered message, it sets to nil.
1648 Does not set flag to flag-table.
1650 * elmo-maildir.el (elmo-folder-append-buffer): Use
1651 `elmo-folder-preserve-flags'.
1652 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1653 `elmo-folder-close-flag-table'.
1655 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1656 (elmo-archive-folder-append-buffer): Use
1657 `elmo-folder-preserve-flags'.
1659 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1661 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1663 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1664 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1665 `elmo-folder-close-flag-table'.
1667 * elmo-version.el (elmo-version): Up to 2.11.26.
1669 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1671 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1673 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1674 md5's 4th and 5th argument (non-existent in flim one).
1676 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1678 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1679 message, It sets to nil.
1681 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1683 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1686 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1688 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1690 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1692 * elmo-util.el (elmo-uniq-sorted-list): New function.
1693 (elmo-make-number-list): Ditto.
1694 (elmo-number-set-to-number-list): Use elmo-make-number-list
1695 and don't use nreverse.
1697 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1699 * elmo-version.el (elmo-version): Up to 2.11.25.
1701 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1703 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1704 field not exists in message, Use md5 message digest of header.
1706 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1708 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1709 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1710 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1711 * elmo-split.el (elmo-split-subr): Check return value of
1712 elmo-folder-append-buffer.
1714 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1715 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1717 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1720 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1722 * elmo-split.el (elmo-split-subr): Append message with flag.
1724 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1725 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1726 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1728 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1730 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1731 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1732 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1734 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1736 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1737 with a function call of `process-buffer'. All callers are updated.
1738 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1739 Remove redundant `set-buffer' in a while loop.
1741 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1743 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1746 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1748 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1749 elsp-spamfilter-register-buffer-internal with current buffer.
1750 (elmo-spam-register-spam-buffer): Ditto.
1751 (elmo-spam-register-good-buffer): Ditto.
1753 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1755 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1756 if it is not contained in the response(A workaround for courier-imap).
1758 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1760 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1763 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1765 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1768 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1770 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1773 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1775 (elmo-msgdb-message-match-condition): Follow the change above.
1777 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1779 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1782 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1784 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1786 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1788 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1790 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1792 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1795 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1797 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1799 (elmo-file-command-argument): Undo last change for cygwin.
1800 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1802 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1804 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1806 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1807 value returned from elmo-file-find is nil.
1809 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1811 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1814 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1815 instead of insert-file-contents-as-binary.
1816 (elmo-message-set-field): New generic function.
1818 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1819 behavior change on `split-string'.
1821 * elmo-file.el (elmo-file-find): New function.
1822 (elmo-file-command): New user option.
1823 (elmo-file-command-argument): Ditto.
1824 (elmo-file-fetch-max-size): Ditto.
1825 (elmo-file-detect-format): New function.
1826 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1827 Use elmo-file-detect-format.
1828 (elmo-map-folder-list-message-locations): Don't treat directories.
1830 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1832 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1833 (elmo-passwd-alist-clear): Shred password before clear.
1834 (elmo-remove-passwd): Remove all mached pair.
1836 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1838 * elmo.el (elmo-folder-synchronize): Fix description of the return
1841 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1843 * elmo.el (elmo-message-fetch-bodystructure): New method.
1844 (elmo-message-fetch-bodystructure): Define default.
1846 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1847 elmo-message-fetch-bodystructure.
1848 (elmo-message-fetch-bodystructure): Define.
1850 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1852 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1854 * elmo-filter.el (elmo-message-folder): Define.
1856 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1858 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1859 elmo-delete-cr-buffer.
1861 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1863 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1865 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1867 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1868 type seems to be a text.
1870 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1872 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1873 (elmo-spam-register-good-buffer): Ditto.
1874 (elmo-spam-spamassassin-register-messages): Ditto.
1876 * elmo-util.el (elmo-string-member-ignore-case): Define with
1879 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1881 * elmo.el (elmo-folder-type): Undo last change.
1883 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1885 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1888 * elmo-file.el: New file.
1890 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1892 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1894 (elmo-spam-spamassassin-register-messages): New inline function.
1895 (elmo-spam-register-spam-messages): Define.
1896 (elmo-spam-register-good-messages): Ditto.
1898 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1901 * elmo.el (toplevel): Added autoload setting for
1902 `elmo-get-global-flags'.
1903 (elmo-message-has-global-flag-p): New function.
1904 (elmo-message-set-global-flags): Ditto.
1905 (elmo-folder-type): Improvement for name: format.
1907 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1908 availability of keyword flags.
1909 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1910 (elmo-folder-list-flagged-plugged): Renamed from
1911 elmo-folder-list-flagged-unplugged.
1912 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1913 accept any flag as keyword flag.
1914 (elmo-folder-set-flag-plugged): Accept keyword flags.
1915 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1917 * elmo-flag.el (elmo-get-global-flags): New function.
1919 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1922 * elmo-version.el (elmo-version): Up to 2.11.24.
1924 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1926 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1927 elmo-multiple-field-body instead of std11-field-body to check all
1930 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1932 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1935 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1937 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1938 unintern is unbound.
1940 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1942 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1943 Protect from infinite loop.
1945 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1947 * elsp-bogofilter.el
1948 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1949 (elmo-spam-bogofilter-register-messages): New internal function.
1950 (elmo-spam-register-spam-messages): Define.
1951 (elmo-spam-register-good-messages): Ditto.
1953 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1955 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1956 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1957 (elmo-spam-bogofilter-call): Fixed the last change.
1958 (elmo-spam-bogofilter-arguments): Ditto.
1960 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1961 Follow the options change of latest bogofilter.
1963 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1964 (elmo-spam-bogofilter-good-switch): Ditto.
1965 (elmo-spam-bogofilter-arguments-alist): New user option.
1966 (elmo-spam-bogofilter-debug): Ditto.
1967 (elmo-spam-bogofilter-call): Renamed from
1968 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1969 is non-nil, insert output in buffer for debug.
1970 (elmo-spam-bogofilter-arguments): New macro.
1971 (elmo-spam-buffer-spam-p): Use it.
1972 (elsp-bogofilter-register-buffer): Ditto.
1974 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1976 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1979 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1981 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1983 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1984 (elmo-spam-bsfilter-program): Set default value as full path for
1986 (elmo-spam-bsfilter-debug): New user option.
1987 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1988 non-nil, insert output in buffer for debug. Fix treating of
1991 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1993 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1994 `elmo-maildir-flag-specs' element instead of one.
1995 (elmo-map-folder-unset-flag): Ditto.
1996 (Reported by Ken Makimura <macky@astem.or.jp>)
1998 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1999 (elmo-folder-unset-flag-plugged): Ditto.
2001 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2003 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2004 to `reads' slot only if `in-msgdb' is nil.
2006 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2008 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2009 and complement argument list.
2011 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2013 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2014 instead of elmo-folder-list-flagged.
2016 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2018 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2020 * elsp-bsfilter.el: New file.
2022 * elmo-pipe.el (elmo-folder-list-unreads,
2023 elmo-folder-list-answereds,
2024 elmo-folder-list-importants,
2025 elmo-folder-flag-as-important,
2026 elmo-folder-unflag-important,
2027 elmo-folder-flag-as-read,
2028 elmo-folder-unflag-read,
2029 elmo-folder-flag-as-answered,
2030 elmo-folder-unflag-answered): Remove.
2031 (elmo-folder-set-flag): Define.
2032 (elmo-folder-unset-flag): Ditto.
2034 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2035 (elmo-folder-set-flag): Define.
2036 (elmo-folder-unset-flag): Ditto.
2037 (elmo-folder-list-unreads): Remove.
2038 (elmo-folder-list-flagged): Define.
2040 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2041 (elmo-folder-list-unreads,
2042 elmo-folder-list-importants,
2043 elmo-folder-list-answereds,
2044 elmo-folder-list-unreads-plugged,
2045 elmo-folder-list-importants-plugged,
2046 elmo-folder-list-answereds-plugged): Remove.
2047 (elmo-folder-list-flagged-plugged): New method.
2048 (elmo-folder-unflag-important,
2049 elmo-folder-flag-as-important,
2050 elmo-folder-unflag-read,
2051 elmo-folder-flag-as-read,
2052 elmo-folder-unflag-answered,
2053 elmo-folder-flag-as-answered,
2054 elmo-folder-flag-as-read-unplugged,
2055 elmo-folder-unflag-read-unplugged,
2056 elmo-folder-flag-as-important-unplugged,
2057 elmo-folder-unflag-important-unplugged,
2058 elmo-folder-flag-as-answered-unplugged,
2059 elmo-folder-unflag-answered-unplugged): Remove.
2060 (elmo-folder-set-flag): Define.
2061 (elmo-folder-unset-flag): Ditto.
2062 (elmo-folder-set-flag-unplugged): Ditto.
2063 (elmo-folder-unset-flag-unplugged): Ditto.
2065 * elmo-multi.el (elmo-folder-list-unreads,
2066 elmo-folder-list-answereds,
2067 elmo-folder-list-importants,
2068 elmo-folder-flag-as-important,
2069 elmo-folder-unflag-important,
2070 elmo-folder-flag-as-read,
2071 elmo-folder-unflag-read,
2072 elmo-folder-flag-as-answered,
2073 elmo-folder-unflag-answered): Remove.
2074 (elmo-folder-set-flag): Define.
2075 (elmo-folder-unset-flag): Ditto.
2077 * elmo-map.el (elmo-map-folder-unflag-important,
2078 elmo-map-folder-flag-as-important,
2079 elmo-map-folder-unflag-read,
2080 elmo-map-folder-flag-as-read,
2081 elmo-map-folder-unflag-answered,
2082 elmo-map-folder-flag-as-answered): Remove.
2083 (elmo-map-folder-set-flag): New method.
2084 (elmo-map-folder-unset-flag): Ditto.
2085 (elmo-map-folder-list-unreads,
2086 elmo-map-folder-list-importants,
2087 elmo-map-folder-list-answereds): Remove.
2088 (elmo-folder-list-flagged-internal): Define.
2089 (elmo-map-folder-list-flagged): New method.
2091 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2092 (elmo-map-folder-list-unreads,
2093 elmo-map-folder-list-importants,
2094 elmo-map-folder-list-flagged): Remove.
2095 (elmo-map-folder-list-flagged): Define.
2096 (elmo-map-folder-flag-as-important,
2097 elmo-map-folder-unflag-important,
2098 elmo-map-folder-flag-as-read,
2099 elmo-map-folder-unflag-read,
2100 elmo-map-folder-flag-as-answered,
2101 elmo-map-folder-unflag-answered): Remove.
2102 (elmo-maildir-set-mark-messages): New internal function.
2103 (elmo-map-folder-set-flag): Define.
2104 (elmo-map-folder-unset-flag): Ditto.
2106 * elmo.el (toplevel): Added autoload setting for
2107 `elmo-folder-list-global-flag-messages'.
2108 (elmo-folder-list-unreads,
2109 elmo-folder-list-importants,
2110 elmo-folder-list-answereds): Remove.
2111 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2112 Return a list whitch merged with messages have global flag.
2113 (elmo-folder-list-flagged-internal): New method.
2114 (elmo-folder-unflag-important,
2115 elmo-folder-flag-as-important,
2116 elmo-folder-unflag-read,
2117 elmo-folder-flag-as-read,
2118 elmo-folder-unflag-answered,
2119 elmo-folder-flag-as-answered): Remove.
2120 (elmo-folder-set-flag): New method.
2121 (elmo-folder-unset-flag): Ditto.
2122 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2123 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2125 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2126 (elmo-folder-list-unreads-plugged,
2127 elmo-folder-list-importants-plugged,
2128 elmo-folder-list-answereds-plugged,
2129 elmo-folder-list-flagged-unplugged,
2130 elmo-folder-unflag-important-plugged,
2131 elmo-folder-flag-as-important-plugged,
2132 elmo-folder-unflag-read-plugged,
2133 elmo-folder-flag-as-read-plugged,
2134 elmo-folder-unflag-answered-plugged,
2135 elmo-folder-flag-as-answered-plugged): Remove.
2136 (elmo-folder-set-flag-plugged,
2137 elmo-folder-unset-flag-plugged): Define.
2139 * elmo-flag.el (elmo-folder-initialize): Register to
2140 `elmo-global-flag-list' if flag is not global.
2141 (elmo-folder-append-messages): Set flag to source messages.
2143 * elmo-filter.el (elmo-filter-folder-list-unreads,
2144 elmo-folder-list-unreads,
2145 elmo-filter-folder-list-importants,
2146 elmo-folder-list-importants,
2147 elmo-folder-flag-as-read,
2148 elmo-folder-unflag-read,
2149 elmo-folder-flag-as-important,
2150 elmo-folder-unflag-important,
2151 elmo-folder-flag-as-answered,
2152 elmo-folder-unflag-answered): Remove.
2153 (elmo-folder-set-flag): Define.
2154 (elmo-folder-unset-flag): Ditto.
2156 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2157 elmo-folder-unflag-read-dop,
2158 elmo-folder-flag-as-important-dop,
2159 elmo-folder-unflag-important-dop,
2160 elmo-folder-flag-as-answered-dop,
2161 elmo-folder-unflag-answered-dop): Remove.
2162 (elmo-folder-set-flag-dop,
2163 elmo-folder-unset-flag-dop,
2164 elmo-folder-set-important-delayed,
2165 elmo-folder-unset-important-delayed,
2166 elmo-folder-set-read-delayed,
2167 elmo-folder-unset-read-delayed,
2168 elmo-folder-set-answered-delayed,
2169 elmo-folder-unset-answered-delayed): New function.
2170 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2171 (elmo-dop-queue-method-name-alist): Ditto.
2173 * elmo-version.el (elmo-version): Up to 2.11.23.
2175 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2177 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2179 * elsp-sa.el: New file.
2181 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2183 * modb-standard.el (modb-standard-message-entity): New function.
2184 (elmo-msgdb-message-entity): Use it.
2186 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2188 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2189 behavior when one-level is nil.
2191 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2193 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2195 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2197 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2199 (elmo-generic-folder-diff): Ditto.
2201 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2202 (elmo-folder-update-number): Ditto.
2204 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2205 (elmo-folder-next-message-number-dop): Ditto.
2207 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2209 * elmo-filter.el (elmo-folder-msgdb-create): Use
2210 `elmo-message-entity' and `elmo-message-flags' instead of
2211 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2213 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2215 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2218 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2220 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2222 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2224 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2226 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2228 * elmo-version.el (elmo-version): Up to 2.11.22.
2230 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2232 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2234 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2236 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2237 if the message dose not exist.
2239 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2241 * elmo-version.el (elmo-version): Up to 2.11.21.
2243 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2245 * modb-standard.el (toplevel): Don't require mime.
2247 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2249 * elsp-bogofilter.el (toplevel): Don't require path-util.
2250 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2251 (elmo-spam-bogofilter-header): Abolish.
2252 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2253 (elmo-spam-bogofilter-args): New user option.
2254 (elsp-bogofilter-call-bogofilter): New internal function.
2255 (elmo-spam-buffer-spam-p): Use it.
2256 (elsp-bogofilter-register-buffer): Renamed from
2257 `elmo-spam-bogofilter-register-buffer';
2258 Use `elsp-bogofilter-call-bogofilter'.
2259 (elmo-spam-register-spam-buffer): Follow the change above.
2260 (elmo-spam-register-good-buffer): Ditto.
2262 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2264 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2265 message-id is nil do nothing.
2267 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2269 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2271 (elmo-imap4-session): Removed use-flag slot.
2272 (elmo-imap4-session-select-mailbox): Undo last change.
2273 (elmo-folder-use-flag-p): Use
2274 elmo-imap4-disuse-server-flag-mailbox-regexp.
2276 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2278 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2279 (elmo-imap4-session-select-mailbox): Set it up.
2280 (elmo-folder-use-flag-p): Return value of use-flag slot.
2282 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2284 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2286 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2288 * modb-entity.el (elmo-message-entity-handler): Likewise.
2290 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2292 * elmo.el (toplevel): Remove setting of autoloding for
2293 elmo-global-flag-initialize.
2294 (elmo-init): Don't call elmo-global-flag-initialize.
2295 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2297 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2298 (elmo-global-mark-migrate): Don't call it.
2299 (elmo-global-mark-upgrade): Ditto.
2301 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2303 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2304 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2306 * elmo-vars.el (elmo-init-hook): New user option.
2308 * elmo.el (elmo-init): Run the elmo-init-hook.
2310 * elmo-flag.el (elmo-global-mark-migrate): New function.
2312 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2314 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2315 Undo last change (move to elmo-msgdb-unset-flag).
2316 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2319 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2321 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2323 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2324 (elmo-msgdb-unset-flag): Ditto.
2326 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2328 * elmo-split.el (elmo-split): Return split message count.
2330 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2332 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2335 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2337 * elmo.el (elmo-folder-unflag-important): Call
2338 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2341 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2343 (elmo-global-flag-detach): Delete the message from flag folder, if
2344 `delete-if-none' is a symbol `always'.
2346 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2348 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2349 `elmo-spam-spamfilter-decode-buffer'.
2350 (elsp-spamfilter-register-buffer-internal): New internal function.
2351 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2352 (elmo-spam-register-spam-buffer): Ditto.
2353 (elmo-spam-register-good-buffer): Ditto.
2355 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2357 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2358 (elmo-spam-register-spam-buffer): Follow the API change.
2359 (elmo-spam-register-good-buffer): Ditto.
2361 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2362 (elmo-split-spam-p): Added argument plist; Call
2363 `elmo-spam-buffer-spam-p' with new argument register.
2365 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2367 (elmo-spam-message-spam-p): Ditto.
2368 (elmo-spam-register-spam-buffer): Added optional argument
2370 (elmo-spam-register-good-buffer): Ditto.
2371 (elmo-spam-register-spam-messages): Ditto.
2372 (elmo-spam-register-good-messages): Ditto.
2374 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2376 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2377 register into good corpus.
2378 (elmo-spam-register-good-buffer): Fixed to register into bad
2381 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2383 * elmo-version.el (elmo-version): Up to 2.11.20.
2385 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2388 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2389 flag without depending on \Recent flag.
2391 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2393 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2394 (elmo-spam-modified-p): Defined.
2395 (elmo-spam-save-status): Set `modified' slot to nil.
2396 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2397 (elmo-spam-register-good-buffer): Ditto.
2399 * elmo-spam.el (elmo-spam-modified-p): New API.
2401 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2403 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2404 duplicate definition.
2406 * elmo-util.el (elmo-unfold-field-body): New function.
2407 (elmo-msgdb-get-message-id-from-buffer): Use it.
2409 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2410 Fixed the last change; Use elmo-unfold-field-body.
2412 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2414 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2417 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2419 * elmo-spam.el (elmo-spam-save-status): New API.
2421 * elsp-spamfilter.el: New file.
2423 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2425 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2427 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2429 * elmo-split.el (elmo-split-spam-p): New function.
2431 * elmo-spam.el: New file.
2433 * elsp-bogofilter.el: Ditto.
2435 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2437 * elmo.el (elmo-folder-next-message-number): New API.
2438 (elmo-folder-next-message-number): Define.
2439 (elmo-message-field): Don't check folder length.
2441 * elmo-net.el (elmo-folder-next-message-number): Define.
2442 (elmo-folder-next-message-number-unplugged): Define.
2444 * elmo-map.el (elmo-folder-next-message-number): Define.
2445 (elmo-folder-delete-messages): Clear hash value.
2447 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2449 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2450 (elmo-folder-delete-messages-dop-delayed): Always return t.
2452 * elmo-version.el (elmo-version): Up to 2.11.19.
2454 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2456 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2459 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2460 identical cons cell into the mark-alist and the hash table.
2462 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2464 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2465 elmo-folder-list-messages with argument `visible-only' as t.
2467 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2468 (elmo-folder-msgdb-create): Check the target folder.
2470 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2472 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2473 `permanentflag' instead of `flags'.
2474 (elmo-folder-open): Ditto.
2475 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2476 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2477 (elmo-folder-use-flag-p): Always return t.
2478 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2479 `permanentflags' does not exist.
2480 (elmo-folder-open): Ditto.
2482 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2484 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2486 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2488 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2489 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2491 (elmo-folder-open): Ditto.
2492 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2493 slot of the session includes the flag.
2494 (elmo-imap4-session-flag-available-p): New function.
2495 (elmo-imap4-folder-list-flagged): Ditto.
2496 (elmo-folder-list-unreads-plugged): Use it.
2497 (elmo-folder-list-importants-plugged): Ditto.
2498 (elmo-folder-list-answereds-plugged): Ditto.
2499 (elmo-imap4-search-internal-primitive): Ditto.
2500 (elmo-imap4-folder-list-any-plugged,
2501 elmo-imap4-folder-list-digest-plugged): Abolish.
2503 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2506 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2508 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2510 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2512 * elmo-util.el (elmo-get-hash-val): Simplify.
2513 (elmo-set-hash-val): Rewrite.
2515 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2517 * elmo.el (elmo-folder-list-messages): Append killed messages into
2518 result if `visible-only' is nil and `in-msgdb' is non-nil.
2520 * elmo-util.el (elmo-uniq-list): Added optional argument
2523 * modb.el (elmo-msgdb-flag-count): New API.
2525 * modb-standard.el (modb-standard): Added slot flag-count.
2526 (modb-standard-countup-flags): New function.
2527 (modb-standard-load-flag): Call it.
2528 (elmo-msgdb-append): Ditto.
2529 (elmo-msgdb-clear): Clear slot flag-count.
2530 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2531 (elmo-msgdb-unset-flag): Treat `all' flag and call
2532 modb-standard-countup-flags.
2533 (elmo-msgdb-flag-count): Define.
2534 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2535 (elmo-msgdb-delete-messages): Ditto.
2537 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2538 (elmo-msgdb-flag-count): Define.
2540 * elmo.el (elmo-folder-list-messages): Undo last change.
2541 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2542 (elmo-folder-kill-messages): Unset all flags to numbers.
2544 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2545 elmo-folder-kill-messages.
2547 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2548 (elmo-nntp-folder-delete-messages): Abolish.
2550 * elmo-version.el (elmo-version): Up to 2.11.18.
2552 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2554 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2555 (elmo-folder-kill-messages-range): New function.
2556 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2557 instead of elmo-folder-kill-messages-before.
2559 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2561 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2562 elmo-imap4-current-msgdb to decide entity handler.
2564 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2566 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2568 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2570 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2571 (elmo-msgdb-overview-entity-set-number,
2572 elmo-msgdb-overview-entity-get-references,
2573 elmo-msgdb-overview-entity-set-references,
2574 elmo-msgdb-overview-entity-get-from-no-decode,
2575 elmo-msgdb-overview-entity-get-from,
2576 elmo-msgdb-overview-entity-set-from,
2577 elmo-msgdb-overview-entity-get-subject,
2578 elmo-msgdb-overview-entity-get-subject-no-decode,
2579 elmo-msgdb-overview-entity-set-subject,
2580 elmo-msgdb-overview-entity-get-date,
2581 elmo-msgdb-overview-entity-set-date,
2582 elmo-msgdb-overview-entity-get-to,
2583 elmo-msgdb-overview-entity-get-cc,
2584 elmo-msgdb-overview-entity-get-size,
2585 elmo-msgdb-overview-entity-set-size,
2586 elmo-msgdb-overview-entity-get-extra,
2587 elmo-msgdb-overview-entity-set-extra,
2588 elmo-msgdb-overview-entity-get-extra-field,
2589 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2590 (elmo-msgdb-make-index): Use
2591 `elmo-msgdb-overview-entity-get-number-internal'.
2592 (elmo-msgdb-clear-index): Ditto.
2593 (elmo-msgdb-append-entity): Ditto;
2594 Use `elmo-msgdb-overview-entity-get-id-internal'.
2596 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2597 elmo-msgdb-overview-entity-set-number,
2598 elmo-msgdb-overview-entity-get-references,
2599 elmo-msgdb-overview-entity-set-references,
2600 elmo-msgdb-overview-entity-get-from-no-decode,
2601 elmo-msgdb-overview-entity-get-from,
2602 elmo-msgdb-overview-entity-set-from,
2603 elmo-msgdb-overview-entity-get-subject,
2604 elmo-msgdb-overview-entity-get-subject-no-decode,
2605 elmo-msgdb-overview-entity-set-subject,
2606 elmo-msgdb-overview-entity-get-date,
2607 elmo-msgdb-overview-entity-set-date,
2608 elmo-msgdb-overview-entity-get-to,
2609 elmo-msgdb-overview-entity-get-cc,
2610 elmo-msgdb-overview-entity-get-size,
2611 elmo-msgdb-overview-entity-set-size,
2612 elmo-msgdb-overview-entity-get-extra,
2613 elmo-msgdb-overview-entity-set-extra,
2614 elmo-msgdb-overview-entity-get-extra-field,
2615 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2616 and rewrote for backward compatibility.
2618 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2620 * elmo.el (elmo-message-entity-number,
2621 elmo-message-entity-set-number,
2622 elmo-message-entity-field,
2623 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2625 * elmo-msgdb.el (elmo-message-entity-number,
2626 elmo-message-entity-set-number,
2627 elmo-message-entity-field,
2628 elmo-message-entity-set-field): Moved from elmo.el.
2630 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2632 * elmo.el (toplevel): Changed definition orders.
2634 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2636 * modb.el (elmo-msgdb-search): New API .
2637 (elmo-msgdb-match-condition): Ditto.
2639 * modb-standard.el (elmo-msgdb-search): Define.
2641 * modb-legacy.el (elmo-msgdb-search): Ditto.
2643 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2644 from elmo-msgdb-match-condition-internal.
2646 * elmo.el (elmo-folder-search-fast): Abolish.
2647 (elmo-folder-search): Use elmo-msgdb-search and
2648 elmo-with-progress-display.
2650 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2653 * elmo.el (elmo-folder): Remove slot message-modified and
2655 (elmo-folder-set-message-modified): Abolish.
2656 (elmo-generic-folder-commit): Follow the change above.
2657 (elmo-folder-synchronize): Ditto.
2659 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2661 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2663 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2665 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2667 * modb-standard.el (modb-standard-make-message-entity,
2668 elmo-msgdb-make-message-entity,
2669 elmo-msgdb-create-message-entity-from-buffer,
2670 elmo-msgdb-message-entity-number,
2671 elmo-msgdb-message-entity-set-number,
2672 elmo-msgdb-message-entity-field,
2673 elmo-msgdb-message-entity-set-field,
2674 elmo-msgdb-copy-message-entity,
2675 elmo-msgdb-match-condition-internal): Remove.
2677 * modb-entity.el: New file (again).
2679 * modb.el (toplevel): Require modb-entity.
2680 (elmo-msgdb-message-entity-handler): New method.
2682 * modb-standard.el (modb-standard-entity-id): Use
2683 elmo-message-entity-handler.
2684 (modb-standard-load-entity): Ditto.
2685 (elmo-msgdb-append-entity): Ditto.
2686 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2688 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2689 elmo-msgdb-decoded-cache-hashtb,
2690 (modb-legacy-make-message-entity,
2691 elmo-msgdb-make-message-entity,
2692 elmo-msgdb-create-message-entity-from-buffer,
2693 elmo-msgdb-message-entity-number,
2694 elmo-msgdb-message-entity-set-number,
2695 elmo-msgdb-message-entity-field,
2696 elmo-msgdb-message-entity-set-field,
2697 elmo-msgdb-copy-message-entity,
2698 elmo-msgdb-match-condition-internal,
2699 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2701 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2702 (elmo-message-entity-set-number): Ditto.
2703 (elmo-message-entity-field): Ditto.
2704 (elmo-message-entity-set-field): Ditto.
2706 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2708 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2710 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2712 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2713 (elmo-nntp-msgdb-create-message): Ditto.
2715 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2716 (elmo-folder-msgdb-create): Add unread flag.
2718 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2720 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2722 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2724 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2726 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2727 elmo-msgdb-messge-entity-handler.
2728 * elmo-version.el (elmo-version): Up to 2.11.17.
2730 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2732 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2735 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2737 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2739 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2740 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2741 (elmo-msgdb-flag-table): Ditto.
2742 (elmo-msgdb-sort-by-date): Ditto.
2744 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2746 * modb-standard.el (toplevel): Require mime.
2747 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2748 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2749 elmo-msgdb-message-entity-number.
2750 (elmo-msgdb-append-entity): Ditto.
2751 (elmo-msgdb-create-message-entity-from-file): Remove.
2752 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2753 corresponds to the entity.
2754 (elmo-msgdb-message-entity-number): Do nothing currently.
2755 (elmo-msgdb-message-entity-field): Ditto.
2756 (elmo-msgdb-message-entity-set-field): Ditto.
2757 (elmo-msgdb-copy-message-entity): Ditto.
2758 (elmo-msgdb-match-condition-internal): Ditto.
2760 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2762 (elmo-msgdb-create-message-entity-from-file): Remove.
2764 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2766 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2768 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2770 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2772 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2773 (elmo-msgdb-message-entity-field): Ditto.
2774 (elmo-msgdb-message-entity-number): Ditto.
2776 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2778 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2779 Fixed how to set extra field into entity.
2780 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2783 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2784 Fixed how to set extra field into entity.
2785 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2788 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2790 * modb.el (elmo-message-entity-db): New function.
2791 (elmo-msgdb-make-message-entity): New API.
2792 (elmo-msgdb-message-entity-number): Ditto.
2793 (elmo-msgdb-message-entity-set-number): Ditto.
2794 (elmo-msgdb-message-entity-field): Ditto.
2795 (elmo-msgdb-message-entity-set-field): Ditto.
2796 (elmo-msgdb-copy-message-entity): Ditto.
2797 (elmo-msgdb-create-message-entity-from-file): Ditto.
2798 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2799 (elmo-msgdb-match-condition-internal): Ditto.
2801 * modb-standard.el (modb-legacy): Require modb-legacy.
2802 (modb-standard-make-message-entity): New inline function.
2803 (elmo-msgdb-make-message-entity): Define.
2804 (elmo-msgdb-create-message-entity-from-file): Ditto.
2805 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2806 (elmo-msgdb-message-entity-field): Ditto.
2807 (elmo-msgdb-message-entity-set-field): Ditto.
2808 (elmo-msgdb-copy-message-entity): Ditto.
2809 (elmo-msgdb-match-condition-internal): Ditto.
2811 * modb-legacy.el: Don't require modb-entity.
2812 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2813 (elmo-msgdb-match-condition-primitive): Ditto.
2814 (elmo-msgdb-get-decoded-cache): Ditto.
2815 (elmo-msgdb-overview-entity-get-id): Ditto.
2816 (elmo-msgdb-overview-entity-get-number): Ditto.
2817 (elmo-msgdb-overview-entity-set-number): Ditto.
2818 (elmo-msgdb-overview-entity-get-references): Ditto.
2819 (elmo-msgdb-overview-entity-set-references): Ditto.
2820 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2821 (elmo-msgdb-overview-entity-get-from): Ditto.
2822 (elmo-msgdb-overview-entity-set-from): Ditto.
2823 (elmo-msgdb-overview-entity-get-subject): Ditto.
2824 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2825 (elmo-msgdb-overview-entity-set-subject): Ditto.
2826 (elmo-msgdb-overview-entity-get-date): Ditto.
2827 (elmo-msgdb-overview-entity-set-date): Ditto.
2828 (elmo-msgdb-overview-entity-get-to): Ditto.
2829 (elmo-msgdb-overview-entity-get-cc): Ditto.
2830 (elmo-msgdb-overview-entity-get-size): Ditto.
2831 (elmo-msgdb-overview-entity-set-size): Ditto.
2832 (elmo-msgdb-overview-entity-get-extra): Ditto.
2833 (elmo-msgdb-overview-entity-set-extra): Ditto.
2834 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2835 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2836 (elmo-msgdb-number-load): Ditto.
2837 (elmo-msgdb-overview-load): Ditto.
2838 (elmo-msgdb-mark-load): Ditto.
2839 (elmo-msgdb-number-save): Ditto.
2840 (elmo-msgdb-mark-save): Ditto.
2841 (elmo-msgdb-overview-save): Ditto.
2842 (modb-legacy-make-message-entity): New inline function.
2843 (elmo-msgdb-insert-file-header): Ditto.
2844 (elmo-msgdb-make-message-entity): Define.
2845 (elmo-msgdb-create-message-entity-from-file): Ditto.
2846 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2847 (elmo-msgdb-message-entity-number): Ditto.
2848 (elmo-msgdb-message-entity-set-number): Ditto.
2849 (elmo-msgdb-message-entity-field): Ditto.
2850 (elmo-msgdb-message-entity-set-field): Ditto.
2851 (elmo-msgdb-copy-message-entity): Ditto.
2852 (elmo-msgdb-match-condition-internal): Ditto.
2854 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2855 (elmo-message-copy-entity): Rewrite.
2856 (elmo-message-entity-number): Ditto.
2857 (elmo-message-entity-set-number): Ditto.
2858 (elmo-message-entity-field): Use elmo-message-entity-db.
2859 (elmo-message-entity-set-field): Ditto.
2860 (elmo-message-field): Rewrite.
2862 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2864 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2866 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2867 elmo-message-entity-field.
2868 (elmo-shimbun-folder-shimbun-header): Ditto.
2869 (elmo-shimbun-entity-to-header): Ditto.
2870 (elmo-folder-msgdb-create): Ditto.
2871 (elmo-shimbun-msgdb-create-entity): Ditto;
2872 Use elmo-msgdb-create-message-entity-from-buffer.
2873 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2874 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2876 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2877 elmo-msgdb-create-message-entity-from-file and
2878 elmo-message-entity-field.
2880 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2881 elmo-message-entity-number.
2882 (elmo-pop3-msgdb-create-message): Use
2883 elmo-msgdb-create-message-entity-from-buffer,
2884 elmo-message-entity-set-field, elmo-message-entity-number and
2885 elmo-message-entity-set-number.
2887 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2888 the API change in elmo-msgdb-make-message-entity.
2889 (elmo-nntp-msgdb-create-message): Use
2890 elmo-msgdb-create-message-entity-from-buffer.
2892 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2893 elmo-message-entity-field and
2894 elmo-msgdb-create-message-entity-from-file.
2896 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2897 (elmo-msgdb-get-field): Abolish.
2898 (elmo-msgdb-get-number): Rewrite.
2899 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2900 (elmo-msgdb-flag-table): Ditto.
2901 (elmo-msgdb-get-last-message-id,
2902 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2903 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2904 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2905 (elmo-msgdb-create-overview-from-buffer,
2906 elmo-msgdb-overview-get-parent-entity): Abolish.
2908 * elmo-mime.el (elmo-mime-display-as-is): Use
2909 elmo-message-entity-field.
2911 * elmo-map.el (elmo-folder-pack-numbers): Use
2912 elmo-message-entity-set-number.
2914 * elmo-maildir.el (elmo-folder-msgdb-create):
2915 elmo-msgdb-create-message-entity-from-file instead of
2916 elmo-msgdb-create-overview-entity-from-file.
2918 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2920 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2921 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2923 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2924 elmo-messge-entity-field and elmo-message-entity-number.
2925 (elmo-imap4-fetch-callback-1): Call
2926 elmo-msgdb-create-message-entity-from-buffer instead of
2927 elmo-msgdb-create-overview-from-buffer.
2928 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2929 (elmo-find-fetch-strategy): Likewise.
2931 * elmo-flag.el (elmo-folder-msgdb-create): Call
2932 elmo-localdir-msgdb-create-entity with argument msgdb.
2934 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2935 and elmo-message-entity-set-number.
2937 * elmo-cache.el (elmo-folder-msgdb-create): Use
2938 elmo-message-entity-field.
2939 (elmo-folder-msgdb-create): Call
2940 elmo-msgdb-create-message-entity-from-file instead of
2941 elmo-msgdb-create-overview-entity-from-file.
2943 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2944 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2945 instead of elmo-msgdb-create-overview-from-buffer.
2946 (elmo-archive-msgdb-create-entity): Ditto.
2947 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2948 elmo-message-entity-field.
2949 (elmo-archive-parse-mmdf): Ditto.
2951 * modb-entity.el: Removed.
2953 * elmo-version.el (elmo-version): Up to 2.11.16.
2955 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2957 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2959 (elmo-folder-flag-as-answered): Ditto.
2961 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2963 * modb-standard.el: New file.
2965 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2966 elmo-msgdb-convert-type is `sync'.
2968 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2969 (elmo-msgdb-convert-type): New user option.
2971 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2972 (elmo-load-msgdb): Auto detect saved type.
2974 * elmo-version.el (elmo-version): Up to 2.11.15.
2976 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2978 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2980 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2981 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2982 with argument `delete-if-none' when dst-folder is 'null.
2984 * elmo-flag.el (elmo-folder-append-messages): Defined.
2985 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2987 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2989 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2991 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2993 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2994 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2995 (elmo-folder-commit): Ditto.
2997 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2999 * elmo-flag.el: New file.
3001 * elmo-mark.el: Removed.
3003 * modb-legacy.el (modb-legacy-new-mark,
3004 modb-legacy-unread-uncached-mark,
3005 modb-legacy-unread-cached-mark,
3006 modb-legacy-read-uncached-mark,
3007 modb-legacy-answered-cached-mark,
3008 modb-legacy-answered-uncached-mark,
3009 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3010 All other related portions are changed.
3012 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3013 (elmo-folder-list-messages-with-global-mark): Abolish.
3014 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3015 (elmo-folder-flag-as-important): Ditto.
3016 (elmo-folder-unflag-read): Ditto.
3017 (elmo-folder-flag-as-read): Ditto.
3018 (elmo-folder-unflag-answered): Ditto.
3019 (elmo-folder-flag-as-answered): Ditto.
3020 (elmo-message-encache): Return the cache path.
3021 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3022 (elmo-message-set-flag): Transitional implementation.
3023 (elmo-message-unset-flag): Ditto.
3024 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3025 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3026 (elmo-init): Call elmo-global-flag-initialize.
3027 (toplevel): Added autoload settings for elmo-flag.
3029 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3031 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3032 (elmo-file-cache-delete): Don't treat global-mark.
3034 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3036 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3038 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3039 `elmo-global-flags-set'.
3041 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3043 (elmo-folder-unflag-read): Ditto.
3044 (elmo-folder-unflag-important): Ditto.
3045 (elmo-folder-flag-as-important): Ditto.
3046 (elmo-folder-unflag-answered): Ditto.
3047 (elmo-folder-flag-as-answered): Ditto.
3049 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3050 `elmo-global-flags-set'.
3051 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3053 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3055 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3057 (elmo-folder-flag-as-important): Ditto.
3058 (elmo-folder-unflag-important): Ditto.
3059 (elmo-folder-flag-as-important): Ditto.
3060 (elmo-folder-unflag-read): Ditto.
3061 (elmo-folder-flag-as-read): Ditto.
3062 (elmo-folder-unflag-answered): Ditto.
3063 (elmo-folder-flag-as-answered): Ditto.
3065 * elmo-multi.el (elmo-folder-list-importants): Don't call
3066 elmo-folder-list-messages-with-global-mark.
3067 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3068 (elmo-folder-unflag-important): Ditto.
3069 (elmo-folder-flag-as-read): Ditto.
3070 (elmo-folder-unflag-read): Ditto.
3071 (elmo-folder-flag-as-answered): Ditto.
3072 (elmo-folder-unflag-answered): Ditto.
3074 * elmo-msgdb.el (elmo-msgdb-new-mark,
3075 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3076 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3077 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3078 (Moved to modb-legacy.el).
3079 (elmo-flag-table-get): Treat important flag too.
3081 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3083 (elmo-map-folder-flag-as-important): Ditto.
3084 (elmo-map-folder-unflag-read): Ditto.
3085 (elmo-map-folder-flag-as-read): Ditto.
3086 (elmo-map-folder-unflag-answered): Ditto.
3087 (elmo-map-folder-flag-as-answered): Ditto.
3088 (elmo-folder-unflag-important): Ditto.
3089 (elmo-folder-flag-as-important): Ditto.
3090 (elmo-folder-unflag-read): Ditto.
3091 (elmo-folder-flag-as-read): Ditto.
3092 (elmo-folder-unflag-answered): Ditto.
3093 (elmo-folder-flag-as-answered): Ditto.
3095 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3096 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3098 (elmo-map-folder-unflag-important): Ditto.
3099 (elmo-map-folder-flag-as-read): Ditto.
3100 (elmo-map-folder-unflag-read): Ditto.
3101 (elmo-map-folder-flag-as-answered): Ditto.
3102 (elmo-map-folder-unflag-answered): Ditto.
3104 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3105 `elmo-global-flags-set'.
3106 (elmo-global-flags-set): Added autoload setting.
3108 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3111 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3112 `elmo-msgdb-global-mark-set'.
3113 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3114 Call `elmo-global-flags-set'.
3115 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3117 (elmo-folder-flag-as-important-plugged): Ditto.
3118 (elmo-folder-unflag-read-plugged): Ditto.
3119 (elmo-folder-flag-as-read-plugged): Ditto.
3120 (elmo-folder-unflag-answered-plugged): Ditto.
3121 (elmo-folder-flag-as-answered-plugged): Ditto.
3122 (elmo-global-flags-set): Added autoload setting.
3124 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3126 (elmo-folder-unflag-read): Ditto.
3127 (elmo-folder-flag-as-important): Ditto.
3128 (elmo-folder-unflag-important): Ditto.
3129 (elmo-folder-flag-as-answered): Ditto.
3130 (elmo-folder-unflag-answered): Ditto.
3132 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3133 change of `mark'->`flag'.
3134 (elmo-dop-queue-method-name-alist): Ditto.
3135 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3136 (elmo-folder-unflag-read-dop): Ditto.
3137 (elmo-folder-flag-as-important-dop): Ditto.
3138 (elmo-folder-unflag-important-dop): Ditto.
3139 (elmo-folder-flag-as-answered-dop): Ditto.
3140 (elmo-folder-unflag-answered-dop): Ditto.
3142 * elmo-cache.el (elmo-folder-msgdb-create): Call
3143 `elmo-global-flags-set'.
3145 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3146 Call `elmo-global-flags-set'.
3147 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3148 elmo-archive-parse-mmdf with argument `folder'.
3149 (elmo-archive-parse-mmdf): Added argument `folder';
3150 Call `elmo-global-flags-set'.
3152 * elmo-version.el (elmo-version): Up to 2.11.14.
3154 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3156 * modb.el (elmo-msgdb-length): Define.
3158 * elmo.el (elmo-make-folder): Fixed.
3159 (elmo-generic-folder-append-messages): Follow the API change.
3161 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3164 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3166 * modb.el: New file.
3168 * modb-entity.el: Ditto.
3170 * modb-legacy.el: Ditto.
3172 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3173 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3174 of `elmo-msgdb-overview-get-entity'.
3175 (elmo-msgdb-get-field): Ditto.
3176 (elmo-msgdb-merge): Moved to `elmo.el'.
3177 (elmo-msgdb-length): Removed; redefine as modb method.
3178 (elmo-msgdb-change-mark): Abolish.
3179 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3180 (elmo-msgdb-match-condition): Don't use mark.
3181 (elmo-msgdb-overview-get-entity): Abolish.
3182 Split modb part into `modb*.el'.
3184 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3186 * elmo-shimbun.el (shimbun-mua-search-id): Use
3187 `elmo-msgdb-message-entity' instead of
3188 `elmo-msgdb-overview-get-entity'.
3189 (elmo-shimbun-folder-shimbun-header): Ditto.
3190 (elmo-shimbun-get-headers): Ditto.
3191 (elmo-shimbun-update-overview): Ditto.
3193 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3195 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3197 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3198 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3200 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3201 `elmo-msgdb-mark-to-flags'.
3203 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3204 `elmo-msgdb-set-path'.
3206 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3208 * elmo-version.el (elmo-version): Up to 2.11.13.
3210 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3212 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3215 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3217 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3220 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3222 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3223 instead of `elmo-msgdb-get-cached'.
3224 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3226 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3227 (elmo-msgdb-set-cached): Ditto.
3228 (elmo-msgdb-set-flag): Rewrite.
3229 (elmo-msgdb-unset-flag): Ditto.
3231 * elmo-msgdb.el: Rewrite with luna.
3233 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3234 (elmo-folder-msgdb): Follow the change above.
3235 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3236 (elmo-folder-unmark-important): Follow the API change.
3237 (elmo-folder-mark-as-important): Ditto.
3238 (elmo-folder-unmark-read): Ditto.
3239 (elmo-folder-mark-as-read): Ditto.
3240 (elmo-folder-unmark-answered): Ditto.
3241 (elmo-folder-mark-as-answered): Ditto.
3242 (elmo-folder-clear): Likewise.
3244 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3245 instead of `elmo-msgdb-load' (renamed).
3247 * elmo-version.el (elmo-version): Up to 2.11.12.
3249 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3251 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3253 (elmo-message-mark): Abolish.
3254 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3255 instead of `elmo-msgdb-change-mark'.
3257 * elmo-pipe.el (elmo-message-mark): Abolish.
3259 * elmo-multi.el (elmo-message-mark): Ditto.
3261 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3262 (elmo-msgdb-unread-uncached-mark): Ditto.
3263 (elmo-msgdb-unread-cached-mark): Ditto.
3264 (elmo-msgdb-read-uncached-mark): Ditto.
3265 (elmo-msgdb-answered-cached-mark): Ditto.
3266 (elmo-msgdb-answered-uncached-mark): Ditto.
3267 (elmo-msgdb-important-mark): Ditto.
3268 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3270 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3272 (elmo-flag-table-load): Changed flag to list of flag.
3273 (elmo-flag-table-set): If flags is nil, set read flag.
3274 (elmo-flag-table-get): Return derived flags from global mark,
3275 cache status and saved flags.
3276 (elmo-msgdb-flag-table): Follow the change above.
3277 (elmo-msgdb-out-of-date-messages): New function.
3279 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3281 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3283 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3285 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3286 (elmo-nntp-msgdb-create-message): Ditto.
3288 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3290 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3292 (elmo-folder-msgdb-create): Follow the API change.
3294 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3295 (elmo-folder-append-messages): Ditto.
3297 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3298 (elmo-folder-append-buffer): Ditto.
3300 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3302 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3304 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3305 (elmo-archive-parse-mmdf): Ditto.
3307 * elmo-version.el (elmo-version): Up to 2.11.11.
3309 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3311 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3314 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3316 * elmo-pipe.el (elmo-message-flags): Defined.
3318 * elmo-multi.el (elmo-message-flags): Ditto.
3320 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3322 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3323 `elmo-msgdb-delete-msgs'.
3325 * elmo.el (elmo-folder-count-flags): Don't use
3326 `elmo-msgdb-get-mark-alist'.
3327 (elmo-folder-detach-messages): Follow the API change.
3329 * elmo.el (elmo-folder-list-messages): Append killed messages into
3330 result if `visible-only' is nil.
3332 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3334 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3335 (elmo-folder-update-number): Likewise.
3337 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3338 (elmo-pop3-sort-msgdb-by-original-number): Use
3339 `elmo-msgdb-sort-entities'.
3341 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3342 (elmo-msgdb-sort-by-date): Use it.
3343 (elmo-msgdb-overview-sort-by-date): Abolish.
3345 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3347 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3348 (elmo-msgdb-flags): New function.
3349 (elmo-msgdb-merge): Use elmo-msgdb-append.
3351 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3354 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3356 * elmo-dop.el (elmo-folder-status-dop): Use
3357 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3359 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3361 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3363 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3365 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3367 * elmo-util.el (elmo-with-progress-display): New macro.
3369 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3371 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3373 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3374 `elmo-folder-list-message-entities' instead of
3375 `elmo-msgdb-get-overview'.
3376 (elmo-map-folder-list-message-locations): Ditto.
3378 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3379 methods instead of treat directly).
3380 (elmo-msgdb-clear): Ditto.
3381 (elmo-msgdb-delete-msgs): Ditto.
3382 (elmo-msgdb-sort-by-date): Ditto.
3384 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3386 (elmo-nntp-folder-msgdb-create): Follow the API change.
3388 * elmo-version.el (elmo-version): Up to 2.11.10.
3390 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3392 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3393 (elmo-msgdb-flags-to-mark): Ditto.
3394 (elmo-msgdb-append-entity): Ditto.
3396 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3397 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3398 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3399 (elmo-archive-parse-mmdf): Ditto.
3401 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3403 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3405 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3407 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3409 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3411 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3413 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3415 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3417 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3418 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3421 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3422 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3423 instead of directly construction.
3424 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3425 instead of construct msgdb.
3427 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3428 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3429 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3430 instead of construct msgdb.
3432 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3434 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3435 when field is from or subject.
3437 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3439 * elmo-multi.el (elmo-message-entity-parent): Define.
3440 (elmo-folder-search): Rewrite.
3442 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3444 * elmo-multi.el (elmo-message-cached-p): Define.
3446 * elmo.el (elmo-message-cached-p): New method.
3447 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3448 (elmo-message-flags): New method.
3449 (elmo-message-flagged-p): New function.
3451 * elmo-version.el (elmo-version): Up to 2.11.9.
3453 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3455 * elmo-version.el (elmo-version): Up to 2.11.8.
3457 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3459 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3461 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3463 * elmo.el (elmo-folder-detach-messages): Undo last change.
3465 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3467 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3469 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3470 only when src folder type is pop3.
3472 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3474 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3475 elmo-msgdb-overview-entity-get-number instead of
3476 elmo-message-entity-number.
3478 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3480 * elmo-version.el (elmo-version): Up to 2.11.7.
3482 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3484 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3487 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3488 (elmo-msgdb-merge): New function.
3489 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3490 (elmo-msgdb-make-index): Rewrite.
3492 * elmo-version.el (elmo-version): Up to 2.11.6.
3494 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3495 use it as a the path for loading message entities.
3497 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3499 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3501 * elmo-filter.el (elmo-folder-set-message-modified): Set
3502 message-modified slot of itself if it does not require target msgdb.
3504 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3505 if folder length is zero.
3506 (elmo-mime-display-as-is): Ditto.
3508 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3510 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3512 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3514 * elmo.el (elmo-folder-set-message-modified): New method.
3515 (elmo-generic-folder-commit): Use it.
3516 (elmo-folder-synchronize): Ditto.
3518 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3519 (elmo-folder-commit): Remove duplicate definition.
3521 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3523 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3525 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3527 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3528 (elmo-strict-folder-diff): Ditto.
3529 (elmo-folder-set-info-max-by-numdb): Simplify.
3531 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3532 elmo-msgdb-list-messages.
3534 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3535 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3537 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3539 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3540 visible-only is non-nil.
3541 (elmo-folder-confirm-appends): Changed message.
3542 (elmo-folder-synchronize): Added argument disable-killed.
3544 * elmo-multi.el (elmo-folder-synchronize): Added argument
3547 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3549 * elmo-version.el (elmo-version): Up to 2.11.5.
3551 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3554 * elmo-util.el (elmo-list-filter): Simplify.
3556 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3557 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3558 (elmo-generic-folder-diff): Abolish argument.
3559 (elmo-msgdb-load): Don't use number-alist.
3561 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3563 * elmo-pipe.el (elmo-folder-diff): Ditto.
3565 * elmo-nmz.el (elmo-folder-diff): Ditto.
3567 * elmo-net.el (elmo-folder-diff): Ditto.
3569 * elmo-maildir.el (elmo-folder-diff): Ditto.
3571 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3573 * elmo-multi.el (elmo-folder-diff): Ditto
3574 (elmo-multi-folder-diff): Rewrite.
3576 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3578 * elmo-pipe.el (elmo-folder-msgdb): Define.
3580 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3582 * elmo.el (elmo-message-set-cached): Define as a method.
3584 * elmo-pipe.el (elmo-message-set-cached): Define.
3585 (elmo-find-fetch-strategy): Ditto.
3587 * elmo-multi.el (elmo-message-set-cached): Define.
3588 (elmo-find-fetch-strategy): Rewrite.
3590 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3592 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3594 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3596 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3597 instead of number-alist.
3599 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3600 mark nor message-id when msgdb of source folder is not loaded.
3602 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3604 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3606 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3608 * elmo.el (elmo-folder-length): Don't require msgdb.
3610 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3612 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3613 (elmo-message-field): Ditto.
3615 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3616 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3618 (elmo-map-folder-list-answereds): Define.
3619 (elmo-maildir-list-location): Treat 'R' info.
3620 (elmo-folder-msgdb-create): Treat flag-table.
3621 (elmo-folder-append-messages): Save flag-table.
3623 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3625 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3626 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3628 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3630 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3632 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3633 'read when mark is null.
3635 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3637 * elmo-version.el (elmo-version): Up to 2.11.4.
3639 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3641 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3642 (elmo-folder-mark-as-answered): Ditto.
3644 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3646 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3647 (elmo-pop3-get-session): Make msgdb directory after session.
3648 (elmo-folder-exists-p): Check exactly at the first time even when the
3649 elmo-pop3-exists-exactly is nil.
3651 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3652 (elmo-folder-list-messages): Define instead of
3653 elmo-folder-list-messages-internal.
3654 (elmo-folder-check): Check destination folder.
3655 (elmo-folder-synchronize): Drain the pipe.
3657 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3658 when msgdb is not loaded.
3660 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3662 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3663 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3666 * elmo.el (elmo-folder-kill-messages-before): New function.
3667 (elmo-folder-kill-messages): Ditto.
3668 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3670 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3671 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3672 killed not by synchronize (e.g. scoring).
3674 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3676 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3678 (elmo-folder-search): Follow the change above.
3680 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3681 into the candidates of search field.
3683 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3685 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3686 (elmo-msgdb-unset-flag): Ditto.
3688 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3690 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3692 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3693 (elmo-folder-commit): Define.
3694 (elmo-folder-synchronize): Ditto.
3695 (elmo-folder-list-flagged): Ditto.
3696 (elmo-folder-commit): Ditto.
3697 (elmo-folder-length): Ditto.
3698 (elmo-folder-count-flags): Ditto.
3699 (elmo-message-mark): Ditto.
3700 (elmo-message-field): Ditto.
3701 (elmo-message-entity): Ditto.
3702 (elmo-message-folder): Ditto.
3704 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3706 * elmo.el (elmo-message-field): Define as a method.
3708 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3709 (elmo-message-field): Define.
3711 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3712 (elmo-folder-list-importants): Ditto.
3713 (elmo-folder-list-answereds): Ditto.
3715 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3717 (elmo-folder-mark-as-read): Ditto.
3718 (elmo-folder-unmark-read): Ditto.
3719 (elmo-folder-mark-as-answered): Ditto.
3720 (elmo-folder-unmark-answered): Ditto.
3721 (elmo-folder-list-flagged): Define.
3722 (elmo-folder-commit): Ditto.
3723 (elmo-folder-length): Ditto.
3724 (elmo-folder-count-flags): Ditto.
3726 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3728 * elmo.el (elmo-folder-detach-messages): New method.
3729 (elmo-folder-move-messages): Use it.
3730 (elmo-folder-synchronize): Ditto.
3732 * elmo-multi.el (elmo-folder-detach-messages): Define.
3734 * elmo.el (elmo-message-copy-entity): New function.
3735 (elmo-message-entity-set-number): Ditto.
3736 (elmo-message-mark): Define as method.
3738 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3739 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3740 (elmo-message-entity): Fixed last change.
3741 (elmo-message-mark): Define.
3742 (elmo-folder-msgdb-create): Abolish.
3743 (elmo-multi-folder-append-msgdb): Ditto.
3744 (elmo-multi-folder-diff): Fixed.
3745 (elmo-multi-split-number-alist): Removed.
3746 (elmo-multi-split-mark-alist): Removed.
3747 (elmo-folder-list-messages): Define.
3748 (elmo-folder-list-messages-internal): Removed.
3750 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3751 local file messages.
3752 (elmo-folder-msgdb-create): Fixed read mark.
3754 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3756 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3759 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3761 * elmo.el (elmo-folder-list-message-entities): Define as inline
3763 (elmo-folder-messages): Abolish.
3765 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3767 (elmo-folder-synchronize): Define.
3768 (elmo-message-entity): Define.
3770 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3772 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3773 elmo-imap4-session-select-mailbox.
3775 * elmo.el (elmo-folder-move-messages): Don't display any message.
3777 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3779 (elmo-imap4-session-check): Don't wait CHECK response.
3780 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3782 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3784 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3786 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3788 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3790 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3793 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3794 (elmo-folder-list-message-entities): Added argument in-msgdb and
3796 (elmo-folder-synchronize): Define as a method.
3798 * elmo-nntp.el (elmo-folder-initialize): Don't use
3799 elmo-nntp-default-user if zero-length username is specified
3802 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3804 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3805 server name in case with username.
3806 (XXX: this is ad-hoc fix against username includes "@", it
3807 should be solved fundamentally)
3809 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3811 * elmo-nntp.el (elmo-nntp-debug): New function.
3812 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3813 (elmo-network-authenticate-session): Hide auth-info from the log.
3815 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3816 user name if it is equal to elmo-nntp-default-user.
3818 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3820 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3821 instead of shimbun-server-internal;
3822 Use shimbun-current-group instead of shimbun-current-group-internal.
3823 (elmo-folder-plugged-p): Use shimbun-server instead of
3824 shimbun-server-internal.
3825 (elmo-folder-set-plugged): Ditto.
3826 (elmo-net-port-info): Ditto.
3827 (elmo-folder-check): Ditto.
3828 (elmo-folder-expand-msgdb-path): Ditto.
3829 (elmo-folder-list-subfolders): Ditto.
3831 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3833 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3834 Convert field-name to lower case.
3835 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3837 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3839 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3840 `message' and `error' take format string.
3842 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3844 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3846 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3848 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3849 recursive call (can't byte compile on emacs 20.7).
3851 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3853 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3854 (elmo-folder-list-message-entities): New API.
3855 (elmo-message-entity): Ditto.
3856 (elmo-message-entity-parent): Ditto.
3857 (elmo-folder-do-each-message-entity): Ditto.
3858 (elmo-message-entity-number): Ditto.
3859 (elmo-message-entity-field): Ditto.
3860 (elmo-message-entity-set-field): Ditto.
3861 (elmo-folder-count-flags): Ditto.
3862 (elmo-folder-length): Ditto.
3864 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3867 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3868 (elmo-msgdb-count-marks): Abolish.
3869 (elmo-msgdb-make-entity): Ditto.
3870 (elmo-msgdb-do-each-entity): Ditto.
3871 (elmo-msgdb-message-entity): New inline function.
3872 (elmo-msgdb-message-entity-field): Ditto.
3873 (elmo-msgdb-message-entity-set-field): Ditto.
3874 (elmo-msgdb-make-message-entity): New function.
3876 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3878 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3879 to flag. (All other related portions are changed.)
3880 (elmo-folder-msgdb-create): Likewise.
3881 (elmo-generic-folder-append-messages): Use flag-table instead of
3883 (elmo-folder-move-messages): Removed redundant process.
3884 (elmo-folder-synchronize): Likewise.
3886 * elmo-msgdb.el (elmo-flag-table-get): New function.
3887 (elmo-flag-table-save): Fixed.
3888 (elmo-msgdb-length): New inline function.
3889 (elmo-msgdb-flag-table): New function.
3890 (elmo-msgdb-mark): Add optional argument new.
3891 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3892 (elmo-msgdb-seen-list): Ditto.
3893 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3896 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3898 * elmo.el (elmo-message-set-mark): Abolish.
3899 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3900 (All related portions are changed.)
3902 * elmo-msgdb.el (toplevel): Added comment.
3903 (elmo-load-msgdb): Added 4th element `path'.
3904 (elmo-msgdb-append): Follow the change above.
3905 (elmo-msgdb-clear): Ditto.
3906 (elmo-msgdb-delete-msgs): Ditto.
3907 (elmo-msgdb-get-path): New inline function.
3908 (elmo-msgdb-set-path): Ditto.
3909 (elmo-flag-table-filename): New variable.
3910 (elmo-flag-table-load): New function.
3911 (elmo-flag-table-set): Ditto.
3912 (elmo-flag-table-save): Ditto.
3913 (elmo-msgdb-get-field-value): Abolish.
3914 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3916 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3918 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3919 the folder has been deleted successfully.
3920 * elmo-imap4.el (elmo-folder-delete): Ditto.
3921 * elmo-archive.el (elmo-folder-delete): Ditto.
3922 * elmo-localdir.el (elmo-folder-delete): Ditto.
3923 * elmo-maildir.el (elmo-folder-delete): Ditto.
3925 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3927 * elmo-util.el (elmo-string-member-ignore-case): New function.
3928 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3929 (elmo-imap4-fetch-callback-1-subr): Likewise.
3931 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3933 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3934 the case of the name attribute "\Noselect".
3936 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3938 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3940 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3941 flist, is not always a member of onum-alist.
3943 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3945 * elmo-version.el (elmo-version): Up to 2.11.3.
3947 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3949 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3950 copied from localdir's one.
3952 * elmo-pipe.el (elmo-folder-rename): New method, rename
3953 destination folder with leaving source folder as it is.
3955 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3957 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3960 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3962 * elmo-version.el (elmo-version): Up to 2.11.2.
3964 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3966 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3967 shimbun-open in case of "@".
3968 (elmo-folder-open-internal): Cope with shimbun = nil case.
3969 (elmo-folder-plugged-p): Ditto.
3970 (elmo-folder-list-subfolders): Make list for "@/" group.
3972 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3974 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3975 mailbox (e.g. for %~/something).
3977 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3979 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3980 Replace nested conditional with guard clauses.
3982 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3984 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3987 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3990 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3992 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3993 Replace nested conditional with guard clauses.
3995 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3997 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3998 (elmo-passwd-alist-save): Ditto.
3999 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4001 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4003 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4004 dir-name only if it is absolute path.
4005 (TODO: distinguish +/something and +something)
4007 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4009 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4010 path for "+~/something".
4012 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4014 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4015 as non-directory, cause error before rename-file.
4016 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4017 apropriately, mimic localdir's one.
4018 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4020 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4022 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4024 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4026 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4028 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4030 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4031 is included in the global-mark or not.
4033 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4035 * utf7.el (toplevel): Avoid error when the function
4036 find-coding-system does not exist.
4038 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4040 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4041 cache even if the folder is plugged.
4042 (elmo-nntp-search-primitive): Do nothing when body search is
4043 invoked (although it is not used by the change above).
4044 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4046 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4048 * elmo-version.el (elmo-version): Up to 2.11.1.
4050 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4052 * elmo-archive.el: Specify charset.
4054 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4056 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4057 process buffer lives or not.
4059 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4060 while flushing queues (It causes infinite loop).
4062 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4064 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4066 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4068 * utf7.el (toplevel): Check the ucs features dynamically.
4069 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4071 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4072 folder is creatabe or not if it already exists.
4074 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4076 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4078 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4080 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4081 (elmo-imap4-read-response): Take care of garbage response.
4083 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4085 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4086 just return nil instead of error.
4088 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4090 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4091 search-key is "body".
4093 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4095 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4096 of elmo-string-matched-assoc to use match-data.
4097 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4099 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4101 * elmo-split.el (elmo-split->): New function.
4102 (elmo-split-<): Ditto.
4104 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4106 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4107 workaround for invalid message-id.
4109 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4111 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4112 return normal pop3 session or pop3 biff session.
4114 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4116 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4117 info part to the cur files when the new files already have it.
4118 (Adviced by Jared Rhine <jared@wordzoo.com>)
4120 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4122 * elmo-split.el (elmo-split-default-action): New variable.
4123 (elmo-split-subr): Use it if all other conditions are passed.
4124 Extend `fname' and rename it as `action'. (implemented
4125 Teranishi-san's idea in [wl:10800])
4127 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4129 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4130 * elmo-util.el: Ditto.
4132 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4134 * elmo.el (elmo-message-accessible-p): Renamed from
4135 elmo-message-cached-p and rewritten.
4137 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4139 * elmo.el (elmo-folder-list-flagged): New generic function.
4140 (elmo-folder-list-importants): New implementation.
4141 (elmo-folder-list-answereds): Ditto.
4142 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4144 (elmo-message-cached-p): New function.
4145 (elmo-message-set-flag): Ditto (no content).
4146 (elmo-message-unset-flag): Ditto.
4147 (elmo-folder-list-messages-mark-match): Abolish.
4149 * elmo-util.el (elmo-regexp-opt): New function.
4151 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4152 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4154 (elmo-msgdb-list-flagged): New function.
4156 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4157 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4160 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4162 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4164 * elmo-version.el (elmo-version): Up to 2.11.0.
4166 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4168 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4169 `elmo-file-cache-exists-p'; use proper mark that depends on
4171 (elmo-msgdb-unset-flag): Ditto.
4172 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4174 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4175 with 4th argument `use-cache'.
4177 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4179 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4180 (elmo-folder-mark-as-important): Ditto.
4181 (elmo-folder-unmark-read): Ditto.
4182 (elmo-folder-mark-as-read): Ditto.
4183 (elmo-folder-unmark-answered): Ditto.
4184 (elmo-folder-mark-as-answered): Ditto.
4186 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4188 (elmo-msgdb-mark): Likewise.
4189 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4190 (elmo-msgdb-unset-flag): Likewise.
4192 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4194 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4196 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4199 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4201 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4202 set spool-length to 0.
4204 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4206 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4207 (elmo-dop-queue-flush): Fixed last change.
4209 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4211 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4212 if require-msgdb slot is nil.
4213 (elmo-folder-list-importants): Likewise.
4215 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4217 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4220 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4221 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4224 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4226 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4228 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4230 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4232 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4234 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4236 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4237 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4239 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4241 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4242 the problem reported by Sean Rima [wl-en:180].
4244 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4246 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4248 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4250 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4252 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4254 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4256 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4258 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4260 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4262 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4265 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4267 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4268 (elmo-folder-mark-as-read): Follow the API change.
4269 (elmo-message-set-cached): New function.
4271 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4273 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4275 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4276 (elmo-folder-mark-as-important): Ditto.
4277 (elmo-folder-unmark-read): Ditto.
4278 (elmo-folder-mark-as-read): Ditto.
4279 (elmo-folder-unmark-answered): Ditto.
4280 (elmo-folder-mark-as-answered): Ditto.
4282 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4283 (elmo-folder-unmark-important): Ditto.
4284 (elmo-folder-mark-as-read): Ditto.
4285 (elmo-folder-unmark-read): Ditto.
4286 (elmo-folder-mark-as-answered): Ditto.
4287 (elmo-folder-unmark-answered): Ditto.
4289 * elmo-mark.el (toplevel): Removed some mark method definitions.
4291 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4292 (elmo-map-folder-mark-as-answered): Ditto.
4293 (elmo-folder-unmark-important): Add :before qualifier.
4294 (elmo-folder-mark-as-important): Ditto.
4295 (elmo-folder-unmark-read): Ditto.
4296 (elmo-folder-mark-as-read): Ditto.
4297 (elmo-folder-unmark-answered): Define.
4298 (elmo-folder-mark-as-answered): Ditto.
4300 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4301 (elmo-map-folder-unmark-answered): Ditto.
4303 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4305 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4306 (elmo-folder-mark-as-important): Ditto.
4307 (elmo-folder-unmark-read): Ditto.
4308 (elmo-folder-mark-as-read): Ditto.
4309 (elmo-folder-unmark-answered): Ditto.
4310 (elmo-folder-mark-as-answered): Ditto.
4312 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4313 `mark'; evaluate mark condition.
4314 (elmo-msgdb-match-condition-internal): New function.
4315 (elmo-msgdb-match-condition): Call it; changed argument.
4317 * elmo.el (elmo-folder-search): Follow the API change on
4318 `elmo-msgdb-match-condition'.
4320 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4322 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4323 original mark is non-nil.
4325 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4327 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4328 (elmo-map-folder-list-answereds): New method.
4329 (elmo-folder-list-unreads): Add :around qualifier.
4330 (elmo-folder-list-importants): Ditto.
4331 (elmo-folder-list-answereds): Ditto.
4333 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4335 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4337 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4338 method if msgdb is not required.
4339 (elmo-filter-folder-list-importants): Don't treat global-mark.
4341 * elmo.el (elmo-folder-list-importants): Ditto.
4343 * elmo-net.el (elmo-folder-list-importants): Ditto.
4345 * elmo-map.el (elmo-folder-list-importants): Ditto.
4347 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4349 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4350 (elmo-imap4-folder-list-any-plugged): New function.
4351 (elmo-imap4-search-internal-primitive): Use it.
4353 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4354 only when require-msgdb slot is non-nil.
4355 (elmo-folder-close): Clear target folder's msgdb.
4357 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4359 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4360 (elmo-pop3-msgdb-create-by-header): Ditto.
4361 (elmo-pop3-msgdb-create-message): Ditto.
4363 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4365 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4367 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4369 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4370 (elmo-folder-msgdb-create): Ditto.
4371 (elmo-nntp-folder-msgdb-create): Ditto.
4372 (elmo-nntp-msgdb-create-by-header): Ditto.
4373 (elmo-nntp-msgdb-create-message): Ditto.
4374 (elmo-folder-list-unreads): Define.
4376 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4377 (elmo-folder-append-messages): Ditto.
4378 (elmo-folder-list-unreads): Define.
4379 (elmo-folder-list-importants): Ditto.
4380 (elmo-folder-list-answereds): Ditto.
4382 * elmo-net.el (elmo-folder-list-unreads): Define.
4383 (elmo-folder-list-importants): Ditto.
4384 (elmo-folder-list-answereds): Ditto.
4385 (elmo-folder-list-answereds-plugged): Ditto.
4386 (elmo-folder-msgdb-create): Follow the API change.
4387 (elmo-folder-msgdb-create-unplugged): Ditto.
4388 (elmo-folder-unmark-answered): Define.
4389 (elmo-folder-mark-as-answered-unplugged): Ditto.
4390 (elmo-folder-unmark-answered-unplugged): Ditto.
4392 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4393 (elmo-msgdb-unread-uncached-mark): Ditto.
4394 (elmo-msgdb-unread-cached-mark): Ditto.
4395 (elmo-msgdb-read-uncached-mark): Ditto.
4396 (elmo-msgdb-answered-cached-mark): Ditto.
4397 (elmo-msgdb-answered-uncached-mark): Ditto.
4398 (elmo-msgdb-important-mark): Ditto.
4399 (elmo-msgdb-set-mark): Rewrite.
4400 (elmo-msgdb-count-marks): Rewrite.
4401 (elmo-msgdb-mark-alist-set): Abolish.
4402 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4403 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4405 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4406 (elmo-folder-close): Define.
4407 (elmo-folder-msgdb-create): Follow the API change.
4408 (elmo-folder-list-unreads): Rewrite.
4409 (elmo-folder-mark-as-important): Ditto.
4410 (elmo-folder-unmark-important): Ditto.
4411 (elmo-folder-mark-as-read): Ditto.
4412 (elmo-folder-unmark-read): Ditto.
4413 (elmo-folder-mark-as-answered): Define.
4414 (elmo-folder-unmark-answered): Ditto.
4416 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4417 (elmo-folder-append-messages): Ditto.
4419 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4421 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4422 (elmo-folder-list-importants): Ditto.
4424 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4425 (elmo-folder-append-messages): Ditto.
4427 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4429 (elmo-folder-msgdb-create-plugged): Ditto.
4430 (elmo-folder-append-messages): Ditto.
4431 (elmo-folder-list-answereds-plugged): Define.
4432 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4433 (elmo-folder-unmark-answered-plugged): Define.
4434 (elmo-folder-mark-as-answered-plugged): Ditto.
4435 (elmo-folder-search-requires-msgdb-p): Ditto.
4437 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4438 (elmo-folder-initialize): Set it.
4439 (elmo-folder-msgdb): Define.
4440 (elmo-folder-check): Call elmo-folder-synchronize.
4441 (elmo-folder-close): Define.
4442 (elmo-folder-commit): Ditto.
4443 (elmo-folder-msgdb-create): Rewrite.
4444 (elmo-folder-list-unreads): Ditto.
4445 (elmo-folder-list-importants): Ditto.
4446 (elmo-folder-mark-as-read): Ditto.
4447 (elmo-folder-unmark-read): Ditto.
4448 (elmo-folder-mark-as-important): Ditto.
4449 (elmo-folder-unmark-important): Ditto.
4450 (elmo-folder-mark-as-answered): Define.
4451 (elmo-folder-unmark-answered): Ditto.
4453 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4454 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4455 (elmo-dop-queue-method-name-alist): Likewise.
4456 (elmo-folder-mark-as-answered-dop): New inline function.
4457 (elmo-folder-unmark-answered-dop): Ditto.
4458 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4460 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4461 (elmo-folder-msgdb-create): Ditto.
4462 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4463 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4464 (elmo-archive-parse-mmdf): Ditto.
4466 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4467 (elmo-folder-list-unreads-internal): Ditto.
4469 * elmo.el (elmo-folder-msgdb): Define as generic function.
4470 (elmo-folder-list-messages): Added argument `in-msgdb'.
4471 (elmo-folder-list-unreads): Define as generic function.
4472 (elmo-folder-list-importants): Ditto.
4473 (elmo-folder-list-answereds): Ditto.
4474 (elmo-folder-list-messages-with-global-mark): New function.
4475 (elmo-folder-msgdb-create): Removed mark arguments.
4476 (elmo-folder-unmark-answered): New generic function.
4477 (elmo-folder-mark-as-answered): Ditto.
4478 (elmo-folder-append-messages): Removed argunment `unread-marks'
4479 (elmo-folder-list-unreads-internal): Abolish.
4480 (elmo-folder-list-importants-internal): Ditto.
4481 (elmo-folder-search-requires-msgdb-p): New generic function.
4482 (elmo-folder-search-requires-msgdb-p-internal): New function.
4483 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4485 (elmo-folder-search-fast): Added key 'mark'.
4486 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4487 instead of unread-marks argument.
4488 (elmo-folder-move-messages): Removed argunment `unread-marks'
4489 (elmo-folder-unmark-important): Define.
4490 (elmo-folder-mark-as-important): Ditto.
4491 (elmo-folder-unmark-read): Ditto.
4492 (elmo-folder-mark-as-read): Ditto.
4493 (elmo-folder-unmark-answered): Ditto.
4494 (elmo-folder-mark-as-answered): Ditto.
4495 (elmo-folder-replace-marks): Abolish.
4496 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4498 (elmo-folder-synchronize): Removed mark arguments;
4499 return crosspost only number.
4501 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4503 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4504 Remove redundunt connectivity check.
4506 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4508 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4509 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4511 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4513 * pldap.el (ldap-decode-string): Return string as-is if
4514 `ldap-coding-system' is nil.
4515 (ldap-encode-string): Ditto.
4516 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4517 (ldap-default-host): Fixed docstring.
4519 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4521 * elmo-util.el (elmo-warning): Define as a macro which uses
4522 `display-warning' if it is defined as a function.
4524 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4525 (elmo-split-equal): Use it.
4526 (elmo-split-match): Ditto.
4527 (elmo-split-message-entity): New buffer-local variable.
4528 (elmo-split-subr): Set it.
4530 * elmo-version.el (elmo-version): Up to 2.9.15.
4532 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4534 * elmo-imap4.el (elmo-network-initialize-session):
4535 Check capability after starttls.
4537 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4539 * elmo-util.el (elmo-list-delete): Added optional argument
4542 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4544 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4546 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4548 * elmo-imap4.el (elmo-folder-initialize): Don't use
4549 elmo-imap4-default-mailbox.
4551 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4553 * elmo-split.el (toplevel): Use `product-provide'.
4554 (elmo-split): Checkdoc.
4556 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4558 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4559 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4560 the function `elmo-imap4-debug-1'.
4562 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4564 * elmo-split.el (elmo-split): Moved to run hooks and to show
4565 message from elmo-split-subr.
4566 (elmo-split-subr): Follow the change above.
4568 * elmo-split.el (elmo-split-subr): New function (renamed from
4570 (elmo-split): Changed to call elmo-split-subr by element of
4572 (elmo-split-folder): Changed customization type to choice.
4574 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4576 * elmo-split.el (elmo-split-and): Fixed condition.
4578 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4580 * elmo-split.el: New file.
4581 (elmo-split): Fixed logic.
4582 Display "Test:" instead of "Folder:" when reharsal.
4584 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4587 * elmo-version.el (elmo-version): Up to 2.9.14.
4589 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4592 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4594 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4595 message with no message-id field.
4597 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4599 * elmo-version.el (elmo-version): Up to 2.9.13.
4601 * elmo-dop.el (elmo-folder-status-dop): Fix.
4603 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4605 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4607 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4608 changing default value of default-mime-charset.
4609 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4611 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4613 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4614 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4615 instead of elmo-dop-queue-method-name-alist to check merging queue.
4616 (elmo-folder-delete-messages-dop): Delete from queue if negative
4618 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4619 file is already removed.
4621 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4623 * elmo-vars.el: Bind colon keywords for old Emacsen.
4625 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4627 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4628 against non-exsisting charset.
4630 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4632 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4633 Use eword-decode-and-unfold-unstructured-field-body.
4635 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4636 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4637 exists to decode raw subject string.
4638 (toplevel): Require 'mime.
4640 * elmo-version.el (elmo-version): Up to 2.9.12.
4642 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4644 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4645 (elmo-msgdb-set-mark): Ditto.
4647 * elmo-version.el (elmo-version): Up to 2.9.11.
4649 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4651 * elmo-util.el (elmo-delete-match-files): New function.
4653 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4654 instead of elmo-delete-directory.
4656 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4657 elmo-hash-minimun-size as 63.
4659 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4660 elmo-diff-unread is nil.
4662 * elmo-imap4.el (elmo-folder-open): Fix.
4664 * elmo.el (elmo-message-mark): Rewrite.
4665 (elmo-message-field): Ditto.
4666 (elmo-message-set-mark): Ditto.
4667 (elmo-folder-replace-marks): New function.
4668 (elmo-generic-folder-append-msgdb): Removed third argument for
4670 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4671 (elmo-msgdb-load): New implementation.
4673 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4675 * elmo-util.el (elmo-list-insert): New implementation.
4677 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4678 argument for elmo-msgdb-append.
4681 * elmo-msgdb.el (elmo-load-msgdb): New function.
4682 (elmo-make-msgdb): Ditto.
4683 (elmo-msgdb-get-index): New inline function.
4684 (elmo-msgdb-set-index): Ditto.
4685 (elmo-msgdb-get-entity-hashtb): Ditto.
4686 (elmo-msgdb-get-mark-hashtb): Ditto.
4687 (elmo-msgdb-get-mark): Ditto.
4688 (elmo-msgdb-set-mark): Ditto.
4689 (elmo-msgdb-count-marks): Ditto.
4690 (elmo-msgdb-get-number): Ditto.
4691 (elmo-msgdb-get-field): Ditto.
4692 (elmo-msgdb-seen-list): Ditto.
4693 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4694 (elmo-msgdb-delete-msgs): Follow the changes above.
4695 (elmo-msgdb-overview-get-entity): Ditto.
4696 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4697 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4699 (elmo-msgdb-make-index): Likewise.
4700 (elmo-msgdb-append): Removed third argument.
4701 (elmo-msgdb-clear): Clear index as nil.
4702 (elmo-folder-set-info-hashtb): Removed.
4703 (elmo-folder-set-info-max-by-numdb): Ditto.
4704 (elmo-folder-info-make-hashtb): Ditto.
4706 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4708 * elmo-map.el (elmo-folder-pack-number): Ditto.
4710 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4712 * elmo-version.el (elmo-version): Up to 2.9.10.
4714 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4716 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4718 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4720 * elmo-utils.el (elmo-make-directory): Add option.
4721 Default file mode is 700.
4723 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4725 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4727 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4729 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4732 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4735 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4737 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4738 (elmo-shimbun-folder-entity-hash): New function.
4739 (elmo-shimbun-folder-shimbun-header): Ditto.
4740 (elmo-shimbun-entity-to-header): Ditto.
4741 (elmo-shimbun-msgdb-to-headers): Removed.
4742 (elmo-shimbun-folder-setup): Ditto.
4743 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4745 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4746 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4747 Removed useless local bind.
4748 (elmo-folder-open-internal): Don't call
4749 `elmo-shimbun-folder-setup'.
4750 (elmo-folder-close-internal): Clear entity-hash slot.
4751 (elmo-folder-clear): Ditto.
4752 (elmo-shimbun-msgdb-create-entity): Use
4753 `elmo-shimbun-folder-shimbun-header'.
4754 (elmo-map-message-fetch): Ditto.
4755 (elmo-shimbun-update-overview): Use overview entity instead of
4756 shimbun header to lookup id by references.
4757 (elmo-map-folder-list-message-locations): Use not only headers but
4758 also overviews to list locations.
4760 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4762 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4765 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4767 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4769 * elmo-util.el (elmo-read-search-condition-internal): Give default
4772 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4774 * elmo-util.el (elmo-condition-parse-search-value): Accept
4775 YYYY-MM-DD format to search.
4776 * elmo-date.el (elmo-date-get-datevec): Likewise.
4778 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4780 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4783 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4785 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4788 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4790 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4791 case from `elmo-folder-exists-p'.
4792 (elmo-folder-exists-p): Removed.
4793 (elmo-folder-creatable-p) Ditto.
4795 * elmo-net.el (elmo-folder-create): Defined.
4796 (elmo-folder-create-unplugged): New function.
4797 (elmo-folder-exists-p): Changed default value to nil from t.
4799 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4800 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4802 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4803 `elmo-create-folder-dop' and append queue
4804 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4805 (elmo-folder-create-dop-delayed): New function.
4807 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4809 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4811 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4812 (elmo-folder-writable-p) : Ditto.
4814 * elmo-version.el (elmo-version): Up to 2.9.9.
4816 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4818 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4819 `elmo-message-use-cache-p' returns nil.
4820 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4821 (ignore cache file and refer the substance in local folders)
4823 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4825 * elmo-version.el (elmo-version): Up to 2.9.8.
4827 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4829 * elmo-version.el (elmo-version): Up to 2.9.7.
4831 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4833 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4835 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4837 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4839 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4841 (elmo-map-folder-list-message-locations): Reverse location list.
4843 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4845 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4847 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4849 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4851 (elmo-nntp-folder-list-subfolders): Follow the change above.
4853 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4855 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4856 name if authentication type is specified.
4858 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4860 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4862 (elmo-default-nntp-stream-type): Ditto.
4863 (elmo-default-pop3-stream-type): Ditto.
4865 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4867 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4869 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4871 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4873 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4875 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4876 (elmo-maildir-folder-path): Ditto.
4877 (elmo-maildir-list): Ditto (abolished).
4879 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4881 * elmo-version.el (elmo-version): Up to 2.9.6.
4883 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4885 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4886 (elmo-maildir-folder-path): Ditto.
4887 (elmo-msgdb-directory): Ditto.
4888 (elmo-passwd-life-time): Ditto.
4889 (elmo-msgdb-extra-fields): Ditto.
4890 (elmo-enable-disconnected-operation): Ditto.
4892 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4894 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4896 (elmo-pop3-default-authenticate-type): Ditto.
4898 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4900 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4902 (elmo-pop3-default-authenticate-type): Ditto.
4904 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4906 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4907 mailbox to new-folder.
4909 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4911 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4912 less than new, set new as unread.
4914 * elmo-util.el (elmo-string): Don't put text-property if nil.
4916 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4918 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4919 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4921 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4923 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4924 is nil on `completing-read'.
4926 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4928 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4930 (elmo-imap4-parse-namespace-subr): Ditto.
4931 (elmo-folder-list-subfolders): Append a delimiter when the specified
4932 folder path is a root with namespace and does not end with delimiter.
4934 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4936 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4939 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4941 * elmo-util.el (elmo-save-buffer): The first argument of message
4942 is a format control string.
4944 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4946 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4947 `elmo-folder-diff').
4948 (elmo-diff-unread): Likewise.
4950 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4952 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4953 is t on `completing-read'.
4955 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4957 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4958 method of target folder with self mark-alist if MARK-ALIST is nil.
4960 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4962 * elmo-version.el (elmo-version): Up to 2.9.5.
4964 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4966 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4967 (elmo-dop-merge-funcs): Remove.
4969 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4971 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4972 Return t if PATH is directory, too.
4973 Use `dolist' instead of while loop.
4975 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4977 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4980 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4982 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4984 (elmo-folder-list-messages-unplugged): Return t if
4985 elmo-enable-disconnected-operation is nil.
4987 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4988 `elmo-folder-list-messages-internal'.
4990 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4992 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4993 Change to looking-at `[23][0-9]+'.
4994 (elmo-network-initialize-session): Use 'error-msg'
4995 * elmo-net.el (elmo-network-open-session): Set unplugged
4996 if elmo-network-initialize-session returns 'elmo-open-err.
4998 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5000 * elmo-version.el (elmo-version): Up to 2.9.4.
5002 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5004 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5005 `elmo-folder-list-messages-internal'.
5007 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5009 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5010 (elmo-message-match-condition): New method.
5011 (elmo-folder-search-fast): New inline function.
5012 (elmo-msgdb-search): Removed.
5014 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5015 target folder if it is unplugged.
5016 (elmo-folder-list-messages-internal): Return t if target folder is
5017 unplugged and itself is persistent; In this case, use list be
5020 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5021 (elmo-msgdb-search-internal-primitive): Ditto.
5022 (elmo-msgdb-match-condition): New function.
5023 (elmo-msgdb-match-condition-primitive): Ditto.
5025 * elmo-util.el (elmo-filter-condition-p): New macro.
5027 * elmo-cache.el (elmo-folder-search): Removed.
5029 * elmo-localdir.el (elmo-folder-search): Ditto.
5031 * elmo-maildir.el (elmo-folder-search): Ditto.
5033 * elmo-mark.el (elmo-folder-search): Ditto.
5035 * elmo-nmz.el (elmo-folder-search): Ditto.
5037 * elmo-sendlog.el (elmo-folder-search): Ditto.
5039 * elmo-shimbun.el (elmo-folder-search): Ditto.
5041 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5042 if folder is unplugged.
5044 * elmo-nntp.el (elmo-folder-search): Likewise.
5045 (elmo-nntp-search-internal): New function.
5047 * elmo-version.el (elmo-version): Up to 2.9.3.
5049 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5051 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5053 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5055 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5057 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5059 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5061 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5063 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5064 (elmo-map-folder-list-message-locations): Do drive letter conversion
5065 on Windows environment.
5066 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5067 (elmo-map-message-fetch): Ditto.
5069 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5071 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5072 (elmo-network-initialize-session): Ditto.
5074 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5076 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5078 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5080 * elmo-util.el (elmo-progress-clear): Ditto.
5082 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5083 `DD-Mon-YYYY' type date.
5085 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5087 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5088 `elmo-date-make-sortable-string' instead of
5089 `timezone-make-date-sortable'.
5091 * elmo-date.el (elmo-date-make-sortable-string): Use
5092 `timezone-make-time-string'.
5094 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5096 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5098 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5099 `since'; Fix timezone.
5101 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5103 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5105 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5107 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5109 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5111 * elmo.el (elmo-generic-folder-append-messages): Make
5112 fetch-strategy with `use-cache' as 'maybe. Check return value of
5113 `elmo-message-fetch'.
5114 (elmo-message-fetch): Return return value of
5115 `elmo-message-fetch-with-cache-process'.
5116 (elmo-message-fetch-with-cache-process): Return non-nil if
5117 fetching was succeed. Load cache when fetching was failed and
5118 fetch-strategy-use-cache is 'maybe.
5120 * elmo-util.el (elmo-file-cache-load): New function.
5122 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5125 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5126 non-nil if fetching was succeed.
5128 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5130 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5132 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5133 (elmo-message-fetch-with-cache-process): Likwise.
5135 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5137 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5139 * elmo-version.el (elmo-version): Up to 2.9.2.
5141 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5143 * elmo.el (elmo-folder-delete): Delete msgdb path.
5145 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5147 * elmo-maildir.el (elmo-folder-delete): Ditto.
5149 * elmo-localdir.el (elmo-folder-delete): Ditto.
5151 * elmo-imap4.el (elmo-folder-delete): Ditto.
5153 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5155 * elmo.el (luna-define-class): Added `biff' slot.
5157 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5158 (elmo-pop3-debug-inhibit-logging): Abolished.
5159 (elmo-network-close-session): Eliminated needless let.
5160 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5161 (elmo-pop3-send-command): Added `no-log' argument.
5162 (elmo-pop3-process-filter): Use `with-current-buffer'.
5163 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5165 (elmo-pop3-auth-apop): Likewise.
5166 (elmo-network-authenticate-session): Likewise.
5168 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5171 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5172 string to determine protocol.
5173 (elmo-network-session-name-prefix): Abolished.
5174 (elmo-network-session-cache-key): Follow the change above.
5175 (elmo-network-open-session): Ditto.
5177 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5178 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5180 * elmo-version.el (elmo-version): Up to 2.9.1.
5182 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5183 unmatch condition checking.
5185 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5188 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5190 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5192 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5194 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5195 test for while loop to execute at least one SEARCH command.
5197 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5199 * elmo-version.el (elmo-version): Up to 2.9.0.
5201 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5203 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5204 (elmo-archive-folder-path): Define.
5205 (elmo-folder-initialize): Setup `dir-name' slot.
5206 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5207 Use `dir-name' as prefix of each subfolders.
5208 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5210 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5212 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5213 (elmo-pipe-folder-list-target-messages): New internal function.
5214 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5216 (elmo-pipe-folder-copied-list-load): New function.
5217 (elmo-pipe-folder-copied-list-save): Ditto.
5218 (elmo-folder-open-internal): Follow the change above.
5219 (elmo-folder-status): Fixed for copy.
5221 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5223 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5225 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5227 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5228 elmo-copy-file instead of elmo-add-name-to-file.
5230 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5232 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5235 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5236 of accept-process-output as 1.
5237 (elmo-pop3-read-contents): Ditto.
5238 (elmo-pop3-read-body): Ditto.
5240 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5242 * elmo-version.el (product-version-as-string): Remove define.
5244 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5246 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5247 (elmo-imap4-copy-messages): Chop number set using
5248 `elmo-imap4-number-set-chop-length'.
5249 (elmo-imap4-set-flag): Ditto.
5250 (elmo-imap4-search-internal-primitive): Ditto.
5252 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5254 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5255 `elmo-folder-make-temp-dir'
5257 * elmo-vars.el (elmo-cache-directory): New variable.
5258 (elmo-cache-dir): Abolished.
5259 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5261 * elmo-version.el (elmo-version): Up to 2.7.7.
5263 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5265 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5266 defcustom; Set default value as t.
5268 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5270 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5271 (ldap-search-program-arguments): Changed default value.
5272 (ldap-search-basic): Accept exit status 4.
5273 (ldap/field-body): Parse options.
5274 (ldap/collect-field): Ditto.
5275 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5277 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5278 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5279 (elmo-imap4-accept-ok): Ditto.
5280 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5281 'notify-bye, only BYE error is reported.
5282 (elmo-folder-exists-p-plugged): Set no-error argument of
5283 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5285 * elmo.el (elmo-imap4-bye-error): Changed message.
5287 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5288 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5289 queues (It causes infinite loop).
5291 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5293 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5294 (RECENT UNSEEN MESSAGES) extension.
5296 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5298 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5299 Check number of overview fields.
5301 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5303 * elmo.el (elmo-folder-confirm-appends): Changed message.
5304 (elmo-folder-confirm-appends): Ditto.
5306 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5308 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5310 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5312 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5313 of elmo-folder-update-threshold is nil, which can be set by
5314 wl-summary-update-confirm-threshold.
5316 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5318 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5319 (elmo-nmz-index-alias-alist): Ditto.
5320 (elmo-map-folder-list-message-locations): Follow the change above.
5322 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5324 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5326 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5328 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5330 * elmo-util.el (elmo-read): Ditto.
5331 (elmo-display-error): Ditto.
5333 * elmo-vars.el (elmo-date-match): Ditto.
5335 * pldap.el (ldap-coding-system): Ditto.
5337 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5338 `elmo-inhibit-number-mapping' as nil.
5340 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5342 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5343 space delimiter for list response.
5345 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5347 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5349 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5351 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5352 (elmo-map-message-fetch): Fix.
5353 * elmo-map.el (elmo-folder-status): Fix for killed.
5355 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5357 * elmo-sendlog.el: New file.
5358 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5360 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5362 * acap.el (acap-logging-out): New buffer local variable.
5363 (acap-close): Set it.
5364 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5367 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5369 * acap.el (acap-response-bye-p): New function.
5370 (acap-response-bye-message): Ditto.
5371 (acap-wait-for-response): If bye response is received, cause an error.
5372 (acap-parse-response): Make bye response when 'Bye' is received.
5374 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5376 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5378 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5380 * elmo-util.el (elmo-copy-file): Added argument
5381 `ok-if-already-exists'.
5382 (elmo-copy-file): Fixed typo.
5384 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5386 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5388 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5390 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5392 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5394 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5397 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5399 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5400 (elmo-folder-initialize): Fix for `copy'.
5401 (elmo-pipe-drain): Ditto.
5402 (elmo-folder-open-internal): Ditto.
5403 (elmo-folder-newsgroups): Fix.
5405 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5407 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5410 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5411 recent value is returned from imap folder.
5413 * elmo.el (elmo-folder-newsgroups): New generic function.
5415 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5416 (elmo-folder-initialize): Set it.
5417 (elmo-folder-expand-msgdb-path): Use it.
5418 (elmo-folder-newsgroups): Define.
5420 * elmo-filter.el (elmo-folder-newsgroups): Define.
5422 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5424 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5426 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5428 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5430 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5432 (elmo-shimbun-header-extra-field): New inline function.
5433 (elmo-shimbun-header-set-extra-field): Ditto.
5434 (elmo-shimbun-folder-header-hash-setup): Ditto.
5435 (elmo-shimbun-update-overview): Ditto.
5436 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5437 (elmo-shimbun-folder-setup): Use
5438 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5439 (elmo-shimbun-get-headers): Ditto.
5440 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5441 Insert `X-Shimbun-Id:' header if extra field is set.
5442 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5443 field's value instead of `shimbun-header-id'.
5445 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5447 (elmo-msgdb-overview-entity-set-date): Ditto.
5448 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5450 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5452 * mmimap.el (mmimap-entity-section): Changed body node number from
5455 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5457 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5458 `elmo-folder-delete-messages'.
5460 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5461 (elmo-folder-initialize): Changed to expand alias into index path.
5463 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5464 `elmo-mime-insert-header-from-buffer' with 6th arg
5467 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5469 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5471 * elmo.el (elmo-diff-new): New inline function.
5472 (elmo-diff-unread): Ditto.
5473 (elmo-diff-all): Ditto.
5475 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5476 value from responseb.
5477 (elmo-imap4-folder-diff-plugged): Ditto.
5478 (elmo-imap4-server-diff-async): Added recent argument.
5479 (elmo-server-diff-async): Ditto.
5480 (elmo-imap4-folder-diff-plugged): Ditto.
5482 * elmo-version.el (elmo-version): Up to 2.7.6.
5484 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5486 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5489 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5491 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5493 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5495 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5497 * elmo-multi.el (elmo-folder-initialize): Ditto.
5499 * elmo-util.el (elmo-parse-token): New function.
5500 (elmo-parse-prefixed-element): Ditto.
5502 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5504 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5506 (elmo-imap4-accept-ok): Ditto.
5508 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5510 * mmimap.el (mime-imap-entity-header-string): Don't check first
5511 element of node-id is `0' (Follow last change).
5513 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5515 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5516 assigned irregular node-id to nested multipart section.
5517 (initialize-instance): Followed above change.
5519 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5521 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5522 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5523 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5524 `elmo-shimbun-get-headers');
5525 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5526 visible article on summary exists in headers).
5527 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5529 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5531 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5534 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5536 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5538 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5540 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5541 header separator into loop condition.
5543 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5545 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5546 Return duplicate folder if it has subfolder.
5548 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5550 * elmo.el (elmo-make-folder): Add folder name error check.
5552 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5553 (elmo-nntp-encode-group-string): New inline function.
5554 (elmo-nntp-decode-group-string): Ditto.
5555 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5556 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5557 Use `not' instead of `null';
5558 Use elmo-nntp-decode-group-string.
5560 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5562 * elmo-version.el (elmo-version): Up to 2.7.5.
5564 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5566 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5567 Hide progress gauge if `elmo-folder-move-messages' exits
5570 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5572 * elmo-imap4.el (elmo-folder-initialize): Use
5573 `elmo-imap4-encode-folder-string' for folder name.
5575 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5577 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5580 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5582 * elmo-util.el (elmo-progress-counter-alist): New internal
5584 (elmo-progress-counter-value): New macro.
5585 (elmo-progress-counter-all-value): Ditto.
5586 (elmo-progress-counter-format): Ditto.
5587 (elmo-progress-counter-set-value): Ditto.
5588 (elmo-progress-set): New function.
5589 (elmo-progress-clear): Ditto.
5590 (elmo-progress-notify): Ditto.
5592 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5595 * elmo.el (elmo-generic-folder-append-messages): Call
5596 `elmo-progress-notify'.
5597 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5599 * elmo-archive.el (elmo-folder-append-messages): Call
5600 `elmo-progress-notify'.
5602 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5604 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5606 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5608 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5610 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5612 (elmo-message-encache-dop): Added argument `read'.
5614 * elmo-shimbun.el (elmo-message-encache): Ditto.
5616 * elmo-net.el (elmo-message-encache): Ditto.
5618 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5619 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5620 elmo-imap4-seen-messages.
5621 (elmo-folder-msgdb-create-plugged): Initialize
5622 elmo-imap4-seen-messages;
5623 Set seen mark on elmo-imap4-seen-messages.
5625 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5627 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5628 elmo-folder-append-buffer.
5629 (elmo-folder-encache): Added optional argument `read'.
5630 (elmo-message-encache): Ditto.
5632 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5634 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5636 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5637 if append buffer content succeds.
5639 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5641 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5642 elmo-display-progress.
5644 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5645 Set 4th argument of mime-display-message.
5646 (elmo-mime-display-as-is): Ditto.
5648 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5650 * elmo-nmz.el (toplevel): Require 'mime-edit.
5651 (elmo-nmz-content-type-alist): Abolished.
5652 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5653 content is not a message.
5654 (elmo-map-message-fetch): Changed behavior exept for message content;
5655 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5656 content-type, Add From: and Subject: field.
5658 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5660 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5661 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5664 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5666 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5667 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5669 * elmo-archive.el (elmo-folder-writable-p): Defined.
5671 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5673 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5675 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5677 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5679 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5681 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5683 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5685 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5687 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5689 * elmo-util.el (elmo-address-quote-specials): New function;
5690 Renamed from `wl-address-quote-specials'.
5692 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5694 * elmo-version.el (elmo-version): Up to 2.7.4.
5696 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5698 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5700 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5702 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5703 both compile-time and run-time to avoid byte-compile warning.
5705 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5707 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5709 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5711 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5713 (elmo-mime-display-as-is-internal): Use it.
5715 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5716 if `read-passwd' is not defined.
5718 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5720 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5722 (elmo-folder-status): Call `elmo-folder-open-internal';
5723 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5724 (elmo-folder-close-internal): Set location-alist as nil.
5725 (elmo-folder-clear): Define.
5726 (elmo-folder-check): Don't set location-alist as nil.
5728 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5730 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5732 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5733 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5735 * mmimap.el (mime-imap-entity::requested): New slot.
5736 (mime-imap-location-fetch-entity-p): New generic function.
5737 (mime-decode-parameters): Define using `defun-maybe'.
5738 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5739 content-type structure.
5740 (mime-entity-body): Return empty body if
5741 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5743 * elmo.el (elmo-message-displaying): New variable.
5745 * elmo-mime.el (elmo-mime-message-display): Bind
5746 elmo-message-displaying as t.
5748 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5750 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5752 * acap.el (acap-open): erase buffer before starting network process.
5753 (acap-store): Rewrite.
5755 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5757 * elmo-imap4.el (elmo-imap4-default-mailbox,
5758 elmo-imap4-default-server
5759 elmo-imap4-default-authenticate-type,
5760 elmo-imap4-default-user,
5761 elmo-imap4-default-port,
5762 elmo-imap4-default-stream-type,
5763 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5765 * elmo-pop3.el (elmo-pop3-default-user,
5766 elmo-pop3-default-server,
5767 elmo-pop3-default-authenticate-type,
5768 elmo-pop3-default-port,
5769 elmo-pop3-default-stream-type,
5770 elmo-pop3-stream-type-alist): Ditto.
5772 * elmo-nntp.el (elmo-nntp-default-server,
5773 elmo-nntp-default-user,
5774 elmo-nntp-default-port,
5775 elmo-nntp-default-stream-type,
5776 elmo-nntp-stream-type-alist): Ditto.
5778 * elmo-vars.el: Follow changes above.
5779 (elmo-setting): New custom group; added 'elmo-setting group to
5782 * elmo-version.el (elmo-version): Up to 2.7.3.
5784 * acap.el (acap-parse-response): Don't delete process when BYE
5785 response (It causes hang-up on slow network environment).
5786 (toplevel): Added comment.
5788 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5790 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5792 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5794 (acap-parse-return-metadata): Ditto.
5797 (toplevel): Fixed typo.
5799 * acap.el: New file.
5800 (acap-network-stream-open): Show "Connecting..." message.
5801 (acap-parse-response): Fixed problem for BYE untagged response.
5802 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5803 (toplevel): Added tiny comments.
5805 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5807 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5808 space delimiter for uidl response.
5810 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5812 * elmo-vars.el (elmo-use-semi): Eliminated.
5814 * elmo-util.el (elmo-string-assoc-all): New function.
5816 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5818 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5819 property 'mime-preview-situation for `mime-preview-quit'.
5821 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5823 * elmo.el (elmo-message-fetch-with-cache-process): Call
5824 elmo-message-fetch-internal instead of causing an error when fetch
5825 strategy is 'entire but only 'section cache is available.
5827 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5829 * elmo-version.el (elmo-version): Up to 2.7.2.
5831 * elmo.el (elmo-generic-folder-append-messages): Make
5832 fetch-strategy with `use-cache'.
5834 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5835 (elmo-dop-queue-method-name): New macro.
5837 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5839 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5840 unbalanced parenthesis.
5842 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5844 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5846 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5848 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5849 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5851 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5853 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5856 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5858 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5859 (elmo-message-use-cache-p): Define.
5860 (elmo-folder-msgdb-create): Treat cache.
5862 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5864 * elmo-nntp.el (elmo-network-initialize-session): Call
5865 `elmo-nntp-send-mode-reader'.
5866 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5868 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5870 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5872 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5875 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5876 for `elmo-plugged-p'.
5877 (elmo-open-network-stream): Fixed stream-type argument.
5879 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5881 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5882 unknown archive type is specified.
5884 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5886 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5888 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5889 while loading msgdb.
5891 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5892 (elmo-folder-open-internal): Rewrite.
5894 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5896 * elmo-mime.el (elmo-mime-display-as-is-internal):
5897 Adjust buffer-multibyte status.
5899 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5901 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5902 of elmo-condition-find-key.
5904 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5905 (elmo-condition-in-msgdb-p): Ditto.
5906 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5909 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5911 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5913 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5915 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5916 label for elmo-display-progress.
5918 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5920 * elmo.el (elmo-folder-clear): New method.
5921 (elmo-folder-clear): Define.
5922 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5924 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5925 (elmo-folder-clear): Define.
5927 * elmo-map.el (elmo-folder-clear): Define.
5929 * elmo-version.el (elmo-version): Up to 2.7.1.
5931 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5933 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5936 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5938 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5939 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5941 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5943 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5945 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5948 * elmo-imap4.el (elmo-folder-initialize): Use
5949 elmo-get-network-stream-type.
5951 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5953 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5955 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5957 * elmo.el (elmo-message-encache): Set unread argument for
5960 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5962 * elmo.el (elmo-net-port-info): New method.
5964 * elmo-shimbun.el (elmo-net-port-info): Define.
5965 (elmo-message-encache): Ditto.
5967 * elmo-net.el (elmo-net-port-info): Define as method.
5969 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5970 unplugged status when elmo-enable-disconnected-operation is t.
5972 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5973 of spool folder before checking new number.
5975 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5977 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5978 (elmo-network-setup-session): Ditto.
5979 (elmo-message-fetch-plugged): Ditto.
5980 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5981 (elmo-network-initialize-session): Ditto.
5982 (elmo-pop3-read-response): Abolish 3rd argument.
5983 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5984 (elmo-pop3-read-contents): Ditto.
5985 (elmo-pop3-read-body): Ditto.
5986 (elmo-folder-status): Call elmo-folder-close.
5987 (elmo-pop3-lock): Abolish.
5988 (elmo-pop3-unlock): Ditto.
5989 (elmo-pop3-locked-p): Ditto.
5990 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5992 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5994 * elmo-version.el (elmo-version): Up to 2.7.0.
5996 * elmo-pop3.el (elmo-pop3-debug): New variable.
5997 (elmo-pop3-debug-inhibit-logging): Ditto.
5998 (elmo-pop3-debug): New function.
5999 (elmo-pop3-send-command): Call elmo-pop3-debug.
6000 (elmo-pop3-read-response): Added keep-lock optional argument;
6001 Don't unlock if keep-lock is non-nil.
6002 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6003 (elmo-network-authenticate-session): Bind
6004 elmo-pop3-debug-inhibit-logging as t.
6005 (elmo-network-setup-session): Call elmo-pop3-read-response with
6007 (elmo-pop3-read-msg): Ditto.
6008 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6009 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6010 (elmo-network-initialize-session): Call elmo-pop3-lock.
6011 (elmo-folder-close-internal): Don't clear location-alist slot.
6012 (elmo-folder-check): Clear location-alist slot.
6014 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6016 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6017 (elmo-pop3-send-command): Call elmo-pop3-lock.
6018 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6019 (elmo-pop3-read-contents): Ditto.
6020 (elmo-pop3-lock): New function.
6021 (elmo-pop3-unlock): Ditto.
6022 (elmo-pop3-locked-p): Ditto.
6023 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6026 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6028 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6030 * elmo-util.el (elmo-file-field-primitive-condition-match):
6031 New inline function (Don't fetch file content if "first" or "last").
6032 (elmo-file-field-condition-match): Use
6033 elmo-file-field-primitive-condition-match.
6035 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6038 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6039 (elmo-message-fetch-plugged): Fixed.
6041 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6043 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6045 * elmo.el (elmo-folder-move-messages): Bind
6046 elmo-inhibit-display-retrieval-progress as t while moving messages.
6048 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6050 (elmo-inhibit-display-retrieval-progress): Ditto.
6052 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6053 for retrieval progress;
6054 Don't display progress when total buffer size is smaller than
6055 elmo-display-retrieval-progress-threshold.
6056 (elmo-message-fetch-plugged): Don't display progress when
6057 elmo-inhibit-display-retrieval-progress is non-nil.
6059 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6060 for retrieval progress;
6061 Don't display progress when literal size is smaller than
6062 elmo-display-retrieval-progress-threshold.
6063 (elmo-imap4-message-fetch): Don't display progress when
6064 elmo-inhibit-display-retrieval-progress is non-nil.
6066 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6068 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6069 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6070 (elmo-imap4-message-fetch): Likewise.
6072 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6073 (elmo-shimbun-index-range-alist): Ditto.
6074 (elmo-shimbun-use-entire-index): Abolish.
6075 (shimbun-mua-use-entire-index): Ditto.
6076 (elmo-shimbun-folder): Added new slot `range'.
6077 (elmo-folder-initialize): Setup slot `range'.
6079 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6081 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6082 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6083 (elmo-shimbun-get-headers): Use return value of
6084 `shimbun-article-expiration-days'.
6085 (elmo-folder-close-internal): Clean up last-check slot.
6087 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6088 (elmo-pop3-total-size): New variable.
6089 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6091 * elmo.el (elmo-folder-reserve-status-p): New method.
6093 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6094 (elmo-shimbun-use-entire-index): New user option.
6095 (shimbun-elmo-mua): New class.
6096 (shimbun-mua-search-id): Define.
6097 (shimbun-mua-use-entire-index): Ditto.
6098 (elmo-shimbun-folder:last-check): New slot.
6099 (elmo-shimbun-headers-cache-header-list): Abolish.
6100 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6101 (elmo-shimbun-headers-cache-header-hash): Ditto.
6102 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6103 (elmo-shimbun-headers-cache-last-check): Ditto.
6104 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6105 (elmo-shimbun-headers-check-p): Rewrite.
6106 (elmo-shimbun-msgdb-to-headers): New function.
6107 (elmo-shimbun-get-headers): Rewrite.
6108 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6109 (elmo-folder-open-internal): Get headers only if
6110 `elmo-shimbun-headers-check-p' is non-nil.
6111 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6113 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6114 (elmo-quit): Removed.
6116 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6118 (elmo-msgdb-overview-entity-set-extra): Ditto.
6119 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6121 * elmo-map.el (elmo-folder-status): Don't call
6122 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6125 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6127 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6128 of `elmo-msgdb-search-internal-primitive' when condition's car is
6131 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6133 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6135 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6137 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6138 call `elmo-pipe-drain'.
6140 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6142 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6143 typo. (elmo-cache-folder -> elmo-mark-folder)
6145 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6147 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6148 `elmo-message-fetch'.
6150 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6152 * elmo-net.el (elmo-message-encache): Fixed typo.
6153 (elmo-message-fetch-unplugged): Changed call
6154 `elmo-message-fetch-internal' without argument `outbuf'.
6156 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6158 * elmo.el (elmo-message-encache): Define as generic function.
6159 (elmo-message-fetch-field): New generic function.
6160 (elmo-message-fetch-with-cache-process): Cause an error when
6161 fetch strategy is 'entire but only 'section cache is available.
6162 (toplevel): Fixed nmz folder definition.
6164 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6165 (elmo-msgdb-resume-list-filename): Ditto.
6166 (elmo-queue-filename): Ditto.
6167 (elmo-enable-disconnected-operation): Changed default value to t.
6169 * elmo-util.el (elmo-cache-path-section-p): New function.
6170 (elmo-file-cache-get): Use it.
6171 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6172 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6173 (elmo-dop-queue-save): Ditto.
6175 * elmo-net.el (elmo-folder-status-unplugged): Call
6176 elmo-folder-status-dop.
6177 (elmo-folder-list-messages-unplugged): Implemented.
6178 (elmo-folder-delete-messages-unplugged): Define.
6179 (elmo-folder-msgdb-create): Define.
6180 (elmo-folder-msgdb-create-unplugged): Define.
6181 (elmo-folder-mark-as-read-unplugged): Ditto.
6182 (elmo-folder-unmark-read-unplugged): Ditto.
6183 (elmo-folder-mark-as-important-unplugged): Ditto.
6184 (elmo-folder-unmark-important-unplugged): Ditto.
6185 (elmo-message-encache): Ditto.
6187 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6188 (elmo-dop-queue-save): Ditto.
6190 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6191 `elmo-folder-msgdb-create'.
6192 (elmo-folder-append-buffer): Implemented unplugged operation.
6193 (elmo-folder-append-messages): Call parent method in unplugged status.
6194 (elmo-message-fetch-unplugged): Removed definition.
6195 (elmo-message-fetch-field): Implemented.
6197 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6198 (elmo-dop-folder): Removed variable definition.
6199 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6200 (elmo-dop-queue-flush): Implemented.
6201 (elmo-dop-queue-merge): Removed definition (TODO).
6202 (elmo-dop-spool-folder): New function.
6203 (elmo-dop-spool-folder-append-buffer): Ditto.
6204 (elmo-dop-spool-folder-list-messages): Ditto.
6205 (elmo-dop-list-deleting-messages): Ditto.
6206 (elmo-folder-append-buffer-dop): Ditto.
6207 (elmo-folder-delete-messages-dop): Ditto.
6208 (elmo-message-encache-dop): New inline function.
6209 (elmo-create-folder-dop): Ditto.
6210 (elmo-folder-mark-as-read-dop): Ditto.
6211 (elmo-folder-unmark-read-dop): Ditto.
6212 (elmo-folder-mark-as-important-dop): Ditto.
6213 (elmo-folder-unmark-important-dop): Ditto.
6214 (elmo-folder-status-dop): Fixed.
6215 (elmo-folder-append-buffer-dop-delayed): New function.
6216 (elmo-folder-delete-messages-dop-delayed): Ditto.
6217 (elmo-dop-msgdb): Ditto.
6219 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6221 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6223 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6225 * elmo.el (elmo-folder-move-messages): Fixed problem when
6226 `dst-folder' is 'null.
6228 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6230 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6231 instead of current mark.
6233 * elmo-multi.el (elmo-folder-list-importants-internal): No
6234 operation if importants is not list.
6236 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6237 Return t if importants is not list.
6239 * elmo-map.el (elmo-map-folder-list-importants): Define.
6240 (elmo-folder-list-importants-internal): Check return value of
6241 `elmo-map-folder-list-importants-internal'.
6243 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6245 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6247 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6249 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6251 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6253 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6254 (Patch is provided by <kita@coe.nttdata.co.jp>).
6256 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6258 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6261 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6263 * elmo.el (elmo-message-fetch): Define.
6264 (elmo-message-fetch-with-cache-process): New generic method.
6265 (elmo-message-fetch-internal): New generic method.
6266 (elmo-folder-synchronize):
6268 * elmo-archive.el (elmo-message-fetch-internal): Define.
6269 (elmo-message-fetch): Eliminated.
6271 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6272 (elmo-message-fetch): Eliminated.
6274 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6276 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6278 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6279 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6281 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6282 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6284 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6286 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6288 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6290 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6291 (elmo-message-fetch-unplugged): New generic method.
6292 (elmo-message-fetch-internal): Remove cache process (Renamed from
6293 `elmo-message-fetch').
6295 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6296 (elmo-message-fetch): Eliminated.
6297 (elmo-message-fetch-unplugged): Ditto.
6299 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6301 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6303 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6304 of `to-be-deleted' from number-alist to number-list.
6306 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6308 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6309 (elmo-folder-mark-as-important): Ditto.
6311 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6313 * elmo.el (elmo-folder): Added process-duplicates slot.
6315 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6316 (elmo-folder-unmark-read): Ditto.
6317 (elmo-folder-unmark-important): Ditto.
6318 (elmo-folder-mark-as-important): Ditto.
6320 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6321 duplicated message processing.
6323 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6325 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6327 * elmo-util.el (elmo-list-subdirectories-1): New function.
6328 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6329 (elmo-mapcar-list-of-list): New function.
6331 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6332 `elmo-mapcar-list-of-list' instead of `mapcar'.
6334 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6336 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6337 `elmo-have-link-count'. Return the fully qualified folder name.
6339 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6341 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6342 (elmo-shimbun-headers-cache): New internal variable.
6343 (elmo-shimbun-headers-cache-header-list): New inline function.
6344 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6345 (elmo-shimbun-headers-cache-header-hash): Ditto.
6346 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6347 (elmo-shimbun-headers-cache-last-check): Ditto.
6348 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6349 (elmo-shimbun-lapse-seconds): Ditto.
6350 (elmo-shimbun-headers-cache-check-p): Ditto.
6351 (elmo-shimbun-get-headers): New function.
6352 (elmo-folder-open-internal): Call it.
6353 (elmo-quit): Define (Clear headers-cache).
6355 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6357 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6359 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6360 (elmo-msgdb-flist-save): Ditto.
6362 * elmo-shimbun.el (elmo-folder-list-subfolders):
6363 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6364 (elmo-folder-exists-p): Ditto.
6366 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6367 argument for `shimbun-header-insert'.
6369 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6371 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6374 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6375 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6377 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6379 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6380 (elmo-folder-plugged-p): Define.
6381 (elmo-folder-set-plugged): Ditto.
6382 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6383 (elmo-folder-list-messages-internal): Return t if unplugged.
6384 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6386 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6387 when elmo-folder-list-messages-internal method of children returns t.
6389 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6391 (elmo-folder-open-internal): Don't update if unplugged status.
6393 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6395 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6398 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6400 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6402 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6405 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6407 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6409 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6410 (elmo-folder-open-internal): Set up headers slot.
6411 (elmo-folder-check): Call elmo-folder-close-internal and
6412 elmo-folder-open-internal.
6413 (elmo-folder-close-internal): Clean up headers slot.
6415 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6417 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6418 exactly folder list.
6419 (elmo-folder-append-messages): Fixed append archive with prefix.
6421 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6422 make temp files with start-number.
6424 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6426 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6428 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6429 argument `visible-only'.
6430 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6433 * elmo-pop3.el (elmo-folder-open-internal): Check
6434 `elmo-inhibit-number-mapping' is non-nil.
6436 * elmo-pipe.el (elmo-folder-status): Fixed.
6438 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6440 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6442 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6443 (elmo-folder-open-internal): Setup `header-hash' slot.
6444 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6446 (elmo-map-message-fetch): Ditto.
6448 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6450 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6451 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6452 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6453 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6455 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6457 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6459 * sb-airs.el: Added footer.
6461 * shimbun.el (shimbun-article): Define as luna-method.
6463 * sb-tcup.el: New file.
6465 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6466 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6468 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6470 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6471 (shimbun-get-headers): Ditto.
6473 * elmo.el: Moved obsolete variable definitions from
6474 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6476 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6479 * shimbun.el: New file.
6481 * elmo-shimbun.el: New file.
6483 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6484 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6485 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6486 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6488 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6490 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6493 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6495 * elmo.el (elmo-folder-msgdb): Define as macro.
6496 (elmo-folder-open): Added argument `load-msgdb'.
6497 (elmo-generic-folder-open): Ditto.
6498 (elmo-folder-encache): New function.
6500 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6502 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6504 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6505 Eliminated argument FOLDER and added argument MSGDB.
6506 (elmo-dop-queue-load): Moved from elmo-dop.el.
6507 (elmo-dop-queue-save): Ditto.
6509 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6511 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6513 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6514 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6515 (elmo-filter-folder-list-importants-internal): Ditto.
6517 * elmo-map.el (elmo-folder-pack-number): Ditto.
6519 * elmo-mime.el (elmo-mime-message-display): Ditto.
6521 * elmo.el (elmo-generic-folder-commit): Ditto.
6522 (elmo-folder-list-unreads): Ditto.
6523 (elmo-folder-list-importants): Ditto.
6524 (elmo-generic-folder-commit): Ditto.
6525 (elmo-message-set-mark): Ditto.
6526 (elmo-generic-folder-append-msgdb): Ditto.
6527 (elmo-folder-synchronize): Ditto.
6528 (elmo-folder-messages): Ditto.
6529 (elmo-init): Call elmo-dop-queue-load.
6530 (elmo-folder-list-messages): Ditto.
6532 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6533 (elmo-nntp-folder-process-crosspost): Ditto.
6534 (elmo-folder-list-unreads-internal): Ditto.
6536 * elmo-dop.el: Removed old functions.
6538 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6540 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6541 `folder' to `msgdb'.
6543 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6545 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6546 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6548 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6551 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6553 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6556 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6557 (mmimap-parse-parameters-from-list): Define as alias for
6558 `mime-decode-parameter-plist' if it is defined as function.
6559 (mmimap-make-mime-entity): Added argument `number'.
6560 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6562 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6564 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6566 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6568 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6570 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6572 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6574 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6575 when elmo-imap4-default-authenticate-type is nil.
6576 (elmo-folder-list-subfolders): Ditto
6577 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6578 (elmo-imap4-fetch-callback-1-subr): Renamed from
6579 `elmo-imap4-fetch-callback-1' and define as inline function.
6580 (elmo-imap4-fetch-callback-1):
6581 Renamed from `elmo-imap4-fetch-callback'.
6582 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6584 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6585 msgdb path (To keep compatibility with main trunk).
6587 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6589 * elmo-util.el (elmo-make-file-cache): Moved position of
6592 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6593 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6594 instead of `elmo-pop3-inhibit-uidl'.
6595 (elmo-folder-exists-p): Ditto.
6596 (elmo-pop3-folder-list-messages): Ditto.
6598 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6599 instead of `elmo-pop3-inhibit-uidl'.
6600 (elmo-folder-status): Ditto.
6602 * elmo-dop.el (elmo-dop-folder): New variable.
6603 (elmo-dop-lock-message): Eliminated.
6604 (elmo-dop-unlock-message): Ditto.
6605 (elmo-dop-lock-list-load): Ditto.
6606 (elmo-dop-lock-list-save): Ditto.
6607 (elmo-dop-delete-folder): Ditto.
6608 (elmo-dop-rename-folder): Ditto.
6610 * elmo.el: Removed incomplete commentary.
6612 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6614 * elmo.el (toplevel): Require 'elmo-version first;
6615 for little `recursive-load-depth' settings.
6616 Fix "ends here" comment.
6618 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6620 * elmo-util.el (toplevel): Require 'poem;
6621 Some functions are moved from elmo-cache.el.
6623 * elmo-net.el (toplevel): Require 'elmo-cache.
6625 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6627 * elmo.el (toplevel): Ditto.
6629 * elmo-cache.el: Rewrite with luna;
6630 Some functions are moved to elmo-util.el.
6632 * elmo-internal.el (elmo-internal-folder-list): New variable.
6633 (elmo-internal-folder-initialize): Rewrite.
6634 (elmo-folder-list-subfolders): Ditto.
6636 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6637 (elmo-cache-collect-sub-directories): Ditto.
6639 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6641 * elmo-version.el (elmo-version): Up to 2.5.8.
6643 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6645 * elmo-util.el (elmo-list-insert): New function.
6647 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6649 * elmo.el (elmo-init): New function.
6650 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6652 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6653 (Renamed from `elmo-localdir-header-chop-length').
6655 * elmo-pop3.el (elmo-pop3-use-cache,
6656 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6658 * elmo-nntp.el (elmo-message-fetch): Define.
6659 (elmo-message-fetch-unplugged): Ditto.
6660 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6661 (elmo-nntp-use-cache): Ditto.
6662 (elmo-nntp-max-number-precedes-list-active): Ditto.
6664 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6666 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6667 `elmo-msgdb-insert-file-header'.
6668 Use `elmo-msgdb-file-header-chop-length'.
6670 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6673 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6674 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6675 `elmo-msgdb-insert-file-header'.
6677 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6679 Define obsolete variables with `elmo-define-obsolete-variable',
6681 * elmo-util.el (elmo-warning-buffer-name): New constant.
6682 (elmo-warning): New function.
6683 (elmo-obsolete-variable-alist): New variable.
6684 (elmo-obsolete-variable-show-warnings): New variable.
6685 (elmo-define-obsolete-variable): New function.
6686 (elmo-resque-obsolete-variable): Ditto.
6687 (elmo-resque-obsolete-variables): Ditto.
6689 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6691 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6694 * elmo-pop3.el, elmo-nntp.el: Use custom.
6696 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6698 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6699 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6701 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6703 * Luna-fy Kenichi OKADA's following changes.
6704 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6706 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6708 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6710 * elmo-util.el (elmo-display-progress): Prefer
6711 `progress-feedback-with-label' to `lprogress-display'.
6713 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6715 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6717 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6719 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6720 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6721 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6722 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6723 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6724 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6725 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6726 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6727 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6728 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6729 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6730 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6731 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6733 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6735 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6736 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6738 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6740 * elmo.el (elmo-folder-process-crosspost): New generic method.
6741 (elmo-folder-writable-p): Ditto.
6742 (elmo-folder-message-appendable-p): Eliminated.
6743 (elmo-generic-folder-append-msgdb): Rewrite.
6744 (elmo-newsgroups-hashtb): New internal variable.
6745 (elmo-crosspost-message-set): Eliminated.
6746 (elmo-crosspost-message-delete): Ditto.
6747 (elmo-setup-subscribed-newsgroups): New function.
6748 (elmo-crosspost-message-alist-modified): New internal variable.
6749 (elmo-crosspost-message-alist-load): New function (Renamed from
6750 `wl-crosspost-alist-load').
6751 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6752 `wl-crosspost-alist-save').
6754 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6756 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6758 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6759 elmo-newsgroups-hashtb).
6760 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6761 `elmo-nntp-folder-update-crosspost-message-alist'.
6762 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6763 `elmo-nntp-groups-hashtb'.
6764 (elmo-nntp-make-groups-hashtb): Eliminated.
6765 (elmo-nntp-parse-newsgroups): New function (Renamed from
6766 `wl-parse-newsgroups').
6767 (elmo-folder-creatable-p, elmo-folder-writable-p,
6768 elmo-folder-close-internal, elmo-folder-mark-as-read,
6769 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6771 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6773 * elmo-net.el (elmo-message-fetch): Check buffer size.
6775 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6777 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6779 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6780 before `close' command.
6782 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6783 `mark-alist' (All other related portions are changed).
6785 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6787 * elmo-util.el (elmo-create-hash-size): Eliminated.
6788 (elmo-make-hash) Make a hash with `one less than a power of two'
6791 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6792 (elmo-hash-maximum-size): Changed value.
6794 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6796 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6797 (elmo-mime-message-display-as-is): Ditto.
6799 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6801 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6802 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6804 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6806 * elmo-mark.el: New file.
6808 * elmo-internal.el: Rewrite (Almost empty).
6810 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6812 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6813 (mime-imap-entity-header-string): Ditto.
6814 (mmimap-entity-section): Rewrite.
6816 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6818 * elmo-nmz.el: New file.
6820 * elmo-pipe.el: Rewrite with luna.
6822 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6824 * elmo-archive.el: Rewrite with luna.
6826 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6827 (elmo-folder-list-importants-internal): Ditto.
6829 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6831 * elmo-archive.el (elmo-archive-version): Abolish.
6832 (toplevel) Removed `boso' comment.
6834 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6836 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6837 elmo-msgdb-add-msgs-to-seen-list-subr;
6838 Changed argument seen-marks to unread-marks.
6840 * elmo-nntp.el: Rewrite with luna.
6842 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6844 * elmo-filter.el: Rewrite with luna.
6846 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6848 * elmo-pop3.el: Rewrite with luna.
6850 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6852 * elmo-multi.el: Rewrite with luna.
6854 * elmo-vars.el (elmo-use-killed-list): Abolish.
6855 All other related portions are changed.
6856 (elmo-filename-replace-string-alist): Renamed from
6857 elmo-msgid-replace-string-alist.
6859 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6861 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6863 * elmo-map.el: New file.
6864 * elmo-maildir.el: Rewrite with luna.
6866 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6868 * elmo.el: Changed meaning of `elmo-folder-commit'.
6869 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6871 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6873 * elmo.el (elmo-folder-append-buffer): New function.
6874 (Renamed from `elmo-append-msg')
6876 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6878 * elmo-mime.el: New file.
6880 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6882 * elmo-cache.el: Rewrite.
6884 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6886 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6888 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6890 * elmo-vars.el (elmo): New group.
6891 (elmo-strict-diff-folder-regexp): New variable.
6893 * elmo-util.el (elmo-call-func): Abolish.
6894 (elmo-folder-get-type): Ditto.
6895 (elmo-*-get-spec): Ditto.
6896 (elmo-*-spec-*): Ditto.
6897 (elmo-imap4-identical-name-space-p): Ditto.
6898 (elmo-folder-identical-system-p): Ditto.
6899 (elmo-folder-direct-copy-alist): Ditto.
6900 (elmo-folder-direct-copy-p): Ditto.
6902 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6903 (elmo-folder-initialize): Define.
6904 (elmo-folder-get-primitive-list): Ditto.
6906 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6907 (elmo-folder-initialize): Define.
6908 Renamed `elmo-network-session-host-internal' to
6909 `elmo-network-session-server-internal'.
6911 * elmo-multi.el (elmo-multi-folder): New luna class.
6912 (elmo-folder-initialize): Define.
6913 (elmo-folder-get-primitive-list): Ditto.
6914 (elmo-folder-contains-type): Ditto.
6915 (elmo-message-use-cache-p): Ditto.
6917 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6918 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6920 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6921 (elmo-folder-initialize): Define.
6923 * elmo-filter.el (elmo-filter-folder): New luna class.
6924 (elmo-folder-initialize): Define.
6925 (elmo-folder-get-primitive-list): Ditto.
6926 (elmo-folder-contains-type): Ditto.
6928 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6930 * elmo-imap4.el: Rewrite with luna.
6932 * mmimap.el: New file.
6934 * mmelmo.el, mmelmo-imap4.el: Removed.
6936 * elmo-net.el: Ditto.
6938 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6939 (elmo-folder-initialize): Define.
6941 * elmo-archive.el (elmo-archive-folder): New luna class.
6942 (elmo-folder-initialize): Define.
6944 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6945 `elmo-folder-msgdb-path'.
6946 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6949 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6951 * elmo.el: New file.
6953 * elmo2.el: Renamed to elmo.el.
6956 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6958 * elmo-cache.el (elmo-cache-expire-by-size): Count
6959 a disk usage for a cache file entry in KB even when
6960 its kind is a directory.
6962 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6964 * elmo-version.el (elmo-version): Up to 2.5.7.
6966 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6968 * elmo-version.el (elmo-version): Up to 2.5.6.
6970 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6972 * elmo-version.el (elmo-version): Up to 2.5.5.
6974 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6976 * elmo-imap4.el (elmo-network-authenticate-session):
6977 Fixed a logic for response checking.
6979 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6981 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6982 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6983 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6986 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6987 for `starttls-open-stream' and `starttls-negotiate'.
6989 * elmo-nntp.el: Remove autoload settings for
6990 `starttls-open-stream' and `starttls-negotiate'.
6992 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6993 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6994 `luna-define-class' with `eval-and-compile'.
6996 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6998 * elmo-util.el (elmo-read-search-condition-internal):
6999 Require an element of table for searching field.
7001 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7003 * elmo-version.el (elmo-version): Up to 2.5.4.
7005 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7007 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7009 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7011 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7013 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7015 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7018 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7020 * elmo-imap4.el (elmo-imap4-delete-folder):
7021 Send "close" before "delete" (Use commented out line).
7022 (elmo-imap4-rename-folder): Ditto.
7024 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7025 folder string itself.
7026 (elmo-dop-list-deleted): New function.
7027 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7030 * elmo-util.el (elmo-string-rassoc-all): New function.
7032 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7034 * elmo-version.el (elmo-version): Up to 2.5.3.
7036 * elmo-net.el (elmo-network-get-session): Changed logic for
7037 checking process status.
7039 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7041 Changed logic for checking process status.
7043 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7045 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7047 (elmo-network-setup-session): Set UIDL hash size according to
7048 the length of list response.
7049 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7050 according to the length of list response;
7051 Return the length of list response.
7052 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7054 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7056 * elmo-imap4.el (toplevel): Require 'ssl.
7057 Add autoload 'starttls.
7058 * elmo-pop3.el (toplevel): Ditto.
7059 * elmo-nntp.el (toplevel): Ditto.
7061 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7063 * elmo-imap4.el (toplevel): defun at compile time.
7064 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7065 sasl-next-step, sasl-step-data, sasl-step-set-data.
7066 * elmo-pop3.el (toplevel): Ditto.
7068 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7070 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7072 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7074 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7076 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7077 and `elmo-pop-auth-apop'.
7079 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7081 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7083 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7085 * elmo-pop3.el (elmo-network-authenticate-session): Split
7086 encoded response value.
7088 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7090 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7091 `elmo-pop3-force-login'.
7092 Redefine `sasl-mechanisms'.
7093 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7095 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7097 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7098 Delete `elmo-imap4-authenticator-alist'.
7099 (elmo-imap4-auth-cram-md5): Delete.
7100 (elmo-imap4-auth-digest-md5): Delete.
7102 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7104 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7105 (elmo-pop3-auth-scram-md5): Ditto.
7106 (elmo-pop3-auth-cram-md5): Ditto.
7108 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7110 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7111 Delete `elmo-pop3-authenticator-alist'.
7113 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7115 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7117 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7119 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7121 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7123 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7125 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7126 Fixed problem when `elmo-pop3-use-uidl' is nil.
7127 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7129 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7131 * elmo-version.el (elmo-version): Up to 2.5.2.
7133 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7135 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7137 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7138 (elmo-pop3-msgdb-create-as-numlist): Use it.
7140 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7141 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7143 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7144 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7146 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7148 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7149 when elmo-mark-as-read is called with second argument nil.
7151 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7153 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7154 Moved to elmo-util.el.
7156 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7157 Moved from elmo-pipe.el
7159 * elmo-archive.el (elmo-archive-call-process): Enclose with
7162 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7163 "RFC822" (because RFC822.PEEK is obsolete).
7164 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7166 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7168 * elmo-archive.el (elmo-archive-call-process): Don't check for
7169 the exit status when Nemacs is running.
7171 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7173 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7176 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7177 (elmo-pop3-get-spec): Set default of auth to 'user.
7179 * elmo-imap4.el (elmo-imap4-session-check):
7180 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7181 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7182 (elmo-imap4-auth-login): New function; Revival.
7183 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7184 `elmo-imap4-auth-login'.
7186 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7188 * elmo2.el (toplevel): Move `product-provide' declare.
7189 * mmelmo.el (toplevel): Ditto.
7191 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7193 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7195 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7197 * elmo-util.el (elmo-folder-get-store-type): New function.
7198 (elmo-folder-direct-copy-p): Use it.
7200 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7202 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7203 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7204 and result of `elmo-imap4-use-flag-p'.
7205 (elmo-imap4-fetch-callback-1): Set mark according to
7206 the result of `elmo-imap4-use-flag-p'.
7208 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7210 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7211 (elmo-generic-list-folder-unread): Ditto.
7212 (elmo-folder-get-info): Ditto.
7213 (elmo-folder-set-info-max-by-numdb): Ditto.
7214 (elmo-folder-get-info-max): Ditto.
7215 (elmo-folder-get-info-length): Ditto.
7216 (elmo-folder-get-info-unread): Ditto.
7217 (elmo-folder-info-make-hashtb): Ditto.
7219 * elmo2.el: Removed above functions.
7221 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7223 * elmo-imap4.el (toplevel): Require 'ssl.
7224 Add autoload 'starttls.
7225 * elmo-pop3.el (toplevel): Ditto.
7226 * elmo-nntp.el (toplevel): Ditto.
7228 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7230 * elmo-imap4.el (toplevel): defun at compile time.
7231 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7232 sasl-next-step, sasl-step-data, sasl-step-set-data.
7233 * elmo-pop3.el (toplevel): Ditto.
7235 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7237 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7239 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7241 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7243 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7244 and `elmo-pop-auth-apop'.
7246 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7248 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7250 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7252 * elmo-pop3.el (elmo-network-authenticate-session): Split
7253 encoded response value.
7255 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7257 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7258 `elmo-pop3-force-login'.
7259 Redefine `sasl-mechanisms'.
7260 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7262 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7264 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7265 Delete `elmo-imap4-authenticator-alist'.
7266 (elmo-imap4-auth-cram-md5): Delete.
7267 (elmo-imap4-auth-digest-md5): Delete.
7269 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7271 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7272 (elmo-pop3-auth-scram-md5): Ditto.
7273 (elmo-pop3-auth-cram-md5): Ditto.
7275 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7277 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7278 Delete `elmo-pop3-authenticator-alist'.
7280 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7282 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7284 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7287 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7289 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7291 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7293 * elmo-nntp.el (elmo-nntp-get-folders-info):
7294 Fixed problem when '\' character is contained in user-id.
7295 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7298 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7300 * elmo-imap4.el (elmo-imap4-delete-folder):
7301 Send "close" before "delete" (Use commented out line).
7302 (elmo-imap4-rename-folder): Ditto.
7304 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7305 folder string itself.
7306 (elmo-dop-list-deleted): New function.
7307 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7310 * elmo-util.el (elmo-string-rassoc-all): New function.
7312 * elmo-version.el (elmo-version): Up to 2.5.1.
7314 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7316 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7318 * elmo-internal.el (elmo-internal-search): Fix last change.
7320 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7322 * elmo-internal.el (elmo-internal-search): Rewrite.
7323 (Fixed problem which is pointed out by Akihiro MOTOKI
7324 <motoki@da.jp.nec.com>)
7326 * elmo-version.el (elmo-version): Up to 2.5.0.
7328 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7330 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7332 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7334 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7335 non-nil, make hierarchy.
7337 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7339 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7340 `elmo-pop3-use-uidl' must be bound to nil.
7341 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7343 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7345 * elmo-util.el (elmo-copy-file): Don't cause an error after
7346 `add-name-to-file' failed.
7348 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7349 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7351 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7353 * elmo-version.el (elmo-version): Up to 2.3.93.
7355 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7357 * elmo-util.el (elmo-flatten): New function.
7359 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7361 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7363 * elmo-cache.el (toplevel): Ditto.
7364 * elmo-database.el (toplevel): Ditto.
7365 * elmo-date.el (toplevel): Ditto.
7366 * elmo-dop.el (toplevel): Ditto.
7367 * elmo-filter.el (toplevel): Ditto.
7368 * elmo-imap4.el (toplevel): Ditto.
7369 * elmo-internal.el (toplevel): Ditto.
7370 * elmo-localdir.el (toplevel): Ditto.
7371 * elmo-localnews.el (toplevel): Ditto.
7372 * elmo-maildir.el (toplevel): Ditto.
7373 * elmo-msgdb.el (toplevel): Ditto.
7374 * elmo-multi.el (toplevel): Ditto.
7375 * elmo-net.el (toplevel): Ditto.
7376 * elmo-nntp.el (toplevel): Ditto.
7377 * elmo-pipe.el (toplevel): Ditto.
7378 * elmo-pop3.el (toplevel): Ditto.
7379 * elmo-util.el (toplevel): Ditto.
7380 * elmo-vars.el (toplevel): Ditto.
7381 * elmo2.el (toplevel): Ditto.
7382 * mmelmo-imap4.el (toplevel): Ditto.
7383 * mmelmo.el (toplevel): Ditto.
7385 * elmo-version.el (elmo-version): Move to top.
7387 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7388 * elmo-imap4.el (toplevel): Ditto.
7389 * elmo-localdir.el (toplevel): Ditto.
7390 * elmo-msgdb.el (toplevel): Ditto.
7391 * elmo-nntp.el (toplevel): Ditto.
7392 * elmo-pop3.el (toplevel): Ditto.
7393 * elmo-version.el (toplevel): Ditto.
7395 * elmo-localnews.el (toplevel): Added Keyword header.
7397 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7399 * elmo-version.el (product-version-as-string): Defined using
7403 * elmo-localdir.el (toplevel): Updated copyright notice.
7404 * elmo-version.el (toplevel): Ditto.
7405 * elmo-msgdb.el (toplevel): Ditto.
7406 * elmo-imap4.el (toplevel): Ditto.
7407 * elmo-nntp.el (toplevel): Ditto.
7408 * elmo-pop3.el (toplevel): Ditto.
7410 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7412 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7415 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7416 parameter value (It sometimes contains raw kanji).
7418 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7420 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7421 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7423 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7425 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7427 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7429 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7430 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7432 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7434 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7435 value if selecting folder succceeded.
7436 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7438 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7440 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7443 * elmo-util.el (elmo-string-matched-member): New function.
7445 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7447 * elmo-util.el (elmo-unintern): New macro.
7448 (elmo-number-set-member): Fixed docstring.
7450 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7453 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7455 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7456 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7458 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7460 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7463 Return non-nil if selecting folder succeeded.
7464 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7466 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7468 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7469 `file-name-completion' returns t.
7470 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7471 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7472 directory if it does not exist.
7473 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7476 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7478 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7479 enclosure (It's harmful in unplugged status).
7481 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7483 * mmelmo-1.el: Removed.
7485 * mmelmo-2.el: Ditto.
7487 * mmelmo-imap4-1.el: Ditto.
7489 * mmelmo-imap4-2.el: Ditto.
7491 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7493 * mmelmo.el: Merged mmelmo-2.el.
7495 * elmo-version.el (elmo-version): Up to 2.3.92.
7497 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7499 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7500 elmo-update-number): Remove last period in "...done." message.
7501 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7503 * elmo-cache.el (elmo-cache-expire-by-size,
7504 elmo-cache-get-sorted-cache-file-list,
7505 elmo-cache-msgdb-create-as-numlist): Ditto.
7506 * elmo-dop.el (elmo-dop-save-pending-messages,
7507 (elmo-dop-flush-pending-append-operations): Ditto.
7508 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7509 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7510 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7511 (elmo-localdir-pack-number): Ditto.
7512 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7513 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7514 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7515 mime-write-entity-content): Ditto.
7516 * pldap.el (ldap-search-basic): Ditto.
7518 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7520 * elmo-version.el (elmo-version): Up to 2.3.91.
7522 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7523 Only when filter is 'last'.
7525 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7526 (elmo-condition-parse-search-value): Use it.
7527 (elmo-read-search-condition-internal): Quote value only when
7530 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7532 * elmo2.el (elmo-generic-folder-diff): Fix.
7534 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7536 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7537 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7538 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7539 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7540 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7541 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7543 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7545 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7548 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7550 * elmo-version.el (elmo-version): Up to 2.3.90.
7552 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7553 (elmo-imap4-list-folder-important): Ditto.
7555 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7557 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7559 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7561 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7563 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7565 * elmo-nntp.el (elmo-network-initialize-session):
7566 Add starttls negotiation.
7568 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7570 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7572 (elmo-network-setup-session): Define.
7573 Call `elmo-nntp-send-mode-reader' when session opened.
7575 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7577 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7579 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7581 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7582 an invalid SPACE character ahead of `SEARCH' command. Move
7583 a valid SPACE character following `SEARCH' from conditional
7584 `format' arguments to control-strings.
7586 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7588 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7591 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7593 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7595 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7596 `w32-get-true-file-link-count' as t.
7598 * elmo-imap4.el (elmo-imap4-read): Abolished.
7599 (Renamed to `elmo-read' and moved to elmo-util.el)
7600 All other related portions are changed.
7602 * elmo-util.el (elmo-read): New function.
7603 (elmo-condition-parse-search-value): Use it.
7605 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7607 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7609 * elmo-nntp.el (elmo-nntp-session): Define.
7610 (elmo-nntp-setting): Abolished.
7611 All other related portions are changed.
7612 (elmo-nntp-get-server-command): Changed argument.
7613 (elmo-nntp-set-server-command): Ditto.
7614 (elmo-nntp-xover-p): Ditto.
7615 (elmo-nntp-set-xover): Ditto.
7616 (elmo-nntp-listgroup-p): Ditto.
7617 (elmo-nntp-set-listgroup): Ditto.
7618 (elmo-nntp-list-active-p): Ditto.
7619 (elmo-nntp-set-list-active): Ditto.
7620 (elmo-nntp-xhdr-p): Ditto.
7621 (elmo-nntp-set-xhdr): Ditto.
7622 (elmo-nntp-flush-connection): Abolished.
7623 (elmo-nntp-get-connection): Abolished.
7624 (elmo-nntp-get-session): New function.
7625 (elmo-network-initialize-session): Defined.
7626 (elmo-network-authenticate-session): Ditto.
7627 (elmo-nntp-send-mode-reader): Changed argument.
7628 (elmo-nntp-send-command): Changed argument.
7629 All other related portions are changed.
7630 (elmo-nntp-read-response): Ditto.
7631 (elmo-nntp-read-raw-response): Ditto.
7632 (elmo-nntp-read-contents): Ditto.
7633 (elmo-nntp-read-body): Ditto.
7634 (elmo-nntp-goto-folder): Abolished.
7635 (elmo-nntp-select-group): New function.
7636 All other related portions are changed.
7637 (This function substitutes `elmo-nntp-goto-folder')
7638 (elmo-nntp-msgdb-create-by-header): Rewrite.
7639 (elmo-nntp-get-overview): Eliminated.
7640 (elmo-nntp-get-message): Ditto.
7641 (elmo-nntp-open-connection) Abolished.
7642 (elmo-nntp-read-msg): Rewrite.
7643 (elmo-nntp-post): Ditto.
7644 (elmo-nntp-send-data): Abolished.
7645 (elmo-nntp-send-buffer): New function.
7646 (elmo-nntp-send-data-line): Define as inline function.
7647 (elmo-nntp-get-folders-info-prepare): Use session as key.
7648 (elmo-nntp-groups-read-response): Changed argument.
7649 (elmo-nntp-retrieve-headers): Ditto.
7650 (elmo-nntp-msgdb-create-message): Ditto.
7652 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7653 when searching by 'since' or 'before'.
7655 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7657 * elmo-version.el (toplevel): Use product-version-as-string for set
7658 verstion-string, if defined.
7660 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7662 * elmo-util.el: Doc fixes.
7664 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7666 * elmo-archive.el (toplevel): Use product-provide.
7667 * elmo-cache.el (toplevel): Ditto.
7668 * elmo-database.el (toplevel): Ditto.
7669 * elmo-date.el (toplevel): Ditto.
7670 * elmo-dop.el (toplevel): Ditto.
7671 * elmo-filter.el (toplevel): Ditto.
7672 * elmo-imap4.el (toplevel): Ditto.
7673 * elmo-internal.el (toplevel): Ditto.
7674 * elmo-localdir.el (toplevel): Ditto.
7675 * elmo-localnews.el (toplevel): Ditto.
7676 * elmo-maildir.el (toplevel): Ditto.
7677 * elmo-msgdb.el (toplevel): Ditto.
7678 * elmo-multi.el (toplevel): Ditto.
7679 * elmo-net.el (toplevel): Ditto.
7680 * elmo-nntp.el (toplevel): Ditto.
7681 * elmo-pipe.el (toplevel): Ditto.
7682 * elmo-pop3.el (toplevel): Ditto.
7683 * elmo-util.el (toplevel): Ditto.
7684 * elmo-vars.el (toplevel): Ditto.
7685 * elmo2.el (toplevel): Ditto.
7686 * mmelmo-1.el (toplevel): Ditto.
7687 * mmelmo-2.el (toplevel): Ditto.
7688 * mmelmo-imap4-1.el (toplevel): Ditto.
7689 * mmelmo-imap4-2.el (toplevel): Ditto.
7690 * mmelmo-imap4.el (toplevel): Ditto.
7691 * mmelmo.el (toplevel): Ditto.
7693 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7695 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7696 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7698 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7700 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7702 (elmo-multi-split-number-alist): Ditto.
7704 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7706 * elmo-version.el: New file. Use product.el.
7707 * elmo2.el: Add (require 'elmo-version).
7708 * elmo-vars.el (elmo-appname, elmo-version): Move to
7711 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7713 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7714 `elmo-msgdb-expand-path'.
7715 (elmo-msgdb-load): Ditto.
7716 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7717 (elmo-generic-list-folder-unread): Rewrite.
7718 (elmo-generic-list-folder-important): Changed argument.
7719 (elmo-list-folder-unread): Ditto.
7720 (elmo-list-folder-important): Ditto.
7721 (elmo-folder-diff): Rewrite.
7722 (elmo-generic-folder-diff): New function.
7723 (elmo-multi-get-number-alist-list): Abolished
7724 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7725 (elmo-multi-folder-diff): Moved to elmo-multi.el
7726 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7728 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7729 `elmo-msgdb-expand-path'.
7730 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7731 (elmo-pop3-read-msg): Ditto.
7732 (elmo-pop3-delete-msgs): Ditto.
7733 (elmo-pop3-folder-diff): New alias.
7735 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7736 `elmo-msgdb-expand-path'.
7737 (elmo-pipe-list-folder-unread): Changed arguments.
7738 (elmo-pipe-list-folder-important): Ditto.
7739 (elmo-pipe-folder-diff): New alias.
7741 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7742 `elmo-msgdb-expand-path'.
7743 (elmo-nntp-max-of-folder): Ditto.
7744 (elmo-nntp-msgdb-create): Ditto.
7745 (elmo-nntp-delete-msgs): Ditto.
7746 (elmo-nntp-folder-diff): New alias.
7748 * elmo-multi.el (elmo-multi-folder-diff): New function.
7749 (elmo-multi-split-mark-alist): Ditto.
7750 (elmo-multi-split-number-alist): Ditto.
7751 (elmo-multi-mark-alist-list): Abolished (Renamed to
7752 elmo-multi-split-mark-alist).
7753 (elmo-multi-list-folder-unread): Rewrite.
7754 (elmo-multi-list-folder-important): Ditto.
7755 (elmo-multi-list-folder): Set `spec' as 1st argument for
7756 `elmo-msgdb-expand-path'.
7757 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7758 instead of `elmo-multi-get-number-alist-list'.
7760 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7761 If 1st argument is not string, treat as spec.
7762 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7763 `elmo-msgdb-expand-path'.
7764 (elmo-msgdb-flist-load): Ditto.
7765 (elmo-msgdb-flist-save): Ditto.
7766 (elmo-msgdb-delete-path): Ditto.
7767 (elmo-msgdb-rename-path): Ditto.
7769 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7770 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7771 (elmo-maildir-delete-mark-msgs): Ditto.
7772 (elmo-maildir-msgdb-create): Ditto.
7773 (elmo-maildir-read-msg): Ditto.
7774 (elmo-maildir-delete-msgs): Ditto.
7775 (elmo-maildir-list-folder-subr): Ditto.
7776 (elmo-maildir-search): Ditto.
7777 (elmo-maildir-get-msg-filename): Ditto.
7778 (elmo-maildir-pack-number): Ditto.
7779 (elmo-maildir-folder-diff): New alias.
7781 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7783 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7784 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7785 (elmo-localdir-folder-diff): New alias.
7787 * elmo-internal.el (elmo-internal-list-folder-subr):
7788 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7789 (elmo-internal-list-folder-by-location): Ditto.
7790 (elmo-internal-msgdb-create): Ditto.
7791 (elmo-internal-delete-msgs): Ditto.
7792 (elmo-internal-read-msg): Ditto.
7793 (elmo-internal-folder-diff): New alias.
7795 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7796 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7797 `elmo-msgdb-expand-path'.
7798 (elmo-imap4-list-folder-unread): Changed arguments.
7799 (elmo-imap4-list-folder-important): Ditto.
7801 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7802 (elmo-filter-list-folder-important): Ditto.
7803 (elmo-filter-folder-diff): New function.
7805 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7807 * elmo-cache.el (elmo-cache-list-folder):
7808 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7809 (elmo-cache-copy-msgs): Ditto.
7810 (elmo-cache-folder-diff): New alias.
7812 * elmo-archive.el (elmo-archive-list-folder-subr):
7813 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7814 (elmo-archive-get-archive-name): Ditto.
7815 (elmo-archive-create-file): Ditto.
7816 (elmo-archive-append-msg): Ditto.
7817 (elmo-archive-copy-msgs): Ditto.
7818 (elmo-archive-copy-msgs-froms): Ditto.
7819 (elmo-archive-get-msg-filename): Ditto.
7820 (elmo-archive-folder-diff): New alias.
7822 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7824 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7825 (elmo-pop3-stream-type-alist): New variable.
7826 (elmo-nntp-stream-type-alist): New variable.
7828 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7829 (elmo-kill-buffer): Ditto.
7830 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7831 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7832 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7833 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7834 (elmo-imap4-get-spec): Take into account
7835 `elmo-imap4-stream-type-alist'.
7837 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7839 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7840 (elmo-nntp-list-folders-get-cache): Ditto.
7842 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7844 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7845 character before 'uid'.
7847 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7849 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7851 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7853 * elmo-util.el (elmo-number-set-member): New function.
7854 (elmo-number-set-append-list): Ditto.
7855 (elmo-number-set-append): Ditto.
7857 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7858 Use `elmo-number-set-member'.
7859 (elmo-living-messages): Ditto.
7860 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7861 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7863 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7864 (elmo-imap4-add-to-cont-list): Abolished.
7865 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7866 instead of elmo-imap4-add-to-cont-list.
7868 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7869 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7871 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7873 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7875 * elmo-util.el (elmo-condition-parse-search-value):
7878 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7880 * elmo-util.el (elmo-condition-find-key-internal): New function.
7881 (elmo-condition-find-key): Ditto.
7883 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7884 (elmo-msgdb-search-internal): Ditto.
7885 (elmo-msgdb-search): Ditto.
7887 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7889 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7890 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7892 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7893 (elmo-nntp-search-primitive): Fixed problem when condition is
7896 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7898 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7899 (elmo-nntp-xhdr-p): New macro.
7900 (elmo-nntp-set-xhdr): Ditto.
7901 (elmo-nntp-parse-xhdr-response): New function.
7902 (elmo-nntp-retrieve-field): Ditto.
7903 (elmo-nntp-search-primitive): Ditto.
7904 (elmo-nntp-search): Implemented.
7906 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7908 * elmo-archive.el (elmo-archive-search): Set all number list to
7909 `elmo-archive-field-condition-match'
7911 * elmo-localdir.el (elmo-localdir-search): Likewise.
7913 * elmo-maildir.el (elmo-maildir-search): Likewise.
7915 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7917 * elmo-msgdb.el (elmo-living-messages): New function.
7918 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7919 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7920 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7921 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7922 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7923 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7924 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7925 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7926 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7927 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7928 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7930 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7932 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7934 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7936 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7938 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7939 arguments for `SEARCH' command.
7940 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7941 All other related portions are changed.
7943 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7945 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7946 (elmo-list-folder-unread): Rewrite.
7947 (elmo-list-folder-important): Ditto.
7949 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7950 (elmo-condition-parse-error): New inline function.
7951 (elmo-read-search-condition): New function.
7952 (elmo-read-search-condition-internal): Ditto.
7953 (elmo-parse-search-condition): Rewrite.
7954 (elmo-condition-parse): New function.
7955 (elmo-condition-parse-or-expr): Ditto.
7956 (elmo-condition-parse-and-expr): Ditto.
7957 (elmo-condition-parse-primitive): Ditto.
7958 (elmo-condition-parse-search-value): Ditto.
7959 (elmo-buffer-field-primitive-condition-match): Ditto.
7960 (elmo-buffer-field-condition-match): Rewrite.
7961 (elmo-file-field-condition-match): Ditto.
7963 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7964 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7966 * elmo-internal.el (elmo-internal-search): Set `number' and
7967 `number-list' argument of `elmo-file-field-condition-match'.
7969 * elmo-maildir.el (elmo-maildir-search): Ditto.
7971 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7972 `msgdb' as argument instead of `mark-alist'.
7973 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7976 * elmo-multi.el: Likewise.
7978 * elmo-pipe.el: Likewise.
7980 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7981 (elmo-imap4-search-internal): Rewrite.
7982 (elmo-imap4-search): Ditto.
7984 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7985 (elmo-filter-list-folder-unread): Ditto.
7986 (elmo-filter-list-folder-important): Ditto.
7987 (elmo-filter-search): Rewrite.
7989 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7990 `number-list' argument of `elmo-file-field-condition-match'.
7991 (elmo-cache-search): Ditto.
7993 * elmo-localdir.el: Likewise.
7995 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7996 number-list and pass it to `elmo-buffer-field-condition-match'.
7997 (elmo-archive-field-condition-match): Pass `number-list' to
7998 `elmo-archive-field-condition-match'
8000 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8002 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8005 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8006 (elmo-folder-diff-async-callback-data): Ditto.
8007 (elmo-folder-diff-async): New function.
8009 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8010 (elmo-network-session-cache-key): Use it as a prefix of the session
8012 (elmo-network-open-session): Ditto.
8014 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8015 (elmo-imap4-status-callback-data): Ditto.
8016 (elmo-imap4-server-diff-async-callback): New variable.
8017 (elmo-imap4-server-diff-async-callback-data): Ditto.
8018 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8019 `elmo-imap4-status-callback-data'.
8020 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8021 `elmo-imap4-status-callback-data' as nil.
8022 (elmo-imap4-server-diff): Ditto.
8023 (elmo-imap4-server-diff-async-callback-1): New function.
8024 (elmo-imap4-server-diff-async): Ditto.
8025 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8027 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8029 * elmo-util.el (elmo-list-delete): Doc fix.
8030 (elmo-delete-lists): Abolish.
8031 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8032 instead of `elmo-delete-lists'.
8034 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8036 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8039 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8041 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8042 `elmo-imap4-literal-subr'.
8043 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8044 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8046 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8048 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8049 (elmo-archive-list-folder): Fix.
8050 (elmo-archive-max-of-folder): Fix.
8052 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8054 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8055 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8056 (elmo-localdir-append-msg): Ditto.
8057 (elmo-localdir-list-folder): Fix for `nonsort'.
8058 (elmo-localdir-list-folder-subr): Fix for `killed'.
8059 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8060 (elmo-maildir-list-folder-subr): Ditto.
8061 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8062 (elmo-archive-list-folder-subr): Ditto.
8063 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8064 (elmo-internal-list-folder-subr): Ditto.
8066 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8068 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8070 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8072 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8074 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8076 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8077 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8079 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8081 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8082 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8084 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8086 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8088 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8089 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8090 before STORE command.
8092 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8094 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8096 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8097 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8099 (elmo-imap4-list-folders): Removed unused local variable.
8100 (elmo-network-initialize-session): Ditto.
8101 (elmo-imap4-delete-msg-by-id): Ditto.
8102 (elmo-imap4-parse-fetch): Ditto.
8103 (elmo-imap4-copy-msgs): Ditto.
8104 Use `dst-spec' instead of `dst-folder'.
8105 (elmo-network-authenticate-session): Check authenticate type `plain'.
8107 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8109 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8111 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8112 `elmo-imap4-response-value'.
8113 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8115 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8117 * elmo-imap4.el (elmo-imap4-send-command):
8118 Cause elmo-imap4-bye-error when current response is BYE.
8119 (elmo-imap4-arrival-filter): Changed greeting response value.
8121 * elmo2.el (elmo-imap4-bye-error): Define.
8123 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8124 (elmo-imap4-server-diff): Ditto.
8125 (elmo-imap4-response-bye-p): New macro.
8126 (elmo-imap4-response-error-text): Get text from BYE response.
8127 (elmo-imap4-read-response): Return if BYE response.
8128 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8129 (elmo-imap4-folder-exists-p): Ditto.
8130 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8131 (elmo-imap4-parse-bye): New function.
8132 (elmo-imap4-parse-response): Remove needless let.
8133 Call `elmo-imap4-parse-bye'.
8135 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8137 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8138 the mailbox does not exist.
8139 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8141 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8143 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8145 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8147 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8149 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8150 (elmo-network-initialize-session-buffer): Defined.
8152 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8154 (mmelmo-imap4-get-mime-entity): Rewrite.
8156 * elmo2.el (elmo-error): Capitalize error message.
8158 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8159 (elmo-network-session-buffer): New macro.
8160 (elmo-network-open-session): Use it.
8162 * elmo-imap4.el: Rewrite.
8164 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8166 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8168 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8170 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8171 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8172 (elmo-imap4-create-msgdb-from-overview-string): Use
8173 `elmo-msgdb-create-overview-from-buffer'.
8175 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8177 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8178 (elmo-imap4-default-hierarchy-delimiter): New variable.
8179 (elmo-imap4-list-folders): Use it.
8181 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8183 * elmo-net.el (elmo-network-open-session): Add user and
8184 stream-type for process-buffer name.
8186 * elmo-pop3.el (elmo-network-initialize-session): Call
8187 buffer-disable-undo.
8189 * elmo-imap4.el (elmo-network-initialize-session):
8190 Set current-buffer as an argument for `buffer-disable-undo'.
8192 * elmo-pop3.el (elmo-network-close-session): Don't use
8195 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8196 Set default as 'user.
8198 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8200 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8201 and `elmo-imap4-flush-connection'.
8203 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8204 (elmo-pop3-get-spec): Assume auth as symbol.
8205 (elmo-open-network-stream): Moved to `elmo-net'.
8207 * elmo-pop3.el (toplevel): Require 'elmo-net.
8208 Define `sasl-cram-md5' to silence byte compilier.
8209 (elmo-pop3-connection-cache) Abolished.
8210 (elmo-pop3-authenticator-alist) New variable.
8211 (elmo-pop3-session): Define.
8212 (elmo-pop3-connection-get-process): Abolished.
8213 (elmo-pop3-connection-get-buffer): Ditto.
8214 (elmo-pop3-close-connection): Ditto.
8215 (elmo-pop3-flush-connection): Ditto.
8216 (elmo-pop3-get-connection): Ditto.
8217 (elmo-pop3-get-session): New function.
8218 (Replacement for `elmo-pop3-get-connection').
8219 All other related modules are changed.
8220 (elmo-network-close-session): Define.
8221 (elmo-pop3-send-command): Abolished argument `buffer'.
8222 All other related modules are changed.
8223 (elmo-pop3-read-response): Likewise.
8224 (elmo-pop3-open-connection): Abolished.
8225 (elmo-pop3-auth-user): New function.
8226 (elmo-pop3-auth-apop): Ditto.
8227 (elmo-pop3-auth-cram-md5): Ditto.
8228 (elmo-pop3-auth-scram-md5): Ditto.
8229 (elmo-pop3-auth-digest-md5): Ditto.
8230 (elmo-network-initialize-session): Define.
8231 (elmo-network-authenticate-session): Ditto.
8232 (elmo-network-setup-session): Ditto.
8234 * elmo-imap4.el (toplevel): Require 'elmo-net.
8235 (elmo-imap4-session): Define.
8236 (elmo-imap4-connection-cache): Abolished.
8237 (elmo-imap4-password-key): Ditto.
8238 (elmo-imap4-flush-connection): Ditto.
8239 (elmo-imap4-get-connection): Ditto.
8240 All other related modules are changed.
8241 (elmo-imap4-get-session): New function
8242 (Replacement for `elmo-imap4-get-connection').
8243 (elmo-imap4-read-response): Abolished argument `buffer'.
8244 All other related modules are changed.
8245 (elmo-imap4-send-command): Likewise.
8246 (elmo-imap4-select-folder): Abolished.
8247 All other related modules are changed.
8248 (elmo-imap4-select-mailbox): New function.
8249 (Replacement for `elmo-imap4-select-folder').
8250 (elmo-imap4-auth-login): Simplify.
8251 (Assume current buffer as process buffer)
8252 (elmo-imap4-auth-cram-md5): Ditto.
8253 (elmo-imap4-auth-digest-md5): Ditto.
8254 (elmo-imap4-login): Ditto.
8255 (elmo-imap4-open-connection): Abolished.
8256 (elmo-imap4-open-connection-1): Abolished.
8257 (elmo-network-initialize-sessoin): Define.
8258 (elmo-network-authenticate-session): Ditto.
8259 (elmo-network-setup-session): Ditto.
8261 * elmo-net.el: New module.
8263 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8265 * elmo-util.el (elmo-define-error): New function.
8267 * elmo2.el (elmo-error): Define.
8268 (elmo-open-error): Define.
8269 (elmo-authenticate-error): Define.
8271 * elmo-imap4.el (elmo-imap4-error): Abolish.
8272 (elmo-imap4-error-type): Abolish.
8273 (elmo-imap4-error-process): Abolish.
8274 (elmo-imap4-error-message): Abolish
8275 (elmo-imap4-list-folders): Don't quote lambda.
8276 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8277 (elmo-imap4-parse-namespace): Ditto.
8278 (elmo-imap4-open-connection): Rewrite.
8279 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8280 (elmo-imap4-get-connection): Abolish local variable `result'.
8282 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8284 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8285 wrong-type-argument error when auth is nil.
8287 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8289 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8290 (elmo-default-nntp-stream-type): Ditto.
8291 (elmo-default-pop3-stream-type): Ditto.
8292 (elmo-network-stream-type-alist): Ditto.
8293 (elmo-default-imap4-ssl): Abolished.
8294 (elmo-default-nntp-ssl): Ditto.
8295 (elmo-default-pop3-ssl): Ditto.
8297 * elmo-util.el: (toplevel): Removed needless requires.
8298 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8299 (elmo-open-network-stream): Open network stream according to
8300 the value of `elmo-network-stream-type-alist'.
8301 (elmo-get-network-stream-type): New function.
8302 (elmo-network-stream-type-spec-string): New macro.
8303 (elmo-network-stream-type-symbol): Ditto.
8304 (elmo-network-stream-type-function): Ditto.
8306 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8307 network-stream-type. All other related portions are changed.
8308 (elmo-pop3-open-connection): Ditto.
8310 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8311 network-stream-type. All other related portions are changed.
8313 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8314 network-stream-type.All other related portions are changed.
8315 (elmo-imap4-error): New macro.
8316 (elmo-imap4-error-type): Ditto.
8317 (elmo-imap4-error-process): Ditto.
8318 (elmo-imap4-error-message): Ditto.
8319 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8320 (elmo-imap4-auth-cram-md5): Ditto.
8321 (elmo-imap4-auth-digest-md5): Ditto.
8322 (elmo-imap4-login): Ditto.
8323 (elmo-imap4-open-connection): Remove password entry if authentication
8325 (elmo-imap4-user-at-host): Abolished.
8326 (elmo-imap4-password-key): New buffer local variable.
8327 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8328 using protocol, port, auth and stream-type.
8330 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8332 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8334 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8336 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8338 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8339 (elmo-imap4-authenticator-alist): New variable.
8340 (elmo-imap4-open-connection-1): Rename from
8341 elmo-imap4-open-connection.
8342 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8343 only wraps elmo-imap4-open-connection-1.
8344 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8346 (elmo-imap4-auth-login): New function.
8347 (elmo-imap4-auth-cram-md5): New function.
8348 (elmo-imap4-auth-digest-md5): New function.
8349 (elmo-imap4-login): New function.
8351 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8353 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8356 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8358 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8360 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8362 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8364 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8366 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8367 for server responses, quote `*' regardless of where it appears.
8369 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8371 * elmo-maildir.el (elmo-maildir-commit): New alias.
8373 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8375 * elmo-util.el (elmo-display-progress):
8376 Use `progress-feedback-with-label'.
8378 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8380 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8381 (elmo-imap4-non-atom-char-regex): Ditto.
8382 (elmo-imap4-non-text-char-regex): Ditto.
8383 (elmo-imap4-literal-threshold): Ditto.
8384 (elmo-imap4-atom-p): New function.
8385 (elmo-imap4-quotable-p): Ditto.
8386 (elmo-imap4-nil): Ditto.
8387 (elmo-imap4-atom): Ditto.
8388 (elmo-imap4-quoted): Ditto.
8389 (elmo-imap4-literal-subr): Ditto.
8390 (elmo-imap4-literal): Ditto.
8391 (elmo-imap4-buffer-literal): Ditto.
8392 (elmo-imap4-string-subr): Ditto.
8393 (elmo-imap4-string): Ditto.
8394 (elmo-imap4-buffer-string): Ditto.
8395 (elmo-imap4-astring-subr): Ditto.
8396 (elmo-imap4-astring): Ditto.
8397 (elmo-imap4-buffer-astring): Ditto.
8398 (elmo-imap4-nstring): Ditto.
8399 (elmo-imap4-buffer-nstring): Ditto.
8400 (elmo-imap4-mailbox): New alias.
8401 (elmo-imap4-field-body): Ditto.
8402 (elmo-imap4-userid): Ditto.
8403 (elmo-imap4-password): Ditto.
8404 (elmo-imap4-format-quoted): New function.
8405 (elmo-imap4-send-command): Rewritten. Accept a list of command
8406 arguments and handle "atom", "quoted" and "literal" string here.
8407 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8408 `elmo-imap4-send-command'.
8409 (elmo-imap4-folder-exists-p): Likewise.
8410 (elmo-imap4-create-folder): Likewise.
8411 (elmo-imap4-delete-folder): Likewise.
8412 (elmo-imap4-rename-folder): Likewise.
8413 (elmo-imap4-max-of-folder): Likewise.
8414 (elmo-imap4-check-validity): Likewise.
8415 (elmo-imap4-sync-validity): Likewise.
8416 (elmo-imap4-server-diff): Likewise.
8417 (elmo-imap4-select-folder): Likewise.
8418 (elmo-imap4-copy-msgs): Likewise.
8419 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8420 (elmo-imap4-mark-set-on-msgs): Likewise.
8421 (elmo-imap4-read-part): Likewise.
8422 (elmo-imap4-read-msg): Likewise.
8423 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8424 `elmo-imap4-password' for `elmo-imap4-send-command'.
8425 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8426 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8427 `elmo-imap4-buffer-literal'.
8428 (elmo-imap4-append-msg): Likewise.
8430 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8431 `delete' for removing dead connection from the connection cache.
8432 Move deletion of the process buffer after that.
8433 (elmo-imap4-list): Change `defsubst' to `defun'.
8434 (elmo-imap4-commit): Make error message verbose.
8435 (elmo-imap4-search): Ditto.
8436 (elmo-imap4-list): Ditto.
8437 (elmo-imap4-select-folder): Ditto.
8438 (elmo-imap4-copy-msgs): Ditto.
8439 (elmo-imap4-delete-msg-by-id): Ditto.
8440 (elmo-imap4-append-msg-by-id): Ditto.
8441 (elmo-imap4-append-msg): Ditto.
8443 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8445 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8446 when dired is used on XEmacs.
8448 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8450 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8451 instead of `append'.
8452 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8453 `elmo-plugged-p' directly.
8454 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8455 of `elmo-plugged-p' directly.
8457 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8458 Eliminate unused variable. Use `memq' for checking a process status.
8459 Use `cons' instead of `append' for updating the connection cache.
8460 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8461 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8463 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8465 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8466 `elmo-imap4-read-point' exactly.
8468 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8469 the local variable `folder' to `mailbox'.
8470 Rename the argument `fld' to `folder'.
8472 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8474 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8475 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8477 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8479 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8480 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8481 (elmo-pop3-uidl-number-hash): Ditto.
8482 (elmo-pop3-size-hash): Ditto.
8483 (elmo-pop3-uidl-done): Ditto.
8484 (elmo-pop3-list-done): Ditto.
8485 (elmo-pop3-connection-get-process): New defmacro.
8486 (elmo-pop3-connection-get-buffer): Ditto.
8487 (elmo-pop3-close-connection): Delete buffer and process.
8488 (elmo-pop3-flush-connection): Don't delete buffer and process.
8489 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8490 Setup UIDL and size hash.
8491 (elmo-pop3-send-command-no-erase): Deleted
8492 (elmo-pop3-send-command): Added optional argument `no-erase'.
8493 (elmo-pop3-parse-uidl-response): New function.
8494 (elmo-pop3-parse-list-response): Set size hash.
8495 (elmo-pop3-list-location): New function.
8496 (elmo-pop3-list-by-uidl-subr): Ditto.
8497 (elmo-pop3-list-by-list): Ditto.
8498 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8499 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8500 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8501 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8502 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8504 (elmo-pop3-uidl-to-number): New function.
8505 (elmo-pop3-number-to-uidl): Ditto.
8506 (elmo-pop3-number-to-size): Ditto.
8507 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8508 Set number by use of uidl.
8509 (elmo-pop3-msgdb-create-message): Likewise.
8510 Set size, loc-alist in msgdb.
8511 (elmo-pop3-read-msg): Set number by use of uidl.
8512 Added optional argument `msgdb'.
8513 (elmo-pop3-delete-msg): Ditto.
8514 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8515 (elmo-pop3-commit): Close connection.
8517 * elmo-pipe.el (elmo-pipe-max-of-folder):
8518 Bind `elmo-pop3-use-uidl' as nil.
8519 (elmo-pipe-drain): Ditto.
8522 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8523 (elmo-msgdb-overview-entity-set-size): New defsubst.
8525 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8527 * elmo-vars.el (elmo-use-killed-list): New variable
8528 (Renamed from `elmo-nntp-use-killed-list').
8529 (elmo-nntp-use-killed-list): Eliminated.
8531 * elmo-msgdb.el (elmo-msgdb-expand-path):
8532 Changed expanding msgdb path for elmo-multi.
8534 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8535 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8536 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8537 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8538 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8539 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8540 (toplevel): Deleted time-stamp line.
8542 * elmo2.el (elmo-clear-killed ): Defined as function
8543 (Abolished defining as a backend function).
8544 All other related modules are changed.
8546 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8548 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8550 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8552 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8554 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8556 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8558 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8560 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8561 asynchronous folder check.
8563 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8565 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8566 `elmo-nntp-use-killed-list'.
8567 (elmo-nntp-list-folder): Use killed list.
8568 (elmo-nntp-max-of-folder): Ditto.
8569 (elmo-nntp-msgdb-create): Set killed list.
8571 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8573 * elmo2.el (elmo-clear-killed): New backend function.
8574 All other related modules are changed.
8576 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8578 * elmo-util.el (elmo-imap4-spec-folder): Use
8579 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8580 All callers changed.
8582 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8584 * mmelmo-2.el (initialize-instance):
8585 Use `mime-buffer-entity-buffer-internal' instead of
8586 `mime-entity-buffer'.
8588 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8589 (mime-entity-body): Implemented.
8590 (mime-goto-header-start-point): Deleted.
8591 (mime-goto-body-end-point): Ditto.
8592 (mime-entity-point-min): Ditto.
8593 (mime-entity-point-max): Ditto.
8594 (mime-entity-children): Ditto.
8595 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8596 instead of `mime-entity-buffer'.
8597 (mime-entity-header-buffer): Ditto.
8598 (mime-entity-body-buffer): Ditto.
8599 (mime-write-entity-content): Ditto.
8601 * pldap.el (ldap-static-if): New macro.
8602 (toplevel): Use it instead of `static-if'.
8604 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8606 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8607 included in `attrs' argument.
8609 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8611 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8613 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8614 (ldap-ldif-safe-init-char-regexp): Ditto.
8615 (ldap-ldif-safe-string-regexp): Ditto.
8616 (ldap/ldif-safe-string-p): New macro.
8617 (ldap/ldif-insert-field): Ditto.
8618 (ldap-modify): Use it.
8620 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8621 (ldap-decode-attribute): Decode only when `attr' is consp.
8622 (ldap-delete): Bind `ret'.
8623 (toplevel): Require 'cl at compile time.
8624 Removed (require 'poe) and (require 'std11).
8625 (pldap-version): Eliminated.
8626 (ldap-search-basic): Removed auth and dn binding.
8627 (ldap-ldif-field-name-regexp): New constant.
8628 (ldap-ldif-field-head-regexp): Ditto.
8629 (ldap-ldif-next-field-head-regexp): Ditto.
8630 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8631 (ldap/field-end): New function.
8632 (ldap/field-body): Use it.
8633 (ldap/collect-field): Ditto.
8634 (ldap-search-basic): Use `ldap/field-body'.
8636 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8638 * pldap.el (ldap-default-attribute-encoder): New user option.
8639 (ldap/field-body): Decode base64 string.
8640 (ldap/collect-field): Ditto.
8641 (ldap-encode-attribute): New function.
8642 (ldap-add-entries): Use it.
8643 (ldap-modify-entries): Ditto.
8644 (ldap-search-entries): Enclosed decoding function with
8645 `with-temp-buffer' and set as unibyte.
8646 (ldap-search-basic): Set process buffer as unibyte.
8648 * elmo-util.el (elmo-folder-identical-system-p):
8649 Eliminated name space checking.
8651 * pldap.el: New module.
8652 toplevel: Changed condition to detect built-in ldap feature.
8653 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8654 (ldap-add): Added error handling.
8655 (ldap-modify): Ditto.
8656 (ldap-delete): Ditto.
8658 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8660 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8661 Initialize local variables with `let'. Inline a temporary
8662 variable for the progress percentage. Sort `setq' to reduce
8663 function call in the while-loop.
8665 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8666 into the conditional branch.
8668 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8670 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8671 Move a conditional out of the while-loop.
8673 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8675 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8676 elmo-msgdb-overview-get-entity-by-number.
8677 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8680 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8682 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8683 the local variable for a packed number self descriptively.
8685 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8687 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8688 * elmo-localdir.el (elmo-localdir-pack-number): Use
8689 `elmo-msgdb-overview-get-entity' instead of
8690 `elmo-msgdb-overview-get-entity-by-number'.
8691 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8692 (elmo-msgdb-search-overview-entity): Removed.
8693 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8694 by message-id or number.
8695 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8696 instead of `elmo-msgdb-overview-get-entity-by-number'.
8698 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8700 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8701 non-nil, use hash table for overview.
8702 (elmo-hash-maximum-size): New variable.
8703 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8704 (elmo-msgdb-make-overview-hashtb): New function.
8705 (elmo-msgdb-clear-overview-hashtb): New function.
8706 (elmo-clear-hash-val): New macro.
8707 All other related modules are changed.
8709 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8711 * elmo2.el (elmo-move-msgs): If there's other message with
8712 same message-id, don't use cache.
8714 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8716 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8717 number is already packed.
8719 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8721 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8723 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8725 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8726 All other related modules are changed.
8728 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8730 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8731 of refiling failure on Maildir.
8733 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8735 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8736 decoded mime-charset with cache.
8737 (elmo-msgdb-overview-entity-get-from): Ditto.
8738 (elmo-msgdb-overview-entity-get-subject): Ditto.
8739 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8741 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8743 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8744 (elmo-remove-passwd): Fill password with 0 before erase.
8745 * elmo-vars.el (elmo-passwd-life-time): New variable.
8748 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8750 * elmo-cache.el (elmo-buffer-cache-add):
8751 Set message cache buffer as unibyte.
8753 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8755 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8758 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8760 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8761 when display is finished.
8762 (elmo-nntp-msgdb-create): Ditto.
8763 (elmo-nntp-groups-read-response): Ditto.
8764 (elmo-nntp-retrieve-headers): Ditto.
8765 (elmo-nntp-msgdb-create-message): Ditto.
8766 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8767 (elmo-pop3-msgdb-create-message): Ditto.
8769 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8771 * elmo-maildir.el (elmo-maildir-msgdb-create):
8772 Use `elmo-msgdb-sort-by-date'.
8774 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8776 * elmo2.el (elmo-read-msg-no-cache):
8777 Eliminated arguments after `outbuf'.
8778 Don't use cache even if it exists.
8779 (elmo-read-msg): Don't pass arguments after `outbuf' to
8780 `elmo-read-msg-no-cache'.
8782 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8784 * elmo-archive.el (elmo-archive-list-folders):
8785 Use `file-name-directory' if base folder does not exist.
8787 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8789 * elmo-archive.el (elmo-archive-list-folders): Don't use
8790 `file-name-directory'.
8792 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8794 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8795 If `force' is non-nil, try flushing all operation queues.
8797 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8799 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8802 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8804 * elmo-util.el (elmo-display-progress): Fixed.
8806 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8808 * elmo-util.el (elmo-display-progress): New function.
8809 All other related modules are changed.