1 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo.el (elmo-folder-rename): Set meta data for global flags
6 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
10 (elmo-folder-close): Ditto.
11 (elmo-filter-folder-number-list-loaded-p): New function.
12 (elmo-filter-folder-number-list): Check whether loaded or not.
13 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
14 of `elmo-filter-folder-number-list-internal'.
15 (elmo-folder-delete-messages): Ditto.
16 (elmo-folder-length): Check whether number-list is loaded or not.
18 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
20 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
21 field `real field' into each element of list.
22 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
23 (elmo-msgdb-message-entity-field): Ditto.
24 (modb-entity-ml-info-real-fields): New function.
26 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
28 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
29 `elmo-msgdb-extra-fields'.
31 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
33 * elmo-util.el (elmo-passwd-alist-load): Move point to min
36 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
38 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
39 (elmo-global-flags-initialize): Ditto.
41 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
43 * elmo-archive.el (toplevel): Don't require emu, std11
46 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
49 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
51 * elmo.el (elmo-folder-confirm-appends): Display folder name.
53 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
55 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
58 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
60 * elmo-maildir.el (elmo-maildir-list-location): Reduce
61 `elmo-get-last-modification-time' call.
63 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
65 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
67 (elmo-maildir-set-mark): Ditto.
68 (elmo-maildir-delete-mark): Ditto.
70 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
72 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
73 optional argument `separators'.
75 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
77 * elmo.el (cache-changed): Abolish.
78 (status-changed): New signal.
79 (elmo-message-killed-p): New generic function and define for
81 (elmo-folder-recover-messages): Ditto.
82 (elmo-message-set-cached): Emit signal `status-changed' instead of
84 (elmo-message-status): New macro.
85 (elmo-message-status-folder): Ditto.
86 (elmo-message-status-number): Ditto.
87 (elmo-message-status-set-flags): Ditto.
88 (elmo-message-status-set-killed): Ditto.
89 (elmo-message-status-flags): New function.
90 (elmo-message-status-cached-p): Ditto.
91 (elmo-message-status-killed-p): Ditto.
93 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
94 `status-changed' instead of `cache-changed'.
95 (elmo-folder-recover-messages): Define.
96 (elmo-message-killed-p): Ditto.
98 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
99 `status-changed' instead of `cache-changed'.
101 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
102 (elmo-message-killed-p): Define.
103 (elmo-folder-recover-messages): Ditto.
105 * elmo-version.el (elmo-version): Up to 2.15.3.
107 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
109 * elmo-signal.el (elmo-signal-bindings): Use cons to append
111 (elmo-define-signal-handler): Add docstring.
112 (elmo-define-signal-filter): Ditto.
114 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
116 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
118 * elmo-util.el (elmo-flatten): Don't use recursive call.
120 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
122 (elmo-folder-message-make-temp-files): Use `number-to-string'
123 instead of `int-to-string'.
125 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
127 * elmo-search.el (elmo-folder-delete-messages): Define.
129 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
131 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
133 (elmo-mailing-list-count-spec-list): Ditto.
135 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
138 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
140 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
143 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
145 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
146 (elmo-mailing-list-count-spec-list): Ditto.
148 * elmo-util.el (elmo-map-until-success): New function.
149 (elmo-string-match-substring): Ditto.
150 (elmo-find-list-match-value): Ditto.
152 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
154 (modb-entity-extract-ml-info-from-subject): Ditto.
155 (modb-entity-extract-ml-info-from-return-path): Ditto.
156 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
157 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
158 (modb-entity-extract-ml-info-from-mailman): Ditto.
159 (modb-entity-extract-mailing-list-info-functions): Ditto.
160 (modb-entity-extract-mailing-list-info): Rewrite with
161 `elmo-find-list-match-value'.
163 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
165 * elmo-net.el (elmo-network-session-retry-count): New user option.
166 (elmo-network-session-buffer-name): New internal function.
167 (elmo-network-session-buffer-create): Ditto.
168 (elmo-network-open-session): Retry open network session
169 `elmo-network-session-retry-count' times.
171 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
173 * elmo-util.el (elmo-list-filter): Rewritten.
175 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
177 * elmo-util.el (elmo-string-member): Allow symbol element in list.
179 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
181 * elmo-search.el (elmo-make-search-engine): Use prefix
182 `elmo-search-' for require symbol instead of `else-'.
183 (elmo-search-engine-extprog): New class.
184 (elmo-search-engine-do-search): Remove nil from argument
185 list. Added argument pattern to evaluate element as function.
186 (elmo-search-engine-local-file): Derived from
187 `elmo-search-engine-extprog'.
188 (elmo-search-engine-create-message-entity): Check existance of file.
189 (elmo-search-engine-fetch-message): Ditto.
190 (elmo-search-namazu-index): Follow the API change.
191 (elmo-search-grep-target): Ditto.
193 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
195 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
196 characters of working buffer.
198 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
199 Does not bind `default-mime-charset'.
200 (elmo-msgdb-create-message-entity-from-buffer): Removed
201 unnecessary local bind.
203 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
205 (modb-entity-extract-mailing-list-info-functions): Added it.
207 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
209 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
210 when number and message-id are non-nil.
212 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
214 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
215 conditional steatment.
216 (elmo-pop3-auth-apop): Likewise.
217 (elmo-network-authenticate-session): Likewise.
219 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
221 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
222 symbol `fill-column'.
223 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
226 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
227 (elmo-decoded-field-body): Ditto.
229 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
231 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
232 `tokens' to `params'.
234 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
236 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
239 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
241 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
244 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
246 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
247 Set default value as nil.
248 (toplevel): Register search engines by
249 `elmo-search-register-engine' if there are not defined.
251 * elmo.el (autoload): Added autoload setting for
252 `elmo-search-register-engine'.
254 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
256 * elmo.el (toplevel): `[' is redefined as the prefix of the search
257 folder instead of nmz folder.
258 (elmo-nmz-default-index-path): Added obsolete variable setting.
259 (elmo-nmz-index-alias-alist): Ditto.
260 (elmo-nmz-use-drive-letter): Ditto.
262 * elmo-search.el (elmo-search-register-engine): New function.
264 * elmo-nmz.el: Removed.
266 * elmo-version.el (elmo-version): Up to 2.15.2.
268 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
270 * elmo-search.el: New file.
272 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
274 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
275 condition `larger' and `smaller'.
277 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
279 * elmo-util.el (elmo-safe-filename): Rewrite to replace
280 `"' (double quote) into "_Q_".
282 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
284 * elmo-net.el (elmo-net-quote-chars): Abolish.
285 (elmo-net-format-quoted): Ditto.
287 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
289 * elmo.el (elmo-get-folder-function): New variable.
290 (elmo-get-folder): New function.
291 (elmo-folder-rename): Call `elmo-make-folder' with specified
294 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
296 (elmo-split-subr): Ditto.
298 * elmo-multi.el (elmo-folder-initialize): Ditto.
300 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
302 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
303 (elmo-flag-get-folder): Ditto.
305 * elmo-filter.el (elmo-folder-initialize): Ditto.
307 * elmo-access.el (elmo-folder-initialize): Ditto.
308 (elmo-access-folder-update-children): Ditto.
310 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
311 (elmo-dop-queue-flush): Ditto.
312 (elmo-folder-append-buffer-dop-delayed): Ditto.
313 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
316 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
317 instead of `elmo-make-folder'.
318 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
319 destination folder instead of send `elmo-folder-rename-internal'.
321 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
322 slot of subfolder instead of create it.
324 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
326 * elmo-util.el (elmo-collect-separators): New function.
327 (elmo-collect-separators-internal): Ditto.
328 (elmo-collect-trail-separators): Ditto.
329 (elmo-parse-separated-tokens): Ditto.
330 (elmo-parse-separated-tokens-internal): Ditto.
331 (elmo-quote-syntactical-element): Ditto.
333 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
334 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
336 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
337 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
338 (elmo-nntp-folder-list-subfolders): Quote a user name.
340 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
341 (elmo-net-parse-network): Abolish.
342 (elmo-net-folder-set-parameters): New function.
343 (elmo-folder-initialize): Follow the above change.
345 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
346 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
347 (elmo-folder-list-subfolders): Use
348 `elmo-quote-syntactical-element' instead of
349 `elmo-net-format-quoted' to quote mailbox and user name.
351 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
353 * elmo-util.el (elmo-token-valid-p): New function.
354 (elmo-parse-token): Add optional argument `requirement'.
355 (elmo-parse-prefixed-element): Likewise.
357 * elmo-net.el (elmo-net-quote-chars): Renamed from
358 `elmo-net-quote-chars-regexp'.
359 (elmo-net-format-quoted): Add optional argument `extra-chars'.
361 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
362 by info document. Check token `uidl' is started an alphabet.
364 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
365 by info document. Check token `user' is started an alphabet.
367 * elmo-imap4.el (elmo-folder-initialize): Ditto.
368 (elmo-folder-list-subfolders): Quote user.
370 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
372 * elmo-util.el (elmo-quoted-specials-list): New constant.
373 (elmo-quoted-token): New function.
375 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
376 (elmo-net-format-quoted): New function.
377 (elmo-net-parse-network): Ditto.
378 (elmo-folder-initialize): Use it.
380 * elmo-nntp.el (elmo-folder-initialize): Use
381 `elmo-net-parse-network' to parse network specification instead of
382 `elmo-folder-initialize#elmo-net'.
384 * elmo-pop3.el (elmo-folder-initialize): Ditto.
386 * elmo-imap4.el (elmo-folder-initialize): Ditto.
387 (elmo-folder-list-subfolders): Quote folder name by
388 `elmo-net-format-quoted'.
390 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
392 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
393 (elmo-folder-search): Use it.
395 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
397 * modb-standard.el (modb-standard-loaded-message-id): Use
398 `elmo-msgdb-message-entity-field'.
400 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
402 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
405 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
407 * elmo-util.el (elmo-set-auto-coding): New function.
408 (elmo-object-load): Use it.
410 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
412 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
413 (elmo-time<): Define as alias of `elmo-time-less-p'.
414 (elmo-time-to-datevec): New function.
416 * elmo-date.el (elmo-time-to-days): New function.
418 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
420 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
423 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
425 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
428 * elmo-util.el (elmo-map-recursive): New function.
430 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
431 (modb-entity-encode-string-recursive): Ditto.
433 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
435 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
436 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
437 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
438 compare sequence number when last modified time is nil.
440 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
442 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
444 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
446 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
448 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
449 modification time of the file.
451 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
453 * elmo-util.el (elmo-condition-optimize): Discriminated against
454 preserved fields, extra fields and the other weight.
456 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
458 * modb-entity.el (initialize-instance): Define.
459 (modb-entity-handler-mime-charset): New internal function.
460 (modb-standard-entity-set-field): Use it.
461 (elmo-msgdb-message-entity-field): Ditto.
462 (elmo-msgdb-message-entity-field): Ditto.
464 * modb.el (elmo-msgdb-match-condition): Rewrite with
465 `elmo-condition-match'.
466 (elmo-msgdb-match-condition-primitive): New function.
468 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
469 arguments `flags' and `numbers'.
470 (elmo-msgdb-match-condition-primitive): Abolished (merged to
471 `elmo-msgdb-message-match-condition').
472 (modb-buffer-entity-handler): New class.
474 * elmo.el (elmo-folder-search): Optimize condition to use
475 `elmo-condition-optimize'.
476 (elmo-message-buffer-match-condition): New function.
477 (elmo-message-match-condition): Use
478 `elmo-message-buffer-match-condition' instead of
479 `elmo-buffer-field-condition-match'.
481 * elmo-util.el (elmo-condition-match): New function.
482 (elmo-condition-optimize): Ditto.
483 (elmo-buffer-field-primitive-condition-match): Abolish.
484 (elmo-buffer-field-condition-match): Ditto.
486 * elmo-archive.el (elmo-archive-field-condition-match): Use
487 `elmo-message-buffer-match-condition' instead of
488 `elmo-buffer-field-condition-match'.
490 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
492 * elmo-flag.el (elmo-global-flags-initialize): Check the
493 existence of the flag directory.
495 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
497 * elmo-access.el (elmo-folder-initialize): Call
498 `elmo-multi-connect-signals'.
500 * elmo-pipe.el (elmo-folder-close): Define.
502 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
505 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
508 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
511 * elmo-multi.el (elmo-message-entity): Don't use return value of
512 `elmo-message-entity-set-number'.
514 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
516 * modb.el (modb-generic): Added slot `mime-charset'.
518 * modb-standard.el (modb-standard): Added slot `overview-handler'.
519 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
520 and `modb-entity-handler-dump-parameters'.
521 (modb-standard-default-entity-handler): Abolish.
522 (elmo-msgdb-message-entity-handler): Save created handler by
525 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
526 (modb-entity-handler-list-parameters): New method.
527 (modb-entity-handler-equal-p): New function.
528 (modb-entity-handler-dump-parameters): Ditto.
529 (modb-entity-parse-address-string): Encode return value.
530 (modb-entity-make-address-string): Decode argument value.
531 (modb-entity-decode-string-recursive): New function.
532 (modb-entity-encode-string-recursive): Ditto.
533 (modb-standard-entity-normalizer): Set to encode field value.
534 (modb-standard-entity-specializer): Follow the above change.
535 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
536 mime-charset of handler.
537 (elmo-msgdb-message-entity-field): Ditto.
538 (elmo-msgdb-copy-message-entity): Fixed reference to internal
540 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
542 * elmo.el (elmo-folder): Added slot `mime-charset'.
543 (elmo-make-folder): Added argument `mime-charset'.
544 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
547 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
548 (elmo-make-msgdb): Likewise.
550 * elmo-internal.el (elmo-internal-folder-initialize): Call
551 `luna-make-entity' with :mime-charset parameter.
553 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
555 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
556 encoded words in `from' and `subject' field.
558 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
560 * modb.el (elmo-msgdb-message-field): Add argument `type'.
561 (elmo-msgdb-match-condition): Get handler from entity instead of
564 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
565 (modb-standard-load-entity): Treat new file format.
566 (modb-standard-save-entity-1): Save as new file format.
567 (modb-standard-save-entity): Split messages into section here.
568 (elmo-msgdb-message-field): Follow the API change.
569 (modb-standard-default-entity-handler): New internal variable.
570 (elmo-msgdb-message-entity-handler): Define.
572 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
574 (modb-entity-field-extractor-alist): New user option.
575 (elmo-msgdb-message-entity-field): Removed argument `decode' and
576 added argument `type'.
577 (elmo-msgdb-copy-message-entity): Add optional argument
579 (modb-set-field-converter): New function.
580 (modb-convert-field-value): Ditto.
581 (modb-entity-string-decoder): Ditto.
582 (modb-entity-string-encoder): Ditto.
583 (modb-entity-parse-date-string): Ditto.
584 (modb-entity-make-date-string): Ditto.
585 (modb-entity-mime-decoder): Ditto.
586 (modb-entity-mime-encoder): Ditto.
587 (modb-entity-address-list-decoder): Ditto.
588 (modb-entity-address-list-encoder): Ditto.
589 (modb-entity-parse-address-string): Ditto.
590 (modb-entity-make-address-string): Ditto.
591 (modb-entity-create-field-indices): Ditto.
592 (modb-legacy-entity-field-slots): New constant.
593 (modb-legacy-entity-field-indices): Ditto.
594 (modb-legacy-entity-normalizer): New variable.
595 (modb-legacy-entity-specializer): Ditto.
596 (modb-legacy-entity-field-index): New macro.
597 (modb-legacy-entity-set-field): New function.
598 (modb-legacy-make-message-entity): Rewrite.
599 (elmo-msgdb-create-message-entity-from-buffer): Use
600 `elmo-msgdb-get-references-from-buffer'. Use
601 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
602 Use `modb-legacy-entity-set-field' instead of
603 `elmo-msgdb-message-entity-set-field'.
604 (elmo-msgdb-message-entity-field): Rewrite.
605 (elmo-msgdb-message-entity-set-field): Ditto.
606 (elmo-msgdb-copy-message-entity): Make new entity by
607 `make-handler' if it specified.
608 (elmo-msgdb-message-match-condition): Define a method of
609 `modb-entity-handler' and follow the API change.
610 (modb-standard-entity-handler): New class.
611 (modb-entity-extract-ml-info-from-x-sequence): New function.
612 (modb-entity-extract-ml-info-from-subject): Ditto.
613 (modb-entity-extract-ml-info-from-return-path): Ditto.
614 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
615 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
616 (modb-entity-extract-mailing-list-info): Ditto.
617 (modb-entity-extract-mailing-list-info-functions): New variable.
619 * elmo.el (elmo-message-field): Add optional argument `type'.
621 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
622 from `modb-entity.el'.
624 * elmo-util.el (elmo-object-load): Decode by coding-system from
625 `set-auto-coding-function'.
626 (elmo-object-save): Use `detect-mime-charset-region' and add
627 coding cookie if encode.
628 (elmo-msgdb-get-references-from-buffer): New function.
629 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
631 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
633 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
634 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
635 instead of `shimbun-make-header' and follow the API change.
636 (elmo-shimbun-update-overview): Follow the API change.
637 (elmo-map-folder-list-message-locations): Ditto.
639 * elmo-pipe.el (elmo-message-field): Ditto.
641 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
644 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
646 * elmo-multi.el (elmo-message-field): Ditto.
648 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
649 (elmo-msgdb-sort-by-date): Ditto.
650 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
651 `elmo-message-entity-field'.
652 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
654 (elmo-msgdb-overview-entity-get-from): Ditto.
655 (elmo-msgdb-overview-entity-get-subject): Ditto.
656 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
657 (elmo-msgdb-overview-entity-get-date): Ditto.
658 (elmo-msgdb-overview-entity-get-to): Ditto.
659 (elmo-msgdb-overview-entity-get-cc): Ditto.
661 * elmo-mime.el (elmo-message-mime-entity): Ditto.
662 (elmo-mime-collect-message/partial-pieces): Ditto.
664 * elmo-filter.el (elmo-message-field): Ditto.
666 * elmo-date.el (elmo-datevec-to-time): New function.
667 (elmo-time-parse-date-string): Ditto.
668 (elmo-time-make-date-string): Ditto.
671 * elmo-version.el (elmo-version): Up to 2.15.1.
673 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
675 * elmo-flag.el (elmo-global-flags-initialize): Don't include
676 member of elmo-local-flags.
678 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
680 * elmo-version.el (elmo-version): Up to 2.15.0.
682 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
684 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
685 `ignore-msgdb' is non-nil.
687 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
689 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
690 (elmo-condition-in-msgdb-p): Ditto.
691 (elmo-file-field-primitive-condition-match): Ditto.
692 (elmo-file-field-condition-match): Ditto.
694 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
696 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
698 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
700 (elmo-global-flags-initialize): New function.
702 * elmo.el (toplevel): Added autoload setting for
703 `elmo-global-flags-initialize'.
705 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
707 * elmo.el (message-number-changed): Define new signal.
708 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
709 message-number-changed signal.
710 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
711 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
712 Respect `elmo-pack-number-check-strict'.
714 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
716 * elmo-signal.el (elmo-connect-signal): Document.
717 (elmo-emit-signal): Ditto.
718 (elmo-emit-signal): It should pass source argument to filter and
719 handler, not slot-source.
721 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
723 * modb.el (elmo-msgdb-update-entity): New API and define generic
726 * modb-standard.el (elmo-msgdb-update-entity): Define.
728 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
729 API and define generic implement.
731 * elmo.el (update-overview): New singnal.
733 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
734 `elmo-msgdb-update-entity' and emit signal `update-overview'.
735 (elmo-message-entity-parent): Define.
737 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
740 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
742 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
744 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
746 * elmo.el (elmo-folder-synchronize): Sort the return value of
749 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
752 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
755 `default-enable-multibyte-characters'.
756 (elmo-object-load): Use `with-temp-buffer' instead of
758 (elmo-object-save): Ditto.
759 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
761 (elmo-decoded-field-body): Ditto.
763 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
765 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
766 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
768 * elmo-version.el (elmo-version): Up to 2.13.3.
770 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
772 * elmo-util.el (elmo-list-diff): Fix the last change.
773 Reverse order of result lists.
775 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
777 * modb-standard.el (elmo-msgdb-set-flag): Use
778 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
779 (elmo-msgdb-unset-flag): Ditto.
781 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
784 * elmo-util.el (elmo-list-diff): Rewrite.
785 (elmo-list-diff-nonsortable): New function.
787 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
789 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
790 `elmo-multibypte-buffer-name'. All referers are updated.
792 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
794 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
795 (elmo-mime-entity-fragment-p): New function.
796 (mime-elmo-buffer-entity): Added slot `reassembled'.
797 (elmo-message-mime-entity): Added 4th argument `reassemble'.
798 (elmo-message-mime-entity-internal): New function (renamed from
799 `elmo-message-mime-entity').
800 (elmo-mime-inherit-field-list-from-enclosed): New constant.
801 (elmo-mime-make-reassembled-mime-entity): New function.
802 (elmo-message-reassembled-mime-entity): Ditto.
803 (elmo-mime-collect-message/partial-pieces): Ditto.
805 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
807 * elmo.el (elmo-message-fetch-string): Disable multibyte.
809 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
810 (elmo-with-enable-multibyte): New macro.
812 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
814 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
816 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
818 (elmo-filter-connect-signals): Follow the above change.
820 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
822 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
824 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
825 that only the first flag is used.
827 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
829 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
832 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
834 * elmo-signal.el: New file.
836 * elmo.el (toplevel): Require elmo-signal.
837 (flag-changing, flag-changed, cache-changed): New signal.
838 (elmo-folder): Remove slog `handlers'.
839 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
840 `elmo-folder-notify-event'.
841 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
842 (elmo-folder-unset-flag): Ditto.
843 (elmo-event-handler): Abolish.
844 (elmo-event-handler-flag-changed): Ditto.
845 (elmo-event-handler-cache-changed): Ditto.
846 (elmo-folder-add-handler): Ditto.
847 (elmo-folder-remove-handler): Ditto.
848 (elmo-folder-notify-event): Ditto.
850 * elmo-pipe.el (toplevel): Require elmo-signal.
851 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
852 (elmo-pipe-connect-signals): New function.
853 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
854 (elmo-folder-set-flag): Ditto.
855 (elmo-folder-unset-flag): Ditto.
856 (elmo-message-set-cached): Ditto.
858 * elmo-multi.el (toplevel): Require elmo-signal.
859 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
860 (elmo-multi-connect-signals): New function.
861 (elmo-multi-map-numbers): Ditto.
862 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
863 (elmo-message-fetch): Ditto.
864 (elmo-folder-set-flag): Ditto.
865 (elmo-folder-unset-flag): Ditto.
867 * elmo-filter.el (toplevel): Require elmo-signal.
868 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
869 (elmo-filter-connect-signals): New function.
870 (elmo-filter-add-flag-count): Ditto.
871 (elmo-message-fetch): Does not call
872 `elmo-filter-folder-countup-message-flags' and
873 `elmo-folder-notify-event'.
874 (elmo-message-set-cached): Ditto.
875 (elmo-folder-set-flag): Ditto.
876 (elmo-folder-unset-flag): Ditto.
878 * elmo-version.el (elmo-version): Up to 2.13.2.
880 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
882 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
885 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
887 * elmo-filter.el (elmo-message-set-cached): Call
888 `elmo-folder-notify-event' with event `cache-changed'.
890 * elmo-multi.el (elmo-message-set-cached): Ditto.
892 * elmo-pipe.el (elmo-message-set-cached): Ditto.
894 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
896 * elmo.el (elmo-folder-encache): Abolish.
898 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
900 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
901 (elmo-folder-next-message-number-dop): Return appropriate negative
904 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
906 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
907 clearing pending operations.
908 (elmo-folder-next-message-number-dop): Return appropriate negative
911 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
913 * elmo.el (toplevel): Added autoload setting for `md5'.
914 (elmo-msgdb-path-encode-threshold): New user option.
915 (elmo-folder-msgdb-path): Encode msgdb path if its length is
916 longer than `elmo-msgdb-path-encode-threshold'.
918 * elmo-flag.el (elmo-global-mark-migrate): Use
919 `elmo-folder-expand-msgdb-path' instead of
920 `elmo-folder-msgdb-path'.
922 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
924 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
925 element of the difference is nil.
927 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
929 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
930 to the check logic of file systems which are weak in colon character.
932 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
934 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
936 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
938 * elmo-maildir.el (elmo-maildir-move-file): New function.
939 (elmo-folder-append-buffer): Use it.
940 (elmo-folder-append-messages): Ditto.
941 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
943 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
944 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
946 * elmo-maildir.el (elmo-maildir-separator): New user option.
947 (elmo-maildir-adjust-separator): New macro.
948 (elmo-maildir-list-location): Use it.
949 (elmo-maildir-update-current): Ditto.
950 (elmo-maildir-set-mark): Ditto.
951 (elmo-maildir-delete-mark): Ditto.
952 (These changes are based on Hiroya Murata's patch [wl: 13437])
954 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
956 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
958 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
960 * elmo-flag.el (elmo-flag-valid-p): Simplify.
961 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
962 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
964 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
966 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
967 Use `with-temp-buffer'.
969 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
971 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
973 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
974 `wl-read-search-condition').
975 (elmo-read-search-condition-internal): Likewise.
977 * elmo-flag.el (elmo-flag-char-regexp): New constant.
978 (elmo-flag-valid-p): New function.
979 (elmo-folder-initialize): Check flag name is valid.
981 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
983 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
984 delimiter to obtain root mailbox itself.
986 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
988 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
991 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
993 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
996 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
998 * elmo-shimbun.el (toplevel): Require cl at compile.
1000 * elmo-nntp.el (toplevel): Ditto.
1002 * elmo-nmz.el (toplevel): Ditto.
1004 * elmo-multi.el (toplevel): Ditto.
1006 * elmo-file.el (toplevel): Ditto.
1008 * elmo-dop.el (toplevel): Ditto.
1010 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1012 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1014 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1017 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1018 size of elmo-message-fetch-internal is 0 byte.
1020 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1022 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1024 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1026 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1029 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1031 * elmo-maildir.el (elmo-map-message-fetch): Call
1032 `elmo-map-folder-set-flag'.
1034 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1035 (elmo-message-fetch): Merge from
1036 `elmo-message-fetch-with-cache-process'.
1038 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1039 (elmo-message-fetch): Define.
1041 * elmo-nntp.el (elmo-message-fetch): Renamed from
1042 `elmo-message-fetch-with-cache-process'.
1044 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1045 (elmo-message-fetch): Define.
1047 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1050 * elmo-shimbun.el (shimbun-mua-search-id): Use
1051 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1052 (elmo-shimbun-folder-shimbun-header): Ditto.
1053 (elmo-shimbun-get-headers): Ditto.
1054 (elmo-shimbun-update-overview): Ditto.
1056 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1058 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1059 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1061 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1063 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1065 (elmo-message-fetch-string): Fixed argument.
1067 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1069 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1070 exchange order of arguments `section' and `unread'.
1071 (elmo-message-encache): Follow the API change.
1072 (elmo-message-match-condition): Ditto.
1073 (elmo-generic-folder-append-messages): Ditto.
1074 (elmo-message-fetch-string): New function.
1076 * elmo-split.el (elmo-split-subr): Ditto.
1078 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1080 * elmo-pipe.el (elmo-message-fetch): Ditto.
1082 * elmo-multi.el (elmo-message-fetch): Ditto.
1084 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1086 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1088 * elmo-filter.el (elmo-message-fetch): Ditto.
1090 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1092 * elmo-imap4.el (mime-imap-location-section-body): Use
1093 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1094 follow the API change.
1096 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1098 * elmo-access.el: New file.
1100 * elmo-null.el: Ditto.
1102 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1104 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1106 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1107 (elmo-network-session): New attribute `last-accessed'.
1108 (elmo-network-get-session): Discard network cache if elapsed time
1109 since last-accessed is larger than elmo-network-session-idle-timeout.
1111 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1113 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1114 and added `number', `require-entireness'.
1115 (elmo-find-fetch-strategy): Rewrite.
1116 (elmo-message-fetch): Unset `unread' flag when argument unread is
1119 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1121 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1122 (elmo-message-fetch): Notify event `flag-changed'.
1124 * elmo-pipe.el: Likewise.
1126 * elmo-mime.el (elmo-mime-entity): New class.
1127 (elmo-mime-entity-display-p): New generic function.
1128 (elmo-mime-entity-display): Ditto.
1129 (elmo-mime-entity-display-as-is): Ditto.
1130 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1132 (elmo-make-mime-message-location): Removed.
1133 (elmo-mime-message-display): Ditto.
1134 (elmo-mime-display-as-is): Ditto.
1135 (elmo-message-mime-entity): New function.
1137 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1139 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1141 (elmo-message-fetch): Re-count flagged message number and notify
1142 event `flag-changed'.
1144 * elmo-version.el (elmo-version): Up to 2.13.1.
1146 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * elmo-filter.el (elmo-message-field): Define.
1149 (elmo-message-set-field): Ditto.
1151 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153 * elmo.el (elmo-message-set-cached): Call
1154 `elmo-folder-notify-event' with cache-changed.
1155 (elmo-event-handler-cache-changed): New generic function.
1157 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1159 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1160 instead of elmo-add-name-to-file.
1161 (elmo-folder-append-messages): Ditto.
1163 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1165 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1167 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1169 * elmo-version.el (elmo-version): Up to 2.13.0.
1171 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1174 * modb-standard.el (modb-standard-economize-entity-size): Changed
1175 default value to `t'.
1177 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1180 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1181 after parsing greeting string.
1183 2004-11-23 Daishi Kato <daishi@axlight.com>
1185 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1187 (elmo-spam-spamoracle-call): Use it.
1189 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1191 * elmo.el (elmo-message-accessible-p): Message in dop spool
1194 2004-11-23 Daishi Kato <daishi@axlight.com>
1196 * elsp-spamoracle.el: New file.
1198 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1200 * elmo.el (elmo-message-flags-for-append): New function.
1201 (elmo-generic-folder-append-messages): Use it.
1203 * elmo-split.el (elmo-split-subr): Ditto.
1205 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1206 `flags' and use elmo-folder-append-buffer instead of
1207 write-region-as-binary.
1208 (elmo-dop-filter-pending-messages): New function.
1209 (elmo-folder-append-buffer-dop): Call
1210 elmo-dop-spool-folder-append-buffer with `flag'.
1211 (elmo-folder-set-flag-dop): Filter messages by
1212 elmo-dop-filter-pending-messages.
1213 (elmo-folder-unset-flag-dop): Ditto.
1214 (elmo-folder-append-buffer-dop-delayed): Use
1215 elmo-message-flags-for-append to get flags of the message and
1218 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1220 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1222 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1224 * elmo.el (elmo-folder): Added handlers slot.
1225 (elmo-event-handler): New class.
1226 (elmo-event-handler-flag-changed): New API.
1227 (elmo-folder-add-handler): New function.
1228 (elmo-folder-remove-handler): Ditto.
1229 (elmo-folder-notify-event): Ditto.
1230 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1232 (elmo-folder-unset-flag): Ditto.
1234 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1235 (elmo-folder-unset-flag): Ditto.
1237 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1238 (elmo-folder-unset-flag): Ditto.
1240 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1241 (elmo-folder-unset-flag): Ditto.
1243 * elmo-version.el (elmo-version): Up to 2.11.33.
1245 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1247 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1249 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1251 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1253 * elmo-flag.el (elmo-folder-unset-flag): Define.
1254 (elmo-global-flag-detach): Do process when the flag is not target
1257 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1259 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1261 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1263 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1265 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1267 (elmo-folder-delete-messages): Detach messages before delete
1268 messages from target folder.
1269 (elmo-folder-detach-messages): Set updated number-list to slot.
1271 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1273 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1275 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1277 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1279 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1281 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1283 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1285 (elmo-folder-delete-messages): Define.
1286 (elmo-folder-move-messages): Don't call
1287 `elmo-folder-detach-messages'.
1288 (elmo-folder-synchronize): Rewrite.
1289 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1291 * elmo-util.el (elmo-last): New function.
1292 (elmo-set-list): Ditto.
1293 (elmo-number-set-delete-list): Ditto.
1294 (elmo-number-set-delete): Ditto.
1296 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1298 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1299 `elmo-folder-delete-messages' and don't delete location map.
1300 (elmo-folder-detach-messages): Define.
1302 * elmo-imap4.el (elmo-folder-delete): Use
1303 `elmo-folder-delete-messages-internal' instead of
1304 `elmo-folder-delete-messages'.
1306 * elmo-filter.el (elmo-folder-delete-messages): Call
1307 `elmo-folder-detach-messages'.
1308 (elmo-folder-detach-messages): Don't call
1309 `elmo-folder-detach-messages' for target folder.
1311 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1312 message deletion is succeeded.
1314 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1316 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1317 from `elmo-folder-delete-messages'.
1319 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1321 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1323 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1325 * elmo-version.el (elmo-version): Up to 2.11.32.
1327 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1329 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1330 (elmo-global-flag-list): Added obsolete variable setting.
1332 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1334 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1335 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1336 `elmo-mime-display-header-analysis' is nil.
1338 * elmo-flag.el (elmo-global-flags): Renamed from
1339 `elmo-global-flag-list' (All other related portions are changed).
1340 (elmo-local-flags): New variable.
1341 (elmo-local-flag-p): New function.
1342 (elmo-global-flag-set-internal): Cause an error when flag is not
1345 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1347 * elmo-util.el (elmo-concat-path): Treat empty path.
1349 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1351 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1353 (elmo-split-address-match): Ditto.
1354 (elmo-split-equal): Ditto.
1355 (elmo-split-match): Ditto.
1357 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1359 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1360 (elmo-generic-folder-append-messages): If src message exists but
1361 has no flag, pass (read) for the FLAG argument of
1362 `elmo-folder-append-buffer'. Otherwise, pass nil.
1364 * elmo-split.el (elmo-split-subr): Likewise.
1366 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1368 * elmo-multi.el (elmo-message-flags): Ditto.
1370 * elmo-filter.el (elmo-message-flags): Ditto.
1372 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1373 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1374 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1376 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1378 * elmo-split.el (elmo-split-rule): Update comment.
1379 (elmo-split-address-equal): Allow 2nd argument to be a list.
1380 (elmo-split-address-match): Ditto.
1381 (elmo-split-equal): Ditto.
1382 (elmo-split-match): Ditto.
1384 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1386 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1387 (elmo-folder-append-msgdb): Don't treat `read'.
1388 (elmo-message-flags): Don't return `read'.
1390 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1391 (elmo-folder-unset-read-delayed): Ditto.
1393 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1395 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1397 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1400 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1402 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1405 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1407 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1409 (elmo-msgdb-save): Bind inhibit-quit.
1410 (modb-standard-message-entity): Ditto.
1412 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1414 * elmo-database.el: No need to require elmo-msgdb.
1416 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1418 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1419 instead of `elmo-list-subdirectories'.
1421 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1423 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1425 (elmo-folder-exists-p): "[" is empty.
1426 (elmo-folder-list-subfolders): Define.
1427 (elmo-folder-have-subfolder-p): Ditto.
1429 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1431 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1433 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1435 * elmo-filter.el (elmo-folder-local-p): Define.
1437 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1439 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1440 when entity is garbaged.
1441 (modb-standard-save-entity-1): Don't modify the original entity.
1443 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1445 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1447 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1449 * elmo.el (elmo-strict-folder-diff): Use
1450 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1452 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1454 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1455 (elmo-msgdb-message-number): Ditto.
1456 (elmo-msgdb-message-field): Ditto.
1458 * modb-standard.el (modb-standard-economize-entity-size): New user
1460 (modb-standard-loaded-message-id): New inline function.
1461 (modb-standard-load-entity): Use it.
1462 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1463 throw message-id string away.
1464 (elmo-msgdb-flag-available-p): Define.
1465 (elmo-msgdb-message-number): Ditto.
1466 (elmo-msgdb-message-field): Ditto.
1468 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1469 (suppoted -> supported).
1470 (modb-legacy-supported-flag-p): Ditto.
1471 (elmo-msgdb-set-flag): Ditto.
1472 (elmo-msgdb-unset-flag): Ditto.
1473 (elmo-msgdb-flag-available-p): Define.
1475 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1476 is `t', treat it as legacy entity.
1478 * elmo.el (elmo-message-flag-available-p): New generic function.
1479 (elmo-message-number): Ditto.
1480 (elmo-message-field): Use `elmo-msgdb-message-field'.
1482 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1484 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1485 (elmo-message-number): Ditto.
1487 * elmo-multi.el (elmo-message-number): Define.
1488 (elmo-message-flag-available-p): Ditto.
1490 * elmo-filter.el (elmo-message-flag-available-p): Define.
1491 (elmo-message-number): Ditto.
1493 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1494 (elmo-folder-initialize): Load `max-number'.
1495 (elmo-folder-commit): Save it.
1496 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1497 (elmo-global-flag-set-internal): Set up max-number slot.
1499 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1501 * elmo-version.el (elmo-version): Up to 2.11.31.
1503 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1505 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1506 unibyte string of the current buffer for the argument of `md5'
1507 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1509 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1511 * modb-legacy.el (modb-legacy-flag-list): New constant.
1512 (modb-legacy-suppoted-flag-p): New internal function.
1513 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1514 (elmo-msgdb-unset-flag): Ditto.
1516 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1518 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1520 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1523 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1525 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1526 (follow the API change).
1528 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1530 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1532 * modb-standard.el (modb-standard-digest-flags): Abolish.
1533 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1535 * elmo-vars.el (elmo-digest-flags): New variable.
1536 (elmo-preserved-flags): Moved from elmo-flag.el.
1538 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1539 (elmo-imap4-flag-to-imap-criteria): Ditto.
1540 (elmo-imap4-folder-list-flagged): Use it.
1542 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1544 * elmo.el (elmo-folder-count-flags): Changed return value.
1546 * elmo-flag.el (elmo-preserved-flags): New variable.
1547 (elmo-get-global-flags): Use it.
1549 * modb-standard.el (modb-standard-digest-flags): New variable.
1550 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1551 Changed behavior of `any'.
1553 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1554 which are defined the Internet draft
1555 (draft-melnikov-imap-keywords-03.txt).
1556 (elmo-imap4-flags-to-imap): New function.
1557 (elmo-folder-append-buffer): Use it.
1559 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1562 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1563 avoid the bug of Emacs 21.3.
1565 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1567 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1568 function find-coding-system does not exist.
1570 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1572 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1575 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1577 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1580 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1582 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1583 (elmo-network-close-session): Follow the changes in
1584 `elmo-pop3-read-response'.
1585 (elmo-pop3-auth-user): Ditto.
1586 (elmo-pop3-auth-apop): Ditto.
1587 (elmo-network-initialize-session): Ditto.
1588 (elmo-network-authenticate-session): Ditto.
1589 (elmo-network-setup-session): Ditto.
1590 (elmo-folder-status): Ditto.
1591 (elmo-message-fetch-plugged): Ditto.
1592 (elmo-pop3-delete-msg): Ditto.
1594 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1596 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1599 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1601 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1603 (elmo-bind-directory): Ditto.
1605 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1607 * elmo.el (elmo-folder-append-messages): Note on return value.
1608 * elmo-archive.el (elmo-folder-append-messages): Don't return
1609 message numbers which could not be appended.
1611 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1613 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1615 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1617 * elmo-version.el (elmo-version): Up to 2.11.30.
1619 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1621 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1624 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1626 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1627 (elmo-multi-split-numbers): Add elmo-folder object into each
1628 element of return value at first.
1629 (elmo-folder-delete-messages): Follow the above change.
1630 (elmo-folder-detach-messages): Ditto.
1632 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1633 number which is synchronized in target folder.
1635 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1637 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1638 Change default value to symbol `all'.
1639 (elmo-map-message-fetch): Change condition to update overview
1642 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1644 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1645 behavior to update overview.
1646 (elmo-shimbun-update-overview-folder-list): Note it.
1648 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1650 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1653 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1655 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1656 buffer-disable-undo, it is unnecessary.
1657 (elmo-spam-register-good-messages): Ditto.
1659 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1662 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1664 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1666 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1667 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1668 elmo-set-buffer-multibyte.
1669 (elmo-object-load): Ditto.
1670 (elmo-save-buffer): Ditto.
1671 (elmo-delete-char): Ditto.
1672 (elmo-file-field-primitive-condition-match): Ditto.
1673 (elmo-mime-string): Ditto.
1675 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1676 (elmo-archive-field-condition-match): Ditto.
1678 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1680 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1682 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1683 (elmo-nntp-msgdb-create-message): Ditto.
1685 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1687 * elmo.el (elmo-message-match-condition): Ditto.
1688 (elmo-message-match-condition): Ditto.
1690 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1693 * elmo-version.el (elmo-version): Up to 2.11.29.
1695 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1696 (elsp-header): New backend.
1698 * elmo-util.el (elmo-decoded-field-body): New function.
1700 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1702 * elmo-version.el (elmo-version): Up to 2.11.28.
1704 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1706 * elmo-filter.el: Rewrite.
1708 * elmo-version.el (elmo-version): Up to 2.11.27.
1710 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1712 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1713 msgdb path for the localdir folder with absolute path.
1715 * utf7.el: Synch up with latest gnus/utf7.el;
1716 Modified for latest Emacs.
1718 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1721 shimbun backend couldn't open.
1723 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1725 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1726 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1727 when a destination folder is a filter folder.
1729 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1731 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1732 (elmo-generic-folder-append-messages): Call elmo-message-flags
1733 with argument `msgid'.
1735 * elmo-split.el (elmo-split-subr): Ditto.
1737 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1739 * elmo-multi.el (elmo-message-flags): Ditto.
1741 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1743 * elmo.el (elmo-folder): Add new slot `flag-table'.
1744 (elmo-folder-flag-table): New API.
1745 (elmo-folder-close-flag-table): Ditto.
1746 (elmo-folder-preserve-flags): New function.
1747 (elmo-generic-folder-append-messages): Use
1748 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1749 Flag of a non-registered message, it sets to nil.
1750 Does not set flag to flag-table.
1752 * elmo-maildir.el (elmo-folder-append-buffer): Use
1753 `elmo-folder-preserve-flags'.
1754 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1755 `elmo-folder-close-flag-table'.
1757 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1758 (elmo-archive-folder-append-buffer): Use
1759 `elmo-folder-preserve-flags'.
1761 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1763 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1765 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1766 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1767 `elmo-folder-close-flag-table'.
1769 * elmo-version.el (elmo-version): Up to 2.11.26.
1771 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1773 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1775 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1776 md5's 4th and 5th argument (non-existent in flim one).
1778 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1780 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1781 message, It sets to nil.
1783 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1785 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1788 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1790 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1792 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1794 * elmo-util.el (elmo-uniq-sorted-list): New function.
1795 (elmo-make-number-list): Ditto.
1796 (elmo-number-set-to-number-list): Use elmo-make-number-list
1797 and don't use nreverse.
1799 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1801 * elmo-version.el (elmo-version): Up to 2.11.25.
1803 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1805 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1806 field not exists in message, Use md5 message digest of header.
1808 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1810 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1811 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1812 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1813 * elmo-split.el (elmo-split-subr): Check return value of
1814 elmo-folder-append-buffer.
1816 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1817 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1819 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1822 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1824 * elmo-split.el (elmo-split-subr): Append message with flag.
1826 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1827 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1828 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1830 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1832 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1833 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1834 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1836 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1838 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1839 with a function call of `process-buffer'. All callers are updated.
1840 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1841 Remove redundant `set-buffer' in a while loop.
1843 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1845 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1848 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1850 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1851 elsp-spamfilter-register-buffer-internal with current buffer.
1852 (elmo-spam-register-spam-buffer): Ditto.
1853 (elmo-spam-register-good-buffer): Ditto.
1855 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1857 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1858 if it is not contained in the response(A workaround for courier-imap).
1860 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1862 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1865 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1867 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1870 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1872 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1875 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1877 (elmo-msgdb-message-match-condition): Follow the change above.
1879 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1881 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1884 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1886 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1888 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1890 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1892 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1894 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1897 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1899 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1901 (elmo-file-command-argument): Undo last change for cygwin.
1902 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1904 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1906 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1908 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1909 value returned from elmo-file-find is nil.
1911 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1913 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1916 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1917 instead of insert-file-contents-as-binary.
1918 (elmo-message-set-field): New generic function.
1920 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1921 behavior change on `split-string'.
1923 * elmo-file.el (elmo-file-find): New function.
1924 (elmo-file-command): New user option.
1925 (elmo-file-command-argument): Ditto.
1926 (elmo-file-fetch-max-size): Ditto.
1927 (elmo-file-detect-format): New function.
1928 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1929 Use elmo-file-detect-format.
1930 (elmo-map-folder-list-message-locations): Don't treat directories.
1932 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1934 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1935 (elmo-passwd-alist-clear): Shred password before clear.
1936 (elmo-remove-passwd): Remove all mached pair.
1938 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1940 * elmo.el (elmo-folder-synchronize): Fix description of the return
1943 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1945 * elmo.el (elmo-message-fetch-bodystructure): New method.
1946 (elmo-message-fetch-bodystructure): Define default.
1948 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1949 elmo-message-fetch-bodystructure.
1950 (elmo-message-fetch-bodystructure): Define.
1952 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1954 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1956 * elmo-filter.el (elmo-message-folder): Define.
1958 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1960 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1961 elmo-delete-cr-buffer.
1963 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1965 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1967 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1969 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1970 type seems to be a text.
1972 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1974 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1975 (elmo-spam-register-good-buffer): Ditto.
1976 (elmo-spam-spamassassin-register-messages): Ditto.
1978 * elmo-util.el (elmo-string-member-ignore-case): Define with
1981 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1983 * elmo.el (elmo-folder-type): Undo last change.
1985 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1987 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1990 * elmo-file.el: New file.
1992 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1994 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1996 (elmo-spam-spamassassin-register-messages): New inline function.
1997 (elmo-spam-register-spam-messages): Define.
1998 (elmo-spam-register-good-messages): Ditto.
2000 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2003 * elmo.el (toplevel): Added autoload setting for
2004 `elmo-get-global-flags'.
2005 (elmo-message-has-global-flag-p): New function.
2006 (elmo-message-set-global-flags): Ditto.
2007 (elmo-folder-type): Improvement for name: format.
2009 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2010 availability of keyword flags.
2011 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2012 (elmo-folder-list-flagged-plugged): Renamed from
2013 elmo-folder-list-flagged-unplugged.
2014 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2015 accept any flag as keyword flag.
2016 (elmo-folder-set-flag-plugged): Accept keyword flags.
2017 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2019 * elmo-flag.el (elmo-get-global-flags): New function.
2021 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2024 * elmo-version.el (elmo-version): Up to 2.11.24.
2026 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2028 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2029 elmo-multiple-field-body instead of std11-field-body to check all
2032 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2034 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2037 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2039 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2040 unintern is unbound.
2042 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2044 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2045 Protect from infinite loop.
2047 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2049 * elsp-bogofilter.el
2050 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2051 (elmo-spam-bogofilter-register-messages): New internal function.
2052 (elmo-spam-register-spam-messages): Define.
2053 (elmo-spam-register-good-messages): Ditto.
2055 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2057 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2058 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2059 (elmo-spam-bogofilter-call): Fixed the last change.
2060 (elmo-spam-bogofilter-arguments): Ditto.
2062 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2063 Follow the options change of latest bogofilter.
2065 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2066 (elmo-spam-bogofilter-good-switch): Ditto.
2067 (elmo-spam-bogofilter-arguments-alist): New user option.
2068 (elmo-spam-bogofilter-debug): Ditto.
2069 (elmo-spam-bogofilter-call): Renamed from
2070 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2071 is non-nil, insert output in buffer for debug.
2072 (elmo-spam-bogofilter-arguments): New macro.
2073 (elmo-spam-buffer-spam-p): Use it.
2074 (elsp-bogofilter-register-buffer): Ditto.
2076 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2078 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2081 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2083 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2085 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2086 (elmo-spam-bsfilter-program): Set default value as full path for
2088 (elmo-spam-bsfilter-debug): New user option.
2089 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2090 non-nil, insert output in buffer for debug. Fix treating of
2093 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2095 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2096 `elmo-maildir-flag-specs' element instead of one.
2097 (elmo-map-folder-unset-flag): Ditto.
2098 (Reported by Ken Makimura <macky@astem.or.jp>)
2100 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2101 (elmo-folder-unset-flag-plugged): Ditto.
2103 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2105 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2106 to `reads' slot only if `in-msgdb' is nil.
2108 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2110 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2111 and complement argument list.
2113 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2115 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2116 instead of elmo-folder-list-flagged.
2118 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2120 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2122 * elsp-bsfilter.el: New file.
2124 * elmo-pipe.el (elmo-folder-list-unreads,
2125 elmo-folder-list-answereds,
2126 elmo-folder-list-importants,
2127 elmo-folder-flag-as-important,
2128 elmo-folder-unflag-important,
2129 elmo-folder-flag-as-read,
2130 elmo-folder-unflag-read,
2131 elmo-folder-flag-as-answered,
2132 elmo-folder-unflag-answered): Remove.
2133 (elmo-folder-set-flag): Define.
2134 (elmo-folder-unset-flag): Ditto.
2136 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2137 (elmo-folder-set-flag): Define.
2138 (elmo-folder-unset-flag): Ditto.
2139 (elmo-folder-list-unreads): Remove.
2140 (elmo-folder-list-flagged): Define.
2142 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2143 (elmo-folder-list-unreads,
2144 elmo-folder-list-importants,
2145 elmo-folder-list-answereds,
2146 elmo-folder-list-unreads-plugged,
2147 elmo-folder-list-importants-plugged,
2148 elmo-folder-list-answereds-plugged): Remove.
2149 (elmo-folder-list-flagged-plugged): New method.
2150 (elmo-folder-unflag-important,
2151 elmo-folder-flag-as-important,
2152 elmo-folder-unflag-read,
2153 elmo-folder-flag-as-read,
2154 elmo-folder-unflag-answered,
2155 elmo-folder-flag-as-answered,
2156 elmo-folder-flag-as-read-unplugged,
2157 elmo-folder-unflag-read-unplugged,
2158 elmo-folder-flag-as-important-unplugged,
2159 elmo-folder-unflag-important-unplugged,
2160 elmo-folder-flag-as-answered-unplugged,
2161 elmo-folder-unflag-answered-unplugged): Remove.
2162 (elmo-folder-set-flag): Define.
2163 (elmo-folder-unset-flag): Ditto.
2164 (elmo-folder-set-flag-unplugged): Ditto.
2165 (elmo-folder-unset-flag-unplugged): Ditto.
2167 * elmo-multi.el (elmo-folder-list-unreads,
2168 elmo-folder-list-answereds,
2169 elmo-folder-list-importants,
2170 elmo-folder-flag-as-important,
2171 elmo-folder-unflag-important,
2172 elmo-folder-flag-as-read,
2173 elmo-folder-unflag-read,
2174 elmo-folder-flag-as-answered,
2175 elmo-folder-unflag-answered): Remove.
2176 (elmo-folder-set-flag): Define.
2177 (elmo-folder-unset-flag): Ditto.
2179 * elmo-map.el (elmo-map-folder-unflag-important,
2180 elmo-map-folder-flag-as-important,
2181 elmo-map-folder-unflag-read,
2182 elmo-map-folder-flag-as-read,
2183 elmo-map-folder-unflag-answered,
2184 elmo-map-folder-flag-as-answered): Remove.
2185 (elmo-map-folder-set-flag): New method.
2186 (elmo-map-folder-unset-flag): Ditto.
2187 (elmo-map-folder-list-unreads,
2188 elmo-map-folder-list-importants,
2189 elmo-map-folder-list-answereds): Remove.
2190 (elmo-folder-list-flagged-internal): Define.
2191 (elmo-map-folder-list-flagged): New method.
2193 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2194 (elmo-map-folder-list-unreads,
2195 elmo-map-folder-list-importants,
2196 elmo-map-folder-list-flagged): Remove.
2197 (elmo-map-folder-list-flagged): Define.
2198 (elmo-map-folder-flag-as-important,
2199 elmo-map-folder-unflag-important,
2200 elmo-map-folder-flag-as-read,
2201 elmo-map-folder-unflag-read,
2202 elmo-map-folder-flag-as-answered,
2203 elmo-map-folder-unflag-answered): Remove.
2204 (elmo-maildir-set-mark-messages): New internal function.
2205 (elmo-map-folder-set-flag): Define.
2206 (elmo-map-folder-unset-flag): Ditto.
2208 * elmo.el (toplevel): Added autoload setting for
2209 `elmo-folder-list-global-flag-messages'.
2210 (elmo-folder-list-unreads,
2211 elmo-folder-list-importants,
2212 elmo-folder-list-answereds): Remove.
2213 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2214 Return a list whitch merged with messages have global flag.
2215 (elmo-folder-list-flagged-internal): New method.
2216 (elmo-folder-unflag-important,
2217 elmo-folder-flag-as-important,
2218 elmo-folder-unflag-read,
2219 elmo-folder-flag-as-read,
2220 elmo-folder-unflag-answered,
2221 elmo-folder-flag-as-answered): Remove.
2222 (elmo-folder-set-flag): New method.
2223 (elmo-folder-unset-flag): Ditto.
2224 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2225 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2227 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2228 (elmo-folder-list-unreads-plugged,
2229 elmo-folder-list-importants-plugged,
2230 elmo-folder-list-answereds-plugged,
2231 elmo-folder-list-flagged-unplugged,
2232 elmo-folder-unflag-important-plugged,
2233 elmo-folder-flag-as-important-plugged,
2234 elmo-folder-unflag-read-plugged,
2235 elmo-folder-flag-as-read-plugged,
2236 elmo-folder-unflag-answered-plugged,
2237 elmo-folder-flag-as-answered-plugged): Remove.
2238 (elmo-folder-set-flag-plugged,
2239 elmo-folder-unset-flag-plugged): Define.
2241 * elmo-flag.el (elmo-folder-initialize): Register to
2242 `elmo-global-flag-list' if flag is not global.
2243 (elmo-folder-append-messages): Set flag to source messages.
2245 * elmo-filter.el (elmo-filter-folder-list-unreads,
2246 elmo-folder-list-unreads,
2247 elmo-filter-folder-list-importants,
2248 elmo-folder-list-importants,
2249 elmo-folder-flag-as-read,
2250 elmo-folder-unflag-read,
2251 elmo-folder-flag-as-important,
2252 elmo-folder-unflag-important,
2253 elmo-folder-flag-as-answered,
2254 elmo-folder-unflag-answered): Remove.
2255 (elmo-folder-set-flag): Define.
2256 (elmo-folder-unset-flag): Ditto.
2258 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2259 elmo-folder-unflag-read-dop,
2260 elmo-folder-flag-as-important-dop,
2261 elmo-folder-unflag-important-dop,
2262 elmo-folder-flag-as-answered-dop,
2263 elmo-folder-unflag-answered-dop): Remove.
2264 (elmo-folder-set-flag-dop,
2265 elmo-folder-unset-flag-dop,
2266 elmo-folder-set-important-delayed,
2267 elmo-folder-unset-important-delayed,
2268 elmo-folder-set-read-delayed,
2269 elmo-folder-unset-read-delayed,
2270 elmo-folder-set-answered-delayed,
2271 elmo-folder-unset-answered-delayed): New function.
2272 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2273 (elmo-dop-queue-method-name-alist): Ditto.
2275 * elmo-version.el (elmo-version): Up to 2.11.23.
2277 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2279 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2281 * elsp-sa.el: New file.
2283 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2285 * modb-standard.el (modb-standard-message-entity): New function.
2286 (elmo-msgdb-message-entity): Use it.
2288 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2290 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2291 behavior when one-level is nil.
2293 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2295 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2297 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2299 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2301 (elmo-generic-folder-diff): Ditto.
2303 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2304 (elmo-folder-update-number): Ditto.
2306 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2307 (elmo-folder-next-message-number-dop): Ditto.
2309 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2311 * elmo-filter.el (elmo-folder-msgdb-create): Use
2312 `elmo-message-entity' and `elmo-message-flags' instead of
2313 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2315 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2317 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2320 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2322 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2324 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2326 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2328 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2330 * elmo-version.el (elmo-version): Up to 2.11.22.
2332 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2334 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2336 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2338 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2339 if the message dose not exist.
2341 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2343 * elmo-version.el (elmo-version): Up to 2.11.21.
2345 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2347 * modb-standard.el (toplevel): Don't require mime.
2349 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2351 * elsp-bogofilter.el (toplevel): Don't require path-util.
2352 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2353 (elmo-spam-bogofilter-header): Abolish.
2354 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2355 (elmo-spam-bogofilter-args): New user option.
2356 (elsp-bogofilter-call-bogofilter): New internal function.
2357 (elmo-spam-buffer-spam-p): Use it.
2358 (elsp-bogofilter-register-buffer): Renamed from
2359 `elmo-spam-bogofilter-register-buffer';
2360 Use `elsp-bogofilter-call-bogofilter'.
2361 (elmo-spam-register-spam-buffer): Follow the change above.
2362 (elmo-spam-register-good-buffer): Ditto.
2364 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2366 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2367 message-id is nil do nothing.
2369 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2371 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2373 (elmo-imap4-session): Removed use-flag slot.
2374 (elmo-imap4-session-select-mailbox): Undo last change.
2375 (elmo-folder-use-flag-p): Use
2376 elmo-imap4-disuse-server-flag-mailbox-regexp.
2378 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2380 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2381 (elmo-imap4-session-select-mailbox): Set it up.
2382 (elmo-folder-use-flag-p): Return value of use-flag slot.
2384 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2386 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2388 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2390 * modb-entity.el (elmo-message-entity-handler): Likewise.
2392 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2394 * elmo.el (toplevel): Remove setting of autoloding for
2395 elmo-global-flag-initialize.
2396 (elmo-init): Don't call elmo-global-flag-initialize.
2397 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2399 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2400 (elmo-global-mark-migrate): Don't call it.
2401 (elmo-global-mark-upgrade): Ditto.
2403 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2405 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2406 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2408 * elmo-vars.el (elmo-init-hook): New user option.
2410 * elmo.el (elmo-init): Run the elmo-init-hook.
2412 * elmo-flag.el (elmo-global-mark-migrate): New function.
2414 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2416 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2417 Undo last change (move to elmo-msgdb-unset-flag).
2418 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2421 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2423 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2425 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2426 (elmo-msgdb-unset-flag): Ditto.
2428 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2430 * elmo-split.el (elmo-split): Return split message count.
2432 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2434 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2437 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2439 * elmo.el (elmo-folder-unflag-important): Call
2440 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2443 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2445 (elmo-global-flag-detach): Delete the message from flag folder, if
2446 `delete-if-none' is a symbol `always'.
2448 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2450 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2451 `elmo-spam-spamfilter-decode-buffer'.
2452 (elsp-spamfilter-register-buffer-internal): New internal function.
2453 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2454 (elmo-spam-register-spam-buffer): Ditto.
2455 (elmo-spam-register-good-buffer): Ditto.
2457 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2459 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2460 (elmo-spam-register-spam-buffer): Follow the API change.
2461 (elmo-spam-register-good-buffer): Ditto.
2463 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2464 (elmo-split-spam-p): Added argument plist; Call
2465 `elmo-spam-buffer-spam-p' with new argument register.
2467 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2469 (elmo-spam-message-spam-p): Ditto.
2470 (elmo-spam-register-spam-buffer): Added optional argument
2472 (elmo-spam-register-good-buffer): Ditto.
2473 (elmo-spam-register-spam-messages): Ditto.
2474 (elmo-spam-register-good-messages): Ditto.
2476 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2478 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2479 register into good corpus.
2480 (elmo-spam-register-good-buffer): Fixed to register into bad
2483 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2485 * elmo-version.el (elmo-version): Up to 2.11.20.
2487 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2490 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2491 flag without depending on \Recent flag.
2493 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2495 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2496 (elmo-spam-modified-p): Defined.
2497 (elmo-spam-save-status): Set `modified' slot to nil.
2498 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2499 (elmo-spam-register-good-buffer): Ditto.
2501 * elmo-spam.el (elmo-spam-modified-p): New API.
2503 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2505 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2506 duplicate definition.
2508 * elmo-util.el (elmo-unfold-field-body): New function.
2509 (elmo-msgdb-get-message-id-from-buffer): Use it.
2511 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2512 Fixed the last change; Use elmo-unfold-field-body.
2514 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2516 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2519 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2521 * elmo-spam.el (elmo-spam-save-status): New API.
2523 * elsp-spamfilter.el: New file.
2525 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2527 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2529 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2531 * elmo-split.el (elmo-split-spam-p): New function.
2533 * elmo-spam.el: New file.
2535 * elsp-bogofilter.el: Ditto.
2537 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2539 * elmo.el (elmo-folder-next-message-number): New API.
2540 (elmo-folder-next-message-number): Define.
2541 (elmo-message-field): Don't check folder length.
2543 * elmo-net.el (elmo-folder-next-message-number): Define.
2544 (elmo-folder-next-message-number-unplugged): Define.
2546 * elmo-map.el (elmo-folder-next-message-number): Define.
2547 (elmo-folder-delete-messages): Clear hash value.
2549 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2551 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2552 (elmo-folder-delete-messages-dop-delayed): Always return t.
2554 * elmo-version.el (elmo-version): Up to 2.11.19.
2556 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2558 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2561 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2562 identical cons cell into the mark-alist and the hash table.
2564 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2566 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2567 elmo-folder-list-messages with argument `visible-only' as t.
2569 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2570 (elmo-folder-msgdb-create): Check the target folder.
2572 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2574 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2575 `permanentflag' instead of `flags'.
2576 (elmo-folder-open): Ditto.
2577 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2578 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2579 (elmo-folder-use-flag-p): Always return t.
2580 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2581 `permanentflags' does not exist.
2582 (elmo-folder-open): Ditto.
2584 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2586 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2588 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2590 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2591 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2593 (elmo-folder-open): Ditto.
2594 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2595 slot of the session includes the flag.
2596 (elmo-imap4-session-flag-available-p): New function.
2597 (elmo-imap4-folder-list-flagged): Ditto.
2598 (elmo-folder-list-unreads-plugged): Use it.
2599 (elmo-folder-list-importants-plugged): Ditto.
2600 (elmo-folder-list-answereds-plugged): Ditto.
2601 (elmo-imap4-search-internal-primitive): Ditto.
2602 (elmo-imap4-folder-list-any-plugged,
2603 elmo-imap4-folder-list-digest-plugged): Abolish.
2605 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2608 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2610 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2612 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2614 * elmo-util.el (elmo-get-hash-val): Simplify.
2615 (elmo-set-hash-val): Rewrite.
2617 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2619 * elmo.el (elmo-folder-list-messages): Append killed messages into
2620 result if `visible-only' is nil and `in-msgdb' is non-nil.
2622 * elmo-util.el (elmo-uniq-list): Added optional argument
2625 * modb.el (elmo-msgdb-flag-count): New API.
2627 * modb-standard.el (modb-standard): Added slot flag-count.
2628 (modb-standard-countup-flags): New function.
2629 (modb-standard-load-flag): Call it.
2630 (elmo-msgdb-append): Ditto.
2631 (elmo-msgdb-clear): Clear slot flag-count.
2632 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2633 (elmo-msgdb-unset-flag): Treat `all' flag and call
2634 modb-standard-countup-flags.
2635 (elmo-msgdb-flag-count): Define.
2636 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2637 (elmo-msgdb-delete-messages): Ditto.
2639 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2640 (elmo-msgdb-flag-count): Define.
2642 * elmo.el (elmo-folder-list-messages): Undo last change.
2643 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2644 (elmo-folder-kill-messages): Unset all flags to numbers.
2646 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2647 elmo-folder-kill-messages.
2649 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2650 (elmo-nntp-folder-delete-messages): Abolish.
2652 * elmo-version.el (elmo-version): Up to 2.11.18.
2654 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2656 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2657 (elmo-folder-kill-messages-range): New function.
2658 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2659 instead of elmo-folder-kill-messages-before.
2661 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2663 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2664 elmo-imap4-current-msgdb to decide entity handler.
2666 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2668 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2670 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2672 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2673 (elmo-msgdb-overview-entity-set-number,
2674 elmo-msgdb-overview-entity-get-references,
2675 elmo-msgdb-overview-entity-set-references,
2676 elmo-msgdb-overview-entity-get-from-no-decode,
2677 elmo-msgdb-overview-entity-get-from,
2678 elmo-msgdb-overview-entity-set-from,
2679 elmo-msgdb-overview-entity-get-subject,
2680 elmo-msgdb-overview-entity-get-subject-no-decode,
2681 elmo-msgdb-overview-entity-set-subject,
2682 elmo-msgdb-overview-entity-get-date,
2683 elmo-msgdb-overview-entity-set-date,
2684 elmo-msgdb-overview-entity-get-to,
2685 elmo-msgdb-overview-entity-get-cc,
2686 elmo-msgdb-overview-entity-get-size,
2687 elmo-msgdb-overview-entity-set-size,
2688 elmo-msgdb-overview-entity-get-extra,
2689 elmo-msgdb-overview-entity-set-extra,
2690 elmo-msgdb-overview-entity-get-extra-field,
2691 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2692 (elmo-msgdb-make-index): Use
2693 `elmo-msgdb-overview-entity-get-number-internal'.
2694 (elmo-msgdb-clear-index): Ditto.
2695 (elmo-msgdb-append-entity): Ditto;
2696 Use `elmo-msgdb-overview-entity-get-id-internal'.
2698 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2699 elmo-msgdb-overview-entity-set-number,
2700 elmo-msgdb-overview-entity-get-references,
2701 elmo-msgdb-overview-entity-set-references,
2702 elmo-msgdb-overview-entity-get-from-no-decode,
2703 elmo-msgdb-overview-entity-get-from,
2704 elmo-msgdb-overview-entity-set-from,
2705 elmo-msgdb-overview-entity-get-subject,
2706 elmo-msgdb-overview-entity-get-subject-no-decode,
2707 elmo-msgdb-overview-entity-set-subject,
2708 elmo-msgdb-overview-entity-get-date,
2709 elmo-msgdb-overview-entity-set-date,
2710 elmo-msgdb-overview-entity-get-to,
2711 elmo-msgdb-overview-entity-get-cc,
2712 elmo-msgdb-overview-entity-get-size,
2713 elmo-msgdb-overview-entity-set-size,
2714 elmo-msgdb-overview-entity-get-extra,
2715 elmo-msgdb-overview-entity-set-extra,
2716 elmo-msgdb-overview-entity-get-extra-field,
2717 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2718 and rewrote for backward compatibility.
2720 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2722 * elmo.el (elmo-message-entity-number,
2723 elmo-message-entity-set-number,
2724 elmo-message-entity-field,
2725 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2727 * elmo-msgdb.el (elmo-message-entity-number,
2728 elmo-message-entity-set-number,
2729 elmo-message-entity-field,
2730 elmo-message-entity-set-field): Moved from elmo.el.
2732 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2734 * elmo.el (toplevel): Changed definition orders.
2736 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2738 * modb.el (elmo-msgdb-search): New API .
2739 (elmo-msgdb-match-condition): Ditto.
2741 * modb-standard.el (elmo-msgdb-search): Define.
2743 * modb-legacy.el (elmo-msgdb-search): Ditto.
2745 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2746 from elmo-msgdb-match-condition-internal.
2748 * elmo.el (elmo-folder-search-fast): Abolish.
2749 (elmo-folder-search): Use elmo-msgdb-search and
2750 elmo-with-progress-display.
2752 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2755 * elmo.el (elmo-folder): Remove slot message-modified and
2757 (elmo-folder-set-message-modified): Abolish.
2758 (elmo-generic-folder-commit): Follow the change above.
2759 (elmo-folder-synchronize): Ditto.
2761 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2763 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2765 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2767 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2769 * modb-standard.el (modb-standard-make-message-entity,
2770 elmo-msgdb-make-message-entity,
2771 elmo-msgdb-create-message-entity-from-buffer,
2772 elmo-msgdb-message-entity-number,
2773 elmo-msgdb-message-entity-set-number,
2774 elmo-msgdb-message-entity-field,
2775 elmo-msgdb-message-entity-set-field,
2776 elmo-msgdb-copy-message-entity,
2777 elmo-msgdb-match-condition-internal): Remove.
2779 * modb-entity.el: New file (again).
2781 * modb.el (toplevel): Require modb-entity.
2782 (elmo-msgdb-message-entity-handler): New method.
2784 * modb-standard.el (modb-standard-entity-id): Use
2785 elmo-message-entity-handler.
2786 (modb-standard-load-entity): Ditto.
2787 (elmo-msgdb-append-entity): Ditto.
2788 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2790 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2791 elmo-msgdb-decoded-cache-hashtb,
2792 (modb-legacy-make-message-entity,
2793 elmo-msgdb-make-message-entity,
2794 elmo-msgdb-create-message-entity-from-buffer,
2795 elmo-msgdb-message-entity-number,
2796 elmo-msgdb-message-entity-set-number,
2797 elmo-msgdb-message-entity-field,
2798 elmo-msgdb-message-entity-set-field,
2799 elmo-msgdb-copy-message-entity,
2800 elmo-msgdb-match-condition-internal,
2801 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2803 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2804 (elmo-message-entity-set-number): Ditto.
2805 (elmo-message-entity-field): Ditto.
2806 (elmo-message-entity-set-field): Ditto.
2808 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2810 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2812 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2814 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2815 (elmo-nntp-msgdb-create-message): Ditto.
2817 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2818 (elmo-folder-msgdb-create): Add unread flag.
2820 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2822 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2824 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2826 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2828 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2829 elmo-msgdb-messge-entity-handler.
2830 * elmo-version.el (elmo-version): Up to 2.11.17.
2832 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2834 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2837 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2839 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2841 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2842 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2843 (elmo-msgdb-flag-table): Ditto.
2844 (elmo-msgdb-sort-by-date): Ditto.
2846 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2848 * modb-standard.el (toplevel): Require mime.
2849 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2850 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2851 elmo-msgdb-message-entity-number.
2852 (elmo-msgdb-append-entity): Ditto.
2853 (elmo-msgdb-create-message-entity-from-file): Remove.
2854 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2855 corresponds to the entity.
2856 (elmo-msgdb-message-entity-number): Do nothing currently.
2857 (elmo-msgdb-message-entity-field): Ditto.
2858 (elmo-msgdb-message-entity-set-field): Ditto.
2859 (elmo-msgdb-copy-message-entity): Ditto.
2860 (elmo-msgdb-match-condition-internal): Ditto.
2862 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2864 (elmo-msgdb-create-message-entity-from-file): Remove.
2866 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2868 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2870 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2872 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2874 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2875 (elmo-msgdb-message-entity-field): Ditto.
2876 (elmo-msgdb-message-entity-number): Ditto.
2878 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2880 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2881 Fixed how to set extra field into entity.
2882 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2885 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2886 Fixed how to set extra field into entity.
2887 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2890 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2892 * modb.el (elmo-message-entity-db): New function.
2893 (elmo-msgdb-make-message-entity): New API.
2894 (elmo-msgdb-message-entity-number): Ditto.
2895 (elmo-msgdb-message-entity-set-number): Ditto.
2896 (elmo-msgdb-message-entity-field): Ditto.
2897 (elmo-msgdb-message-entity-set-field): Ditto.
2898 (elmo-msgdb-copy-message-entity): Ditto.
2899 (elmo-msgdb-create-message-entity-from-file): Ditto.
2900 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2901 (elmo-msgdb-match-condition-internal): Ditto.
2903 * modb-standard.el (modb-legacy): Require modb-legacy.
2904 (modb-standard-make-message-entity): New inline function.
2905 (elmo-msgdb-make-message-entity): Define.
2906 (elmo-msgdb-create-message-entity-from-file): Ditto.
2907 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2908 (elmo-msgdb-message-entity-field): Ditto.
2909 (elmo-msgdb-message-entity-set-field): Ditto.
2910 (elmo-msgdb-copy-message-entity): Ditto.
2911 (elmo-msgdb-match-condition-internal): Ditto.
2913 * modb-legacy.el: Don't require modb-entity.
2914 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2915 (elmo-msgdb-match-condition-primitive): Ditto.
2916 (elmo-msgdb-get-decoded-cache): Ditto.
2917 (elmo-msgdb-overview-entity-get-id): Ditto.
2918 (elmo-msgdb-overview-entity-get-number): Ditto.
2919 (elmo-msgdb-overview-entity-set-number): Ditto.
2920 (elmo-msgdb-overview-entity-get-references): Ditto.
2921 (elmo-msgdb-overview-entity-set-references): Ditto.
2922 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2923 (elmo-msgdb-overview-entity-get-from): Ditto.
2924 (elmo-msgdb-overview-entity-set-from): Ditto.
2925 (elmo-msgdb-overview-entity-get-subject): Ditto.
2926 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2927 (elmo-msgdb-overview-entity-set-subject): Ditto.
2928 (elmo-msgdb-overview-entity-get-date): Ditto.
2929 (elmo-msgdb-overview-entity-set-date): Ditto.
2930 (elmo-msgdb-overview-entity-get-to): Ditto.
2931 (elmo-msgdb-overview-entity-get-cc): Ditto.
2932 (elmo-msgdb-overview-entity-get-size): Ditto.
2933 (elmo-msgdb-overview-entity-set-size): Ditto.
2934 (elmo-msgdb-overview-entity-get-extra): Ditto.
2935 (elmo-msgdb-overview-entity-set-extra): Ditto.
2936 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2937 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2938 (elmo-msgdb-number-load): Ditto.
2939 (elmo-msgdb-overview-load): Ditto.
2940 (elmo-msgdb-mark-load): Ditto.
2941 (elmo-msgdb-number-save): Ditto.
2942 (elmo-msgdb-mark-save): Ditto.
2943 (elmo-msgdb-overview-save): Ditto.
2944 (modb-legacy-make-message-entity): New inline function.
2945 (elmo-msgdb-insert-file-header): Ditto.
2946 (elmo-msgdb-make-message-entity): Define.
2947 (elmo-msgdb-create-message-entity-from-file): Ditto.
2948 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2949 (elmo-msgdb-message-entity-number): Ditto.
2950 (elmo-msgdb-message-entity-set-number): Ditto.
2951 (elmo-msgdb-message-entity-field): Ditto.
2952 (elmo-msgdb-message-entity-set-field): Ditto.
2953 (elmo-msgdb-copy-message-entity): Ditto.
2954 (elmo-msgdb-match-condition-internal): Ditto.
2956 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2957 (elmo-message-copy-entity): Rewrite.
2958 (elmo-message-entity-number): Ditto.
2959 (elmo-message-entity-set-number): Ditto.
2960 (elmo-message-entity-field): Use elmo-message-entity-db.
2961 (elmo-message-entity-set-field): Ditto.
2962 (elmo-message-field): Rewrite.
2964 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2966 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2968 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2969 elmo-message-entity-field.
2970 (elmo-shimbun-folder-shimbun-header): Ditto.
2971 (elmo-shimbun-entity-to-header): Ditto.
2972 (elmo-folder-msgdb-create): Ditto.
2973 (elmo-shimbun-msgdb-create-entity): Ditto;
2974 Use elmo-msgdb-create-message-entity-from-buffer.
2975 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2976 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2978 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2979 elmo-msgdb-create-message-entity-from-file and
2980 elmo-message-entity-field.
2982 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2983 elmo-message-entity-number.
2984 (elmo-pop3-msgdb-create-message): Use
2985 elmo-msgdb-create-message-entity-from-buffer,
2986 elmo-message-entity-set-field, elmo-message-entity-number and
2987 elmo-message-entity-set-number.
2989 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2990 the API change in elmo-msgdb-make-message-entity.
2991 (elmo-nntp-msgdb-create-message): Use
2992 elmo-msgdb-create-message-entity-from-buffer.
2994 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2995 elmo-message-entity-field and
2996 elmo-msgdb-create-message-entity-from-file.
2998 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2999 (elmo-msgdb-get-field): Abolish.
3000 (elmo-msgdb-get-number): Rewrite.
3001 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3002 (elmo-msgdb-flag-table): Ditto.
3003 (elmo-msgdb-get-last-message-id,
3004 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3005 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3006 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3007 (elmo-msgdb-create-overview-from-buffer,
3008 elmo-msgdb-overview-get-parent-entity): Abolish.
3010 * elmo-mime.el (elmo-mime-display-as-is): Use
3011 elmo-message-entity-field.
3013 * elmo-map.el (elmo-folder-pack-numbers): Use
3014 elmo-message-entity-set-number.
3016 * elmo-maildir.el (elmo-folder-msgdb-create):
3017 elmo-msgdb-create-message-entity-from-file instead of
3018 elmo-msgdb-create-overview-entity-from-file.
3020 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3022 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3023 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3025 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3026 elmo-messge-entity-field and elmo-message-entity-number.
3027 (elmo-imap4-fetch-callback-1): Call
3028 elmo-msgdb-create-message-entity-from-buffer instead of
3029 elmo-msgdb-create-overview-from-buffer.
3030 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3031 (elmo-find-fetch-strategy): Likewise.
3033 * elmo-flag.el (elmo-folder-msgdb-create): Call
3034 elmo-localdir-msgdb-create-entity with argument msgdb.
3036 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3037 and elmo-message-entity-set-number.
3039 * elmo-cache.el (elmo-folder-msgdb-create): Use
3040 elmo-message-entity-field.
3041 (elmo-folder-msgdb-create): Call
3042 elmo-msgdb-create-message-entity-from-file instead of
3043 elmo-msgdb-create-overview-entity-from-file.
3045 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3046 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3047 instead of elmo-msgdb-create-overview-from-buffer.
3048 (elmo-archive-msgdb-create-entity): Ditto.
3049 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3050 elmo-message-entity-field.
3051 (elmo-archive-parse-mmdf): Ditto.
3053 * modb-entity.el: Removed.
3055 * elmo-version.el (elmo-version): Up to 2.11.16.
3057 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3059 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3061 (elmo-folder-flag-as-answered): Ditto.
3063 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3065 * modb-standard.el: New file.
3067 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3068 elmo-msgdb-convert-type is `sync'.
3070 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3071 (elmo-msgdb-convert-type): New user option.
3073 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3074 (elmo-load-msgdb): Auto detect saved type.
3076 * elmo-version.el (elmo-version): Up to 2.11.15.
3078 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3080 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3082 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3083 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3084 with argument `delete-if-none' when dst-folder is 'null.
3086 * elmo-flag.el (elmo-folder-append-messages): Defined.
3087 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3089 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3091 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3093 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3095 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3096 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3097 (elmo-folder-commit): Ditto.
3099 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3101 * elmo-flag.el: New file.
3103 * elmo-mark.el: Removed.
3105 * modb-legacy.el (modb-legacy-new-mark,
3106 modb-legacy-unread-uncached-mark,
3107 modb-legacy-unread-cached-mark,
3108 modb-legacy-read-uncached-mark,
3109 modb-legacy-answered-cached-mark,
3110 modb-legacy-answered-uncached-mark,
3111 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3112 All other related portions are changed.
3114 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3115 (elmo-folder-list-messages-with-global-mark): Abolish.
3116 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3117 (elmo-folder-flag-as-important): Ditto.
3118 (elmo-folder-unflag-read): Ditto.
3119 (elmo-folder-flag-as-read): Ditto.
3120 (elmo-folder-unflag-answered): Ditto.
3121 (elmo-folder-flag-as-answered): Ditto.
3122 (elmo-message-encache): Return the cache path.
3123 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3124 (elmo-message-set-flag): Transitional implementation.
3125 (elmo-message-unset-flag): Ditto.
3126 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3127 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3128 (elmo-init): Call elmo-global-flag-initialize.
3129 (toplevel): Added autoload settings for elmo-flag.
3131 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3133 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3134 (elmo-file-cache-delete): Don't treat global-mark.
3136 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3138 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3140 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3141 `elmo-global-flags-set'.
3143 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3145 (elmo-folder-unflag-read): Ditto.
3146 (elmo-folder-unflag-important): Ditto.
3147 (elmo-folder-flag-as-important): Ditto.
3148 (elmo-folder-unflag-answered): Ditto.
3149 (elmo-folder-flag-as-answered): Ditto.
3151 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3152 `elmo-global-flags-set'.
3153 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3155 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3157 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3159 (elmo-folder-flag-as-important): Ditto.
3160 (elmo-folder-unflag-important): Ditto.
3161 (elmo-folder-flag-as-important): Ditto.
3162 (elmo-folder-unflag-read): Ditto.
3163 (elmo-folder-flag-as-read): Ditto.
3164 (elmo-folder-unflag-answered): Ditto.
3165 (elmo-folder-flag-as-answered): Ditto.
3167 * elmo-multi.el (elmo-folder-list-importants): Don't call
3168 elmo-folder-list-messages-with-global-mark.
3169 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3170 (elmo-folder-unflag-important): Ditto.
3171 (elmo-folder-flag-as-read): Ditto.
3172 (elmo-folder-unflag-read): Ditto.
3173 (elmo-folder-flag-as-answered): Ditto.
3174 (elmo-folder-unflag-answered): Ditto.
3176 * elmo-msgdb.el (elmo-msgdb-new-mark,
3177 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3178 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3179 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3180 (Moved to modb-legacy.el).
3181 (elmo-flag-table-get): Treat important flag too.
3183 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3185 (elmo-map-folder-flag-as-important): Ditto.
3186 (elmo-map-folder-unflag-read): Ditto.
3187 (elmo-map-folder-flag-as-read): Ditto.
3188 (elmo-map-folder-unflag-answered): Ditto.
3189 (elmo-map-folder-flag-as-answered): Ditto.
3190 (elmo-folder-unflag-important): Ditto.
3191 (elmo-folder-flag-as-important): Ditto.
3192 (elmo-folder-unflag-read): Ditto.
3193 (elmo-folder-flag-as-read): Ditto.
3194 (elmo-folder-unflag-answered): Ditto.
3195 (elmo-folder-flag-as-answered): Ditto.
3197 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3198 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3200 (elmo-map-folder-unflag-important): Ditto.
3201 (elmo-map-folder-flag-as-read): Ditto.
3202 (elmo-map-folder-unflag-read): Ditto.
3203 (elmo-map-folder-flag-as-answered): Ditto.
3204 (elmo-map-folder-unflag-answered): Ditto.
3206 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3207 `elmo-global-flags-set'.
3208 (elmo-global-flags-set): Added autoload setting.
3210 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3213 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3214 `elmo-msgdb-global-mark-set'.
3215 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3216 Call `elmo-global-flags-set'.
3217 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3219 (elmo-folder-flag-as-important-plugged): Ditto.
3220 (elmo-folder-unflag-read-plugged): Ditto.
3221 (elmo-folder-flag-as-read-plugged): Ditto.
3222 (elmo-folder-unflag-answered-plugged): Ditto.
3223 (elmo-folder-flag-as-answered-plugged): Ditto.
3224 (elmo-global-flags-set): Added autoload setting.
3226 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3228 (elmo-folder-unflag-read): Ditto.
3229 (elmo-folder-flag-as-important): Ditto.
3230 (elmo-folder-unflag-important): Ditto.
3231 (elmo-folder-flag-as-answered): Ditto.
3232 (elmo-folder-unflag-answered): Ditto.
3234 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3235 change of `mark'->`flag'.
3236 (elmo-dop-queue-method-name-alist): Ditto.
3237 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3238 (elmo-folder-unflag-read-dop): Ditto.
3239 (elmo-folder-flag-as-important-dop): Ditto.
3240 (elmo-folder-unflag-important-dop): Ditto.
3241 (elmo-folder-flag-as-answered-dop): Ditto.
3242 (elmo-folder-unflag-answered-dop): Ditto.
3244 * elmo-cache.el (elmo-folder-msgdb-create): Call
3245 `elmo-global-flags-set'.
3247 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3248 Call `elmo-global-flags-set'.
3249 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3250 elmo-archive-parse-mmdf with argument `folder'.
3251 (elmo-archive-parse-mmdf): Added argument `folder';
3252 Call `elmo-global-flags-set'.
3254 * elmo-version.el (elmo-version): Up to 2.11.14.
3256 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3258 * modb.el (elmo-msgdb-length): Define.
3260 * elmo.el (elmo-make-folder): Fixed.
3261 (elmo-generic-folder-append-messages): Follow the API change.
3263 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3266 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3268 * modb.el: New file.
3270 * modb-entity.el: Ditto.
3272 * modb-legacy.el: Ditto.
3274 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3275 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3276 of `elmo-msgdb-overview-get-entity'.
3277 (elmo-msgdb-get-field): Ditto.
3278 (elmo-msgdb-merge): Moved to `elmo.el'.
3279 (elmo-msgdb-length): Removed; redefine as modb method.
3280 (elmo-msgdb-change-mark): Abolish.
3281 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3282 (elmo-msgdb-match-condition): Don't use mark.
3283 (elmo-msgdb-overview-get-entity): Abolish.
3284 Split modb part into `modb*.el'.
3286 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3288 * elmo-shimbun.el (shimbun-mua-search-id): Use
3289 `elmo-msgdb-message-entity' instead of
3290 `elmo-msgdb-overview-get-entity'.
3291 (elmo-shimbun-folder-shimbun-header): Ditto.
3292 (elmo-shimbun-get-headers): Ditto.
3293 (elmo-shimbun-update-overview): Ditto.
3295 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3297 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3299 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3300 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3302 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3303 `elmo-msgdb-mark-to-flags'.
3305 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3306 `elmo-msgdb-set-path'.
3308 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3310 * elmo-version.el (elmo-version): Up to 2.11.13.
3312 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3314 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3317 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3319 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3322 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3324 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3325 instead of `elmo-msgdb-get-cached'.
3326 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3328 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3329 (elmo-msgdb-set-cached): Ditto.
3330 (elmo-msgdb-set-flag): Rewrite.
3331 (elmo-msgdb-unset-flag): Ditto.
3333 * elmo-msgdb.el: Rewrite with luna.
3335 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3336 (elmo-folder-msgdb): Follow the change above.
3337 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3338 (elmo-folder-unmark-important): Follow the API change.
3339 (elmo-folder-mark-as-important): Ditto.
3340 (elmo-folder-unmark-read): Ditto.
3341 (elmo-folder-mark-as-read): Ditto.
3342 (elmo-folder-unmark-answered): Ditto.
3343 (elmo-folder-mark-as-answered): Ditto.
3344 (elmo-folder-clear): Likewise.
3346 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3347 instead of `elmo-msgdb-load' (renamed).
3349 * elmo-version.el (elmo-version): Up to 2.11.12.
3351 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3353 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3355 (elmo-message-mark): Abolish.
3356 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3357 instead of `elmo-msgdb-change-mark'.
3359 * elmo-pipe.el (elmo-message-mark): Abolish.
3361 * elmo-multi.el (elmo-message-mark): Ditto.
3363 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3364 (elmo-msgdb-unread-uncached-mark): Ditto.
3365 (elmo-msgdb-unread-cached-mark): Ditto.
3366 (elmo-msgdb-read-uncached-mark): Ditto.
3367 (elmo-msgdb-answered-cached-mark): Ditto.
3368 (elmo-msgdb-answered-uncached-mark): Ditto.
3369 (elmo-msgdb-important-mark): Ditto.
3370 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3372 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3374 (elmo-flag-table-load): Changed flag to list of flag.
3375 (elmo-flag-table-set): If flags is nil, set read flag.
3376 (elmo-flag-table-get): Return derived flags from global mark,
3377 cache status and saved flags.
3378 (elmo-msgdb-flag-table): Follow the change above.
3379 (elmo-msgdb-out-of-date-messages): New function.
3381 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3383 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3385 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3387 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3388 (elmo-nntp-msgdb-create-message): Ditto.
3390 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3392 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3394 (elmo-folder-msgdb-create): Follow the API change.
3396 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3397 (elmo-folder-append-messages): Ditto.
3399 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3400 (elmo-folder-append-buffer): Ditto.
3402 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3404 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3406 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3407 (elmo-archive-parse-mmdf): Ditto.
3409 * elmo-version.el (elmo-version): Up to 2.11.11.
3411 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3413 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3416 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3418 * elmo-pipe.el (elmo-message-flags): Defined.
3420 * elmo-multi.el (elmo-message-flags): Ditto.
3422 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3424 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3425 `elmo-msgdb-delete-msgs'.
3427 * elmo.el (elmo-folder-count-flags): Don't use
3428 `elmo-msgdb-get-mark-alist'.
3429 (elmo-folder-detach-messages): Follow the API change.
3431 * elmo.el (elmo-folder-list-messages): Append killed messages into
3432 result if `visible-only' is nil.
3434 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3436 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3437 (elmo-folder-update-number): Likewise.
3439 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3440 (elmo-pop3-sort-msgdb-by-original-number): Use
3441 `elmo-msgdb-sort-entities'.
3443 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3444 (elmo-msgdb-sort-by-date): Use it.
3445 (elmo-msgdb-overview-sort-by-date): Abolish.
3447 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3449 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3450 (elmo-msgdb-flags): New function.
3451 (elmo-msgdb-merge): Use elmo-msgdb-append.
3453 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3456 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3458 * elmo-dop.el (elmo-folder-status-dop): Use
3459 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3461 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3463 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3465 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3467 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3469 * elmo-util.el (elmo-with-progress-display): New macro.
3471 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3473 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3475 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3476 `elmo-folder-list-message-entities' instead of
3477 `elmo-msgdb-get-overview'.
3478 (elmo-map-folder-list-message-locations): Ditto.
3480 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3481 methods instead of treat directly).
3482 (elmo-msgdb-clear): Ditto.
3483 (elmo-msgdb-delete-msgs): Ditto.
3484 (elmo-msgdb-sort-by-date): Ditto.
3486 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3488 (elmo-nntp-folder-msgdb-create): Follow the API change.
3490 * elmo-version.el (elmo-version): Up to 2.11.10.
3492 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3494 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3495 (elmo-msgdb-flags-to-mark): Ditto.
3496 (elmo-msgdb-append-entity): Ditto.
3498 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3499 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3500 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3501 (elmo-archive-parse-mmdf): Ditto.
3503 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3505 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3507 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3509 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3511 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3513 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3515 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3517 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3519 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3520 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3523 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3524 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3525 instead of directly construction.
3526 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3527 instead of construct msgdb.
3529 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3530 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3531 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3532 instead of construct msgdb.
3534 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3536 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3537 when field is from or subject.
3539 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3541 * elmo-multi.el (elmo-message-entity-parent): Define.
3542 (elmo-folder-search): Rewrite.
3544 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3546 * elmo-multi.el (elmo-message-cached-p): Define.
3548 * elmo.el (elmo-message-cached-p): New method.
3549 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3550 (elmo-message-flags): New method.
3551 (elmo-message-flagged-p): New function.
3553 * elmo-version.el (elmo-version): Up to 2.11.9.
3555 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3557 * elmo-version.el (elmo-version): Up to 2.11.8.
3559 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3561 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3563 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3565 * elmo.el (elmo-folder-detach-messages): Undo last change.
3567 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3569 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3571 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3572 only when src folder type is pop3.
3574 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3576 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3577 elmo-msgdb-overview-entity-get-number instead of
3578 elmo-message-entity-number.
3580 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3582 * elmo-version.el (elmo-version): Up to 2.11.7.
3584 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3586 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3589 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3590 (elmo-msgdb-merge): New function.
3591 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3592 (elmo-msgdb-make-index): Rewrite.
3594 * elmo-version.el (elmo-version): Up to 2.11.6.
3596 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3597 use it as a the path for loading message entities.
3599 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3601 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3603 * elmo-filter.el (elmo-folder-set-message-modified): Set
3604 message-modified slot of itself if it does not require target msgdb.
3606 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3607 if folder length is zero.
3608 (elmo-mime-display-as-is): Ditto.
3610 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3612 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3614 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3616 * elmo.el (elmo-folder-set-message-modified): New method.
3617 (elmo-generic-folder-commit): Use it.
3618 (elmo-folder-synchronize): Ditto.
3620 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3621 (elmo-folder-commit): Remove duplicate definition.
3623 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3625 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3627 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3629 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3630 (elmo-strict-folder-diff): Ditto.
3631 (elmo-folder-set-info-max-by-numdb): Simplify.
3633 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3634 elmo-msgdb-list-messages.
3636 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3637 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3639 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3641 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3642 visible-only is non-nil.
3643 (elmo-folder-confirm-appends): Changed message.
3644 (elmo-folder-synchronize): Added argument disable-killed.
3646 * elmo-multi.el (elmo-folder-synchronize): Added argument
3649 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3651 * elmo-version.el (elmo-version): Up to 2.11.5.
3653 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3656 * elmo-util.el (elmo-list-filter): Simplify.
3658 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3659 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3660 (elmo-generic-folder-diff): Abolish argument.
3661 (elmo-msgdb-load): Don't use number-alist.
3663 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3665 * elmo-pipe.el (elmo-folder-diff): Ditto.
3667 * elmo-nmz.el (elmo-folder-diff): Ditto.
3669 * elmo-net.el (elmo-folder-diff): Ditto.
3671 * elmo-maildir.el (elmo-folder-diff): Ditto.
3673 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3675 * elmo-multi.el (elmo-folder-diff): Ditto
3676 (elmo-multi-folder-diff): Rewrite.
3678 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3680 * elmo-pipe.el (elmo-folder-msgdb): Define.
3682 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3684 * elmo.el (elmo-message-set-cached): Define as a method.
3686 * elmo-pipe.el (elmo-message-set-cached): Define.
3687 (elmo-find-fetch-strategy): Ditto.
3689 * elmo-multi.el (elmo-message-set-cached): Define.
3690 (elmo-find-fetch-strategy): Rewrite.
3692 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3694 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3696 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3698 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3699 instead of number-alist.
3701 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3702 mark nor message-id when msgdb of source folder is not loaded.
3704 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3706 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3708 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3710 * elmo.el (elmo-folder-length): Don't require msgdb.
3712 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3714 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3715 (elmo-message-field): Ditto.
3717 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3718 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3720 (elmo-map-folder-list-answereds): Define.
3721 (elmo-maildir-list-location): Treat 'R' info.
3722 (elmo-folder-msgdb-create): Treat flag-table.
3723 (elmo-folder-append-messages): Save flag-table.
3725 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3727 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3728 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3730 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3732 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3734 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3735 'read when mark is null.
3737 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3739 * elmo-version.el (elmo-version): Up to 2.11.4.
3741 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3743 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3744 (elmo-folder-mark-as-answered): Ditto.
3746 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3748 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3749 (elmo-pop3-get-session): Make msgdb directory after session.
3750 (elmo-folder-exists-p): Check exactly at the first time even when the
3751 elmo-pop3-exists-exactly is nil.
3753 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3754 (elmo-folder-list-messages): Define instead of
3755 elmo-folder-list-messages-internal.
3756 (elmo-folder-check): Check destination folder.
3757 (elmo-folder-synchronize): Drain the pipe.
3759 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3760 when msgdb is not loaded.
3762 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3764 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3765 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3768 * elmo.el (elmo-folder-kill-messages-before): New function.
3769 (elmo-folder-kill-messages): Ditto.
3770 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3772 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3773 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3774 killed not by synchronize (e.g. scoring).
3776 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3778 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3780 (elmo-folder-search): Follow the change above.
3782 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3783 into the candidates of search field.
3785 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3787 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3788 (elmo-msgdb-unset-flag): Ditto.
3790 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3792 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3794 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3795 (elmo-folder-commit): Define.
3796 (elmo-folder-synchronize): Ditto.
3797 (elmo-folder-list-flagged): Ditto.
3798 (elmo-folder-commit): Ditto.
3799 (elmo-folder-length): Ditto.
3800 (elmo-folder-count-flags): Ditto.
3801 (elmo-message-mark): Ditto.
3802 (elmo-message-field): Ditto.
3803 (elmo-message-entity): Ditto.
3804 (elmo-message-folder): Ditto.
3806 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3808 * elmo.el (elmo-message-field): Define as a method.
3810 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3811 (elmo-message-field): Define.
3813 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3814 (elmo-folder-list-importants): Ditto.
3815 (elmo-folder-list-answereds): Ditto.
3817 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3819 (elmo-folder-mark-as-read): Ditto.
3820 (elmo-folder-unmark-read): Ditto.
3821 (elmo-folder-mark-as-answered): Ditto.
3822 (elmo-folder-unmark-answered): Ditto.
3823 (elmo-folder-list-flagged): Define.
3824 (elmo-folder-commit): Ditto.
3825 (elmo-folder-length): Ditto.
3826 (elmo-folder-count-flags): Ditto.
3828 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3830 * elmo.el (elmo-folder-detach-messages): New method.
3831 (elmo-folder-move-messages): Use it.
3832 (elmo-folder-synchronize): Ditto.
3834 * elmo-multi.el (elmo-folder-detach-messages): Define.
3836 * elmo.el (elmo-message-copy-entity): New function.
3837 (elmo-message-entity-set-number): Ditto.
3838 (elmo-message-mark): Define as method.
3840 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3841 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3842 (elmo-message-entity): Fixed last change.
3843 (elmo-message-mark): Define.
3844 (elmo-folder-msgdb-create): Abolish.
3845 (elmo-multi-folder-append-msgdb): Ditto.
3846 (elmo-multi-folder-diff): Fixed.
3847 (elmo-multi-split-number-alist): Removed.
3848 (elmo-multi-split-mark-alist): Removed.
3849 (elmo-folder-list-messages): Define.
3850 (elmo-folder-list-messages-internal): Removed.
3852 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3853 local file messages.
3854 (elmo-folder-msgdb-create): Fixed read mark.
3856 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3858 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3861 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3863 * elmo.el (elmo-folder-list-message-entities): Define as inline
3865 (elmo-folder-messages): Abolish.
3867 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3869 (elmo-folder-synchronize): Define.
3870 (elmo-message-entity): Define.
3872 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3874 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3875 elmo-imap4-session-select-mailbox.
3877 * elmo.el (elmo-folder-move-messages): Don't display any message.
3879 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3881 (elmo-imap4-session-check): Don't wait CHECK response.
3882 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3884 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3886 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3888 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3890 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3892 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3895 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3896 (elmo-folder-list-message-entities): Added argument in-msgdb and
3898 (elmo-folder-synchronize): Define as a method.
3900 * elmo-nntp.el (elmo-folder-initialize): Don't use
3901 elmo-nntp-default-user if zero-length username is specified
3904 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3906 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3907 server name in case with username.
3908 (XXX: this is ad-hoc fix against username includes "@", it
3909 should be solved fundamentally)
3911 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3913 * elmo-nntp.el (elmo-nntp-debug): New function.
3914 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3915 (elmo-network-authenticate-session): Hide auth-info from the log.
3917 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3918 user name if it is equal to elmo-nntp-default-user.
3920 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3922 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3923 instead of shimbun-server-internal;
3924 Use shimbun-current-group instead of shimbun-current-group-internal.
3925 (elmo-folder-plugged-p): Use shimbun-server instead of
3926 shimbun-server-internal.
3927 (elmo-folder-set-plugged): Ditto.
3928 (elmo-net-port-info): Ditto.
3929 (elmo-folder-check): Ditto.
3930 (elmo-folder-expand-msgdb-path): Ditto.
3931 (elmo-folder-list-subfolders): Ditto.
3933 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3935 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3936 Convert field-name to lower case.
3937 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3939 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3941 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3942 `message' and `error' take format string.
3944 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3946 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3948 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3950 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3951 recursive call (can't byte compile on emacs 20.7).
3953 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3955 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3956 (elmo-folder-list-message-entities): New API.
3957 (elmo-message-entity): Ditto.
3958 (elmo-message-entity-parent): Ditto.
3959 (elmo-folder-do-each-message-entity): Ditto.
3960 (elmo-message-entity-number): Ditto.
3961 (elmo-message-entity-field): Ditto.
3962 (elmo-message-entity-set-field): Ditto.
3963 (elmo-folder-count-flags): Ditto.
3964 (elmo-folder-length): Ditto.
3966 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3969 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3970 (elmo-msgdb-count-marks): Abolish.
3971 (elmo-msgdb-make-entity): Ditto.
3972 (elmo-msgdb-do-each-entity): Ditto.
3973 (elmo-msgdb-message-entity): New inline function.
3974 (elmo-msgdb-message-entity-field): Ditto.
3975 (elmo-msgdb-message-entity-set-field): Ditto.
3976 (elmo-msgdb-make-message-entity): New function.
3978 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3980 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3981 to flag. (All other related portions are changed.)
3982 (elmo-folder-msgdb-create): Likewise.
3983 (elmo-generic-folder-append-messages): Use flag-table instead of
3985 (elmo-folder-move-messages): Removed redundant process.
3986 (elmo-folder-synchronize): Likewise.
3988 * elmo-msgdb.el (elmo-flag-table-get): New function.
3989 (elmo-flag-table-save): Fixed.
3990 (elmo-msgdb-length): New inline function.
3991 (elmo-msgdb-flag-table): New function.
3992 (elmo-msgdb-mark): Add optional argument new.
3993 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3994 (elmo-msgdb-seen-list): Ditto.
3995 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3998 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4000 * elmo.el (elmo-message-set-mark): Abolish.
4001 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4002 (All related portions are changed.)
4004 * elmo-msgdb.el (toplevel): Added comment.
4005 (elmo-load-msgdb): Added 4th element `path'.
4006 (elmo-msgdb-append): Follow the change above.
4007 (elmo-msgdb-clear): Ditto.
4008 (elmo-msgdb-delete-msgs): Ditto.
4009 (elmo-msgdb-get-path): New inline function.
4010 (elmo-msgdb-set-path): Ditto.
4011 (elmo-flag-table-filename): New variable.
4012 (elmo-flag-table-load): New function.
4013 (elmo-flag-table-set): Ditto.
4014 (elmo-flag-table-save): Ditto.
4015 (elmo-msgdb-get-field-value): Abolish.
4016 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4018 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4020 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4021 the folder has been deleted successfully.
4022 * elmo-imap4.el (elmo-folder-delete): Ditto.
4023 * elmo-archive.el (elmo-folder-delete): Ditto.
4024 * elmo-localdir.el (elmo-folder-delete): Ditto.
4025 * elmo-maildir.el (elmo-folder-delete): Ditto.
4027 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4029 * elmo-util.el (elmo-string-member-ignore-case): New function.
4030 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4031 (elmo-imap4-fetch-callback-1-subr): Likewise.
4033 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4035 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4036 the case of the name attribute "\Noselect".
4038 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4040 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4042 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4043 flist, is not always a member of onum-alist.
4045 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4047 * elmo-version.el (elmo-version): Up to 2.11.3.
4049 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4051 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4052 copied from localdir's one.
4054 * elmo-pipe.el (elmo-folder-rename): New method, rename
4055 destination folder with leaving source folder as it is.
4057 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4059 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4062 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4064 * elmo-version.el (elmo-version): Up to 2.11.2.
4066 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4068 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4069 shimbun-open in case of "@".
4070 (elmo-folder-open-internal): Cope with shimbun = nil case.
4071 (elmo-folder-plugged-p): Ditto.
4072 (elmo-folder-list-subfolders): Make list for "@/" group.
4074 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4076 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4077 mailbox (e.g. for %~/something).
4079 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4081 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4082 Replace nested conditional with guard clauses.
4084 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4086 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4089 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4092 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4094 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4095 Replace nested conditional with guard clauses.
4097 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4099 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4100 (elmo-passwd-alist-save): Ditto.
4101 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4103 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4105 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4106 dir-name only if it is absolute path.
4107 (TODO: distinguish +/something and +something)
4109 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4111 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4112 path for "+~/something".
4114 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4116 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4117 as non-directory, cause error before rename-file.
4118 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4119 apropriately, mimic localdir's one.
4120 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4122 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4124 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4126 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4128 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4130 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4132 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4133 is included in the global-mark or not.
4135 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4137 * utf7.el (toplevel): Avoid error when the function
4138 find-coding-system does not exist.
4140 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4142 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4143 cache even if the folder is plugged.
4144 (elmo-nntp-search-primitive): Do nothing when body search is
4145 invoked (although it is not used by the change above).
4146 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4148 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4150 * elmo-version.el (elmo-version): Up to 2.11.1.
4152 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4154 * elmo-archive.el: Specify charset.
4156 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4158 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4159 process buffer lives or not.
4161 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4162 while flushing queues (It causes infinite loop).
4164 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4166 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4168 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4170 * utf7.el (toplevel): Check the ucs features dynamically.
4171 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4173 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4174 folder is creatabe or not if it already exists.
4176 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4178 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4180 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4182 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4183 (elmo-imap4-read-response): Take care of garbage response.
4185 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4187 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4188 just return nil instead of error.
4190 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4192 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4193 search-key is "body".
4195 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4197 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4198 of elmo-string-matched-assoc to use match-data.
4199 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4201 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4203 * elmo-split.el (elmo-split->): New function.
4204 (elmo-split-<): Ditto.
4206 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4208 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4209 workaround for invalid message-id.
4211 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4213 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4214 return normal pop3 session or pop3 biff session.
4216 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4218 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4219 info part to the cur files when the new files already have it.
4220 (Adviced by Jared Rhine <jared@wordzoo.com>)
4222 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4224 * elmo-split.el (elmo-split-default-action): New variable.
4225 (elmo-split-subr): Use it if all other conditions are passed.
4226 Extend `fname' and rename it as `action'. (implemented
4227 Teranishi-san's idea in [wl:10800])
4229 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4231 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4232 * elmo-util.el: Ditto.
4234 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4236 * elmo.el (elmo-message-accessible-p): Renamed from
4237 elmo-message-cached-p and rewritten.
4239 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4241 * elmo.el (elmo-folder-list-flagged): New generic function.
4242 (elmo-folder-list-importants): New implementation.
4243 (elmo-folder-list-answereds): Ditto.
4244 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4246 (elmo-message-cached-p): New function.
4247 (elmo-message-set-flag): Ditto (no content).
4248 (elmo-message-unset-flag): Ditto.
4249 (elmo-folder-list-messages-mark-match): Abolish.
4251 * elmo-util.el (elmo-regexp-opt): New function.
4253 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4254 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4256 (elmo-msgdb-list-flagged): New function.
4258 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4259 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4262 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4264 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4266 * elmo-version.el (elmo-version): Up to 2.11.0.
4268 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4270 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4271 `elmo-file-cache-exists-p'; use proper mark that depends on
4273 (elmo-msgdb-unset-flag): Ditto.
4274 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4276 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4277 with 4th argument `use-cache'.
4279 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4281 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4282 (elmo-folder-mark-as-important): Ditto.
4283 (elmo-folder-unmark-read): Ditto.
4284 (elmo-folder-mark-as-read): Ditto.
4285 (elmo-folder-unmark-answered): Ditto.
4286 (elmo-folder-mark-as-answered): Ditto.
4288 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4290 (elmo-msgdb-mark): Likewise.
4291 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4292 (elmo-msgdb-unset-flag): Likewise.
4294 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4296 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4298 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4301 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4303 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4304 set spool-length to 0.
4306 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4308 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4309 (elmo-dop-queue-flush): Fixed last change.
4311 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4313 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4314 if require-msgdb slot is nil.
4315 (elmo-folder-list-importants): Likewise.
4317 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4319 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4322 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4323 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4326 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4328 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4330 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4332 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4334 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4336 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4338 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4339 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4341 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4343 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4344 the problem reported by Sean Rima [wl-en:180].
4346 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4348 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4350 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4352 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4354 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4356 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4358 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4360 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4362 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4364 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4367 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4369 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4370 (elmo-folder-mark-as-read): Follow the API change.
4371 (elmo-message-set-cached): New function.
4373 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4375 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4377 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4378 (elmo-folder-mark-as-important): Ditto.
4379 (elmo-folder-unmark-read): Ditto.
4380 (elmo-folder-mark-as-read): Ditto.
4381 (elmo-folder-unmark-answered): Ditto.
4382 (elmo-folder-mark-as-answered): Ditto.
4384 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4385 (elmo-folder-unmark-important): Ditto.
4386 (elmo-folder-mark-as-read): Ditto.
4387 (elmo-folder-unmark-read): Ditto.
4388 (elmo-folder-mark-as-answered): Ditto.
4389 (elmo-folder-unmark-answered): Ditto.
4391 * elmo-mark.el (toplevel): Removed some mark method definitions.
4393 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4394 (elmo-map-folder-mark-as-answered): Ditto.
4395 (elmo-folder-unmark-important): Add :before qualifier.
4396 (elmo-folder-mark-as-important): Ditto.
4397 (elmo-folder-unmark-read): Ditto.
4398 (elmo-folder-mark-as-read): Ditto.
4399 (elmo-folder-unmark-answered): Define.
4400 (elmo-folder-mark-as-answered): Ditto.
4402 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4403 (elmo-map-folder-unmark-answered): Ditto.
4405 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4407 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4408 (elmo-folder-mark-as-important): Ditto.
4409 (elmo-folder-unmark-read): Ditto.
4410 (elmo-folder-mark-as-read): Ditto.
4411 (elmo-folder-unmark-answered): Ditto.
4412 (elmo-folder-mark-as-answered): Ditto.
4414 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4415 `mark'; evaluate mark condition.
4416 (elmo-msgdb-match-condition-internal): New function.
4417 (elmo-msgdb-match-condition): Call it; changed argument.
4419 * elmo.el (elmo-folder-search): Follow the API change on
4420 `elmo-msgdb-match-condition'.
4422 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4424 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4425 original mark is non-nil.
4427 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4429 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4430 (elmo-map-folder-list-answereds): New method.
4431 (elmo-folder-list-unreads): Add :around qualifier.
4432 (elmo-folder-list-importants): Ditto.
4433 (elmo-folder-list-answereds): Ditto.
4435 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4437 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4439 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4440 method if msgdb is not required.
4441 (elmo-filter-folder-list-importants): Don't treat global-mark.
4443 * elmo.el (elmo-folder-list-importants): Ditto.
4445 * elmo-net.el (elmo-folder-list-importants): Ditto.
4447 * elmo-map.el (elmo-folder-list-importants): Ditto.
4449 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4451 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4452 (elmo-imap4-folder-list-any-plugged): New function.
4453 (elmo-imap4-search-internal-primitive): Use it.
4455 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4456 only when require-msgdb slot is non-nil.
4457 (elmo-folder-close): Clear target folder's msgdb.
4459 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4461 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4462 (elmo-pop3-msgdb-create-by-header): Ditto.
4463 (elmo-pop3-msgdb-create-message): Ditto.
4465 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4467 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4469 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4471 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4472 (elmo-folder-msgdb-create): Ditto.
4473 (elmo-nntp-folder-msgdb-create): Ditto.
4474 (elmo-nntp-msgdb-create-by-header): Ditto.
4475 (elmo-nntp-msgdb-create-message): Ditto.
4476 (elmo-folder-list-unreads): Define.
4478 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4479 (elmo-folder-append-messages): Ditto.
4480 (elmo-folder-list-unreads): Define.
4481 (elmo-folder-list-importants): Ditto.
4482 (elmo-folder-list-answereds): Ditto.
4484 * elmo-net.el (elmo-folder-list-unreads): Define.
4485 (elmo-folder-list-importants): Ditto.
4486 (elmo-folder-list-answereds): Ditto.
4487 (elmo-folder-list-answereds-plugged): Ditto.
4488 (elmo-folder-msgdb-create): Follow the API change.
4489 (elmo-folder-msgdb-create-unplugged): Ditto.
4490 (elmo-folder-unmark-answered): Define.
4491 (elmo-folder-mark-as-answered-unplugged): Ditto.
4492 (elmo-folder-unmark-answered-unplugged): Ditto.
4494 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4495 (elmo-msgdb-unread-uncached-mark): Ditto.
4496 (elmo-msgdb-unread-cached-mark): Ditto.
4497 (elmo-msgdb-read-uncached-mark): Ditto.
4498 (elmo-msgdb-answered-cached-mark): Ditto.
4499 (elmo-msgdb-answered-uncached-mark): Ditto.
4500 (elmo-msgdb-important-mark): Ditto.
4501 (elmo-msgdb-set-mark): Rewrite.
4502 (elmo-msgdb-count-marks): Rewrite.
4503 (elmo-msgdb-mark-alist-set): Abolish.
4504 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4505 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4507 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4508 (elmo-folder-close): Define.
4509 (elmo-folder-msgdb-create): Follow the API change.
4510 (elmo-folder-list-unreads): Rewrite.
4511 (elmo-folder-mark-as-important): Ditto.
4512 (elmo-folder-unmark-important): Ditto.
4513 (elmo-folder-mark-as-read): Ditto.
4514 (elmo-folder-unmark-read): Ditto.
4515 (elmo-folder-mark-as-answered): Define.
4516 (elmo-folder-unmark-answered): Ditto.
4518 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4519 (elmo-folder-append-messages): Ditto.
4521 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4523 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4524 (elmo-folder-list-importants): Ditto.
4526 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4527 (elmo-folder-append-messages): Ditto.
4529 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4531 (elmo-folder-msgdb-create-plugged): Ditto.
4532 (elmo-folder-append-messages): Ditto.
4533 (elmo-folder-list-answereds-plugged): Define.
4534 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4535 (elmo-folder-unmark-answered-plugged): Define.
4536 (elmo-folder-mark-as-answered-plugged): Ditto.
4537 (elmo-folder-search-requires-msgdb-p): Ditto.
4539 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4540 (elmo-folder-initialize): Set it.
4541 (elmo-folder-msgdb): Define.
4542 (elmo-folder-check): Call elmo-folder-synchronize.
4543 (elmo-folder-close): Define.
4544 (elmo-folder-commit): Ditto.
4545 (elmo-folder-msgdb-create): Rewrite.
4546 (elmo-folder-list-unreads): Ditto.
4547 (elmo-folder-list-importants): Ditto.
4548 (elmo-folder-mark-as-read): Ditto.
4549 (elmo-folder-unmark-read): Ditto.
4550 (elmo-folder-mark-as-important): Ditto.
4551 (elmo-folder-unmark-important): Ditto.
4552 (elmo-folder-mark-as-answered): Define.
4553 (elmo-folder-unmark-answered): Ditto.
4555 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4556 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4557 (elmo-dop-queue-method-name-alist): Likewise.
4558 (elmo-folder-mark-as-answered-dop): New inline function.
4559 (elmo-folder-unmark-answered-dop): Ditto.
4560 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4562 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4563 (elmo-folder-msgdb-create): Ditto.
4564 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4565 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4566 (elmo-archive-parse-mmdf): Ditto.
4568 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4569 (elmo-folder-list-unreads-internal): Ditto.
4571 * elmo.el (elmo-folder-msgdb): Define as generic function.
4572 (elmo-folder-list-messages): Added argument `in-msgdb'.
4573 (elmo-folder-list-unreads): Define as generic function.
4574 (elmo-folder-list-importants): Ditto.
4575 (elmo-folder-list-answereds): Ditto.
4576 (elmo-folder-list-messages-with-global-mark): New function.
4577 (elmo-folder-msgdb-create): Removed mark arguments.
4578 (elmo-folder-unmark-answered): New generic function.
4579 (elmo-folder-mark-as-answered): Ditto.
4580 (elmo-folder-append-messages): Removed argunment `unread-marks'
4581 (elmo-folder-list-unreads-internal): Abolish.
4582 (elmo-folder-list-importants-internal): Ditto.
4583 (elmo-folder-search-requires-msgdb-p): New generic function.
4584 (elmo-folder-search-requires-msgdb-p-internal): New function.
4585 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4587 (elmo-folder-search-fast): Added key 'mark'.
4588 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4589 instead of unread-marks argument.
4590 (elmo-folder-move-messages): Removed argunment `unread-marks'
4591 (elmo-folder-unmark-important): Define.
4592 (elmo-folder-mark-as-important): Ditto.
4593 (elmo-folder-unmark-read): Ditto.
4594 (elmo-folder-mark-as-read): Ditto.
4595 (elmo-folder-unmark-answered): Ditto.
4596 (elmo-folder-mark-as-answered): Ditto.
4597 (elmo-folder-replace-marks): Abolish.
4598 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4600 (elmo-folder-synchronize): Removed mark arguments;
4601 return crosspost only number.
4603 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4605 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4606 Remove redundunt connectivity check.
4608 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4610 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4611 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4613 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4615 * pldap.el (ldap-decode-string): Return string as-is if
4616 `ldap-coding-system' is nil.
4617 (ldap-encode-string): Ditto.
4618 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4619 (ldap-default-host): Fixed docstring.
4621 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4623 * elmo-util.el (elmo-warning): Define as a macro which uses
4624 `display-warning' if it is defined as a function.
4626 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4627 (elmo-split-equal): Use it.
4628 (elmo-split-match): Ditto.
4629 (elmo-split-message-entity): New buffer-local variable.
4630 (elmo-split-subr): Set it.
4632 * elmo-version.el (elmo-version): Up to 2.9.15.
4634 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4636 * elmo-imap4.el (elmo-network-initialize-session):
4637 Check capability after starttls.
4639 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4641 * elmo-util.el (elmo-list-delete): Added optional argument
4644 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4646 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4648 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4650 * elmo-imap4.el (elmo-folder-initialize): Don't use
4651 elmo-imap4-default-mailbox.
4653 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4655 * elmo-split.el (toplevel): Use `product-provide'.
4656 (elmo-split): Checkdoc.
4658 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4660 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4661 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4662 the function `elmo-imap4-debug-1'.
4664 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4666 * elmo-split.el (elmo-split): Moved to run hooks and to show
4667 message from elmo-split-subr.
4668 (elmo-split-subr): Follow the change above.
4670 * elmo-split.el (elmo-split-subr): New function (renamed from
4672 (elmo-split): Changed to call elmo-split-subr by element of
4674 (elmo-split-folder): Changed customization type to choice.
4676 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4678 * elmo-split.el (elmo-split-and): Fixed condition.
4680 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4682 * elmo-split.el: New file.
4683 (elmo-split): Fixed logic.
4684 Display "Test:" instead of "Folder:" when reharsal.
4686 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4689 * elmo-version.el (elmo-version): Up to 2.9.14.
4691 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4694 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4696 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4697 message with no message-id field.
4699 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4701 * elmo-version.el (elmo-version): Up to 2.9.13.
4703 * elmo-dop.el (elmo-folder-status-dop): Fix.
4705 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4707 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4709 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4710 changing default value of default-mime-charset.
4711 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4713 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4715 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4716 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4717 instead of elmo-dop-queue-method-name-alist to check merging queue.
4718 (elmo-folder-delete-messages-dop): Delete from queue if negative
4720 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4721 file is already removed.
4723 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4725 * elmo-vars.el: Bind colon keywords for old Emacsen.
4727 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4729 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4730 against non-exsisting charset.
4732 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4734 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4735 Use eword-decode-and-unfold-unstructured-field-body.
4737 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4738 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4739 exists to decode raw subject string.
4740 (toplevel): Require 'mime.
4742 * elmo-version.el (elmo-version): Up to 2.9.12.
4744 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4746 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4747 (elmo-msgdb-set-mark): Ditto.
4749 * elmo-version.el (elmo-version): Up to 2.9.11.
4751 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4753 * elmo-util.el (elmo-delete-match-files): New function.
4755 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4756 instead of elmo-delete-directory.
4758 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4759 elmo-hash-minimun-size as 63.
4761 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4762 elmo-diff-unread is nil.
4764 * elmo-imap4.el (elmo-folder-open): Fix.
4766 * elmo.el (elmo-message-mark): Rewrite.
4767 (elmo-message-field): Ditto.
4768 (elmo-message-set-mark): Ditto.
4769 (elmo-folder-replace-marks): New function.
4770 (elmo-generic-folder-append-msgdb): Removed third argument for
4772 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4773 (elmo-msgdb-load): New implementation.
4775 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4777 * elmo-util.el (elmo-list-insert): New implementation.
4779 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4780 argument for elmo-msgdb-append.
4783 * elmo-msgdb.el (elmo-load-msgdb): New function.
4784 (elmo-make-msgdb): Ditto.
4785 (elmo-msgdb-get-index): New inline function.
4786 (elmo-msgdb-set-index): Ditto.
4787 (elmo-msgdb-get-entity-hashtb): Ditto.
4788 (elmo-msgdb-get-mark-hashtb): Ditto.
4789 (elmo-msgdb-get-mark): Ditto.
4790 (elmo-msgdb-set-mark): Ditto.
4791 (elmo-msgdb-count-marks): Ditto.
4792 (elmo-msgdb-get-number): Ditto.
4793 (elmo-msgdb-get-field): Ditto.
4794 (elmo-msgdb-seen-list): Ditto.
4795 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4796 (elmo-msgdb-delete-msgs): Follow the changes above.
4797 (elmo-msgdb-overview-get-entity): Ditto.
4798 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4799 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4801 (elmo-msgdb-make-index): Likewise.
4802 (elmo-msgdb-append): Removed third argument.
4803 (elmo-msgdb-clear): Clear index as nil.
4804 (elmo-folder-set-info-hashtb): Removed.
4805 (elmo-folder-set-info-max-by-numdb): Ditto.
4806 (elmo-folder-info-make-hashtb): Ditto.
4808 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4810 * elmo-map.el (elmo-folder-pack-number): Ditto.
4812 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4814 * elmo-version.el (elmo-version): Up to 2.9.10.
4816 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4818 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4820 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4822 * elmo-utils.el (elmo-make-directory): Add option.
4823 Default file mode is 700.
4825 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4827 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4829 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4831 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4834 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4837 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4839 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4840 (elmo-shimbun-folder-entity-hash): New function.
4841 (elmo-shimbun-folder-shimbun-header): Ditto.
4842 (elmo-shimbun-entity-to-header): Ditto.
4843 (elmo-shimbun-msgdb-to-headers): Removed.
4844 (elmo-shimbun-folder-setup): Ditto.
4845 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4847 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4848 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4849 Removed useless local bind.
4850 (elmo-folder-open-internal): Don't call
4851 `elmo-shimbun-folder-setup'.
4852 (elmo-folder-close-internal): Clear entity-hash slot.
4853 (elmo-folder-clear): Ditto.
4854 (elmo-shimbun-msgdb-create-entity): Use
4855 `elmo-shimbun-folder-shimbun-header'.
4856 (elmo-map-message-fetch): Ditto.
4857 (elmo-shimbun-update-overview): Use overview entity instead of
4858 shimbun header to lookup id by references.
4859 (elmo-map-folder-list-message-locations): Use not only headers but
4860 also overviews to list locations.
4862 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4864 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4867 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4869 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4871 * elmo-util.el (elmo-read-search-condition-internal): Give default
4874 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4876 * elmo-util.el (elmo-condition-parse-search-value): Accept
4877 YYYY-MM-DD format to search.
4878 * elmo-date.el (elmo-date-get-datevec): Likewise.
4880 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4882 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4885 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4887 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4890 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4892 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4893 case from `elmo-folder-exists-p'.
4894 (elmo-folder-exists-p): Removed.
4895 (elmo-folder-creatable-p) Ditto.
4897 * elmo-net.el (elmo-folder-create): Defined.
4898 (elmo-folder-create-unplugged): New function.
4899 (elmo-folder-exists-p): Changed default value to nil from t.
4901 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4902 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4904 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4905 `elmo-create-folder-dop' and append queue
4906 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4907 (elmo-folder-create-dop-delayed): New function.
4909 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4911 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4913 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4914 (elmo-folder-writable-p) : Ditto.
4916 * elmo-version.el (elmo-version): Up to 2.9.9.
4918 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4920 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4921 `elmo-message-use-cache-p' returns nil.
4922 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4923 (ignore cache file and refer the substance in local folders)
4925 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4927 * elmo-version.el (elmo-version): Up to 2.9.8.
4929 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4931 * elmo-version.el (elmo-version): Up to 2.9.7.
4933 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4935 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4937 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4939 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4941 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4943 (elmo-map-folder-list-message-locations): Reverse location list.
4945 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4947 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4949 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4951 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4953 (elmo-nntp-folder-list-subfolders): Follow the change above.
4955 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4957 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4958 name if authentication type is specified.
4960 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4962 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4964 (elmo-default-nntp-stream-type): Ditto.
4965 (elmo-default-pop3-stream-type): Ditto.
4967 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4969 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4971 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4973 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4975 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4977 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4978 (elmo-maildir-folder-path): Ditto.
4979 (elmo-maildir-list): Ditto (abolished).
4981 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4983 * elmo-version.el (elmo-version): Up to 2.9.6.
4985 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4987 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4988 (elmo-maildir-folder-path): Ditto.
4989 (elmo-msgdb-directory): Ditto.
4990 (elmo-passwd-life-time): Ditto.
4991 (elmo-msgdb-extra-fields): Ditto.
4992 (elmo-enable-disconnected-operation): Ditto.
4994 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4996 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4998 (elmo-pop3-default-authenticate-type): Ditto.
5000 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5002 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5004 (elmo-pop3-default-authenticate-type): Ditto.
5006 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5008 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5009 mailbox to new-folder.
5011 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5013 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5014 less than new, set new as unread.
5016 * elmo-util.el (elmo-string): Don't put text-property if nil.
5018 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5020 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5021 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5023 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5025 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5026 is nil on `completing-read'.
5028 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5030 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5032 (elmo-imap4-parse-namespace-subr): Ditto.
5033 (elmo-folder-list-subfolders): Append a delimiter when the specified
5034 folder path is a root with namespace and does not end with delimiter.
5036 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5038 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5041 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5043 * elmo-util.el (elmo-save-buffer): The first argument of message
5044 is a format control string.
5046 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5048 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5049 `elmo-folder-diff').
5050 (elmo-diff-unread): Likewise.
5052 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5054 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5055 is t on `completing-read'.
5057 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5059 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5060 method of target folder with self mark-alist if MARK-ALIST is nil.
5062 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5064 * elmo-version.el (elmo-version): Up to 2.9.5.
5066 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5068 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5069 (elmo-dop-merge-funcs): Remove.
5071 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5073 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5074 Return t if PATH is directory, too.
5075 Use `dolist' instead of while loop.
5077 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5079 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5082 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5084 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5086 (elmo-folder-list-messages-unplugged): Return t if
5087 elmo-enable-disconnected-operation is nil.
5089 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5090 `elmo-folder-list-messages-internal'.
5092 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5094 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5095 Change to looking-at `[23][0-9]+'.
5096 (elmo-network-initialize-session): Use 'error-msg'
5097 * elmo-net.el (elmo-network-open-session): Set unplugged
5098 if elmo-network-initialize-session returns 'elmo-open-err.
5100 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5102 * elmo-version.el (elmo-version): Up to 2.9.4.
5104 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5106 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5107 `elmo-folder-list-messages-internal'.
5109 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5111 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5112 (elmo-message-match-condition): New method.
5113 (elmo-folder-search-fast): New inline function.
5114 (elmo-msgdb-search): Removed.
5116 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5117 target folder if it is unplugged.
5118 (elmo-folder-list-messages-internal): Return t if target folder is
5119 unplugged and itself is persistent; In this case, use list be
5122 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5123 (elmo-msgdb-search-internal-primitive): Ditto.
5124 (elmo-msgdb-match-condition): New function.
5125 (elmo-msgdb-match-condition-primitive): Ditto.
5127 * elmo-util.el (elmo-filter-condition-p): New macro.
5129 * elmo-cache.el (elmo-folder-search): Removed.
5131 * elmo-localdir.el (elmo-folder-search): Ditto.
5133 * elmo-maildir.el (elmo-folder-search): Ditto.
5135 * elmo-mark.el (elmo-folder-search): Ditto.
5137 * elmo-nmz.el (elmo-folder-search): Ditto.
5139 * elmo-sendlog.el (elmo-folder-search): Ditto.
5141 * elmo-shimbun.el (elmo-folder-search): Ditto.
5143 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5144 if folder is unplugged.
5146 * elmo-nntp.el (elmo-folder-search): Likewise.
5147 (elmo-nntp-search-internal): New function.
5149 * elmo-version.el (elmo-version): Up to 2.9.3.
5151 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5153 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5155 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5157 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5159 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5161 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5163 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5165 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5166 (elmo-map-folder-list-message-locations): Do drive letter conversion
5167 on Windows environment.
5168 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5169 (elmo-map-message-fetch): Ditto.
5171 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5173 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5174 (elmo-network-initialize-session): Ditto.
5176 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5178 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5180 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5182 * elmo-util.el (elmo-progress-clear): Ditto.
5184 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5185 `DD-Mon-YYYY' type date.
5187 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5189 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5190 `elmo-date-make-sortable-string' instead of
5191 `timezone-make-date-sortable'.
5193 * elmo-date.el (elmo-date-make-sortable-string): Use
5194 `timezone-make-time-string'.
5196 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5198 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5200 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5201 `since'; Fix timezone.
5203 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5205 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5207 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5209 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5211 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5213 * elmo.el (elmo-generic-folder-append-messages): Make
5214 fetch-strategy with `use-cache' as 'maybe. Check return value of
5215 `elmo-message-fetch'.
5216 (elmo-message-fetch): Return return value of
5217 `elmo-message-fetch-with-cache-process'.
5218 (elmo-message-fetch-with-cache-process): Return non-nil if
5219 fetching was succeed. Load cache when fetching was failed and
5220 fetch-strategy-use-cache is 'maybe.
5222 * elmo-util.el (elmo-file-cache-load): New function.
5224 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5227 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5228 non-nil if fetching was succeed.
5230 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5232 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5234 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5235 (elmo-message-fetch-with-cache-process): Likwise.
5237 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5239 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5241 * elmo-version.el (elmo-version): Up to 2.9.2.
5243 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5245 * elmo.el (elmo-folder-delete): Delete msgdb path.
5247 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5249 * elmo-maildir.el (elmo-folder-delete): Ditto.
5251 * elmo-localdir.el (elmo-folder-delete): Ditto.
5253 * elmo-imap4.el (elmo-folder-delete): Ditto.
5255 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5257 * elmo.el (luna-define-class): Added `biff' slot.
5259 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5260 (elmo-pop3-debug-inhibit-logging): Abolished.
5261 (elmo-network-close-session): Eliminated needless let.
5262 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5263 (elmo-pop3-send-command): Added `no-log' argument.
5264 (elmo-pop3-process-filter): Use `with-current-buffer'.
5265 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5267 (elmo-pop3-auth-apop): Likewise.
5268 (elmo-network-authenticate-session): Likewise.
5270 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5273 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5274 string to determine protocol.
5275 (elmo-network-session-name-prefix): Abolished.
5276 (elmo-network-session-cache-key): Follow the change above.
5277 (elmo-network-open-session): Ditto.
5279 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5280 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5282 * elmo-version.el (elmo-version): Up to 2.9.1.
5284 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5285 unmatch condition checking.
5287 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5290 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5292 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5294 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5296 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5297 test for while loop to execute at least one SEARCH command.
5299 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5301 * elmo-version.el (elmo-version): Up to 2.9.0.
5303 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5305 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5306 (elmo-archive-folder-path): Define.
5307 (elmo-folder-initialize): Setup `dir-name' slot.
5308 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5309 Use `dir-name' as prefix of each subfolders.
5310 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5312 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5314 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5315 (elmo-pipe-folder-list-target-messages): New internal function.
5316 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5318 (elmo-pipe-folder-copied-list-load): New function.
5319 (elmo-pipe-folder-copied-list-save): Ditto.
5320 (elmo-folder-open-internal): Follow the change above.
5321 (elmo-folder-status): Fixed for copy.
5323 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5325 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5327 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5329 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5330 elmo-copy-file instead of elmo-add-name-to-file.
5332 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5334 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5337 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5338 of accept-process-output as 1.
5339 (elmo-pop3-read-contents): Ditto.
5340 (elmo-pop3-read-body): Ditto.
5342 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5344 * elmo-version.el (product-version-as-string): Remove define.
5346 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5348 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5349 (elmo-imap4-copy-messages): Chop number set using
5350 `elmo-imap4-number-set-chop-length'.
5351 (elmo-imap4-set-flag): Ditto.
5352 (elmo-imap4-search-internal-primitive): Ditto.
5354 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5356 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5357 `elmo-folder-make-temp-dir'
5359 * elmo-vars.el (elmo-cache-directory): New variable.
5360 (elmo-cache-dir): Abolished.
5361 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5363 * elmo-version.el (elmo-version): Up to 2.7.7.
5365 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5367 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5368 defcustom; Set default value as t.
5370 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5372 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5373 (ldap-search-program-arguments): Changed default value.
5374 (ldap-search-basic): Accept exit status 4.
5375 (ldap/field-body): Parse options.
5376 (ldap/collect-field): Ditto.
5377 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5379 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5380 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5381 (elmo-imap4-accept-ok): Ditto.
5382 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5383 'notify-bye, only BYE error is reported.
5384 (elmo-folder-exists-p-plugged): Set no-error argument of
5385 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5387 * elmo.el (elmo-imap4-bye-error): Changed message.
5389 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5390 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5391 queues (It causes infinite loop).
5393 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5395 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5396 (RECENT UNSEEN MESSAGES) extension.
5398 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5400 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5401 Check number of overview fields.
5403 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5405 * elmo.el (elmo-folder-confirm-appends): Changed message.
5406 (elmo-folder-confirm-appends): Ditto.
5408 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5410 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5412 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5414 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5415 of elmo-folder-update-threshold is nil, which can be set by
5416 wl-summary-update-confirm-threshold.
5418 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5420 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5421 (elmo-nmz-index-alias-alist): Ditto.
5422 (elmo-map-folder-list-message-locations): Follow the change above.
5424 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5426 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5428 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5430 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5432 * elmo-util.el (elmo-read): Ditto.
5433 (elmo-display-error): Ditto.
5435 * elmo-vars.el (elmo-date-match): Ditto.
5437 * pldap.el (ldap-coding-system): Ditto.
5439 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5440 `elmo-inhibit-number-mapping' as nil.
5442 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5444 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5445 space delimiter for list response.
5447 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5449 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5451 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5453 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5454 (elmo-map-message-fetch): Fix.
5455 * elmo-map.el (elmo-folder-status): Fix for killed.
5457 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5459 * elmo-sendlog.el: New file.
5460 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5462 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5464 * acap.el (acap-logging-out): New buffer local variable.
5465 (acap-close): Set it.
5466 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5469 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5471 * acap.el (acap-response-bye-p): New function.
5472 (acap-response-bye-message): Ditto.
5473 (acap-wait-for-response): If bye response is received, cause an error.
5474 (acap-parse-response): Make bye response when 'Bye' is received.
5476 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5478 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5480 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5482 * elmo-util.el (elmo-copy-file): Added argument
5483 `ok-if-already-exists'.
5484 (elmo-copy-file): Fixed typo.
5486 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5488 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5490 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5492 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5494 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5496 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5499 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5501 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5502 (elmo-folder-initialize): Fix for `copy'.
5503 (elmo-pipe-drain): Ditto.
5504 (elmo-folder-open-internal): Ditto.
5505 (elmo-folder-newsgroups): Fix.
5507 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5509 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5512 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5513 recent value is returned from imap folder.
5515 * elmo.el (elmo-folder-newsgroups): New generic function.
5517 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5518 (elmo-folder-initialize): Set it.
5519 (elmo-folder-expand-msgdb-path): Use it.
5520 (elmo-folder-newsgroups): Define.
5522 * elmo-filter.el (elmo-folder-newsgroups): Define.
5524 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5526 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5528 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5530 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5532 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5534 (elmo-shimbun-header-extra-field): New inline function.
5535 (elmo-shimbun-header-set-extra-field): Ditto.
5536 (elmo-shimbun-folder-header-hash-setup): Ditto.
5537 (elmo-shimbun-update-overview): Ditto.
5538 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5539 (elmo-shimbun-folder-setup): Use
5540 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5541 (elmo-shimbun-get-headers): Ditto.
5542 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5543 Insert `X-Shimbun-Id:' header if extra field is set.
5544 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5545 field's value instead of `shimbun-header-id'.
5547 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5549 (elmo-msgdb-overview-entity-set-date): Ditto.
5550 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5552 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5554 * mmimap.el (mmimap-entity-section): Changed body node number from
5557 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5559 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5560 `elmo-folder-delete-messages'.
5562 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5563 (elmo-folder-initialize): Changed to expand alias into index path.
5565 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5566 `elmo-mime-insert-header-from-buffer' with 6th arg
5569 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5571 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5573 * elmo.el (elmo-diff-new): New inline function.
5574 (elmo-diff-unread): Ditto.
5575 (elmo-diff-all): Ditto.
5577 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5578 value from responseb.
5579 (elmo-imap4-folder-diff-plugged): Ditto.
5580 (elmo-imap4-server-diff-async): Added recent argument.
5581 (elmo-server-diff-async): Ditto.
5582 (elmo-imap4-folder-diff-plugged): Ditto.
5584 * elmo-version.el (elmo-version): Up to 2.7.6.
5586 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5588 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5591 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5593 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5595 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5597 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5599 * elmo-multi.el (elmo-folder-initialize): Ditto.
5601 * elmo-util.el (elmo-parse-token): New function.
5602 (elmo-parse-prefixed-element): Ditto.
5604 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5606 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5608 (elmo-imap4-accept-ok): Ditto.
5610 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5612 * mmimap.el (mime-imap-entity-header-string): Don't check first
5613 element of node-id is `0' (Follow last change).
5615 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5617 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5618 assigned irregular node-id to nested multipart section.
5619 (initialize-instance): Followed above change.
5621 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5623 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5624 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5625 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5626 `elmo-shimbun-get-headers');
5627 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5628 visible article on summary exists in headers).
5629 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5631 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5633 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5636 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5638 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5640 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5642 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5643 header separator into loop condition.
5645 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5647 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5648 Return duplicate folder if it has subfolder.
5650 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5652 * elmo.el (elmo-make-folder): Add folder name error check.
5654 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5655 (elmo-nntp-encode-group-string): New inline function.
5656 (elmo-nntp-decode-group-string): Ditto.
5657 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5658 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5659 Use `not' instead of `null';
5660 Use elmo-nntp-decode-group-string.
5662 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5664 * elmo-version.el (elmo-version): Up to 2.7.5.
5666 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5668 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5669 Hide progress gauge if `elmo-folder-move-messages' exits
5672 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5674 * elmo-imap4.el (elmo-folder-initialize): Use
5675 `elmo-imap4-encode-folder-string' for folder name.
5677 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5679 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5682 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5684 * elmo-util.el (elmo-progress-counter-alist): New internal
5686 (elmo-progress-counter-value): New macro.
5687 (elmo-progress-counter-all-value): Ditto.
5688 (elmo-progress-counter-format): Ditto.
5689 (elmo-progress-counter-set-value): Ditto.
5690 (elmo-progress-set): New function.
5691 (elmo-progress-clear): Ditto.
5692 (elmo-progress-notify): Ditto.
5694 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5697 * elmo.el (elmo-generic-folder-append-messages): Call
5698 `elmo-progress-notify'.
5699 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5701 * elmo-archive.el (elmo-folder-append-messages): Call
5702 `elmo-progress-notify'.
5704 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5706 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5708 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5710 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5712 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5714 (elmo-message-encache-dop): Added argument `read'.
5716 * elmo-shimbun.el (elmo-message-encache): Ditto.
5718 * elmo-net.el (elmo-message-encache): Ditto.
5720 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5721 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5722 elmo-imap4-seen-messages.
5723 (elmo-folder-msgdb-create-plugged): Initialize
5724 elmo-imap4-seen-messages;
5725 Set seen mark on elmo-imap4-seen-messages.
5727 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5729 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5730 elmo-folder-append-buffer.
5731 (elmo-folder-encache): Added optional argument `read'.
5732 (elmo-message-encache): Ditto.
5734 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5736 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5738 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5739 if append buffer content succeds.
5741 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5743 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5744 elmo-display-progress.
5746 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5747 Set 4th argument of mime-display-message.
5748 (elmo-mime-display-as-is): Ditto.
5750 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5752 * elmo-nmz.el (toplevel): Require 'mime-edit.
5753 (elmo-nmz-content-type-alist): Abolished.
5754 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5755 content is not a message.
5756 (elmo-map-message-fetch): Changed behavior exept for message content;
5757 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5758 content-type, Add From: and Subject: field.
5760 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5762 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5763 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5766 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5768 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5769 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5771 * elmo-archive.el (elmo-folder-writable-p): Defined.
5773 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5775 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5777 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5779 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5781 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5783 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5785 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5787 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5789 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5791 * elmo-util.el (elmo-address-quote-specials): New function;
5792 Renamed from `wl-address-quote-specials'.
5794 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5796 * elmo-version.el (elmo-version): Up to 2.7.4.
5798 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5800 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5802 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5804 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5805 both compile-time and run-time to avoid byte-compile warning.
5807 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5809 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5811 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5813 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5815 (elmo-mime-display-as-is-internal): Use it.
5817 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5818 if `read-passwd' is not defined.
5820 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5822 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5824 (elmo-folder-status): Call `elmo-folder-open-internal';
5825 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5826 (elmo-folder-close-internal): Set location-alist as nil.
5827 (elmo-folder-clear): Define.
5828 (elmo-folder-check): Don't set location-alist as nil.
5830 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5832 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5834 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5835 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5837 * mmimap.el (mime-imap-entity::requested): New slot.
5838 (mime-imap-location-fetch-entity-p): New generic function.
5839 (mime-decode-parameters): Define using `defun-maybe'.
5840 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5841 content-type structure.
5842 (mime-entity-body): Return empty body if
5843 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5845 * elmo.el (elmo-message-displaying): New variable.
5847 * elmo-mime.el (elmo-mime-message-display): Bind
5848 elmo-message-displaying as t.
5850 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5852 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5854 * acap.el (acap-open): erase buffer before starting network process.
5855 (acap-store): Rewrite.
5857 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5859 * elmo-imap4.el (elmo-imap4-default-mailbox,
5860 elmo-imap4-default-server
5861 elmo-imap4-default-authenticate-type,
5862 elmo-imap4-default-user,
5863 elmo-imap4-default-port,
5864 elmo-imap4-default-stream-type,
5865 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5867 * elmo-pop3.el (elmo-pop3-default-user,
5868 elmo-pop3-default-server,
5869 elmo-pop3-default-authenticate-type,
5870 elmo-pop3-default-port,
5871 elmo-pop3-default-stream-type,
5872 elmo-pop3-stream-type-alist): Ditto.
5874 * elmo-nntp.el (elmo-nntp-default-server,
5875 elmo-nntp-default-user,
5876 elmo-nntp-default-port,
5877 elmo-nntp-default-stream-type,
5878 elmo-nntp-stream-type-alist): Ditto.
5880 * elmo-vars.el: Follow changes above.
5881 (elmo-setting): New custom group; added 'elmo-setting group to
5884 * elmo-version.el (elmo-version): Up to 2.7.3.
5886 * acap.el (acap-parse-response): Don't delete process when BYE
5887 response (It causes hang-up on slow network environment).
5888 (toplevel): Added comment.
5890 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5892 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5894 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5896 (acap-parse-return-metadata): Ditto.
5899 (toplevel): Fixed typo.
5901 * acap.el: New file.
5902 (acap-network-stream-open): Show "Connecting..." message.
5903 (acap-parse-response): Fixed problem for BYE untagged response.
5904 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5905 (toplevel): Added tiny comments.
5907 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5909 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5910 space delimiter for uidl response.
5912 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5914 * elmo-vars.el (elmo-use-semi): Eliminated.
5916 * elmo-util.el (elmo-string-assoc-all): New function.
5918 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5920 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5921 property 'mime-preview-situation for `mime-preview-quit'.
5923 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5925 * elmo.el (elmo-message-fetch-with-cache-process): Call
5926 elmo-message-fetch-internal instead of causing an error when fetch
5927 strategy is 'entire but only 'section cache is available.
5929 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5931 * elmo-version.el (elmo-version): Up to 2.7.2.
5933 * elmo.el (elmo-generic-folder-append-messages): Make
5934 fetch-strategy with `use-cache'.
5936 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5937 (elmo-dop-queue-method-name): New macro.
5939 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5941 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5942 unbalanced parenthesis.
5944 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5946 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5948 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5950 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5951 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5953 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5955 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5958 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5960 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5961 (elmo-message-use-cache-p): Define.
5962 (elmo-folder-msgdb-create): Treat cache.
5964 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5966 * elmo-nntp.el (elmo-network-initialize-session): Call
5967 `elmo-nntp-send-mode-reader'.
5968 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5970 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5972 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5974 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5977 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5978 for `elmo-plugged-p'.
5979 (elmo-open-network-stream): Fixed stream-type argument.
5981 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5983 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5984 unknown archive type is specified.
5986 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5988 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5990 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5991 while loading msgdb.
5993 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5994 (elmo-folder-open-internal): Rewrite.
5996 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5998 * elmo-mime.el (elmo-mime-display-as-is-internal):
5999 Adjust buffer-multibyte status.
6001 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6003 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6004 of elmo-condition-find-key.
6006 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6007 (elmo-condition-in-msgdb-p): Ditto.
6008 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6011 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6013 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6015 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6017 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6018 label for elmo-display-progress.
6020 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6022 * elmo.el (elmo-folder-clear): New method.
6023 (elmo-folder-clear): Define.
6024 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6026 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6027 (elmo-folder-clear): Define.
6029 * elmo-map.el (elmo-folder-clear): Define.
6031 * elmo-version.el (elmo-version): Up to 2.7.1.
6033 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6035 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6038 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6040 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6041 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6043 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6045 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6047 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6050 * elmo-imap4.el (elmo-folder-initialize): Use
6051 elmo-get-network-stream-type.
6053 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6055 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6057 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6059 * elmo.el (elmo-message-encache): Set unread argument for
6062 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6064 * elmo.el (elmo-net-port-info): New method.
6066 * elmo-shimbun.el (elmo-net-port-info): Define.
6067 (elmo-message-encache): Ditto.
6069 * elmo-net.el (elmo-net-port-info): Define as method.
6071 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6072 unplugged status when elmo-enable-disconnected-operation is t.
6074 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6075 of spool folder before checking new number.
6077 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6079 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6080 (elmo-network-setup-session): Ditto.
6081 (elmo-message-fetch-plugged): Ditto.
6082 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6083 (elmo-network-initialize-session): Ditto.
6084 (elmo-pop3-read-response): Abolish 3rd argument.
6085 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6086 (elmo-pop3-read-contents): Ditto.
6087 (elmo-pop3-read-body): Ditto.
6088 (elmo-folder-status): Call elmo-folder-close.
6089 (elmo-pop3-lock): Abolish.
6090 (elmo-pop3-unlock): Ditto.
6091 (elmo-pop3-locked-p): Ditto.
6092 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6094 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6096 * elmo-version.el (elmo-version): Up to 2.7.0.
6098 * elmo-pop3.el (elmo-pop3-debug): New variable.
6099 (elmo-pop3-debug-inhibit-logging): Ditto.
6100 (elmo-pop3-debug): New function.
6101 (elmo-pop3-send-command): Call elmo-pop3-debug.
6102 (elmo-pop3-read-response): Added keep-lock optional argument;
6103 Don't unlock if keep-lock is non-nil.
6104 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6105 (elmo-network-authenticate-session): Bind
6106 elmo-pop3-debug-inhibit-logging as t.
6107 (elmo-network-setup-session): Call elmo-pop3-read-response with
6109 (elmo-pop3-read-msg): Ditto.
6110 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6111 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6112 (elmo-network-initialize-session): Call elmo-pop3-lock.
6113 (elmo-folder-close-internal): Don't clear location-alist slot.
6114 (elmo-folder-check): Clear location-alist slot.
6116 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6118 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6119 (elmo-pop3-send-command): Call elmo-pop3-lock.
6120 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6121 (elmo-pop3-read-contents): Ditto.
6122 (elmo-pop3-lock): New function.
6123 (elmo-pop3-unlock): Ditto.
6124 (elmo-pop3-locked-p): Ditto.
6125 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6128 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6130 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6132 * elmo-util.el (elmo-file-field-primitive-condition-match):
6133 New inline function (Don't fetch file content if "first" or "last").
6134 (elmo-file-field-condition-match): Use
6135 elmo-file-field-primitive-condition-match.
6137 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6140 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6141 (elmo-message-fetch-plugged): Fixed.
6143 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6145 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6147 * elmo.el (elmo-folder-move-messages): Bind
6148 elmo-inhibit-display-retrieval-progress as t while moving messages.
6150 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6152 (elmo-inhibit-display-retrieval-progress): Ditto.
6154 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6155 for retrieval progress;
6156 Don't display progress when total buffer size is smaller than
6157 elmo-display-retrieval-progress-threshold.
6158 (elmo-message-fetch-plugged): Don't display progress when
6159 elmo-inhibit-display-retrieval-progress is non-nil.
6161 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6162 for retrieval progress;
6163 Don't display progress when literal size is smaller than
6164 elmo-display-retrieval-progress-threshold.
6165 (elmo-imap4-message-fetch): Don't display progress when
6166 elmo-inhibit-display-retrieval-progress is non-nil.
6168 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6170 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6171 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6172 (elmo-imap4-message-fetch): Likewise.
6174 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6175 (elmo-shimbun-index-range-alist): Ditto.
6176 (elmo-shimbun-use-entire-index): Abolish.
6177 (shimbun-mua-use-entire-index): Ditto.
6178 (elmo-shimbun-folder): Added new slot `range'.
6179 (elmo-folder-initialize): Setup slot `range'.
6181 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6183 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6184 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6185 (elmo-shimbun-get-headers): Use return value of
6186 `shimbun-article-expiration-days'.
6187 (elmo-folder-close-internal): Clean up last-check slot.
6189 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6190 (elmo-pop3-total-size): New variable.
6191 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6193 * elmo.el (elmo-folder-reserve-status-p): New method.
6195 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6196 (elmo-shimbun-use-entire-index): New user option.
6197 (shimbun-elmo-mua): New class.
6198 (shimbun-mua-search-id): Define.
6199 (shimbun-mua-use-entire-index): Ditto.
6200 (elmo-shimbun-folder:last-check): New slot.
6201 (elmo-shimbun-headers-cache-header-list): Abolish.
6202 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6203 (elmo-shimbun-headers-cache-header-hash): Ditto.
6204 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6205 (elmo-shimbun-headers-cache-last-check): Ditto.
6206 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6207 (elmo-shimbun-headers-check-p): Rewrite.
6208 (elmo-shimbun-msgdb-to-headers): New function.
6209 (elmo-shimbun-get-headers): Rewrite.
6210 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6211 (elmo-folder-open-internal): Get headers only if
6212 `elmo-shimbun-headers-check-p' is non-nil.
6213 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6215 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6216 (elmo-quit): Removed.
6218 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6220 (elmo-msgdb-overview-entity-set-extra): Ditto.
6221 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6223 * elmo-map.el (elmo-folder-status): Don't call
6224 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6227 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6229 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6230 of `elmo-msgdb-search-internal-primitive' when condition's car is
6233 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6235 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6237 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6239 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6240 call `elmo-pipe-drain'.
6242 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6244 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6245 typo. (elmo-cache-folder -> elmo-mark-folder)
6247 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6249 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6250 `elmo-message-fetch'.
6252 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6254 * elmo-net.el (elmo-message-encache): Fixed typo.
6255 (elmo-message-fetch-unplugged): Changed call
6256 `elmo-message-fetch-internal' without argument `outbuf'.
6258 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6260 * elmo.el (elmo-message-encache): Define as generic function.
6261 (elmo-message-fetch-field): New generic function.
6262 (elmo-message-fetch-with-cache-process): Cause an error when
6263 fetch strategy is 'entire but only 'section cache is available.
6264 (toplevel): Fixed nmz folder definition.
6266 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6267 (elmo-msgdb-resume-list-filename): Ditto.
6268 (elmo-queue-filename): Ditto.
6269 (elmo-enable-disconnected-operation): Changed default value to t.
6271 * elmo-util.el (elmo-cache-path-section-p): New function.
6272 (elmo-file-cache-get): Use it.
6273 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6274 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6275 (elmo-dop-queue-save): Ditto.
6277 * elmo-net.el (elmo-folder-status-unplugged): Call
6278 elmo-folder-status-dop.
6279 (elmo-folder-list-messages-unplugged): Implemented.
6280 (elmo-folder-delete-messages-unplugged): Define.
6281 (elmo-folder-msgdb-create): Define.
6282 (elmo-folder-msgdb-create-unplugged): Define.
6283 (elmo-folder-mark-as-read-unplugged): Ditto.
6284 (elmo-folder-unmark-read-unplugged): Ditto.
6285 (elmo-folder-mark-as-important-unplugged): Ditto.
6286 (elmo-folder-unmark-important-unplugged): Ditto.
6287 (elmo-message-encache): Ditto.
6289 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6290 (elmo-dop-queue-save): Ditto.
6292 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6293 `elmo-folder-msgdb-create'.
6294 (elmo-folder-append-buffer): Implemented unplugged operation.
6295 (elmo-folder-append-messages): Call parent method in unplugged status.
6296 (elmo-message-fetch-unplugged): Removed definition.
6297 (elmo-message-fetch-field): Implemented.
6299 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6300 (elmo-dop-folder): Removed variable definition.
6301 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6302 (elmo-dop-queue-flush): Implemented.
6303 (elmo-dop-queue-merge): Removed definition (TODO).
6304 (elmo-dop-spool-folder): New function.
6305 (elmo-dop-spool-folder-append-buffer): Ditto.
6306 (elmo-dop-spool-folder-list-messages): Ditto.
6307 (elmo-dop-list-deleting-messages): Ditto.
6308 (elmo-folder-append-buffer-dop): Ditto.
6309 (elmo-folder-delete-messages-dop): Ditto.
6310 (elmo-message-encache-dop): New inline function.
6311 (elmo-create-folder-dop): Ditto.
6312 (elmo-folder-mark-as-read-dop): Ditto.
6313 (elmo-folder-unmark-read-dop): Ditto.
6314 (elmo-folder-mark-as-important-dop): Ditto.
6315 (elmo-folder-unmark-important-dop): Ditto.
6316 (elmo-folder-status-dop): Fixed.
6317 (elmo-folder-append-buffer-dop-delayed): New function.
6318 (elmo-folder-delete-messages-dop-delayed): Ditto.
6319 (elmo-dop-msgdb): Ditto.
6321 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6323 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6325 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6327 * elmo.el (elmo-folder-move-messages): Fixed problem when
6328 `dst-folder' is 'null.
6330 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6332 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6333 instead of current mark.
6335 * elmo-multi.el (elmo-folder-list-importants-internal): No
6336 operation if importants is not list.
6338 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6339 Return t if importants is not list.
6341 * elmo-map.el (elmo-map-folder-list-importants): Define.
6342 (elmo-folder-list-importants-internal): Check return value of
6343 `elmo-map-folder-list-importants-internal'.
6345 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6347 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6349 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6351 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6353 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6355 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6356 (Patch is provided by <kita@coe.nttdata.co.jp>).
6358 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6360 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6363 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6365 * elmo.el (elmo-message-fetch): Define.
6366 (elmo-message-fetch-with-cache-process): New generic method.
6367 (elmo-message-fetch-internal): New generic method.
6368 (elmo-folder-synchronize):
6370 * elmo-archive.el (elmo-message-fetch-internal): Define.
6371 (elmo-message-fetch): Eliminated.
6373 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6374 (elmo-message-fetch): Eliminated.
6376 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6378 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6380 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6381 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6383 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6384 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6386 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6388 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6390 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6392 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6393 (elmo-message-fetch-unplugged): New generic method.
6394 (elmo-message-fetch-internal): Remove cache process (Renamed from
6395 `elmo-message-fetch').
6397 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6398 (elmo-message-fetch): Eliminated.
6399 (elmo-message-fetch-unplugged): Ditto.
6401 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6403 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6405 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6406 of `to-be-deleted' from number-alist to number-list.
6408 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6410 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6411 (elmo-folder-mark-as-important): Ditto.
6413 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6415 * elmo.el (elmo-folder): Added process-duplicates slot.
6417 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6418 (elmo-folder-unmark-read): Ditto.
6419 (elmo-folder-unmark-important): Ditto.
6420 (elmo-folder-mark-as-important): Ditto.
6422 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6423 duplicated message processing.
6425 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6427 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6429 * elmo-util.el (elmo-list-subdirectories-1): New function.
6430 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6431 (elmo-mapcar-list-of-list): New function.
6433 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6434 `elmo-mapcar-list-of-list' instead of `mapcar'.
6436 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6438 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6439 `elmo-have-link-count'. Return the fully qualified folder name.
6441 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6443 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6444 (elmo-shimbun-headers-cache): New internal variable.
6445 (elmo-shimbun-headers-cache-header-list): New inline function.
6446 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6447 (elmo-shimbun-headers-cache-header-hash): Ditto.
6448 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6449 (elmo-shimbun-headers-cache-last-check): Ditto.
6450 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6451 (elmo-shimbun-lapse-seconds): Ditto.
6452 (elmo-shimbun-headers-cache-check-p): Ditto.
6453 (elmo-shimbun-get-headers): New function.
6454 (elmo-folder-open-internal): Call it.
6455 (elmo-quit): Define (Clear headers-cache).
6457 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6459 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6461 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6462 (elmo-msgdb-flist-save): Ditto.
6464 * elmo-shimbun.el (elmo-folder-list-subfolders):
6465 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6466 (elmo-folder-exists-p): Ditto.
6468 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6469 argument for `shimbun-header-insert'.
6471 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6473 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6476 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6477 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6479 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6481 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6482 (elmo-folder-plugged-p): Define.
6483 (elmo-folder-set-plugged): Ditto.
6484 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6485 (elmo-folder-list-messages-internal): Return t if unplugged.
6486 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6488 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6489 when elmo-folder-list-messages-internal method of children returns t.
6491 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6493 (elmo-folder-open-internal): Don't update if unplugged status.
6495 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6497 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6500 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6502 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6504 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6507 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6509 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6511 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6512 (elmo-folder-open-internal): Set up headers slot.
6513 (elmo-folder-check): Call elmo-folder-close-internal and
6514 elmo-folder-open-internal.
6515 (elmo-folder-close-internal): Clean up headers slot.
6517 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6519 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6520 exactly folder list.
6521 (elmo-folder-append-messages): Fixed append archive with prefix.
6523 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6524 make temp files with start-number.
6526 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6528 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6530 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6531 argument `visible-only'.
6532 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6535 * elmo-pop3.el (elmo-folder-open-internal): Check
6536 `elmo-inhibit-number-mapping' is non-nil.
6538 * elmo-pipe.el (elmo-folder-status): Fixed.
6540 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6542 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6544 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6545 (elmo-folder-open-internal): Setup `header-hash' slot.
6546 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6548 (elmo-map-message-fetch): Ditto.
6550 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6552 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6553 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6554 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6555 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6557 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6559 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6561 * sb-airs.el: Added footer.
6563 * shimbun.el (shimbun-article): Define as luna-method.
6565 * sb-tcup.el: New file.
6567 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6568 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6570 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6572 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6573 (shimbun-get-headers): Ditto.
6575 * elmo.el: Moved obsolete variable definitions from
6576 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6578 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6581 * shimbun.el: New file.
6583 * elmo-shimbun.el: New file.
6585 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6586 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6587 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6588 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6590 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6592 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6595 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6597 * elmo.el (elmo-folder-msgdb): Define as macro.
6598 (elmo-folder-open): Added argument `load-msgdb'.
6599 (elmo-generic-folder-open): Ditto.
6600 (elmo-folder-encache): New function.
6602 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6604 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6606 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6607 Eliminated argument FOLDER and added argument MSGDB.
6608 (elmo-dop-queue-load): Moved from elmo-dop.el.
6609 (elmo-dop-queue-save): Ditto.
6611 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6613 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6615 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6616 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6617 (elmo-filter-folder-list-importants-internal): Ditto.
6619 * elmo-map.el (elmo-folder-pack-number): Ditto.
6621 * elmo-mime.el (elmo-mime-message-display): Ditto.
6623 * elmo.el (elmo-generic-folder-commit): Ditto.
6624 (elmo-folder-list-unreads): Ditto.
6625 (elmo-folder-list-importants): Ditto.
6626 (elmo-generic-folder-commit): Ditto.
6627 (elmo-message-set-mark): Ditto.
6628 (elmo-generic-folder-append-msgdb): Ditto.
6629 (elmo-folder-synchronize): Ditto.
6630 (elmo-folder-messages): Ditto.
6631 (elmo-init): Call elmo-dop-queue-load.
6632 (elmo-folder-list-messages): Ditto.
6634 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6635 (elmo-nntp-folder-process-crosspost): Ditto.
6636 (elmo-folder-list-unreads-internal): Ditto.
6638 * elmo-dop.el: Removed old functions.
6640 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6642 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6643 `folder' to `msgdb'.
6645 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6647 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6648 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6650 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6653 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6655 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6658 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6659 (mmimap-parse-parameters-from-list): Define as alias for
6660 `mime-decode-parameter-plist' if it is defined as function.
6661 (mmimap-make-mime-entity): Added argument `number'.
6662 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6664 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6666 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6668 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6670 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6672 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6674 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6676 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6677 when elmo-imap4-default-authenticate-type is nil.
6678 (elmo-folder-list-subfolders): Ditto
6679 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6680 (elmo-imap4-fetch-callback-1-subr): Renamed from
6681 `elmo-imap4-fetch-callback-1' and define as inline function.
6682 (elmo-imap4-fetch-callback-1):
6683 Renamed from `elmo-imap4-fetch-callback'.
6684 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6686 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6687 msgdb path (To keep compatibility with main trunk).
6689 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6691 * elmo-util.el (elmo-make-file-cache): Moved position of
6694 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6695 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6696 instead of `elmo-pop3-inhibit-uidl'.
6697 (elmo-folder-exists-p): Ditto.
6698 (elmo-pop3-folder-list-messages): Ditto.
6700 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6701 instead of `elmo-pop3-inhibit-uidl'.
6702 (elmo-folder-status): Ditto.
6704 * elmo-dop.el (elmo-dop-folder): New variable.
6705 (elmo-dop-lock-message): Eliminated.
6706 (elmo-dop-unlock-message): Ditto.
6707 (elmo-dop-lock-list-load): Ditto.
6708 (elmo-dop-lock-list-save): Ditto.
6709 (elmo-dop-delete-folder): Ditto.
6710 (elmo-dop-rename-folder): Ditto.
6712 * elmo.el: Removed incomplete commentary.
6714 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6716 * elmo.el (toplevel): Require 'elmo-version first;
6717 for little `recursive-load-depth' settings.
6718 Fix "ends here" comment.
6720 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6722 * elmo-util.el (toplevel): Require 'poem;
6723 Some functions are moved from elmo-cache.el.
6725 * elmo-net.el (toplevel): Require 'elmo-cache.
6727 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6729 * elmo.el (toplevel): Ditto.
6731 * elmo-cache.el: Rewrite with luna;
6732 Some functions are moved to elmo-util.el.
6734 * elmo-internal.el (elmo-internal-folder-list): New variable.
6735 (elmo-internal-folder-initialize): Rewrite.
6736 (elmo-folder-list-subfolders): Ditto.
6738 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6739 (elmo-cache-collect-sub-directories): Ditto.
6741 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6743 * elmo-version.el (elmo-version): Up to 2.5.8.
6745 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6747 * elmo-util.el (elmo-list-insert): New function.
6749 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6751 * elmo.el (elmo-init): New function.
6752 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6754 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6755 (Renamed from `elmo-localdir-header-chop-length').
6757 * elmo-pop3.el (elmo-pop3-use-cache,
6758 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6760 * elmo-nntp.el (elmo-message-fetch): Define.
6761 (elmo-message-fetch-unplugged): Ditto.
6762 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6763 (elmo-nntp-use-cache): Ditto.
6764 (elmo-nntp-max-number-precedes-list-active): Ditto.
6766 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6768 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6769 `elmo-msgdb-insert-file-header'.
6770 Use `elmo-msgdb-file-header-chop-length'.
6772 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6775 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6776 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6777 `elmo-msgdb-insert-file-header'.
6779 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6781 Define obsolete variables with `elmo-define-obsolete-variable',
6783 * elmo-util.el (elmo-warning-buffer-name): New constant.
6784 (elmo-warning): New function.
6785 (elmo-obsolete-variable-alist): New variable.
6786 (elmo-obsolete-variable-show-warnings): New variable.
6787 (elmo-define-obsolete-variable): New function.
6788 (elmo-resque-obsolete-variable): Ditto.
6789 (elmo-resque-obsolete-variables): Ditto.
6791 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6793 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6796 * elmo-pop3.el, elmo-nntp.el: Use custom.
6798 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6800 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6801 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6803 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6805 * Luna-fy Kenichi OKADA's following changes.
6806 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6808 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6810 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6812 * elmo-util.el (elmo-display-progress): Prefer
6813 `progress-feedback-with-label' to `lprogress-display'.
6815 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6817 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6819 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6821 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6822 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6823 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6824 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6825 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6826 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6827 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6828 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6829 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6830 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6831 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6832 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6833 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6835 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6837 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6838 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6840 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6842 * elmo.el (elmo-folder-process-crosspost): New generic method.
6843 (elmo-folder-writable-p): Ditto.
6844 (elmo-folder-message-appendable-p): Eliminated.
6845 (elmo-generic-folder-append-msgdb): Rewrite.
6846 (elmo-newsgroups-hashtb): New internal variable.
6847 (elmo-crosspost-message-set): Eliminated.
6848 (elmo-crosspost-message-delete): Ditto.
6849 (elmo-setup-subscribed-newsgroups): New function.
6850 (elmo-crosspost-message-alist-modified): New internal variable.
6851 (elmo-crosspost-message-alist-load): New function (Renamed from
6852 `wl-crosspost-alist-load').
6853 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6854 `wl-crosspost-alist-save').
6856 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6858 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6860 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6861 elmo-newsgroups-hashtb).
6862 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6863 `elmo-nntp-folder-update-crosspost-message-alist'.
6864 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6865 `elmo-nntp-groups-hashtb'.
6866 (elmo-nntp-make-groups-hashtb): Eliminated.
6867 (elmo-nntp-parse-newsgroups): New function (Renamed from
6868 `wl-parse-newsgroups').
6869 (elmo-folder-creatable-p, elmo-folder-writable-p,
6870 elmo-folder-close-internal, elmo-folder-mark-as-read,
6871 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6873 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6875 * elmo-net.el (elmo-message-fetch): Check buffer size.
6877 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6879 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6881 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6882 before `close' command.
6884 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6885 `mark-alist' (All other related portions are changed).
6887 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6889 * elmo-util.el (elmo-create-hash-size): Eliminated.
6890 (elmo-make-hash) Make a hash with `one less than a power of two'
6893 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6894 (elmo-hash-maximum-size): Changed value.
6896 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6898 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6899 (elmo-mime-message-display-as-is): Ditto.
6901 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6903 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6904 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6906 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6908 * elmo-mark.el: New file.
6910 * elmo-internal.el: Rewrite (Almost empty).
6912 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6914 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6915 (mime-imap-entity-header-string): Ditto.
6916 (mmimap-entity-section): Rewrite.
6918 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6920 * elmo-nmz.el: New file.
6922 * elmo-pipe.el: Rewrite with luna.
6924 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6926 * elmo-archive.el: Rewrite with luna.
6928 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6929 (elmo-folder-list-importants-internal): Ditto.
6931 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6933 * elmo-archive.el (elmo-archive-version): Abolish.
6934 (toplevel) Removed `boso' comment.
6936 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6938 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6939 elmo-msgdb-add-msgs-to-seen-list-subr;
6940 Changed argument seen-marks to unread-marks.
6942 * elmo-nntp.el: Rewrite with luna.
6944 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6946 * elmo-filter.el: Rewrite with luna.
6948 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6950 * elmo-pop3.el: Rewrite with luna.
6952 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6954 * elmo-multi.el: Rewrite with luna.
6956 * elmo-vars.el (elmo-use-killed-list): Abolish.
6957 All other related portions are changed.
6958 (elmo-filename-replace-string-alist): Renamed from
6959 elmo-msgid-replace-string-alist.
6961 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6963 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6965 * elmo-map.el: New file.
6966 * elmo-maildir.el: Rewrite with luna.
6968 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6970 * elmo.el: Changed meaning of `elmo-folder-commit'.
6971 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6973 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6975 * elmo.el (elmo-folder-append-buffer): New function.
6976 (Renamed from `elmo-append-msg')
6978 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6980 * elmo-mime.el: New file.
6982 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6984 * elmo-cache.el: Rewrite.
6986 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6988 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6990 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6992 * elmo-vars.el (elmo): New group.
6993 (elmo-strict-diff-folder-regexp): New variable.
6995 * elmo-util.el (elmo-call-func): Abolish.
6996 (elmo-folder-get-type): Ditto.
6997 (elmo-*-get-spec): Ditto.
6998 (elmo-*-spec-*): Ditto.
6999 (elmo-imap4-identical-name-space-p): Ditto.
7000 (elmo-folder-identical-system-p): Ditto.
7001 (elmo-folder-direct-copy-alist): Ditto.
7002 (elmo-folder-direct-copy-p): Ditto.
7004 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7005 (elmo-folder-initialize): Define.
7006 (elmo-folder-get-primitive-list): Ditto.
7008 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7009 (elmo-folder-initialize): Define.
7010 Renamed `elmo-network-session-host-internal' to
7011 `elmo-network-session-server-internal'.
7013 * elmo-multi.el (elmo-multi-folder): New luna class.
7014 (elmo-folder-initialize): Define.
7015 (elmo-folder-get-primitive-list): Ditto.
7016 (elmo-folder-contains-type): Ditto.
7017 (elmo-message-use-cache-p): Ditto.
7019 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7020 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7022 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7023 (elmo-folder-initialize): Define.
7025 * elmo-filter.el (elmo-filter-folder): New luna class.
7026 (elmo-folder-initialize): Define.
7027 (elmo-folder-get-primitive-list): Ditto.
7028 (elmo-folder-contains-type): Ditto.
7030 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7032 * elmo-imap4.el: Rewrite with luna.
7034 * mmimap.el: New file.
7036 * mmelmo.el, mmelmo-imap4.el: Removed.
7038 * elmo-net.el: Ditto.
7040 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7041 (elmo-folder-initialize): Define.
7043 * elmo-archive.el (elmo-archive-folder): New luna class.
7044 (elmo-folder-initialize): Define.
7046 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7047 `elmo-folder-msgdb-path'.
7048 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7051 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo.el: New file.
7055 * elmo2.el: Renamed to elmo.el.
7058 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7060 * elmo-cache.el (elmo-cache-expire-by-size): Count
7061 a disk usage for a cache file entry in KB even when
7062 its kind is a directory.
7064 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7066 * elmo-version.el (elmo-version): Up to 2.5.7.
7068 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7070 * elmo-version.el (elmo-version): Up to 2.5.6.
7072 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7074 * elmo-version.el (elmo-version): Up to 2.5.5.
7076 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7078 * elmo-imap4.el (elmo-network-authenticate-session):
7079 Fixed a logic for response checking.
7081 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7083 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7084 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7085 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7088 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7089 for `starttls-open-stream' and `starttls-negotiate'.
7091 * elmo-nntp.el: Remove autoload settings for
7092 `starttls-open-stream' and `starttls-negotiate'.
7094 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7095 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7096 `luna-define-class' with `eval-and-compile'.
7098 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7100 * elmo-util.el (elmo-read-search-condition-internal):
7101 Require an element of table for searching field.
7103 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7105 * elmo-version.el (elmo-version): Up to 2.5.4.
7107 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7109 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7111 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7113 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7115 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7117 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7120 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7122 * elmo-imap4.el (elmo-imap4-delete-folder):
7123 Send "close" before "delete" (Use commented out line).
7124 (elmo-imap4-rename-folder): Ditto.
7126 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7127 folder string itself.
7128 (elmo-dop-list-deleted): New function.
7129 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7132 * elmo-util.el (elmo-string-rassoc-all): New function.
7134 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7136 * elmo-version.el (elmo-version): Up to 2.5.3.
7138 * elmo-net.el (elmo-network-get-session): Changed logic for
7139 checking process status.
7141 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7143 Changed logic for checking process status.
7145 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7147 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7149 (elmo-network-setup-session): Set UIDL hash size according to
7150 the length of list response.
7151 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7152 according to the length of list response;
7153 Return the length of list response.
7154 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7156 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7158 * elmo-imap4.el (toplevel): Require 'ssl.
7159 Add autoload 'starttls.
7160 * elmo-pop3.el (toplevel): Ditto.
7161 * elmo-nntp.el (toplevel): Ditto.
7163 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7165 * elmo-imap4.el (toplevel): defun at compile time.
7166 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7167 sasl-next-step, sasl-step-data, sasl-step-set-data.
7168 * elmo-pop3.el (toplevel): Ditto.
7170 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7172 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7174 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7176 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7178 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7179 and `elmo-pop-auth-apop'.
7181 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7183 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7185 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7187 * elmo-pop3.el (elmo-network-authenticate-session): Split
7188 encoded response value.
7190 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7192 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7193 `elmo-pop3-force-login'.
7194 Redefine `sasl-mechanisms'.
7195 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7197 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7199 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7200 Delete `elmo-imap4-authenticator-alist'.
7201 (elmo-imap4-auth-cram-md5): Delete.
7202 (elmo-imap4-auth-digest-md5): Delete.
7204 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7206 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7207 (elmo-pop3-auth-scram-md5): Ditto.
7208 (elmo-pop3-auth-cram-md5): Ditto.
7210 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7212 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7213 Delete `elmo-pop3-authenticator-alist'.
7215 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7217 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7219 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7221 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7223 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7225 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7227 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7228 Fixed problem when `elmo-pop3-use-uidl' is nil.
7229 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7231 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7233 * elmo-version.el (elmo-version): Up to 2.5.2.
7235 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7237 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7239 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7240 (elmo-pop3-msgdb-create-as-numlist): Use it.
7242 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7243 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7245 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7246 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7248 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7250 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7251 when elmo-mark-as-read is called with second argument nil.
7253 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7255 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7256 Moved to elmo-util.el.
7258 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7259 Moved from elmo-pipe.el
7261 * elmo-archive.el (elmo-archive-call-process): Enclose with
7264 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7265 "RFC822" (because RFC822.PEEK is obsolete).
7266 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7268 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7270 * elmo-archive.el (elmo-archive-call-process): Don't check for
7271 the exit status when Nemacs is running.
7273 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7275 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7278 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7279 (elmo-pop3-get-spec): Set default of auth to 'user.
7281 * elmo-imap4.el (elmo-imap4-session-check):
7282 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7283 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7284 (elmo-imap4-auth-login): New function; Revival.
7285 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7286 `elmo-imap4-auth-login'.
7288 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7290 * elmo2.el (toplevel): Move `product-provide' declare.
7291 * mmelmo.el (toplevel): Ditto.
7293 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7295 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7297 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7299 * elmo-util.el (elmo-folder-get-store-type): New function.
7300 (elmo-folder-direct-copy-p): Use it.
7302 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7304 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7305 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7306 and result of `elmo-imap4-use-flag-p'.
7307 (elmo-imap4-fetch-callback-1): Set mark according to
7308 the result of `elmo-imap4-use-flag-p'.
7310 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7312 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7313 (elmo-generic-list-folder-unread): Ditto.
7314 (elmo-folder-get-info): Ditto.
7315 (elmo-folder-set-info-max-by-numdb): Ditto.
7316 (elmo-folder-get-info-max): Ditto.
7317 (elmo-folder-get-info-length): Ditto.
7318 (elmo-folder-get-info-unread): Ditto.
7319 (elmo-folder-info-make-hashtb): Ditto.
7321 * elmo2.el: Removed above functions.
7323 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7325 * elmo-imap4.el (toplevel): Require 'ssl.
7326 Add autoload 'starttls.
7327 * elmo-pop3.el (toplevel): Ditto.
7328 * elmo-nntp.el (toplevel): Ditto.
7330 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7332 * elmo-imap4.el (toplevel): defun at compile time.
7333 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7334 sasl-next-step, sasl-step-data, sasl-step-set-data.
7335 * elmo-pop3.el (toplevel): Ditto.
7337 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7339 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7341 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7343 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7345 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7346 and `elmo-pop-auth-apop'.
7348 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7350 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7352 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7354 * elmo-pop3.el (elmo-network-authenticate-session): Split
7355 encoded response value.
7357 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7359 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7360 `elmo-pop3-force-login'.
7361 Redefine `sasl-mechanisms'.
7362 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7364 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7366 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7367 Delete `elmo-imap4-authenticator-alist'.
7368 (elmo-imap4-auth-cram-md5): Delete.
7369 (elmo-imap4-auth-digest-md5): Delete.
7371 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7373 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7374 (elmo-pop3-auth-scram-md5): Ditto.
7375 (elmo-pop3-auth-cram-md5): Ditto.
7377 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7379 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7380 Delete `elmo-pop3-authenticator-alist'.
7382 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7384 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7386 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7389 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7391 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7393 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7395 * elmo-nntp.el (elmo-nntp-get-folders-info):
7396 Fixed problem when '\' character is contained in user-id.
7397 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7400 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7402 * elmo-imap4.el (elmo-imap4-delete-folder):
7403 Send "close" before "delete" (Use commented out line).
7404 (elmo-imap4-rename-folder): Ditto.
7406 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7407 folder string itself.
7408 (elmo-dop-list-deleted): New function.
7409 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7412 * elmo-util.el (elmo-string-rassoc-all): New function.
7414 * elmo-version.el (elmo-version): Up to 2.5.1.
7416 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7418 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7420 * elmo-internal.el (elmo-internal-search): Fix last change.
7422 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7424 * elmo-internal.el (elmo-internal-search): Rewrite.
7425 (Fixed problem which is pointed out by Akihiro MOTOKI
7426 <motoki@da.jp.nec.com>)
7428 * elmo-version.el (elmo-version): Up to 2.5.0.
7430 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7432 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7434 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7436 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7437 non-nil, make hierarchy.
7439 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7441 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7442 `elmo-pop3-use-uidl' must be bound to nil.
7443 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7445 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7447 * elmo-util.el (elmo-copy-file): Don't cause an error after
7448 `add-name-to-file' failed.
7450 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7451 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7453 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7455 * elmo-version.el (elmo-version): Up to 2.3.93.
7457 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7459 * elmo-util.el (elmo-flatten): New function.
7461 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7463 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7465 * elmo-cache.el (toplevel): Ditto.
7466 * elmo-database.el (toplevel): Ditto.
7467 * elmo-date.el (toplevel): Ditto.
7468 * elmo-dop.el (toplevel): Ditto.
7469 * elmo-filter.el (toplevel): Ditto.
7470 * elmo-imap4.el (toplevel): Ditto.
7471 * elmo-internal.el (toplevel): Ditto.
7472 * elmo-localdir.el (toplevel): Ditto.
7473 * elmo-localnews.el (toplevel): Ditto.
7474 * elmo-maildir.el (toplevel): Ditto.
7475 * elmo-msgdb.el (toplevel): Ditto.
7476 * elmo-multi.el (toplevel): Ditto.
7477 * elmo-net.el (toplevel): Ditto.
7478 * elmo-nntp.el (toplevel): Ditto.
7479 * elmo-pipe.el (toplevel): Ditto.
7480 * elmo-pop3.el (toplevel): Ditto.
7481 * elmo-util.el (toplevel): Ditto.
7482 * elmo-vars.el (toplevel): Ditto.
7483 * elmo2.el (toplevel): Ditto.
7484 * mmelmo-imap4.el (toplevel): Ditto.
7485 * mmelmo.el (toplevel): Ditto.
7487 * elmo-version.el (elmo-version): Move to top.
7489 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7490 * elmo-imap4.el (toplevel): Ditto.
7491 * elmo-localdir.el (toplevel): Ditto.
7492 * elmo-msgdb.el (toplevel): Ditto.
7493 * elmo-nntp.el (toplevel): Ditto.
7494 * elmo-pop3.el (toplevel): Ditto.
7495 * elmo-version.el (toplevel): Ditto.
7497 * elmo-localnews.el (toplevel): Added Keyword header.
7499 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7501 * elmo-version.el (product-version-as-string): Defined using
7505 * elmo-localdir.el (toplevel): Updated copyright notice.
7506 * elmo-version.el (toplevel): Ditto.
7507 * elmo-msgdb.el (toplevel): Ditto.
7508 * elmo-imap4.el (toplevel): Ditto.
7509 * elmo-nntp.el (toplevel): Ditto.
7510 * elmo-pop3.el (toplevel): Ditto.
7512 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7514 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7517 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7518 parameter value (It sometimes contains raw kanji).
7520 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7522 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7523 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7525 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7527 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7529 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7531 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7532 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7534 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7536 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7537 value if selecting folder succceeded.
7538 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7540 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7542 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7545 * elmo-util.el (elmo-string-matched-member): New function.
7547 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7549 * elmo-util.el (elmo-unintern): New macro.
7550 (elmo-number-set-member): Fixed docstring.
7552 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7555 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7557 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7558 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7560 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7562 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7565 Return non-nil if selecting folder succeeded.
7566 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7568 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7570 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7571 `file-name-completion' returns t.
7572 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7573 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7574 directory if it does not exist.
7575 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7578 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7580 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7581 enclosure (It's harmful in unplugged status).
7583 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7585 * mmelmo-1.el: Removed.
7587 * mmelmo-2.el: Ditto.
7589 * mmelmo-imap4-1.el: Ditto.
7591 * mmelmo-imap4-2.el: Ditto.
7593 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7595 * mmelmo.el: Merged mmelmo-2.el.
7597 * elmo-version.el (elmo-version): Up to 2.3.92.
7599 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7601 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7602 elmo-update-number): Remove last period in "...done." message.
7603 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7605 * elmo-cache.el (elmo-cache-expire-by-size,
7606 elmo-cache-get-sorted-cache-file-list,
7607 elmo-cache-msgdb-create-as-numlist): Ditto.
7608 * elmo-dop.el (elmo-dop-save-pending-messages,
7609 (elmo-dop-flush-pending-append-operations): Ditto.
7610 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7611 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7612 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7613 (elmo-localdir-pack-number): Ditto.
7614 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7615 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7616 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7617 mime-write-entity-content): Ditto.
7618 * pldap.el (ldap-search-basic): Ditto.
7620 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7622 * elmo-version.el (elmo-version): Up to 2.3.91.
7624 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7625 Only when filter is 'last'.
7627 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7628 (elmo-condition-parse-search-value): Use it.
7629 (elmo-read-search-condition-internal): Quote value only when
7632 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7634 * elmo2.el (elmo-generic-folder-diff): Fix.
7636 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7638 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7639 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7640 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7641 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7642 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7643 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7645 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7647 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7650 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7652 * elmo-version.el (elmo-version): Up to 2.3.90.
7654 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7655 (elmo-imap4-list-folder-important): Ditto.
7657 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7659 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7661 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7663 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7665 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7667 * elmo-nntp.el (elmo-network-initialize-session):
7668 Add starttls negotiation.
7670 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7672 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7674 (elmo-network-setup-session): Define.
7675 Call `elmo-nntp-send-mode-reader' when session opened.
7677 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7679 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7681 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7683 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7684 an invalid SPACE character ahead of `SEARCH' command. Move
7685 a valid SPACE character following `SEARCH' from conditional
7686 `format' arguments to control-strings.
7688 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7690 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7693 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7695 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7697 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7698 `w32-get-true-file-link-count' as t.
7700 * elmo-imap4.el (elmo-imap4-read): Abolished.
7701 (Renamed to `elmo-read' and moved to elmo-util.el)
7702 All other related portions are changed.
7704 * elmo-util.el (elmo-read): New function.
7705 (elmo-condition-parse-search-value): Use it.
7707 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7709 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7711 * elmo-nntp.el (elmo-nntp-session): Define.
7712 (elmo-nntp-setting): Abolished.
7713 All other related portions are changed.
7714 (elmo-nntp-get-server-command): Changed argument.
7715 (elmo-nntp-set-server-command): Ditto.
7716 (elmo-nntp-xover-p): Ditto.
7717 (elmo-nntp-set-xover): Ditto.
7718 (elmo-nntp-listgroup-p): Ditto.
7719 (elmo-nntp-set-listgroup): Ditto.
7720 (elmo-nntp-list-active-p): Ditto.
7721 (elmo-nntp-set-list-active): Ditto.
7722 (elmo-nntp-xhdr-p): Ditto.
7723 (elmo-nntp-set-xhdr): Ditto.
7724 (elmo-nntp-flush-connection): Abolished.
7725 (elmo-nntp-get-connection): Abolished.
7726 (elmo-nntp-get-session): New function.
7727 (elmo-network-initialize-session): Defined.
7728 (elmo-network-authenticate-session): Ditto.
7729 (elmo-nntp-send-mode-reader): Changed argument.
7730 (elmo-nntp-send-command): Changed argument.
7731 All other related portions are changed.
7732 (elmo-nntp-read-response): Ditto.
7733 (elmo-nntp-read-raw-response): Ditto.
7734 (elmo-nntp-read-contents): Ditto.
7735 (elmo-nntp-read-body): Ditto.
7736 (elmo-nntp-goto-folder): Abolished.
7737 (elmo-nntp-select-group): New function.
7738 All other related portions are changed.
7739 (This function substitutes `elmo-nntp-goto-folder')
7740 (elmo-nntp-msgdb-create-by-header): Rewrite.
7741 (elmo-nntp-get-overview): Eliminated.
7742 (elmo-nntp-get-message): Ditto.
7743 (elmo-nntp-open-connection) Abolished.
7744 (elmo-nntp-read-msg): Rewrite.
7745 (elmo-nntp-post): Ditto.
7746 (elmo-nntp-send-data): Abolished.
7747 (elmo-nntp-send-buffer): New function.
7748 (elmo-nntp-send-data-line): Define as inline function.
7749 (elmo-nntp-get-folders-info-prepare): Use session as key.
7750 (elmo-nntp-groups-read-response): Changed argument.
7751 (elmo-nntp-retrieve-headers): Ditto.
7752 (elmo-nntp-msgdb-create-message): Ditto.
7754 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7755 when searching by 'since' or 'before'.
7757 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7759 * elmo-version.el (toplevel): Use product-version-as-string for set
7760 verstion-string, if defined.
7762 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7764 * elmo-util.el: Doc fixes.
7766 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7768 * elmo-archive.el (toplevel): Use product-provide.
7769 * elmo-cache.el (toplevel): Ditto.
7770 * elmo-database.el (toplevel): Ditto.
7771 * elmo-date.el (toplevel): Ditto.
7772 * elmo-dop.el (toplevel): Ditto.
7773 * elmo-filter.el (toplevel): Ditto.
7774 * elmo-imap4.el (toplevel): Ditto.
7775 * elmo-internal.el (toplevel): Ditto.
7776 * elmo-localdir.el (toplevel): Ditto.
7777 * elmo-localnews.el (toplevel): Ditto.
7778 * elmo-maildir.el (toplevel): Ditto.
7779 * elmo-msgdb.el (toplevel): Ditto.
7780 * elmo-multi.el (toplevel): Ditto.
7781 * elmo-net.el (toplevel): Ditto.
7782 * elmo-nntp.el (toplevel): Ditto.
7783 * elmo-pipe.el (toplevel): Ditto.
7784 * elmo-pop3.el (toplevel): Ditto.
7785 * elmo-util.el (toplevel): Ditto.
7786 * elmo-vars.el (toplevel): Ditto.
7787 * elmo2.el (toplevel): Ditto.
7788 * mmelmo-1.el (toplevel): Ditto.
7789 * mmelmo-2.el (toplevel): Ditto.
7790 * mmelmo-imap4-1.el (toplevel): Ditto.
7791 * mmelmo-imap4-2.el (toplevel): Ditto.
7792 * mmelmo-imap4.el (toplevel): Ditto.
7793 * mmelmo.el (toplevel): Ditto.
7795 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7797 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7798 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7800 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7802 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7804 (elmo-multi-split-number-alist): Ditto.
7806 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7808 * elmo-version.el: New file. Use product.el.
7809 * elmo2.el: Add (require 'elmo-version).
7810 * elmo-vars.el (elmo-appname, elmo-version): Move to
7813 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7815 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7816 `elmo-msgdb-expand-path'.
7817 (elmo-msgdb-load): Ditto.
7818 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7819 (elmo-generic-list-folder-unread): Rewrite.
7820 (elmo-generic-list-folder-important): Changed argument.
7821 (elmo-list-folder-unread): Ditto.
7822 (elmo-list-folder-important): Ditto.
7823 (elmo-folder-diff): Rewrite.
7824 (elmo-generic-folder-diff): New function.
7825 (elmo-multi-get-number-alist-list): Abolished
7826 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7827 (elmo-multi-folder-diff): Moved to elmo-multi.el
7828 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7830 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7831 `elmo-msgdb-expand-path'.
7832 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7833 (elmo-pop3-read-msg): Ditto.
7834 (elmo-pop3-delete-msgs): Ditto.
7835 (elmo-pop3-folder-diff): New alias.
7837 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7838 `elmo-msgdb-expand-path'.
7839 (elmo-pipe-list-folder-unread): Changed arguments.
7840 (elmo-pipe-list-folder-important): Ditto.
7841 (elmo-pipe-folder-diff): New alias.
7843 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7844 `elmo-msgdb-expand-path'.
7845 (elmo-nntp-max-of-folder): Ditto.
7846 (elmo-nntp-msgdb-create): Ditto.
7847 (elmo-nntp-delete-msgs): Ditto.
7848 (elmo-nntp-folder-diff): New alias.
7850 * elmo-multi.el (elmo-multi-folder-diff): New function.
7851 (elmo-multi-split-mark-alist): Ditto.
7852 (elmo-multi-split-number-alist): Ditto.
7853 (elmo-multi-mark-alist-list): Abolished (Renamed to
7854 elmo-multi-split-mark-alist).
7855 (elmo-multi-list-folder-unread): Rewrite.
7856 (elmo-multi-list-folder-important): Ditto.
7857 (elmo-multi-list-folder): Set `spec' as 1st argument for
7858 `elmo-msgdb-expand-path'.
7859 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7860 instead of `elmo-multi-get-number-alist-list'.
7862 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7863 If 1st argument is not string, treat as spec.
7864 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7865 `elmo-msgdb-expand-path'.
7866 (elmo-msgdb-flist-load): Ditto.
7867 (elmo-msgdb-flist-save): Ditto.
7868 (elmo-msgdb-delete-path): Ditto.
7869 (elmo-msgdb-rename-path): Ditto.
7871 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7872 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7873 (elmo-maildir-delete-mark-msgs): Ditto.
7874 (elmo-maildir-msgdb-create): Ditto.
7875 (elmo-maildir-read-msg): Ditto.
7876 (elmo-maildir-delete-msgs): Ditto.
7877 (elmo-maildir-list-folder-subr): Ditto.
7878 (elmo-maildir-search): Ditto.
7879 (elmo-maildir-get-msg-filename): Ditto.
7880 (elmo-maildir-pack-number): Ditto.
7881 (elmo-maildir-folder-diff): New alias.
7883 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7885 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7886 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7887 (elmo-localdir-folder-diff): New alias.
7889 * elmo-internal.el (elmo-internal-list-folder-subr):
7890 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7891 (elmo-internal-list-folder-by-location): Ditto.
7892 (elmo-internal-msgdb-create): Ditto.
7893 (elmo-internal-delete-msgs): Ditto.
7894 (elmo-internal-read-msg): Ditto.
7895 (elmo-internal-folder-diff): New alias.
7897 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7898 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7899 `elmo-msgdb-expand-path'.
7900 (elmo-imap4-list-folder-unread): Changed arguments.
7901 (elmo-imap4-list-folder-important): Ditto.
7903 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7904 (elmo-filter-list-folder-important): Ditto.
7905 (elmo-filter-folder-diff): New function.
7907 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7909 * elmo-cache.el (elmo-cache-list-folder):
7910 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7911 (elmo-cache-copy-msgs): Ditto.
7912 (elmo-cache-folder-diff): New alias.
7914 * elmo-archive.el (elmo-archive-list-folder-subr):
7915 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7916 (elmo-archive-get-archive-name): Ditto.
7917 (elmo-archive-create-file): Ditto.
7918 (elmo-archive-append-msg): Ditto.
7919 (elmo-archive-copy-msgs): Ditto.
7920 (elmo-archive-copy-msgs-froms): Ditto.
7921 (elmo-archive-get-msg-filename): Ditto.
7922 (elmo-archive-folder-diff): New alias.
7924 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7926 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7927 (elmo-pop3-stream-type-alist): New variable.
7928 (elmo-nntp-stream-type-alist): New variable.
7930 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7931 (elmo-kill-buffer): Ditto.
7932 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7933 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7934 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7935 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7936 (elmo-imap4-get-spec): Take into account
7937 `elmo-imap4-stream-type-alist'.
7939 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7941 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7942 (elmo-nntp-list-folders-get-cache): Ditto.
7944 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7946 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7947 character before 'uid'.
7949 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7951 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7953 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7955 * elmo-util.el (elmo-number-set-member): New function.
7956 (elmo-number-set-append-list): Ditto.
7957 (elmo-number-set-append): Ditto.
7959 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7960 Use `elmo-number-set-member'.
7961 (elmo-living-messages): Ditto.
7962 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7963 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7965 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7966 (elmo-imap4-add-to-cont-list): Abolished.
7967 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7968 instead of elmo-imap4-add-to-cont-list.
7970 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7971 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7973 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7975 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7977 * elmo-util.el (elmo-condition-parse-search-value):
7980 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7982 * elmo-util.el (elmo-condition-find-key-internal): New function.
7983 (elmo-condition-find-key): Ditto.
7985 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7986 (elmo-msgdb-search-internal): Ditto.
7987 (elmo-msgdb-search): Ditto.
7989 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7991 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7992 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7994 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7995 (elmo-nntp-search-primitive): Fixed problem when condition is
7998 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8000 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8001 (elmo-nntp-xhdr-p): New macro.
8002 (elmo-nntp-set-xhdr): Ditto.
8003 (elmo-nntp-parse-xhdr-response): New function.
8004 (elmo-nntp-retrieve-field): Ditto.
8005 (elmo-nntp-search-primitive): Ditto.
8006 (elmo-nntp-search): Implemented.
8008 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8010 * elmo-archive.el (elmo-archive-search): Set all number list to
8011 `elmo-archive-field-condition-match'
8013 * elmo-localdir.el (elmo-localdir-search): Likewise.
8015 * elmo-maildir.el (elmo-maildir-search): Likewise.
8017 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8019 * elmo-msgdb.el (elmo-living-messages): New function.
8020 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8021 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8022 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8023 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8024 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8025 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8026 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8027 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8028 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8029 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8030 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8032 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8034 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8036 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8038 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8040 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8041 arguments for `SEARCH' command.
8042 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8043 All other related portions are changed.
8045 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8047 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8048 (elmo-list-folder-unread): Rewrite.
8049 (elmo-list-folder-important): Ditto.
8051 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8052 (elmo-condition-parse-error): New inline function.
8053 (elmo-read-search-condition): New function.
8054 (elmo-read-search-condition-internal): Ditto.
8055 (elmo-parse-search-condition): Rewrite.
8056 (elmo-condition-parse): New function.
8057 (elmo-condition-parse-or-expr): Ditto.
8058 (elmo-condition-parse-and-expr): Ditto.
8059 (elmo-condition-parse-primitive): Ditto.
8060 (elmo-condition-parse-search-value): Ditto.
8061 (elmo-buffer-field-primitive-condition-match): Ditto.
8062 (elmo-buffer-field-condition-match): Rewrite.
8063 (elmo-file-field-condition-match): Ditto.
8065 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8066 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8068 * elmo-internal.el (elmo-internal-search): Set `number' and
8069 `number-list' argument of `elmo-file-field-condition-match'.
8071 * elmo-maildir.el (elmo-maildir-search): Ditto.
8073 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8074 `msgdb' as argument instead of `mark-alist'.
8075 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8078 * elmo-multi.el: Likewise.
8080 * elmo-pipe.el: Likewise.
8082 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8083 (elmo-imap4-search-internal): Rewrite.
8084 (elmo-imap4-search): Ditto.
8086 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8087 (elmo-filter-list-folder-unread): Ditto.
8088 (elmo-filter-list-folder-important): Ditto.
8089 (elmo-filter-search): Rewrite.
8091 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8092 `number-list' argument of `elmo-file-field-condition-match'.
8093 (elmo-cache-search): Ditto.
8095 * elmo-localdir.el: Likewise.
8097 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8098 number-list and pass it to `elmo-buffer-field-condition-match'.
8099 (elmo-archive-field-condition-match): Pass `number-list' to
8100 `elmo-archive-field-condition-match'
8102 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8104 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8107 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8108 (elmo-folder-diff-async-callback-data): Ditto.
8109 (elmo-folder-diff-async): New function.
8111 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8112 (elmo-network-session-cache-key): Use it as a prefix of the session
8114 (elmo-network-open-session): Ditto.
8116 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8117 (elmo-imap4-status-callback-data): Ditto.
8118 (elmo-imap4-server-diff-async-callback): New variable.
8119 (elmo-imap4-server-diff-async-callback-data): Ditto.
8120 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8121 `elmo-imap4-status-callback-data'.
8122 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8123 `elmo-imap4-status-callback-data' as nil.
8124 (elmo-imap4-server-diff): Ditto.
8125 (elmo-imap4-server-diff-async-callback-1): New function.
8126 (elmo-imap4-server-diff-async): Ditto.
8127 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8129 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8131 * elmo-util.el (elmo-list-delete): Doc fix.
8132 (elmo-delete-lists): Abolish.
8133 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8134 instead of `elmo-delete-lists'.
8136 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8138 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8141 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8143 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8144 `elmo-imap4-literal-subr'.
8145 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8146 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8148 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8150 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8151 (elmo-archive-list-folder): Fix.
8152 (elmo-archive-max-of-folder): Fix.
8154 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8156 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8157 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8158 (elmo-localdir-append-msg): Ditto.
8159 (elmo-localdir-list-folder): Fix for `nonsort'.
8160 (elmo-localdir-list-folder-subr): Fix for `killed'.
8161 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8162 (elmo-maildir-list-folder-subr): Ditto.
8163 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8164 (elmo-archive-list-folder-subr): Ditto.
8165 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8166 (elmo-internal-list-folder-subr): Ditto.
8168 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8170 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8172 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8174 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8176 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8178 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8179 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8181 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8183 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8184 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8186 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8188 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8190 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8191 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8192 before STORE command.
8194 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8196 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8198 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8199 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8201 (elmo-imap4-list-folders): Removed unused local variable.
8202 (elmo-network-initialize-session): Ditto.
8203 (elmo-imap4-delete-msg-by-id): Ditto.
8204 (elmo-imap4-parse-fetch): Ditto.
8205 (elmo-imap4-copy-msgs): Ditto.
8206 Use `dst-spec' instead of `dst-folder'.
8207 (elmo-network-authenticate-session): Check authenticate type `plain'.
8209 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8211 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8213 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8214 `elmo-imap4-response-value'.
8215 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8217 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8219 * elmo-imap4.el (elmo-imap4-send-command):
8220 Cause elmo-imap4-bye-error when current response is BYE.
8221 (elmo-imap4-arrival-filter): Changed greeting response value.
8223 * elmo2.el (elmo-imap4-bye-error): Define.
8225 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8226 (elmo-imap4-server-diff): Ditto.
8227 (elmo-imap4-response-bye-p): New macro.
8228 (elmo-imap4-response-error-text): Get text from BYE response.
8229 (elmo-imap4-read-response): Return if BYE response.
8230 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8231 (elmo-imap4-folder-exists-p): Ditto.
8232 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8233 (elmo-imap4-parse-bye): New function.
8234 (elmo-imap4-parse-response): Remove needless let.
8235 Call `elmo-imap4-parse-bye'.
8237 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8239 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8240 the mailbox does not exist.
8241 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8243 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8245 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8247 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8249 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8251 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8252 (elmo-network-initialize-session-buffer): Defined.
8254 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8256 (mmelmo-imap4-get-mime-entity): Rewrite.
8258 * elmo2.el (elmo-error): Capitalize error message.
8260 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8261 (elmo-network-session-buffer): New macro.
8262 (elmo-network-open-session): Use it.
8264 * elmo-imap4.el: Rewrite.
8266 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8268 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8270 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8272 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8273 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8274 (elmo-imap4-create-msgdb-from-overview-string): Use
8275 `elmo-msgdb-create-overview-from-buffer'.
8277 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8279 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8280 (elmo-imap4-default-hierarchy-delimiter): New variable.
8281 (elmo-imap4-list-folders): Use it.
8283 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8285 * elmo-net.el (elmo-network-open-session): Add user and
8286 stream-type for process-buffer name.
8288 * elmo-pop3.el (elmo-network-initialize-session): Call
8289 buffer-disable-undo.
8291 * elmo-imap4.el (elmo-network-initialize-session):
8292 Set current-buffer as an argument for `buffer-disable-undo'.
8294 * elmo-pop3.el (elmo-network-close-session): Don't use
8297 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8298 Set default as 'user.
8300 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8302 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8303 and `elmo-imap4-flush-connection'.
8305 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8306 (elmo-pop3-get-spec): Assume auth as symbol.
8307 (elmo-open-network-stream): Moved to `elmo-net'.
8309 * elmo-pop3.el (toplevel): Require 'elmo-net.
8310 Define `sasl-cram-md5' to silence byte compilier.
8311 (elmo-pop3-connection-cache) Abolished.
8312 (elmo-pop3-authenticator-alist) New variable.
8313 (elmo-pop3-session): Define.
8314 (elmo-pop3-connection-get-process): Abolished.
8315 (elmo-pop3-connection-get-buffer): Ditto.
8316 (elmo-pop3-close-connection): Ditto.
8317 (elmo-pop3-flush-connection): Ditto.
8318 (elmo-pop3-get-connection): Ditto.
8319 (elmo-pop3-get-session): New function.
8320 (Replacement for `elmo-pop3-get-connection').
8321 All other related modules are changed.
8322 (elmo-network-close-session): Define.
8323 (elmo-pop3-send-command): Abolished argument `buffer'.
8324 All other related modules are changed.
8325 (elmo-pop3-read-response): Likewise.
8326 (elmo-pop3-open-connection): Abolished.
8327 (elmo-pop3-auth-user): New function.
8328 (elmo-pop3-auth-apop): Ditto.
8329 (elmo-pop3-auth-cram-md5): Ditto.
8330 (elmo-pop3-auth-scram-md5): Ditto.
8331 (elmo-pop3-auth-digest-md5): Ditto.
8332 (elmo-network-initialize-session): Define.
8333 (elmo-network-authenticate-session): Ditto.
8334 (elmo-network-setup-session): Ditto.
8336 * elmo-imap4.el (toplevel): Require 'elmo-net.
8337 (elmo-imap4-session): Define.
8338 (elmo-imap4-connection-cache): Abolished.
8339 (elmo-imap4-password-key): Ditto.
8340 (elmo-imap4-flush-connection): Ditto.
8341 (elmo-imap4-get-connection): Ditto.
8342 All other related modules are changed.
8343 (elmo-imap4-get-session): New function
8344 (Replacement for `elmo-imap4-get-connection').
8345 (elmo-imap4-read-response): Abolished argument `buffer'.
8346 All other related modules are changed.
8347 (elmo-imap4-send-command): Likewise.
8348 (elmo-imap4-select-folder): Abolished.
8349 All other related modules are changed.
8350 (elmo-imap4-select-mailbox): New function.
8351 (Replacement for `elmo-imap4-select-folder').
8352 (elmo-imap4-auth-login): Simplify.
8353 (Assume current buffer as process buffer)
8354 (elmo-imap4-auth-cram-md5): Ditto.
8355 (elmo-imap4-auth-digest-md5): Ditto.
8356 (elmo-imap4-login): Ditto.
8357 (elmo-imap4-open-connection): Abolished.
8358 (elmo-imap4-open-connection-1): Abolished.
8359 (elmo-network-initialize-sessoin): Define.
8360 (elmo-network-authenticate-session): Ditto.
8361 (elmo-network-setup-session): Ditto.
8363 * elmo-net.el: New module.
8365 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8367 * elmo-util.el (elmo-define-error): New function.
8369 * elmo2.el (elmo-error): Define.
8370 (elmo-open-error): Define.
8371 (elmo-authenticate-error): Define.
8373 * elmo-imap4.el (elmo-imap4-error): Abolish.
8374 (elmo-imap4-error-type): Abolish.
8375 (elmo-imap4-error-process): Abolish.
8376 (elmo-imap4-error-message): Abolish
8377 (elmo-imap4-list-folders): Don't quote lambda.
8378 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8379 (elmo-imap4-parse-namespace): Ditto.
8380 (elmo-imap4-open-connection): Rewrite.
8381 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8382 (elmo-imap4-get-connection): Abolish local variable `result'.
8384 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8386 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8387 wrong-type-argument error when auth is nil.
8389 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8391 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8392 (elmo-default-nntp-stream-type): Ditto.
8393 (elmo-default-pop3-stream-type): Ditto.
8394 (elmo-network-stream-type-alist): Ditto.
8395 (elmo-default-imap4-ssl): Abolished.
8396 (elmo-default-nntp-ssl): Ditto.
8397 (elmo-default-pop3-ssl): Ditto.
8399 * elmo-util.el: (toplevel): Removed needless requires.
8400 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8401 (elmo-open-network-stream): Open network stream according to
8402 the value of `elmo-network-stream-type-alist'.
8403 (elmo-get-network-stream-type): New function.
8404 (elmo-network-stream-type-spec-string): New macro.
8405 (elmo-network-stream-type-symbol): Ditto.
8406 (elmo-network-stream-type-function): Ditto.
8408 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8409 network-stream-type. All other related portions are changed.
8410 (elmo-pop3-open-connection): Ditto.
8412 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8413 network-stream-type. All other related portions are changed.
8415 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8416 network-stream-type.All other related portions are changed.
8417 (elmo-imap4-error): New macro.
8418 (elmo-imap4-error-type): Ditto.
8419 (elmo-imap4-error-process): Ditto.
8420 (elmo-imap4-error-message): Ditto.
8421 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8422 (elmo-imap4-auth-cram-md5): Ditto.
8423 (elmo-imap4-auth-digest-md5): Ditto.
8424 (elmo-imap4-login): Ditto.
8425 (elmo-imap4-open-connection): Remove password entry if authentication
8427 (elmo-imap4-user-at-host): Abolished.
8428 (elmo-imap4-password-key): New buffer local variable.
8429 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8430 using protocol, port, auth and stream-type.
8432 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8434 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8436 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8438 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8440 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8441 (elmo-imap4-authenticator-alist): New variable.
8442 (elmo-imap4-open-connection-1): Rename from
8443 elmo-imap4-open-connection.
8444 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8445 only wraps elmo-imap4-open-connection-1.
8446 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8448 (elmo-imap4-auth-login): New function.
8449 (elmo-imap4-auth-cram-md5): New function.
8450 (elmo-imap4-auth-digest-md5): New function.
8451 (elmo-imap4-login): New function.
8453 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8455 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8458 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8460 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8462 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8464 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8466 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8468 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8469 for server responses, quote `*' regardless of where it appears.
8471 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8473 * elmo-maildir.el (elmo-maildir-commit): New alias.
8475 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8477 * elmo-util.el (elmo-display-progress):
8478 Use `progress-feedback-with-label'.
8480 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8482 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8483 (elmo-imap4-non-atom-char-regex): Ditto.
8484 (elmo-imap4-non-text-char-regex): Ditto.
8485 (elmo-imap4-literal-threshold): Ditto.
8486 (elmo-imap4-atom-p): New function.
8487 (elmo-imap4-quotable-p): Ditto.
8488 (elmo-imap4-nil): Ditto.
8489 (elmo-imap4-atom): Ditto.
8490 (elmo-imap4-quoted): Ditto.
8491 (elmo-imap4-literal-subr): Ditto.
8492 (elmo-imap4-literal): Ditto.
8493 (elmo-imap4-buffer-literal): Ditto.
8494 (elmo-imap4-string-subr): Ditto.
8495 (elmo-imap4-string): Ditto.
8496 (elmo-imap4-buffer-string): Ditto.
8497 (elmo-imap4-astring-subr): Ditto.
8498 (elmo-imap4-astring): Ditto.
8499 (elmo-imap4-buffer-astring): Ditto.
8500 (elmo-imap4-nstring): Ditto.
8501 (elmo-imap4-buffer-nstring): Ditto.
8502 (elmo-imap4-mailbox): New alias.
8503 (elmo-imap4-field-body): Ditto.
8504 (elmo-imap4-userid): Ditto.
8505 (elmo-imap4-password): Ditto.
8506 (elmo-imap4-format-quoted): New function.
8507 (elmo-imap4-send-command): Rewritten. Accept a list of command
8508 arguments and handle "atom", "quoted" and "literal" string here.
8509 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8510 `elmo-imap4-send-command'.
8511 (elmo-imap4-folder-exists-p): Likewise.
8512 (elmo-imap4-create-folder): Likewise.
8513 (elmo-imap4-delete-folder): Likewise.
8514 (elmo-imap4-rename-folder): Likewise.
8515 (elmo-imap4-max-of-folder): Likewise.
8516 (elmo-imap4-check-validity): Likewise.
8517 (elmo-imap4-sync-validity): Likewise.
8518 (elmo-imap4-server-diff): Likewise.
8519 (elmo-imap4-select-folder): Likewise.
8520 (elmo-imap4-copy-msgs): Likewise.
8521 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8522 (elmo-imap4-mark-set-on-msgs): Likewise.
8523 (elmo-imap4-read-part): Likewise.
8524 (elmo-imap4-read-msg): Likewise.
8525 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8526 `elmo-imap4-password' for `elmo-imap4-send-command'.
8527 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8528 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8529 `elmo-imap4-buffer-literal'.
8530 (elmo-imap4-append-msg): Likewise.
8532 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8533 `delete' for removing dead connection from the connection cache.
8534 Move deletion of the process buffer after that.
8535 (elmo-imap4-list): Change `defsubst' to `defun'.
8536 (elmo-imap4-commit): Make error message verbose.
8537 (elmo-imap4-search): Ditto.
8538 (elmo-imap4-list): Ditto.
8539 (elmo-imap4-select-folder): Ditto.
8540 (elmo-imap4-copy-msgs): Ditto.
8541 (elmo-imap4-delete-msg-by-id): Ditto.
8542 (elmo-imap4-append-msg-by-id): Ditto.
8543 (elmo-imap4-append-msg): Ditto.
8545 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8547 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8548 when dired is used on XEmacs.
8550 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8552 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8553 instead of `append'.
8554 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8555 `elmo-plugged-p' directly.
8556 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8557 of `elmo-plugged-p' directly.
8559 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8560 Eliminate unused variable. Use `memq' for checking a process status.
8561 Use `cons' instead of `append' for updating the connection cache.
8562 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8563 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8565 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8567 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8568 `elmo-imap4-read-point' exactly.
8570 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8571 the local variable `folder' to `mailbox'.
8572 Rename the argument `fld' to `folder'.
8574 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8576 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8577 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8579 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8581 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8582 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8583 (elmo-pop3-uidl-number-hash): Ditto.
8584 (elmo-pop3-size-hash): Ditto.
8585 (elmo-pop3-uidl-done): Ditto.
8586 (elmo-pop3-list-done): Ditto.
8587 (elmo-pop3-connection-get-process): New defmacro.
8588 (elmo-pop3-connection-get-buffer): Ditto.
8589 (elmo-pop3-close-connection): Delete buffer and process.
8590 (elmo-pop3-flush-connection): Don't delete buffer and process.
8591 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8592 Setup UIDL and size hash.
8593 (elmo-pop3-send-command-no-erase): Deleted
8594 (elmo-pop3-send-command): Added optional argument `no-erase'.
8595 (elmo-pop3-parse-uidl-response): New function.
8596 (elmo-pop3-parse-list-response): Set size hash.
8597 (elmo-pop3-list-location): New function.
8598 (elmo-pop3-list-by-uidl-subr): Ditto.
8599 (elmo-pop3-list-by-list): Ditto.
8600 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8601 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8602 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8603 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8604 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8606 (elmo-pop3-uidl-to-number): New function.
8607 (elmo-pop3-number-to-uidl): Ditto.
8608 (elmo-pop3-number-to-size): Ditto.
8609 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8610 Set number by use of uidl.
8611 (elmo-pop3-msgdb-create-message): Likewise.
8612 Set size, loc-alist in msgdb.
8613 (elmo-pop3-read-msg): Set number by use of uidl.
8614 Added optional argument `msgdb'.
8615 (elmo-pop3-delete-msg): Ditto.
8616 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8617 (elmo-pop3-commit): Close connection.
8619 * elmo-pipe.el (elmo-pipe-max-of-folder):
8620 Bind `elmo-pop3-use-uidl' as nil.
8621 (elmo-pipe-drain): Ditto.
8624 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8625 (elmo-msgdb-overview-entity-set-size): New defsubst.
8627 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8629 * elmo-vars.el (elmo-use-killed-list): New variable
8630 (Renamed from `elmo-nntp-use-killed-list').
8631 (elmo-nntp-use-killed-list): Eliminated.
8633 * elmo-msgdb.el (elmo-msgdb-expand-path):
8634 Changed expanding msgdb path for elmo-multi.
8636 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8637 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8638 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8639 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8640 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8641 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8642 (toplevel): Deleted time-stamp line.
8644 * elmo2.el (elmo-clear-killed ): Defined as function
8645 (Abolished defining as a backend function).
8646 All other related modules are changed.
8648 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8650 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8652 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8654 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8656 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8658 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8660 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8662 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8663 asynchronous folder check.
8665 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8667 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8668 `elmo-nntp-use-killed-list'.
8669 (elmo-nntp-list-folder): Use killed list.
8670 (elmo-nntp-max-of-folder): Ditto.
8671 (elmo-nntp-msgdb-create): Set killed list.
8673 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8675 * elmo2.el (elmo-clear-killed): New backend function.
8676 All other related modules are changed.
8678 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8680 * elmo-util.el (elmo-imap4-spec-folder): Use
8681 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8682 All callers changed.
8684 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8686 * mmelmo-2.el (initialize-instance):
8687 Use `mime-buffer-entity-buffer-internal' instead of
8688 `mime-entity-buffer'.
8690 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8691 (mime-entity-body): Implemented.
8692 (mime-goto-header-start-point): Deleted.
8693 (mime-goto-body-end-point): Ditto.
8694 (mime-entity-point-min): Ditto.
8695 (mime-entity-point-max): Ditto.
8696 (mime-entity-children): Ditto.
8697 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8698 instead of `mime-entity-buffer'.
8699 (mime-entity-header-buffer): Ditto.
8700 (mime-entity-body-buffer): Ditto.
8701 (mime-write-entity-content): Ditto.
8703 * pldap.el (ldap-static-if): New macro.
8704 (toplevel): Use it instead of `static-if'.
8706 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8708 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8709 included in `attrs' argument.
8711 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8713 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8715 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8716 (ldap-ldif-safe-init-char-regexp): Ditto.
8717 (ldap-ldif-safe-string-regexp): Ditto.
8718 (ldap/ldif-safe-string-p): New macro.
8719 (ldap/ldif-insert-field): Ditto.
8720 (ldap-modify): Use it.
8722 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8723 (ldap-decode-attribute): Decode only when `attr' is consp.
8724 (ldap-delete): Bind `ret'.
8725 (toplevel): Require 'cl at compile time.
8726 Removed (require 'poe) and (require 'std11).
8727 (pldap-version): Eliminated.
8728 (ldap-search-basic): Removed auth and dn binding.
8729 (ldap-ldif-field-name-regexp): New constant.
8730 (ldap-ldif-field-head-regexp): Ditto.
8731 (ldap-ldif-next-field-head-regexp): Ditto.
8732 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8733 (ldap/field-end): New function.
8734 (ldap/field-body): Use it.
8735 (ldap/collect-field): Ditto.
8736 (ldap-search-basic): Use `ldap/field-body'.
8738 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8740 * pldap.el (ldap-default-attribute-encoder): New user option.
8741 (ldap/field-body): Decode base64 string.
8742 (ldap/collect-field): Ditto.
8743 (ldap-encode-attribute): New function.
8744 (ldap-add-entries): Use it.
8745 (ldap-modify-entries): Ditto.
8746 (ldap-search-entries): Enclosed decoding function with
8747 `with-temp-buffer' and set as unibyte.
8748 (ldap-search-basic): Set process buffer as unibyte.
8750 * elmo-util.el (elmo-folder-identical-system-p):
8751 Eliminated name space checking.
8753 * pldap.el: New module.
8754 toplevel: Changed condition to detect built-in ldap feature.
8755 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8756 (ldap-add): Added error handling.
8757 (ldap-modify): Ditto.
8758 (ldap-delete): Ditto.
8760 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8762 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8763 Initialize local variables with `let'. Inline a temporary
8764 variable for the progress percentage. Sort `setq' to reduce
8765 function call in the while-loop.
8767 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8768 into the conditional branch.
8770 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8772 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8773 Move a conditional out of the while-loop.
8775 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8777 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8778 elmo-msgdb-overview-get-entity-by-number.
8779 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8782 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8784 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8785 the local variable for a packed number self descriptively.
8787 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8789 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8790 * elmo-localdir.el (elmo-localdir-pack-number): Use
8791 `elmo-msgdb-overview-get-entity' instead of
8792 `elmo-msgdb-overview-get-entity-by-number'.
8793 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8794 (elmo-msgdb-search-overview-entity): Removed.
8795 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8796 by message-id or number.
8797 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8798 instead of `elmo-msgdb-overview-get-entity-by-number'.
8800 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8802 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8803 non-nil, use hash table for overview.
8804 (elmo-hash-maximum-size): New variable.
8805 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8806 (elmo-msgdb-make-overview-hashtb): New function.
8807 (elmo-msgdb-clear-overview-hashtb): New function.
8808 (elmo-clear-hash-val): New macro.
8809 All other related modules are changed.
8811 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8813 * elmo2.el (elmo-move-msgs): If there's other message with
8814 same message-id, don't use cache.
8816 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8818 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8819 number is already packed.
8821 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8823 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8825 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8827 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8828 All other related modules are changed.
8830 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8832 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8833 of refiling failure on Maildir.
8835 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8837 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8838 decoded mime-charset with cache.
8839 (elmo-msgdb-overview-entity-get-from): Ditto.
8840 (elmo-msgdb-overview-entity-get-subject): Ditto.
8841 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8843 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8845 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8846 (elmo-remove-passwd): Fill password with 0 before erase.
8847 * elmo-vars.el (elmo-passwd-life-time): New variable.
8850 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8852 * elmo-cache.el (elmo-buffer-cache-add):
8853 Set message cache buffer as unibyte.
8855 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8857 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8860 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8862 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8863 when display is finished.
8864 (elmo-nntp-msgdb-create): Ditto.
8865 (elmo-nntp-groups-read-response): Ditto.
8866 (elmo-nntp-retrieve-headers): Ditto.
8867 (elmo-nntp-msgdb-create-message): Ditto.
8868 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8869 (elmo-pop3-msgdb-create-message): Ditto.
8871 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8873 * elmo-maildir.el (elmo-maildir-msgdb-create):
8874 Use `elmo-msgdb-sort-by-date'.
8876 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8878 * elmo2.el (elmo-read-msg-no-cache):
8879 Eliminated arguments after `outbuf'.
8880 Don't use cache even if it exists.
8881 (elmo-read-msg): Don't pass arguments after `outbuf' to
8882 `elmo-read-msg-no-cache'.
8884 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8886 * elmo-archive.el (elmo-archive-list-folders):
8887 Use `file-name-directory' if base folder does not exist.
8889 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8891 * elmo-archive.el (elmo-archive-list-folders): Don't use
8892 `file-name-directory'.
8894 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8896 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8897 If `force' is non-nil, try flushing all operation queues.
8899 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8901 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8904 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8906 * elmo-util.el (elmo-display-progress): Fixed.
8908 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8910 * elmo-util.el (elmo-display-progress): New function.
8911 All other related modules are changed.