1 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
6 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
8 * elmo-util.el (elmo-set-auto-coding): New function.
9 (elmo-object-load): Use it.
11 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
13 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
14 (elmo-time<): Define as alias of `elmo-time-less-p'.
15 (elmo-time-to-datevec): New function.
17 * elmo-date.el (elmo-time-to-days): New function.
19 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
21 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
24 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
26 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
29 * elmo-util.el (elmo-map-recursive): New function.
31 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
32 (modb-entity-encode-string-recursive): Ditto.
34 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
36 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
37 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
38 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
39 compare sequence number when last modified time is nil.
41 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
43 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
45 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
47 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
49 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
50 modification time of the file.
52 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
54 * elmo-util.el (elmo-condition-optimize): Discriminated against
55 preserved fields, extra fields and the other weight.
57 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
59 * modb-entity.el (initialize-instance): Define.
60 (modb-entity-handler-mime-charset): New internal function.
61 (modb-standard-entity-set-field): Use it.
62 (elmo-msgdb-message-entity-field): Ditto.
63 (elmo-msgdb-message-entity-field): Ditto.
65 * modb.el (elmo-msgdb-match-condition): Rewrite with
66 `elmo-condition-match'.
67 (elmo-msgdb-match-condition-primitive): New function.
69 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
70 arguments `flags' and `numbers'.
71 (elmo-msgdb-match-condition-primitive): Abolished (merged to
72 `elmo-msgdb-message-match-condition').
73 (modb-buffer-entity-handler): New class.
75 * elmo.el (elmo-folder-search): Optimize condition to use
76 `elmo-condition-optimize'.
77 (elmo-message-buffer-match-condition): New function.
78 (elmo-message-match-condition): Use
79 `elmo-message-buffer-match-condition' instead of
80 `elmo-buffer-field-condition-match'.
82 * elmo-util.el (elmo-condition-match): New function.
83 (elmo-condition-optimize): Ditto.
84 (elmo-buffer-field-primitive-condition-match): Abolish.
85 (elmo-buffer-field-condition-match): Ditto.
87 * elmo-archive.el (elmo-archive-field-condition-match): Use
88 `elmo-message-buffer-match-condition' instead of
89 `elmo-buffer-field-condition-match'.
91 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
93 * elmo-flag.el (elmo-global-flags-initialize): Check the
94 existence of the flag directory.
96 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
98 * elmo-access.el (elmo-folder-initialize): Call
99 `elmo-multi-connect-signals'.
101 * elmo-pipe.el (elmo-folder-close): Define.
103 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
106 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
109 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
112 * elmo-multi.el (elmo-message-entity): Don't use return value of
113 `elmo-message-entity-set-number'.
115 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
117 * modb.el (modb-generic): Added slot `mime-charset'.
119 * modb-standard.el (modb-standard): Added slot `overview-handler'.
120 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
121 and `modb-entity-handler-dump-parameters'.
122 (modb-standard-default-entity-handler): Abolish.
123 (elmo-msgdb-message-entity-handler): Save created handler by
126 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
127 (modb-entity-handler-list-parameters): New method.
128 (modb-entity-handler-equal-p): New function.
129 (modb-entity-handler-dump-parameters): Ditto.
130 (modb-entity-parse-address-string): Encode return value.
131 (modb-entity-make-address-string): Decode argument value.
132 (modb-entity-decode-string-recursive): New function.
133 (modb-entity-encode-string-recursive): Ditto.
134 (modb-standard-entity-normalizer): Set to encode field value.
135 (modb-standard-entity-specializer): Follow the above change.
136 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
137 mime-charset of handler.
138 (elmo-msgdb-message-entity-field): Ditto.
139 (elmo-msgdb-copy-message-entity): Fixed reference to internal
141 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
143 * elmo.el (elmo-folder): Added slot `mime-charset'.
144 (elmo-make-folder): Added argument `mime-charset'.
145 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
148 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
149 (elmo-make-msgdb): Likewise.
151 * elmo-internal.el (elmo-internal-folder-initialize): Call
152 `luna-make-entity' with :mime-charset parameter.
154 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
156 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
157 encoded words in `from' and `subject' field.
159 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
161 * modb.el (elmo-msgdb-message-field): Add argument `type'.
162 (elmo-msgdb-match-condition): Get handler from entity instead of
165 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
166 (modb-standard-load-entity): Treat new file format.
167 (modb-standard-save-entity-1): Save as new file format.
168 (modb-standard-save-entity): Split messages into section here.
169 (elmo-msgdb-message-field): Follow the API change.
170 (modb-standard-default-entity-handler): New internal variable.
171 (elmo-msgdb-message-entity-handler): Define.
173 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
175 (modb-entity-field-extractor-alist): New user option.
176 (elmo-msgdb-message-entity-field): Removed argument `decode' and
177 added argument `type'.
178 (elmo-msgdb-copy-message-entity): Add optional argument
180 (modb-set-field-converter): New function.
181 (modb-convert-field-value): Ditto.
182 (modb-entity-string-decoder): Ditto.
183 (modb-entity-string-encoder): Ditto.
184 (modb-entity-parse-date-string): Ditto.
185 (modb-entity-make-date-string): Ditto.
186 (modb-entity-mime-decoder): Ditto.
187 (modb-entity-mime-encoder): Ditto.
188 (modb-entity-address-list-decoder): Ditto.
189 (modb-entity-address-list-encoder): Ditto.
190 (modb-entity-parse-address-string): Ditto.
191 (modb-entity-make-address-string): Ditto.
192 (modb-entity-create-field-indices): Ditto.
193 (modb-legacy-entity-field-slots): New constant.
194 (modb-legacy-entity-field-indices): Ditto.
195 (modb-legacy-entity-normalizer): New variable.
196 (modb-legacy-entity-specializer): Ditto.
197 (modb-legacy-entity-field-index): New macro.
198 (modb-legacy-entity-set-field): New function.
199 (modb-legacy-make-message-entity): Rewrite.
200 (elmo-msgdb-create-message-entity-from-buffer): Use
201 `elmo-msgdb-get-references-from-buffer'. Use
202 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
203 Use `modb-legacy-entity-set-field' instead of
204 `elmo-msgdb-message-entity-set-field'.
205 (elmo-msgdb-message-entity-field): Rewrite.
206 (elmo-msgdb-message-entity-set-field): Ditto.
207 (elmo-msgdb-copy-message-entity): Make new entity by
208 `make-handler' if it specified.
209 (elmo-msgdb-message-match-condition): Define a method of
210 `modb-entity-handler' and follow the API change.
211 (modb-standard-entity-handler): New class.
212 (modb-entity-extract-ml-info-from-x-sequence): New function.
213 (modb-entity-extract-ml-info-from-subject): Ditto.
214 (modb-entity-extract-ml-info-from-return-path): Ditto.
215 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
216 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
217 (modb-entity-extract-mailing-list-info): Ditto.
218 (modb-entity-extract-mailing-list-info-functions): New variable.
220 * elmo.el (elmo-message-field): Add optional argument `type'.
222 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
223 from `modb-entity.el'.
225 * elmo-util.el (elmo-object-load): Decode by coding-system from
226 `set-auto-coding-function'.
227 (elmo-object-save): Use `detect-mime-charset-region' and add
228 coding cookie if encode.
229 (elmo-msgdb-get-references-from-buffer): New function.
230 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
232 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
234 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
235 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
236 instead of `shimbun-make-header' and follow the API change.
237 (elmo-shimbun-update-overview): Follow the API change.
238 (elmo-map-folder-list-message-locations): Ditto.
240 * elmo-pipe.el (elmo-message-field): Ditto.
242 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
245 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
247 * elmo-multi.el (elmo-message-field): Ditto.
249 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
250 (elmo-msgdb-sort-by-date): Ditto.
251 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
252 `elmo-message-entity-field'.
253 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
255 (elmo-msgdb-overview-entity-get-from): Ditto.
256 (elmo-msgdb-overview-entity-get-subject): Ditto.
257 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
258 (elmo-msgdb-overview-entity-get-date): Ditto.
259 (elmo-msgdb-overview-entity-get-to): Ditto.
260 (elmo-msgdb-overview-entity-get-cc): Ditto.
262 * elmo-mime.el (elmo-message-mime-entity): Ditto.
263 (elmo-mime-collect-message/partial-pieces): Ditto.
265 * elmo-filter.el (elmo-message-field): Ditto.
267 * elmo-date.el (elmo-datevec-to-time): New function.
268 (elmo-time-parse-date-string): Ditto.
269 (elmo-time-make-date-string): Ditto.
272 * elmo-version.el (elmo-version): Up to 2.15.1.
274 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
276 * elmo-flag.el (elmo-global-flags-initialize): Don't include
277 member of elmo-local-flags.
279 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
281 * elmo-version.el (elmo-version): Up to 2.15.0.
283 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
285 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
286 `ignore-msgdb' is non-nil.
288 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
290 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
291 (elmo-condition-in-msgdb-p): Ditto.
292 (elmo-file-field-primitive-condition-match): Ditto.
293 (elmo-file-field-condition-match): Ditto.
295 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
297 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
299 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
301 (elmo-global-flags-initialize): New function.
303 * elmo.el (toplevel): Added autoload setting for
304 `elmo-global-flags-initialize'.
306 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
308 * elmo.el (message-number-changed): Define new signal.
309 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
310 message-number-changed signal.
311 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
312 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
313 Respect `elmo-pack-number-check-strict'.
315 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
317 * elmo-signal.el (elmo-connect-signal): Document.
318 (elmo-emit-signal): Ditto.
319 (elmo-emit-signal): It should pass source argument to filter and
320 handler, not slot-source.
322 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
324 * modb.el (elmo-msgdb-update-entity): New API and define generic
327 * modb-standard.el (elmo-msgdb-update-entity): Define.
329 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
330 API and define generic implement.
332 * elmo.el (update-overview): New singnal.
334 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
335 `elmo-msgdb-update-entity' and emit signal `update-overview'.
336 (elmo-message-entity-parent): Define.
338 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
341 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
343 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
345 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
347 * elmo.el (elmo-folder-synchronize): Sort the return value of
350 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
353 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
355 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
356 `default-enable-multibyte-characters'.
357 (elmo-object-load): Use `with-temp-buffer' instead of
359 (elmo-object-save): Ditto.
360 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
362 (elmo-decoded-field-body): Ditto.
364 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
366 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
367 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
369 * elmo-version.el (elmo-version): Up to 2.13.3.
371 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
373 * elmo-util.el (elmo-list-diff): Fix the last change.
374 Reverse order of result lists.
376 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
378 * modb-standard.el (elmo-msgdb-set-flag): Use
379 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
380 (elmo-msgdb-unset-flag): Ditto.
382 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
385 * elmo-util.el (elmo-list-diff): Rewrite.
386 (elmo-list-diff-nonsortable): New function.
388 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
390 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
391 `elmo-multibypte-buffer-name'. All referers are updated.
393 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
395 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
396 (elmo-mime-entity-fragment-p): New function.
397 (mime-elmo-buffer-entity): Added slot `reassembled'.
398 (elmo-message-mime-entity): Added 4th argument `reassemble'.
399 (elmo-message-mime-entity-internal): New function (renamed from
400 `elmo-message-mime-entity').
401 (elmo-mime-inherit-field-list-from-enclosed): New constant.
402 (elmo-mime-make-reassembled-mime-entity): New function.
403 (elmo-message-reassembled-mime-entity): Ditto.
404 (elmo-mime-collect-message/partial-pieces): Ditto.
406 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
408 * elmo.el (elmo-message-fetch-string): Disable multibyte.
410 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
411 (elmo-with-enable-multibyte): New macro.
413 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
415 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
417 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
419 (elmo-filter-connect-signals): Follow the above change.
421 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
423 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
425 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
426 that only the first flag is used.
428 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
430 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
433 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
435 * elmo-signal.el: New file.
437 * elmo.el (toplevel): Require elmo-signal.
438 (flag-changing, flag-changed, cache-changed): New signal.
439 (elmo-folder): Remove slog `handlers'.
440 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
441 `elmo-folder-notify-event'.
442 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
443 (elmo-folder-unset-flag): Ditto.
444 (elmo-event-handler): Abolish.
445 (elmo-event-handler-flag-changed): Ditto.
446 (elmo-event-handler-cache-changed): Ditto.
447 (elmo-folder-add-handler): Ditto.
448 (elmo-folder-remove-handler): Ditto.
449 (elmo-folder-notify-event): Ditto.
451 * elmo-pipe.el (toplevel): Require elmo-signal.
452 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
453 (elmo-pipe-connect-signals): New function.
454 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
455 (elmo-folder-set-flag): Ditto.
456 (elmo-folder-unset-flag): Ditto.
457 (elmo-message-set-cached): Ditto.
459 * elmo-multi.el (toplevel): Require elmo-signal.
460 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
461 (elmo-multi-connect-signals): New function.
462 (elmo-multi-map-numbers): Ditto.
463 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
464 (elmo-message-fetch): Ditto.
465 (elmo-folder-set-flag): Ditto.
466 (elmo-folder-unset-flag): Ditto.
468 * elmo-filter.el (toplevel): Require elmo-signal.
469 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
470 (elmo-filter-connect-signals): New function.
471 (elmo-filter-add-flag-count): Ditto.
472 (elmo-message-fetch): Does not call
473 `elmo-filter-folder-countup-message-flags' and
474 `elmo-folder-notify-event'.
475 (elmo-message-set-cached): Ditto.
476 (elmo-folder-set-flag): Ditto.
477 (elmo-folder-unset-flag): Ditto.
479 * elmo-version.el (elmo-version): Up to 2.13.2.
481 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
483 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
486 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
488 * elmo-filter.el (elmo-message-set-cached): Call
489 `elmo-folder-notify-event' with event `cache-changed'.
491 * elmo-multi.el (elmo-message-set-cached): Ditto.
493 * elmo-pipe.el (elmo-message-set-cached): Ditto.
495 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
497 * elmo.el (elmo-folder-encache): Abolish.
499 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
501 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
502 (elmo-folder-next-message-number-dop): Return appropriate negative
505 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
507 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
508 clearing pending operations.
509 (elmo-folder-next-message-number-dop): Return appropriate negative
512 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
514 * elmo.el (toplevel): Added autoload setting for `md5'.
515 (elmo-msgdb-path-encode-threshold): New user option.
516 (elmo-folder-msgdb-path): Encode msgdb path if its length is
517 longer than `elmo-msgdb-path-encode-threshold'.
519 * elmo-flag.el (elmo-global-mark-migrate): Use
520 `elmo-folder-expand-msgdb-path' instead of
521 `elmo-folder-msgdb-path'.
523 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
525 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
526 element of the difference is nil.
528 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
530 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
531 to the check logic of file systems which are weak in colon character.
533 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
535 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
537 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
539 * elmo-maildir.el (elmo-maildir-move-file): New function.
540 (elmo-folder-append-buffer): Use it.
541 (elmo-folder-append-messages): Ditto.
542 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
544 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
545 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
547 * elmo-maildir.el (elmo-maildir-separator): New user option.
548 (elmo-maildir-adjust-separator): New macro.
549 (elmo-maildir-list-location): Use it.
550 (elmo-maildir-update-current): Ditto.
551 (elmo-maildir-set-mark): Ditto.
552 (elmo-maildir-delete-mark): Ditto.
553 (These changes are based on Hiroya Murata's patch [wl: 13437])
555 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
557 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
559 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
561 * elmo-flag.el (elmo-flag-valid-p): Simplify.
562 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
563 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
565 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
567 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
568 Use `with-temp-buffer'.
570 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
572 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
574 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
575 `wl-read-search-condition').
576 (elmo-read-search-condition-internal): Likewise.
578 * elmo-flag.el (elmo-flag-char-regexp): New constant.
579 (elmo-flag-valid-p): New function.
580 (elmo-folder-initialize): Check flag name is valid.
582 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
584 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
585 delimiter to obtain root mailbox itself.
587 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
589 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
592 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
594 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
597 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
599 * elmo-shimbun.el (toplevel): Require cl at compile.
601 * elmo-nntp.el (toplevel): Ditto.
603 * elmo-nmz.el (toplevel): Ditto.
605 * elmo-multi.el (toplevel): Ditto.
607 * elmo-file.el (toplevel): Ditto.
609 * elmo-dop.el (toplevel): Ditto.
611 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
613 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
615 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
618 * elmo.el (elmo-message-fetch): Return t even when the output buffer
619 size of elmo-message-fetch-internal is 0 byte.
621 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
623 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
625 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
627 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
630 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
632 * elmo-maildir.el (elmo-map-message-fetch): Call
633 `elmo-map-folder-set-flag'.
635 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
636 (elmo-message-fetch): Merge from
637 `elmo-message-fetch-with-cache-process'.
639 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
640 (elmo-message-fetch): Define.
642 * elmo-nntp.el (elmo-message-fetch): Renamed from
643 `elmo-message-fetch-with-cache-process'.
645 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
646 (elmo-message-fetch): Define.
648 * elmo-util.el (elmo-condition-parse-primitive): Downcase
651 * elmo-shimbun.el (shimbun-mua-search-id): Use
652 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
653 (elmo-shimbun-folder-shimbun-header): Ditto.
654 (elmo-shimbun-get-headers): Ditto.
655 (elmo-shimbun-update-overview): Ditto.
657 * elmo-pipe.el (elmo-folder-detach-messages): Define.
659 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
660 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
662 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
664 * elmo.el (elmo-message-fetch): Unset unread flag on server when
666 (elmo-message-fetch-string): Fixed argument.
668 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
670 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
671 exchange order of arguments `section' and `unread'.
672 (elmo-message-encache): Follow the API change.
673 (elmo-message-match-condition): Ditto.
674 (elmo-generic-folder-append-messages): Ditto.
675 (elmo-message-fetch-string): New function.
677 * elmo-split.el (elmo-split-subr): Ditto.
679 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
681 * elmo-pipe.el (elmo-message-fetch): Ditto.
683 * elmo-multi.el (elmo-message-fetch): Ditto.
685 * elmo-mime.el (elmo-message-mime-entity): Ditto.
687 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
689 * elmo-filter.el (elmo-message-fetch): Ditto.
691 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
693 * elmo-imap4.el (mime-imap-location-section-body): Use
694 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
695 follow the API change.
697 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
699 * elmo-access.el: New file.
701 * elmo-null.el: Ditto.
703 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
705 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
707 * elmo-net.el (elmo-network-session-idle-timeout): New option.
708 (elmo-network-session): New attribute `last-accessed'.
709 (elmo-network-get-session): Discard network cache if elapsed time
710 since last-accessed is larger than elmo-network-session-idle-timeout.
712 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
714 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
715 and added `number', `require-entireness'.
716 (elmo-find-fetch-strategy): Rewrite.
717 (elmo-message-fetch): Unset `unread' flag when argument unread is
720 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
722 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
723 (elmo-message-fetch): Notify event `flag-changed'.
725 * elmo-pipe.el: Likewise.
727 * elmo-mime.el (elmo-mime-entity): New class.
728 (elmo-mime-entity-display-p): New generic function.
729 (elmo-mime-entity-display): Ditto.
730 (elmo-mime-entity-display-as-is): Ditto.
731 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
733 (elmo-make-mime-message-location): Removed.
734 (elmo-mime-message-display): Ditto.
735 (elmo-mime-display-as-is): Ditto.
736 (elmo-message-mime-entity): New function.
738 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
740 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
742 (elmo-message-fetch): Re-count flagged message number and notify
743 event `flag-changed'.
745 * elmo-version.el (elmo-version): Up to 2.13.1.
747 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
749 * elmo-filter.el (elmo-message-field): Define.
750 (elmo-message-set-field): Ditto.
752 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo.el (elmo-message-set-cached): Call
755 `elmo-folder-notify-event' with cache-changed.
756 (elmo-event-handler-cache-changed): New generic function.
758 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
760 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
761 instead of elmo-add-name-to-file.
762 (elmo-folder-append-messages): Ditto.
764 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
766 * elmo.el (elmo-folder-update-threshold): Add nil to range.
768 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
770 * elmo-version.el (elmo-version): Up to 2.13.0.
772 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
775 * modb-standard.el (modb-standard-economize-entity-size): Changed
776 default value to `t'.
778 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
781 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
782 after parsing greeting string.
784 2004-11-23 Daishi Kato <daishi@axlight.com>
786 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
788 (elmo-spam-spamoracle-call): Use it.
790 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
792 * elmo.el (elmo-message-accessible-p): Message in dop spool
795 2004-11-23 Daishi Kato <daishi@axlight.com>
797 * elsp-spamoracle.el: New file.
799 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
801 * elmo.el (elmo-message-flags-for-append): New function.
802 (elmo-generic-folder-append-messages): Use it.
804 * elmo-split.el (elmo-split-subr): Ditto.
806 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
807 `flags' and use elmo-folder-append-buffer instead of
808 write-region-as-binary.
809 (elmo-dop-filter-pending-messages): New function.
810 (elmo-folder-append-buffer-dop): Call
811 elmo-dop-spool-folder-append-buffer with `flag'.
812 (elmo-folder-set-flag-dop): Filter messages by
813 elmo-dop-filter-pending-messages.
814 (elmo-folder-unset-flag-dop): Ditto.
815 (elmo-folder-append-buffer-dop-delayed): Use
816 elmo-message-flags-for-append to get flags of the message and
819 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
821 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
823 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
825 * elmo.el (elmo-folder): Added handlers slot.
826 (elmo-event-handler): New class.
827 (elmo-event-handler-flag-changed): New API.
828 (elmo-folder-add-handler): New function.
829 (elmo-folder-remove-handler): Ditto.
830 (elmo-folder-notify-event): Ditto.
831 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
833 (elmo-folder-unset-flag): Ditto.
835 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
836 (elmo-folder-unset-flag): Ditto.
838 * elmo-multi.el (elmo-folder-set-flag): Ditto.
839 (elmo-folder-unset-flag): Ditto.
841 * elmo-filter.el (elmo-folder-set-flag): Ditto.
842 (elmo-folder-unset-flag): Ditto.
844 * elmo-version.el (elmo-version): Up to 2.11.33.
846 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
848 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
850 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
852 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
854 * elmo-flag.el (elmo-folder-unset-flag): Define.
855 (elmo-global-flag-detach): Do process when the flag is not target
858 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
860 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
862 (elmo-msgdb-create-message-entity-from-buffer): Use it.
864 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
866 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
868 (elmo-folder-delete-messages): Detach messages before delete
869 messages from target folder.
870 (elmo-folder-detach-messages): Set updated number-list to slot.
872 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
874 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
876 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
878 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
880 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
882 * elmo.el (elmo-folder-delete-messages-internal): New API (for
884 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
886 (elmo-folder-delete-messages): Define.
887 (elmo-folder-move-messages): Don't call
888 `elmo-folder-detach-messages'.
889 (elmo-folder-synchronize): Rewrite.
890 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
892 * elmo-util.el (elmo-last): New function.
893 (elmo-set-list): Ditto.
894 (elmo-number-set-delete-list): Ditto.
895 (elmo-number-set-delete): Ditto.
897 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
899 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
900 `elmo-folder-delete-messages' and don't delete location map.
901 (elmo-folder-detach-messages): Define.
903 * elmo-imap4.el (elmo-folder-delete): Use
904 `elmo-folder-delete-messages-internal' instead of
905 `elmo-folder-delete-messages'.
907 * elmo-filter.el (elmo-folder-delete-messages): Call
908 `elmo-folder-detach-messages'.
909 (elmo-folder-detach-messages): Don't call
910 `elmo-folder-detach-messages' for target folder.
912 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
913 message deletion is succeeded.
915 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
917 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
918 from `elmo-folder-delete-messages'.
920 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
922 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
924 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
926 * elmo-version.el (elmo-version): Up to 2.11.32.
928 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
930 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
931 (elmo-global-flag-list): Added obsolete variable setting.
933 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
935 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
936 (elmo-mime-insert-header-from-buffer): Don't decode header content when
937 `elmo-mime-display-header-analysis' is nil.
939 * elmo-flag.el (elmo-global-flags): Renamed from
940 `elmo-global-flag-list' (All other related portions are changed).
941 (elmo-local-flags): New variable.
942 (elmo-local-flag-p): New function.
943 (elmo-global-flag-set-internal): Cause an error when flag is not
946 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
948 * elmo-util.el (elmo-concat-path): Treat empty path.
950 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
952 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
954 (elmo-split-address-match): Ditto.
955 (elmo-split-equal): Ditto.
956 (elmo-split-match): Ditto.
958 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
960 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
961 (elmo-generic-folder-append-messages): If src message exists but
962 has no flag, pass (read) for the FLAG argument of
963 `elmo-folder-append-buffer'. Otherwise, pass nil.
965 * elmo-split.el (elmo-split-subr): Likewise.
967 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
969 * elmo-multi.el (elmo-message-flags): Ditto.
971 * elmo-filter.el (elmo-message-flags): Ditto.
973 * elmo.el (elmo-folder-append-buffer): Fix docstring.
974 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
975 pass (read) for the FLAG argument of elmo-folder-append-buffer.
977 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
979 * elmo-split.el (elmo-split-rule): Update comment.
980 (elmo-split-address-equal): Allow 2nd argument to be a list.
981 (elmo-split-address-match): Ditto.
982 (elmo-split-equal): Ditto.
983 (elmo-split-match): Ditto.
985 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
987 * elmo.el (elmo-folder-append-buffer): Fix docstring.
988 (elmo-folder-append-msgdb): Don't treat `read'.
989 (elmo-message-flags): Don't return `read'.
991 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
992 (elmo-folder-unset-read-delayed): Ditto.
994 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
996 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
998 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1001 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1003 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1006 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1008 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1010 (elmo-msgdb-save): Bind inhibit-quit.
1011 (modb-standard-message-entity): Ditto.
1013 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1015 * elmo-database.el: No need to require elmo-msgdb.
1017 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1019 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1020 instead of `elmo-list-subdirectories'.
1022 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1024 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1026 (elmo-folder-exists-p): "[" is empty.
1027 (elmo-folder-list-subfolders): Define.
1028 (elmo-folder-have-subfolder-p): Ditto.
1030 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1032 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1034 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1036 * elmo-filter.el (elmo-folder-local-p): Define.
1038 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1040 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1041 when entity is garbaged.
1042 (modb-standard-save-entity-1): Don't modify the original entity.
1044 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1046 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1048 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1050 * elmo.el (elmo-strict-folder-diff): Use
1051 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1053 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1055 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1056 (elmo-msgdb-message-number): Ditto.
1057 (elmo-msgdb-message-field): Ditto.
1059 * modb-standard.el (modb-standard-economize-entity-size): New user
1061 (modb-standard-loaded-message-id): New inline function.
1062 (modb-standard-load-entity): Use it.
1063 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1064 throw message-id string away.
1065 (elmo-msgdb-flag-available-p): Define.
1066 (elmo-msgdb-message-number): Ditto.
1067 (elmo-msgdb-message-field): Ditto.
1069 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1070 (suppoted -> supported).
1071 (modb-legacy-supported-flag-p): Ditto.
1072 (elmo-msgdb-set-flag): Ditto.
1073 (elmo-msgdb-unset-flag): Ditto.
1074 (elmo-msgdb-flag-available-p): Define.
1076 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1077 is `t', treat it as legacy entity.
1079 * elmo.el (elmo-message-flag-available-p): New generic function.
1080 (elmo-message-number): Ditto.
1081 (elmo-message-field): Use `elmo-msgdb-message-field'.
1083 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1085 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1086 (elmo-message-number): Ditto.
1088 * elmo-multi.el (elmo-message-number): Define.
1089 (elmo-message-flag-available-p): Ditto.
1091 * elmo-filter.el (elmo-message-flag-available-p): Define.
1092 (elmo-message-number): Ditto.
1094 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1095 (elmo-folder-initialize): Load `max-number'.
1096 (elmo-folder-commit): Save it.
1097 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1098 (elmo-global-flag-set-internal): Set up max-number slot.
1100 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1102 * elmo-version.el (elmo-version): Up to 2.11.31.
1104 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1106 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1107 unibyte string of the current buffer for the argument of `md5'
1108 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1110 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1112 * modb-legacy.el (modb-legacy-flag-list): New constant.
1113 (modb-legacy-suppoted-flag-p): New internal function.
1114 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1115 (elmo-msgdb-unset-flag): Ditto.
1117 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1119 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1121 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1124 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1126 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1127 (follow the API change).
1129 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1131 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1133 * modb-standard.el (modb-standard-digest-flags): Abolish.
1134 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1136 * elmo-vars.el (elmo-digest-flags): New variable.
1137 (elmo-preserved-flags): Moved from elmo-flag.el.
1139 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1140 (elmo-imap4-flag-to-imap-criteria): Ditto.
1141 (elmo-imap4-folder-list-flagged): Use it.
1143 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1145 * elmo.el (elmo-folder-count-flags): Changed return value.
1147 * elmo-flag.el (elmo-preserved-flags): New variable.
1148 (elmo-get-global-flags): Use it.
1150 * modb-standard.el (modb-standard-digest-flags): New variable.
1151 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1152 Changed behavior of `any'.
1154 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1155 which are defined the Internet draft
1156 (draft-melnikov-imap-keywords-03.txt).
1157 (elmo-imap4-flags-to-imap): New function.
1158 (elmo-folder-append-buffer): Use it.
1160 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1163 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1164 avoid the bug of Emacs 21.3.
1166 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1168 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1169 function find-coding-system does not exist.
1171 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1173 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1176 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1178 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1181 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1183 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1184 (elmo-network-close-session): Follow the changes in
1185 `elmo-pop3-read-response'.
1186 (elmo-pop3-auth-user): Ditto.
1187 (elmo-pop3-auth-apop): Ditto.
1188 (elmo-network-initialize-session): Ditto.
1189 (elmo-network-authenticate-session): Ditto.
1190 (elmo-network-setup-session): Ditto.
1191 (elmo-folder-status): Ditto.
1192 (elmo-message-fetch-plugged): Ditto.
1193 (elmo-pop3-delete-msg): Ditto.
1195 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1197 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1200 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1202 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1204 (elmo-bind-directory): Ditto.
1206 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1208 * elmo.el (elmo-folder-append-messages): Note on return value.
1209 * elmo-archive.el (elmo-folder-append-messages): Don't return
1210 message numbers which could not be appended.
1212 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1214 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1216 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1218 * elmo-version.el (elmo-version): Up to 2.11.30.
1220 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1222 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1225 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1227 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1228 (elmo-multi-split-numbers): Add elmo-folder object into each
1229 element of return value at first.
1230 (elmo-folder-delete-messages): Follow the above change.
1231 (elmo-folder-detach-messages): Ditto.
1233 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1234 number which is synchronized in target folder.
1236 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1238 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1239 Change default value to symbol `all'.
1240 (elmo-map-message-fetch): Change condition to update overview
1243 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1245 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1246 behavior to update overview.
1247 (elmo-shimbun-update-overview-folder-list): Note it.
1249 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1251 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1254 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1256 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1257 buffer-disable-undo, it is unnecessary.
1258 (elmo-spam-register-good-messages): Ditto.
1260 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1263 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1265 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1267 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1268 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1269 elmo-set-buffer-multibyte.
1270 (elmo-object-load): Ditto.
1271 (elmo-save-buffer): Ditto.
1272 (elmo-delete-char): Ditto.
1273 (elmo-file-field-primitive-condition-match): Ditto.
1274 (elmo-mime-string): Ditto.
1276 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1277 (elmo-archive-field-condition-match): Ditto.
1279 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1281 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1283 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1284 (elmo-nntp-msgdb-create-message): Ditto.
1286 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1288 * elmo.el (elmo-message-match-condition): Ditto.
1289 (elmo-message-match-condition): Ditto.
1291 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1294 * elmo-version.el (elmo-version): Up to 2.11.29.
1296 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1297 (elsp-header): New backend.
1299 * elmo-util.el (elmo-decoded-field-body): New function.
1301 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1303 * elmo-version.el (elmo-version): Up to 2.11.28.
1305 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1307 * elmo-filter.el: Rewrite.
1309 * elmo-version.el (elmo-version): Up to 2.11.27.
1311 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1313 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1314 msgdb path for the localdir folder with absolute path.
1316 * utf7.el: Synch up with latest gnus/utf7.el;
1317 Modified for latest Emacs.
1319 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1321 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1322 shimbun backend couldn't open.
1324 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1326 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1327 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1328 when a destination folder is a filter folder.
1330 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1332 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1333 (elmo-generic-folder-append-messages): Call elmo-message-flags
1334 with argument `msgid'.
1336 * elmo-split.el (elmo-split-subr): Ditto.
1338 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1340 * elmo-multi.el (elmo-message-flags): Ditto.
1342 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1344 * elmo.el (elmo-folder): Add new slot `flag-table'.
1345 (elmo-folder-flag-table): New API.
1346 (elmo-folder-close-flag-table): Ditto.
1347 (elmo-folder-preserve-flags): New function.
1348 (elmo-generic-folder-append-messages): Use
1349 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1350 Flag of a non-registered message, it sets to nil.
1351 Does not set flag to flag-table.
1353 * elmo-maildir.el (elmo-folder-append-buffer): Use
1354 `elmo-folder-preserve-flags'.
1355 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1356 `elmo-folder-close-flag-table'.
1358 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1359 (elmo-archive-folder-append-buffer): Use
1360 `elmo-folder-preserve-flags'.
1362 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1364 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1366 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1367 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1368 `elmo-folder-close-flag-table'.
1370 * elmo-version.el (elmo-version): Up to 2.11.26.
1372 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1374 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1376 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1377 md5's 4th and 5th argument (non-existent in flim one).
1379 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1381 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1382 message, It sets to nil.
1384 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1386 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1389 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1391 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1393 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1395 * elmo-util.el (elmo-uniq-sorted-list): New function.
1396 (elmo-make-number-list): Ditto.
1397 (elmo-number-set-to-number-list): Use elmo-make-number-list
1398 and don't use nreverse.
1400 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1402 * elmo-version.el (elmo-version): Up to 2.11.25.
1404 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1406 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1407 field not exists in message, Use md5 message digest of header.
1409 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1411 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1412 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1413 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1414 * elmo-split.el (elmo-split-subr): Check return value of
1415 elmo-folder-append-buffer.
1417 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1418 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1420 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1423 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1425 * elmo-split.el (elmo-split-subr): Append message with flag.
1427 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1428 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1429 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1431 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1433 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1434 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1435 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1437 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1439 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1440 with a function call of `process-buffer'. All callers are updated.
1441 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1442 Remove redundant `set-buffer' in a while loop.
1444 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1446 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1449 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1451 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1452 elsp-spamfilter-register-buffer-internal with current buffer.
1453 (elmo-spam-register-spam-buffer): Ditto.
1454 (elmo-spam-register-good-buffer): Ditto.
1456 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1458 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1459 if it is not contained in the response(A workaround for courier-imap).
1461 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1463 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1466 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1468 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1471 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1473 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1476 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1478 (elmo-msgdb-message-match-condition): Follow the change above.
1480 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1482 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1485 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1487 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1489 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1491 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1493 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1495 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1498 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1500 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1502 (elmo-file-command-argument): Undo last change for cygwin.
1503 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1505 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1507 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1509 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1510 value returned from elmo-file-find is nil.
1512 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1514 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1517 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1518 instead of insert-file-contents-as-binary.
1519 (elmo-message-set-field): New generic function.
1521 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1522 behavior change on `split-string'.
1524 * elmo-file.el (elmo-file-find): New function.
1525 (elmo-file-command): New user option.
1526 (elmo-file-command-argument): Ditto.
1527 (elmo-file-fetch-max-size): Ditto.
1528 (elmo-file-detect-format): New function.
1529 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1530 Use elmo-file-detect-format.
1531 (elmo-map-folder-list-message-locations): Don't treat directories.
1533 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1535 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1536 (elmo-passwd-alist-clear): Shred password before clear.
1537 (elmo-remove-passwd): Remove all mached pair.
1539 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1541 * elmo.el (elmo-folder-synchronize): Fix description of the return
1544 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1546 * elmo.el (elmo-message-fetch-bodystructure): New method.
1547 (elmo-message-fetch-bodystructure): Define default.
1549 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1550 elmo-message-fetch-bodystructure.
1551 (elmo-message-fetch-bodystructure): Define.
1553 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1555 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1557 * elmo-filter.el (elmo-message-folder): Define.
1559 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1561 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1562 elmo-delete-cr-buffer.
1564 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1566 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1568 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1570 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1571 type seems to be a text.
1573 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1575 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1576 (elmo-spam-register-good-buffer): Ditto.
1577 (elmo-spam-spamassassin-register-messages): Ditto.
1579 * elmo-util.el (elmo-string-member-ignore-case): Define with
1582 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1584 * elmo.el (elmo-folder-type): Undo last change.
1586 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1588 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1591 * elmo-file.el: New file.
1593 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1595 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1597 (elmo-spam-spamassassin-register-messages): New inline function.
1598 (elmo-spam-register-spam-messages): Define.
1599 (elmo-spam-register-good-messages): Ditto.
1601 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1604 * elmo.el (toplevel): Added autoload setting for
1605 `elmo-get-global-flags'.
1606 (elmo-message-has-global-flag-p): New function.
1607 (elmo-message-set-global-flags): Ditto.
1608 (elmo-folder-type): Improvement for name: format.
1610 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1611 availability of keyword flags.
1612 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1613 (elmo-folder-list-flagged-plugged): Renamed from
1614 elmo-folder-list-flagged-unplugged.
1615 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1616 accept any flag as keyword flag.
1617 (elmo-folder-set-flag-plugged): Accept keyword flags.
1618 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1620 * elmo-flag.el (elmo-get-global-flags): New function.
1622 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1625 * elmo-version.el (elmo-version): Up to 2.11.24.
1627 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1629 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1630 elmo-multiple-field-body instead of std11-field-body to check all
1633 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1635 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1638 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1640 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1641 unintern is unbound.
1643 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1645 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1646 Protect from infinite loop.
1648 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1650 * elsp-bogofilter.el
1651 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1652 (elmo-spam-bogofilter-register-messages): New internal function.
1653 (elmo-spam-register-spam-messages): Define.
1654 (elmo-spam-register-good-messages): Ditto.
1656 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1658 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1659 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1660 (elmo-spam-bogofilter-call): Fixed the last change.
1661 (elmo-spam-bogofilter-arguments): Ditto.
1663 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1664 Follow the options change of latest bogofilter.
1666 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1667 (elmo-spam-bogofilter-good-switch): Ditto.
1668 (elmo-spam-bogofilter-arguments-alist): New user option.
1669 (elmo-spam-bogofilter-debug): Ditto.
1670 (elmo-spam-bogofilter-call): Renamed from
1671 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1672 is non-nil, insert output in buffer for debug.
1673 (elmo-spam-bogofilter-arguments): New macro.
1674 (elmo-spam-buffer-spam-p): Use it.
1675 (elsp-bogofilter-register-buffer): Ditto.
1677 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1679 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1682 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1684 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1686 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1687 (elmo-spam-bsfilter-program): Set default value as full path for
1689 (elmo-spam-bsfilter-debug): New user option.
1690 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1691 non-nil, insert output in buffer for debug. Fix treating of
1694 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1696 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1697 `elmo-maildir-flag-specs' element instead of one.
1698 (elmo-map-folder-unset-flag): Ditto.
1699 (Reported by Ken Makimura <macky@astem.or.jp>)
1701 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1702 (elmo-folder-unset-flag-plugged): Ditto.
1704 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1706 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1707 to `reads' slot only if `in-msgdb' is nil.
1709 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1711 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1712 and complement argument list.
1714 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1716 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1717 instead of elmo-folder-list-flagged.
1719 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1721 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1723 * elsp-bsfilter.el: New file.
1725 * elmo-pipe.el (elmo-folder-list-unreads,
1726 elmo-folder-list-answereds,
1727 elmo-folder-list-importants,
1728 elmo-folder-flag-as-important,
1729 elmo-folder-unflag-important,
1730 elmo-folder-flag-as-read,
1731 elmo-folder-unflag-read,
1732 elmo-folder-flag-as-answered,
1733 elmo-folder-unflag-answered): Remove.
1734 (elmo-folder-set-flag): Define.
1735 (elmo-folder-unset-flag): Ditto.
1737 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1738 (elmo-folder-set-flag): Define.
1739 (elmo-folder-unset-flag): Ditto.
1740 (elmo-folder-list-unreads): Remove.
1741 (elmo-folder-list-flagged): Define.
1743 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1744 (elmo-folder-list-unreads,
1745 elmo-folder-list-importants,
1746 elmo-folder-list-answereds,
1747 elmo-folder-list-unreads-plugged,
1748 elmo-folder-list-importants-plugged,
1749 elmo-folder-list-answereds-plugged): Remove.
1750 (elmo-folder-list-flagged-plugged): New method.
1751 (elmo-folder-unflag-important,
1752 elmo-folder-flag-as-important,
1753 elmo-folder-unflag-read,
1754 elmo-folder-flag-as-read,
1755 elmo-folder-unflag-answered,
1756 elmo-folder-flag-as-answered,
1757 elmo-folder-flag-as-read-unplugged,
1758 elmo-folder-unflag-read-unplugged,
1759 elmo-folder-flag-as-important-unplugged,
1760 elmo-folder-unflag-important-unplugged,
1761 elmo-folder-flag-as-answered-unplugged,
1762 elmo-folder-unflag-answered-unplugged): Remove.
1763 (elmo-folder-set-flag): Define.
1764 (elmo-folder-unset-flag): Ditto.
1765 (elmo-folder-set-flag-unplugged): Ditto.
1766 (elmo-folder-unset-flag-unplugged): Ditto.
1768 * elmo-multi.el (elmo-folder-list-unreads,
1769 elmo-folder-list-answereds,
1770 elmo-folder-list-importants,
1771 elmo-folder-flag-as-important,
1772 elmo-folder-unflag-important,
1773 elmo-folder-flag-as-read,
1774 elmo-folder-unflag-read,
1775 elmo-folder-flag-as-answered,
1776 elmo-folder-unflag-answered): Remove.
1777 (elmo-folder-set-flag): Define.
1778 (elmo-folder-unset-flag): Ditto.
1780 * elmo-map.el (elmo-map-folder-unflag-important,
1781 elmo-map-folder-flag-as-important,
1782 elmo-map-folder-unflag-read,
1783 elmo-map-folder-flag-as-read,
1784 elmo-map-folder-unflag-answered,
1785 elmo-map-folder-flag-as-answered): Remove.
1786 (elmo-map-folder-set-flag): New method.
1787 (elmo-map-folder-unset-flag): Ditto.
1788 (elmo-map-folder-list-unreads,
1789 elmo-map-folder-list-importants,
1790 elmo-map-folder-list-answereds): Remove.
1791 (elmo-folder-list-flagged-internal): Define.
1792 (elmo-map-folder-list-flagged): New method.
1794 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1795 (elmo-map-folder-list-unreads,
1796 elmo-map-folder-list-importants,
1797 elmo-map-folder-list-flagged): Remove.
1798 (elmo-map-folder-list-flagged): Define.
1799 (elmo-map-folder-flag-as-important,
1800 elmo-map-folder-unflag-important,
1801 elmo-map-folder-flag-as-read,
1802 elmo-map-folder-unflag-read,
1803 elmo-map-folder-flag-as-answered,
1804 elmo-map-folder-unflag-answered): Remove.
1805 (elmo-maildir-set-mark-messages): New internal function.
1806 (elmo-map-folder-set-flag): Define.
1807 (elmo-map-folder-unset-flag): Ditto.
1809 * elmo.el (toplevel): Added autoload setting for
1810 `elmo-folder-list-global-flag-messages'.
1811 (elmo-folder-list-unreads,
1812 elmo-folder-list-importants,
1813 elmo-folder-list-answereds): Remove.
1814 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1815 Return a list whitch merged with messages have global flag.
1816 (elmo-folder-list-flagged-internal): New method.
1817 (elmo-folder-unflag-important,
1818 elmo-folder-flag-as-important,
1819 elmo-folder-unflag-read,
1820 elmo-folder-flag-as-read,
1821 elmo-folder-unflag-answered,
1822 elmo-folder-flag-as-answered): Remove.
1823 (elmo-folder-set-flag): New method.
1824 (elmo-folder-unset-flag): Ditto.
1825 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1826 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1828 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1829 (elmo-folder-list-unreads-plugged,
1830 elmo-folder-list-importants-plugged,
1831 elmo-folder-list-answereds-plugged,
1832 elmo-folder-list-flagged-unplugged,
1833 elmo-folder-unflag-important-plugged,
1834 elmo-folder-flag-as-important-plugged,
1835 elmo-folder-unflag-read-plugged,
1836 elmo-folder-flag-as-read-plugged,
1837 elmo-folder-unflag-answered-plugged,
1838 elmo-folder-flag-as-answered-plugged): Remove.
1839 (elmo-folder-set-flag-plugged,
1840 elmo-folder-unset-flag-plugged): Define.
1842 * elmo-flag.el (elmo-folder-initialize): Register to
1843 `elmo-global-flag-list' if flag is not global.
1844 (elmo-folder-append-messages): Set flag to source messages.
1846 * elmo-filter.el (elmo-filter-folder-list-unreads,
1847 elmo-folder-list-unreads,
1848 elmo-filter-folder-list-importants,
1849 elmo-folder-list-importants,
1850 elmo-folder-flag-as-read,
1851 elmo-folder-unflag-read,
1852 elmo-folder-flag-as-important,
1853 elmo-folder-unflag-important,
1854 elmo-folder-flag-as-answered,
1855 elmo-folder-unflag-answered): Remove.
1856 (elmo-folder-set-flag): Define.
1857 (elmo-folder-unset-flag): Ditto.
1859 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1860 elmo-folder-unflag-read-dop,
1861 elmo-folder-flag-as-important-dop,
1862 elmo-folder-unflag-important-dop,
1863 elmo-folder-flag-as-answered-dop,
1864 elmo-folder-unflag-answered-dop): Remove.
1865 (elmo-folder-set-flag-dop,
1866 elmo-folder-unset-flag-dop,
1867 elmo-folder-set-important-delayed,
1868 elmo-folder-unset-important-delayed,
1869 elmo-folder-set-read-delayed,
1870 elmo-folder-unset-read-delayed,
1871 elmo-folder-set-answered-delayed,
1872 elmo-folder-unset-answered-delayed): New function.
1873 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1874 (elmo-dop-queue-method-name-alist): Ditto.
1876 * elmo-version.el (elmo-version): Up to 2.11.23.
1878 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1880 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1882 * elsp-sa.el: New file.
1884 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1886 * modb-standard.el (modb-standard-message-entity): New function.
1887 (elmo-msgdb-message-entity): Use it.
1889 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1891 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1892 behavior when one-level is nil.
1894 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1896 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1898 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1900 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1902 (elmo-generic-folder-diff): Ditto.
1904 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1905 (elmo-folder-update-number): Ditto.
1907 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1908 (elmo-folder-next-message-number-dop): Ditto.
1910 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1912 * elmo-filter.el (elmo-folder-msgdb-create): Use
1913 `elmo-message-entity' and `elmo-message-flags' instead of
1914 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1916 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1918 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1921 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1923 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1925 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1927 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1929 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1931 * elmo-version.el (elmo-version): Up to 2.11.22.
1933 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1935 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1937 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1939 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1940 if the message dose not exist.
1942 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1944 * elmo-version.el (elmo-version): Up to 2.11.21.
1946 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1948 * modb-standard.el (toplevel): Don't require mime.
1950 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1952 * elsp-bogofilter.el (toplevel): Don't require path-util.
1953 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1954 (elmo-spam-bogofilter-header): Abolish.
1955 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1956 (elmo-spam-bogofilter-args): New user option.
1957 (elsp-bogofilter-call-bogofilter): New internal function.
1958 (elmo-spam-buffer-spam-p): Use it.
1959 (elsp-bogofilter-register-buffer): Renamed from
1960 `elmo-spam-bogofilter-register-buffer';
1961 Use `elsp-bogofilter-call-bogofilter'.
1962 (elmo-spam-register-spam-buffer): Follow the change above.
1963 (elmo-spam-register-good-buffer): Ditto.
1965 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1967 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1968 message-id is nil do nothing.
1970 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1972 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1974 (elmo-imap4-session): Removed use-flag slot.
1975 (elmo-imap4-session-select-mailbox): Undo last change.
1976 (elmo-folder-use-flag-p): Use
1977 elmo-imap4-disuse-server-flag-mailbox-regexp.
1979 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1981 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1982 (elmo-imap4-session-select-mailbox): Set it up.
1983 (elmo-folder-use-flag-p): Return value of use-flag slot.
1985 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1987 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1989 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1991 * modb-entity.el (elmo-message-entity-handler): Likewise.
1993 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1995 * elmo.el (toplevel): Remove setting of autoloding for
1996 elmo-global-flag-initialize.
1997 (elmo-init): Don't call elmo-global-flag-initialize.
1998 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2000 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2001 (elmo-global-mark-migrate): Don't call it.
2002 (elmo-global-mark-upgrade): Ditto.
2004 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2006 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2007 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2009 * elmo-vars.el (elmo-init-hook): New user option.
2011 * elmo.el (elmo-init): Run the elmo-init-hook.
2013 * elmo-flag.el (elmo-global-mark-migrate): New function.
2015 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2017 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2018 Undo last change (move to elmo-msgdb-unset-flag).
2019 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2022 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2024 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2026 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2027 (elmo-msgdb-unset-flag): Ditto.
2029 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2031 * elmo-split.el (elmo-split): Return split message count.
2033 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2035 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2038 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2040 * elmo.el (elmo-folder-unflag-important): Call
2041 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2044 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2046 (elmo-global-flag-detach): Delete the message from flag folder, if
2047 `delete-if-none' is a symbol `always'.
2049 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2051 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2052 `elmo-spam-spamfilter-decode-buffer'.
2053 (elsp-spamfilter-register-buffer-internal): New internal function.
2054 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2055 (elmo-spam-register-spam-buffer): Ditto.
2056 (elmo-spam-register-good-buffer): Ditto.
2058 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2060 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2061 (elmo-spam-register-spam-buffer): Follow the API change.
2062 (elmo-spam-register-good-buffer): Ditto.
2064 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2065 (elmo-split-spam-p): Added argument plist; Call
2066 `elmo-spam-buffer-spam-p' with new argument register.
2068 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2070 (elmo-spam-message-spam-p): Ditto.
2071 (elmo-spam-register-spam-buffer): Added optional argument
2073 (elmo-spam-register-good-buffer): Ditto.
2074 (elmo-spam-register-spam-messages): Ditto.
2075 (elmo-spam-register-good-messages): Ditto.
2077 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2079 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2080 register into good corpus.
2081 (elmo-spam-register-good-buffer): Fixed to register into bad
2084 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2086 * elmo-version.el (elmo-version): Up to 2.11.20.
2088 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2091 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2092 flag without depending on \Recent flag.
2094 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2096 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2097 (elmo-spam-modified-p): Defined.
2098 (elmo-spam-save-status): Set `modified' slot to nil.
2099 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2100 (elmo-spam-register-good-buffer): Ditto.
2102 * elmo-spam.el (elmo-spam-modified-p): New API.
2104 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2106 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2107 duplicate definition.
2109 * elmo-util.el (elmo-unfold-field-body): New function.
2110 (elmo-msgdb-get-message-id-from-buffer): Use it.
2112 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2113 Fixed the last change; Use elmo-unfold-field-body.
2115 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2117 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2120 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2122 * elmo-spam.el (elmo-spam-save-status): New API.
2124 * elsp-spamfilter.el: New file.
2126 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2128 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2130 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2132 * elmo-split.el (elmo-split-spam-p): New function.
2134 * elmo-spam.el: New file.
2136 * elsp-bogofilter.el: Ditto.
2138 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2140 * elmo.el (elmo-folder-next-message-number): New API.
2141 (elmo-folder-next-message-number): Define.
2142 (elmo-message-field): Don't check folder length.
2144 * elmo-net.el (elmo-folder-next-message-number): Define.
2145 (elmo-folder-next-message-number-unplugged): Define.
2147 * elmo-map.el (elmo-folder-next-message-number): Define.
2148 (elmo-folder-delete-messages): Clear hash value.
2150 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2152 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2153 (elmo-folder-delete-messages-dop-delayed): Always return t.
2155 * elmo-version.el (elmo-version): Up to 2.11.19.
2157 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2159 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2162 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2163 identical cons cell into the mark-alist and the hash table.
2165 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2167 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2168 elmo-folder-list-messages with argument `visible-only' as t.
2170 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2171 (elmo-folder-msgdb-create): Check the target folder.
2173 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2175 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2176 `permanentflag' instead of `flags'.
2177 (elmo-folder-open): Ditto.
2178 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2179 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2180 (elmo-folder-use-flag-p): Always return t.
2181 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2182 `permanentflags' does not exist.
2183 (elmo-folder-open): Ditto.
2185 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2187 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2189 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2191 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2192 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2194 (elmo-folder-open): Ditto.
2195 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2196 slot of the session includes the flag.
2197 (elmo-imap4-session-flag-available-p): New function.
2198 (elmo-imap4-folder-list-flagged): Ditto.
2199 (elmo-folder-list-unreads-plugged): Use it.
2200 (elmo-folder-list-importants-plugged): Ditto.
2201 (elmo-folder-list-answereds-plugged): Ditto.
2202 (elmo-imap4-search-internal-primitive): Ditto.
2203 (elmo-imap4-folder-list-any-plugged,
2204 elmo-imap4-folder-list-digest-plugged): Abolish.
2206 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2209 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2211 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2213 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2215 * elmo-util.el (elmo-get-hash-val): Simplify.
2216 (elmo-set-hash-val): Rewrite.
2218 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2220 * elmo.el (elmo-folder-list-messages): Append killed messages into
2221 result if `visible-only' is nil and `in-msgdb' is non-nil.
2223 * elmo-util.el (elmo-uniq-list): Added optional argument
2226 * modb.el (elmo-msgdb-flag-count): New API.
2228 * modb-standard.el (modb-standard): Added slot flag-count.
2229 (modb-standard-countup-flags): New function.
2230 (modb-standard-load-flag): Call it.
2231 (elmo-msgdb-append): Ditto.
2232 (elmo-msgdb-clear): Clear slot flag-count.
2233 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2234 (elmo-msgdb-unset-flag): Treat `all' flag and call
2235 modb-standard-countup-flags.
2236 (elmo-msgdb-flag-count): Define.
2237 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2238 (elmo-msgdb-delete-messages): Ditto.
2240 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2241 (elmo-msgdb-flag-count): Define.
2243 * elmo.el (elmo-folder-list-messages): Undo last change.
2244 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2245 (elmo-folder-kill-messages): Unset all flags to numbers.
2247 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2248 elmo-folder-kill-messages.
2250 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2251 (elmo-nntp-folder-delete-messages): Abolish.
2253 * elmo-version.el (elmo-version): Up to 2.11.18.
2255 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2257 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2258 (elmo-folder-kill-messages-range): New function.
2259 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2260 instead of elmo-folder-kill-messages-before.
2262 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2264 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2265 elmo-imap4-current-msgdb to decide entity handler.
2267 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2269 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2271 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2273 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2274 (elmo-msgdb-overview-entity-set-number,
2275 elmo-msgdb-overview-entity-get-references,
2276 elmo-msgdb-overview-entity-set-references,
2277 elmo-msgdb-overview-entity-get-from-no-decode,
2278 elmo-msgdb-overview-entity-get-from,
2279 elmo-msgdb-overview-entity-set-from,
2280 elmo-msgdb-overview-entity-get-subject,
2281 elmo-msgdb-overview-entity-get-subject-no-decode,
2282 elmo-msgdb-overview-entity-set-subject,
2283 elmo-msgdb-overview-entity-get-date,
2284 elmo-msgdb-overview-entity-set-date,
2285 elmo-msgdb-overview-entity-get-to,
2286 elmo-msgdb-overview-entity-get-cc,
2287 elmo-msgdb-overview-entity-get-size,
2288 elmo-msgdb-overview-entity-set-size,
2289 elmo-msgdb-overview-entity-get-extra,
2290 elmo-msgdb-overview-entity-set-extra,
2291 elmo-msgdb-overview-entity-get-extra-field,
2292 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2293 (elmo-msgdb-make-index): Use
2294 `elmo-msgdb-overview-entity-get-number-internal'.
2295 (elmo-msgdb-clear-index): Ditto.
2296 (elmo-msgdb-append-entity): Ditto;
2297 Use `elmo-msgdb-overview-entity-get-id-internal'.
2299 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2300 elmo-msgdb-overview-entity-set-number,
2301 elmo-msgdb-overview-entity-get-references,
2302 elmo-msgdb-overview-entity-set-references,
2303 elmo-msgdb-overview-entity-get-from-no-decode,
2304 elmo-msgdb-overview-entity-get-from,
2305 elmo-msgdb-overview-entity-set-from,
2306 elmo-msgdb-overview-entity-get-subject,
2307 elmo-msgdb-overview-entity-get-subject-no-decode,
2308 elmo-msgdb-overview-entity-set-subject,
2309 elmo-msgdb-overview-entity-get-date,
2310 elmo-msgdb-overview-entity-set-date,
2311 elmo-msgdb-overview-entity-get-to,
2312 elmo-msgdb-overview-entity-get-cc,
2313 elmo-msgdb-overview-entity-get-size,
2314 elmo-msgdb-overview-entity-set-size,
2315 elmo-msgdb-overview-entity-get-extra,
2316 elmo-msgdb-overview-entity-set-extra,
2317 elmo-msgdb-overview-entity-get-extra-field,
2318 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2319 and rewrote for backward compatibility.
2321 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2323 * elmo.el (elmo-message-entity-number,
2324 elmo-message-entity-set-number,
2325 elmo-message-entity-field,
2326 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2328 * elmo-msgdb.el (elmo-message-entity-number,
2329 elmo-message-entity-set-number,
2330 elmo-message-entity-field,
2331 elmo-message-entity-set-field): Moved from elmo.el.
2333 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2335 * elmo.el (toplevel): Changed definition orders.
2337 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2339 * modb.el (elmo-msgdb-search): New API .
2340 (elmo-msgdb-match-condition): Ditto.
2342 * modb-standard.el (elmo-msgdb-search): Define.
2344 * modb-legacy.el (elmo-msgdb-search): Ditto.
2346 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2347 from elmo-msgdb-match-condition-internal.
2349 * elmo.el (elmo-folder-search-fast): Abolish.
2350 (elmo-folder-search): Use elmo-msgdb-search and
2351 elmo-with-progress-display.
2353 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2356 * elmo.el (elmo-folder): Remove slot message-modified and
2358 (elmo-folder-set-message-modified): Abolish.
2359 (elmo-generic-folder-commit): Follow the change above.
2360 (elmo-folder-synchronize): Ditto.
2362 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2364 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2366 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2368 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2370 * modb-standard.el (modb-standard-make-message-entity,
2371 elmo-msgdb-make-message-entity,
2372 elmo-msgdb-create-message-entity-from-buffer,
2373 elmo-msgdb-message-entity-number,
2374 elmo-msgdb-message-entity-set-number,
2375 elmo-msgdb-message-entity-field,
2376 elmo-msgdb-message-entity-set-field,
2377 elmo-msgdb-copy-message-entity,
2378 elmo-msgdb-match-condition-internal): Remove.
2380 * modb-entity.el: New file (again).
2382 * modb.el (toplevel): Require modb-entity.
2383 (elmo-msgdb-message-entity-handler): New method.
2385 * modb-standard.el (modb-standard-entity-id): Use
2386 elmo-message-entity-handler.
2387 (modb-standard-load-entity): Ditto.
2388 (elmo-msgdb-append-entity): Ditto.
2389 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2391 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2392 elmo-msgdb-decoded-cache-hashtb,
2393 (modb-legacy-make-message-entity,
2394 elmo-msgdb-make-message-entity,
2395 elmo-msgdb-create-message-entity-from-buffer,
2396 elmo-msgdb-message-entity-number,
2397 elmo-msgdb-message-entity-set-number,
2398 elmo-msgdb-message-entity-field,
2399 elmo-msgdb-message-entity-set-field,
2400 elmo-msgdb-copy-message-entity,
2401 elmo-msgdb-match-condition-internal,
2402 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2404 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2405 (elmo-message-entity-set-number): Ditto.
2406 (elmo-message-entity-field): Ditto.
2407 (elmo-message-entity-set-field): Ditto.
2409 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2411 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2413 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2415 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2416 (elmo-nntp-msgdb-create-message): Ditto.
2418 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2419 (elmo-folder-msgdb-create): Add unread flag.
2421 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2423 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2425 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2427 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2429 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2430 elmo-msgdb-messge-entity-handler.
2431 * elmo-version.el (elmo-version): Up to 2.11.17.
2433 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2435 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2438 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2440 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2442 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2443 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2444 (elmo-msgdb-flag-table): Ditto.
2445 (elmo-msgdb-sort-by-date): Ditto.
2447 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2449 * modb-standard.el (toplevel): Require mime.
2450 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2451 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2452 elmo-msgdb-message-entity-number.
2453 (elmo-msgdb-append-entity): Ditto.
2454 (elmo-msgdb-create-message-entity-from-file): Remove.
2455 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2456 corresponds to the entity.
2457 (elmo-msgdb-message-entity-number): Do nothing currently.
2458 (elmo-msgdb-message-entity-field): Ditto.
2459 (elmo-msgdb-message-entity-set-field): Ditto.
2460 (elmo-msgdb-copy-message-entity): Ditto.
2461 (elmo-msgdb-match-condition-internal): Ditto.
2463 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2465 (elmo-msgdb-create-message-entity-from-file): Remove.
2467 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2469 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2471 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2473 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2475 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2476 (elmo-msgdb-message-entity-field): Ditto.
2477 (elmo-msgdb-message-entity-number): Ditto.
2479 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2481 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2482 Fixed how to set extra field into entity.
2483 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2486 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2487 Fixed how to set extra field into entity.
2488 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2491 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2493 * modb.el (elmo-message-entity-db): New function.
2494 (elmo-msgdb-make-message-entity): New API.
2495 (elmo-msgdb-message-entity-number): Ditto.
2496 (elmo-msgdb-message-entity-set-number): Ditto.
2497 (elmo-msgdb-message-entity-field): Ditto.
2498 (elmo-msgdb-message-entity-set-field): Ditto.
2499 (elmo-msgdb-copy-message-entity): Ditto.
2500 (elmo-msgdb-create-message-entity-from-file): Ditto.
2501 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2502 (elmo-msgdb-match-condition-internal): Ditto.
2504 * modb-standard.el (modb-legacy): Require modb-legacy.
2505 (modb-standard-make-message-entity): New inline function.
2506 (elmo-msgdb-make-message-entity): Define.
2507 (elmo-msgdb-create-message-entity-from-file): Ditto.
2508 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2509 (elmo-msgdb-message-entity-field): Ditto.
2510 (elmo-msgdb-message-entity-set-field): Ditto.
2511 (elmo-msgdb-copy-message-entity): Ditto.
2512 (elmo-msgdb-match-condition-internal): Ditto.
2514 * modb-legacy.el: Don't require modb-entity.
2515 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2516 (elmo-msgdb-match-condition-primitive): Ditto.
2517 (elmo-msgdb-get-decoded-cache): Ditto.
2518 (elmo-msgdb-overview-entity-get-id): Ditto.
2519 (elmo-msgdb-overview-entity-get-number): Ditto.
2520 (elmo-msgdb-overview-entity-set-number): Ditto.
2521 (elmo-msgdb-overview-entity-get-references): Ditto.
2522 (elmo-msgdb-overview-entity-set-references): Ditto.
2523 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2524 (elmo-msgdb-overview-entity-get-from): Ditto.
2525 (elmo-msgdb-overview-entity-set-from): Ditto.
2526 (elmo-msgdb-overview-entity-get-subject): Ditto.
2527 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2528 (elmo-msgdb-overview-entity-set-subject): Ditto.
2529 (elmo-msgdb-overview-entity-get-date): Ditto.
2530 (elmo-msgdb-overview-entity-set-date): Ditto.
2531 (elmo-msgdb-overview-entity-get-to): Ditto.
2532 (elmo-msgdb-overview-entity-get-cc): Ditto.
2533 (elmo-msgdb-overview-entity-get-size): Ditto.
2534 (elmo-msgdb-overview-entity-set-size): Ditto.
2535 (elmo-msgdb-overview-entity-get-extra): Ditto.
2536 (elmo-msgdb-overview-entity-set-extra): Ditto.
2537 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2538 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2539 (elmo-msgdb-number-load): Ditto.
2540 (elmo-msgdb-overview-load): Ditto.
2541 (elmo-msgdb-mark-load): Ditto.
2542 (elmo-msgdb-number-save): Ditto.
2543 (elmo-msgdb-mark-save): Ditto.
2544 (elmo-msgdb-overview-save): Ditto.
2545 (modb-legacy-make-message-entity): New inline function.
2546 (elmo-msgdb-insert-file-header): Ditto.
2547 (elmo-msgdb-make-message-entity): Define.
2548 (elmo-msgdb-create-message-entity-from-file): Ditto.
2549 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2550 (elmo-msgdb-message-entity-number): Ditto.
2551 (elmo-msgdb-message-entity-set-number): Ditto.
2552 (elmo-msgdb-message-entity-field): Ditto.
2553 (elmo-msgdb-message-entity-set-field): Ditto.
2554 (elmo-msgdb-copy-message-entity): Ditto.
2555 (elmo-msgdb-match-condition-internal): Ditto.
2557 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2558 (elmo-message-copy-entity): Rewrite.
2559 (elmo-message-entity-number): Ditto.
2560 (elmo-message-entity-set-number): Ditto.
2561 (elmo-message-entity-field): Use elmo-message-entity-db.
2562 (elmo-message-entity-set-field): Ditto.
2563 (elmo-message-field): Rewrite.
2565 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2567 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2569 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2570 elmo-message-entity-field.
2571 (elmo-shimbun-folder-shimbun-header): Ditto.
2572 (elmo-shimbun-entity-to-header): Ditto.
2573 (elmo-folder-msgdb-create): Ditto.
2574 (elmo-shimbun-msgdb-create-entity): Ditto;
2575 Use elmo-msgdb-create-message-entity-from-buffer.
2576 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2577 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2579 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2580 elmo-msgdb-create-message-entity-from-file and
2581 elmo-message-entity-field.
2583 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2584 elmo-message-entity-number.
2585 (elmo-pop3-msgdb-create-message): Use
2586 elmo-msgdb-create-message-entity-from-buffer,
2587 elmo-message-entity-set-field, elmo-message-entity-number and
2588 elmo-message-entity-set-number.
2590 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2591 the API change in elmo-msgdb-make-message-entity.
2592 (elmo-nntp-msgdb-create-message): Use
2593 elmo-msgdb-create-message-entity-from-buffer.
2595 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2596 elmo-message-entity-field and
2597 elmo-msgdb-create-message-entity-from-file.
2599 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2600 (elmo-msgdb-get-field): Abolish.
2601 (elmo-msgdb-get-number): Rewrite.
2602 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2603 (elmo-msgdb-flag-table): Ditto.
2604 (elmo-msgdb-get-last-message-id,
2605 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2606 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2607 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2608 (elmo-msgdb-create-overview-from-buffer,
2609 elmo-msgdb-overview-get-parent-entity): Abolish.
2611 * elmo-mime.el (elmo-mime-display-as-is): Use
2612 elmo-message-entity-field.
2614 * elmo-map.el (elmo-folder-pack-numbers): Use
2615 elmo-message-entity-set-number.
2617 * elmo-maildir.el (elmo-folder-msgdb-create):
2618 elmo-msgdb-create-message-entity-from-file instead of
2619 elmo-msgdb-create-overview-entity-from-file.
2621 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2623 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2624 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2626 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2627 elmo-messge-entity-field and elmo-message-entity-number.
2628 (elmo-imap4-fetch-callback-1): Call
2629 elmo-msgdb-create-message-entity-from-buffer instead of
2630 elmo-msgdb-create-overview-from-buffer.
2631 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2632 (elmo-find-fetch-strategy): Likewise.
2634 * elmo-flag.el (elmo-folder-msgdb-create): Call
2635 elmo-localdir-msgdb-create-entity with argument msgdb.
2637 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2638 and elmo-message-entity-set-number.
2640 * elmo-cache.el (elmo-folder-msgdb-create): Use
2641 elmo-message-entity-field.
2642 (elmo-folder-msgdb-create): Call
2643 elmo-msgdb-create-message-entity-from-file instead of
2644 elmo-msgdb-create-overview-entity-from-file.
2646 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2647 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2648 instead of elmo-msgdb-create-overview-from-buffer.
2649 (elmo-archive-msgdb-create-entity): Ditto.
2650 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2651 elmo-message-entity-field.
2652 (elmo-archive-parse-mmdf): Ditto.
2654 * modb-entity.el: Removed.
2656 * elmo-version.el (elmo-version): Up to 2.11.16.
2658 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2660 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2662 (elmo-folder-flag-as-answered): Ditto.
2664 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2666 * modb-standard.el: New file.
2668 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2669 elmo-msgdb-convert-type is `sync'.
2671 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2672 (elmo-msgdb-convert-type): New user option.
2674 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2675 (elmo-load-msgdb): Auto detect saved type.
2677 * elmo-version.el (elmo-version): Up to 2.11.15.
2679 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2681 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2683 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2684 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2685 with argument `delete-if-none' when dst-folder is 'null.
2687 * elmo-flag.el (elmo-folder-append-messages): Defined.
2688 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2690 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2692 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2694 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2696 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2697 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2698 (elmo-folder-commit): Ditto.
2700 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2702 * elmo-flag.el: New file.
2704 * elmo-mark.el: Removed.
2706 * modb-legacy.el (modb-legacy-new-mark,
2707 modb-legacy-unread-uncached-mark,
2708 modb-legacy-unread-cached-mark,
2709 modb-legacy-read-uncached-mark,
2710 modb-legacy-answered-cached-mark,
2711 modb-legacy-answered-uncached-mark,
2712 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2713 All other related portions are changed.
2715 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2716 (elmo-folder-list-messages-with-global-mark): Abolish.
2717 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2718 (elmo-folder-flag-as-important): Ditto.
2719 (elmo-folder-unflag-read): Ditto.
2720 (elmo-folder-flag-as-read): Ditto.
2721 (elmo-folder-unflag-answered): Ditto.
2722 (elmo-folder-flag-as-answered): Ditto.
2723 (elmo-message-encache): Return the cache path.
2724 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2725 (elmo-message-set-flag): Transitional implementation.
2726 (elmo-message-unset-flag): Ditto.
2727 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2728 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2729 (elmo-init): Call elmo-global-flag-initialize.
2730 (toplevel): Added autoload settings for elmo-flag.
2732 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2734 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2735 (elmo-file-cache-delete): Don't treat global-mark.
2737 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2739 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2741 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2742 `elmo-global-flags-set'.
2744 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2746 (elmo-folder-unflag-read): Ditto.
2747 (elmo-folder-unflag-important): Ditto.
2748 (elmo-folder-flag-as-important): Ditto.
2749 (elmo-folder-unflag-answered): Ditto.
2750 (elmo-folder-flag-as-answered): Ditto.
2752 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2753 `elmo-global-flags-set'.
2754 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2756 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2758 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2760 (elmo-folder-flag-as-important): Ditto.
2761 (elmo-folder-unflag-important): Ditto.
2762 (elmo-folder-flag-as-important): Ditto.
2763 (elmo-folder-unflag-read): Ditto.
2764 (elmo-folder-flag-as-read): Ditto.
2765 (elmo-folder-unflag-answered): Ditto.
2766 (elmo-folder-flag-as-answered): Ditto.
2768 * elmo-multi.el (elmo-folder-list-importants): Don't call
2769 elmo-folder-list-messages-with-global-mark.
2770 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2771 (elmo-folder-unflag-important): Ditto.
2772 (elmo-folder-flag-as-read): Ditto.
2773 (elmo-folder-unflag-read): Ditto.
2774 (elmo-folder-flag-as-answered): Ditto.
2775 (elmo-folder-unflag-answered): Ditto.
2777 * elmo-msgdb.el (elmo-msgdb-new-mark,
2778 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2779 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2780 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2781 (Moved to modb-legacy.el).
2782 (elmo-flag-table-get): Treat important flag too.
2784 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2786 (elmo-map-folder-flag-as-important): Ditto.
2787 (elmo-map-folder-unflag-read): Ditto.
2788 (elmo-map-folder-flag-as-read): Ditto.
2789 (elmo-map-folder-unflag-answered): Ditto.
2790 (elmo-map-folder-flag-as-answered): Ditto.
2791 (elmo-folder-unflag-important): Ditto.
2792 (elmo-folder-flag-as-important): Ditto.
2793 (elmo-folder-unflag-read): Ditto.
2794 (elmo-folder-flag-as-read): Ditto.
2795 (elmo-folder-unflag-answered): Ditto.
2796 (elmo-folder-flag-as-answered): Ditto.
2798 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2799 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2801 (elmo-map-folder-unflag-important): Ditto.
2802 (elmo-map-folder-flag-as-read): Ditto.
2803 (elmo-map-folder-unflag-read): Ditto.
2804 (elmo-map-folder-flag-as-answered): Ditto.
2805 (elmo-map-folder-unflag-answered): Ditto.
2807 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2808 `elmo-global-flags-set'.
2809 (elmo-global-flags-set): Added autoload setting.
2811 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2814 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2815 `elmo-msgdb-global-mark-set'.
2816 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2817 Call `elmo-global-flags-set'.
2818 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2820 (elmo-folder-flag-as-important-plugged): Ditto.
2821 (elmo-folder-unflag-read-plugged): Ditto.
2822 (elmo-folder-flag-as-read-plugged): Ditto.
2823 (elmo-folder-unflag-answered-plugged): Ditto.
2824 (elmo-folder-flag-as-answered-plugged): Ditto.
2825 (elmo-global-flags-set): Added autoload setting.
2827 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2829 (elmo-folder-unflag-read): Ditto.
2830 (elmo-folder-flag-as-important): Ditto.
2831 (elmo-folder-unflag-important): Ditto.
2832 (elmo-folder-flag-as-answered): Ditto.
2833 (elmo-folder-unflag-answered): Ditto.
2835 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2836 change of `mark'->`flag'.
2837 (elmo-dop-queue-method-name-alist): Ditto.
2838 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2839 (elmo-folder-unflag-read-dop): Ditto.
2840 (elmo-folder-flag-as-important-dop): Ditto.
2841 (elmo-folder-unflag-important-dop): Ditto.
2842 (elmo-folder-flag-as-answered-dop): Ditto.
2843 (elmo-folder-unflag-answered-dop): Ditto.
2845 * elmo-cache.el (elmo-folder-msgdb-create): Call
2846 `elmo-global-flags-set'.
2848 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2849 Call `elmo-global-flags-set'.
2850 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2851 elmo-archive-parse-mmdf with argument `folder'.
2852 (elmo-archive-parse-mmdf): Added argument `folder';
2853 Call `elmo-global-flags-set'.
2855 * elmo-version.el (elmo-version): Up to 2.11.14.
2857 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2859 * modb.el (elmo-msgdb-length): Define.
2861 * elmo.el (elmo-make-folder): Fixed.
2862 (elmo-generic-folder-append-messages): Follow the API change.
2864 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2867 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2869 * modb.el: New file.
2871 * modb-entity.el: Ditto.
2873 * modb-legacy.el: Ditto.
2875 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2876 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2877 of `elmo-msgdb-overview-get-entity'.
2878 (elmo-msgdb-get-field): Ditto.
2879 (elmo-msgdb-merge): Moved to `elmo.el'.
2880 (elmo-msgdb-length): Removed; redefine as modb method.
2881 (elmo-msgdb-change-mark): Abolish.
2882 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2883 (elmo-msgdb-match-condition): Don't use mark.
2884 (elmo-msgdb-overview-get-entity): Abolish.
2885 Split modb part into `modb*.el'.
2887 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2889 * elmo-shimbun.el (shimbun-mua-search-id): Use
2890 `elmo-msgdb-message-entity' instead of
2891 `elmo-msgdb-overview-get-entity'.
2892 (elmo-shimbun-folder-shimbun-header): Ditto.
2893 (elmo-shimbun-get-headers): Ditto.
2894 (elmo-shimbun-update-overview): Ditto.
2896 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2898 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2900 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2901 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2903 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2904 `elmo-msgdb-mark-to-flags'.
2906 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2907 `elmo-msgdb-set-path'.
2909 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2911 * elmo-version.el (elmo-version): Up to 2.11.13.
2913 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2915 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2918 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2920 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2923 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2925 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2926 instead of `elmo-msgdb-get-cached'.
2927 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2929 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2930 (elmo-msgdb-set-cached): Ditto.
2931 (elmo-msgdb-set-flag): Rewrite.
2932 (elmo-msgdb-unset-flag): Ditto.
2934 * elmo-msgdb.el: Rewrite with luna.
2936 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2937 (elmo-folder-msgdb): Follow the change above.
2938 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2939 (elmo-folder-unmark-important): Follow the API change.
2940 (elmo-folder-mark-as-important): Ditto.
2941 (elmo-folder-unmark-read): Ditto.
2942 (elmo-folder-mark-as-read): Ditto.
2943 (elmo-folder-unmark-answered): Ditto.
2944 (elmo-folder-mark-as-answered): Ditto.
2945 (elmo-folder-clear): Likewise.
2947 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2948 instead of `elmo-msgdb-load' (renamed).
2950 * elmo-version.el (elmo-version): Up to 2.11.12.
2952 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2954 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2956 (elmo-message-mark): Abolish.
2957 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2958 instead of `elmo-msgdb-change-mark'.
2960 * elmo-pipe.el (elmo-message-mark): Abolish.
2962 * elmo-multi.el (elmo-message-mark): Ditto.
2964 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2965 (elmo-msgdb-unread-uncached-mark): Ditto.
2966 (elmo-msgdb-unread-cached-mark): Ditto.
2967 (elmo-msgdb-read-uncached-mark): Ditto.
2968 (elmo-msgdb-answered-cached-mark): Ditto.
2969 (elmo-msgdb-answered-uncached-mark): Ditto.
2970 (elmo-msgdb-important-mark): Ditto.
2971 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2973 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2975 (elmo-flag-table-load): Changed flag to list of flag.
2976 (elmo-flag-table-set): If flags is nil, set read flag.
2977 (elmo-flag-table-get): Return derived flags from global mark,
2978 cache status and saved flags.
2979 (elmo-msgdb-flag-table): Follow the change above.
2980 (elmo-msgdb-out-of-date-messages): New function.
2982 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2984 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2986 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2988 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2989 (elmo-nntp-msgdb-create-message): Ditto.
2991 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2993 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2995 (elmo-folder-msgdb-create): Follow the API change.
2997 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2998 (elmo-folder-append-messages): Ditto.
3000 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3001 (elmo-folder-append-buffer): Ditto.
3003 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3005 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3007 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3008 (elmo-archive-parse-mmdf): Ditto.
3010 * elmo-version.el (elmo-version): Up to 2.11.11.
3012 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3014 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3017 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3019 * elmo-pipe.el (elmo-message-flags): Defined.
3021 * elmo-multi.el (elmo-message-flags): Ditto.
3023 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3025 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3026 `elmo-msgdb-delete-msgs'.
3028 * elmo.el (elmo-folder-count-flags): Don't use
3029 `elmo-msgdb-get-mark-alist'.
3030 (elmo-folder-detach-messages): Follow the API change.
3032 * elmo.el (elmo-folder-list-messages): Append killed messages into
3033 result if `visible-only' is nil.
3035 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3037 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3038 (elmo-folder-update-number): Likewise.
3040 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3041 (elmo-pop3-sort-msgdb-by-original-number): Use
3042 `elmo-msgdb-sort-entities'.
3044 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3045 (elmo-msgdb-sort-by-date): Use it.
3046 (elmo-msgdb-overview-sort-by-date): Abolish.
3048 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3050 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3051 (elmo-msgdb-flags): New function.
3052 (elmo-msgdb-merge): Use elmo-msgdb-append.
3054 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3057 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3059 * elmo-dop.el (elmo-folder-status-dop): Use
3060 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3062 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3064 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3066 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3068 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3070 * elmo-util.el (elmo-with-progress-display): New macro.
3072 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3074 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3076 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3077 `elmo-folder-list-message-entities' instead of
3078 `elmo-msgdb-get-overview'.
3079 (elmo-map-folder-list-message-locations): Ditto.
3081 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3082 methods instead of treat directly).
3083 (elmo-msgdb-clear): Ditto.
3084 (elmo-msgdb-delete-msgs): Ditto.
3085 (elmo-msgdb-sort-by-date): Ditto.
3087 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3089 (elmo-nntp-folder-msgdb-create): Follow the API change.
3091 * elmo-version.el (elmo-version): Up to 2.11.10.
3093 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3095 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3096 (elmo-msgdb-flags-to-mark): Ditto.
3097 (elmo-msgdb-append-entity): Ditto.
3099 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3100 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3101 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3102 (elmo-archive-parse-mmdf): Ditto.
3104 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3106 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3108 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3110 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3112 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3114 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3116 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3118 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3120 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3121 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3124 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3125 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3126 instead of directly construction.
3127 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3128 instead of construct msgdb.
3130 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3131 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3132 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3133 instead of construct msgdb.
3135 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3137 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3138 when field is from or subject.
3140 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3142 * elmo-multi.el (elmo-message-entity-parent): Define.
3143 (elmo-folder-search): Rewrite.
3145 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3147 * elmo-multi.el (elmo-message-cached-p): Define.
3149 * elmo.el (elmo-message-cached-p): New method.
3150 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3151 (elmo-message-flags): New method.
3152 (elmo-message-flagged-p): New function.
3154 * elmo-version.el (elmo-version): Up to 2.11.9.
3156 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3158 * elmo-version.el (elmo-version): Up to 2.11.8.
3160 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3162 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3164 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3166 * elmo.el (elmo-folder-detach-messages): Undo last change.
3168 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3170 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3172 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3173 only when src folder type is pop3.
3175 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3177 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3178 elmo-msgdb-overview-entity-get-number instead of
3179 elmo-message-entity-number.
3181 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3183 * elmo-version.el (elmo-version): Up to 2.11.7.
3185 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3187 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3190 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3191 (elmo-msgdb-merge): New function.
3192 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3193 (elmo-msgdb-make-index): Rewrite.
3195 * elmo-version.el (elmo-version): Up to 2.11.6.
3197 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3198 use it as a the path for loading message entities.
3200 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3202 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3204 * elmo-filter.el (elmo-folder-set-message-modified): Set
3205 message-modified slot of itself if it does not require target msgdb.
3207 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3208 if folder length is zero.
3209 (elmo-mime-display-as-is): Ditto.
3211 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3213 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3215 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3217 * elmo.el (elmo-folder-set-message-modified): New method.
3218 (elmo-generic-folder-commit): Use it.
3219 (elmo-folder-synchronize): Ditto.
3221 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3222 (elmo-folder-commit): Remove duplicate definition.
3224 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3226 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3228 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3230 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3231 (elmo-strict-folder-diff): Ditto.
3232 (elmo-folder-set-info-max-by-numdb): Simplify.
3234 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3235 elmo-msgdb-list-messages.
3237 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3238 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3240 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3242 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3243 visible-only is non-nil.
3244 (elmo-folder-confirm-appends): Changed message.
3245 (elmo-folder-synchronize): Added argument disable-killed.
3247 * elmo-multi.el (elmo-folder-synchronize): Added argument
3250 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3252 * elmo-version.el (elmo-version): Up to 2.11.5.
3254 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3257 * elmo-util.el (elmo-list-filter): Simplify.
3259 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3260 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3261 (elmo-generic-folder-diff): Abolish argument.
3262 (elmo-msgdb-load): Don't use number-alist.
3264 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3266 * elmo-pipe.el (elmo-folder-diff): Ditto.
3268 * elmo-nmz.el (elmo-folder-diff): Ditto.
3270 * elmo-net.el (elmo-folder-diff): Ditto.
3272 * elmo-maildir.el (elmo-folder-diff): Ditto.
3274 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3276 * elmo-multi.el (elmo-folder-diff): Ditto
3277 (elmo-multi-folder-diff): Rewrite.
3279 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3281 * elmo-pipe.el (elmo-folder-msgdb): Define.
3283 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3285 * elmo.el (elmo-message-set-cached): Define as a method.
3287 * elmo-pipe.el (elmo-message-set-cached): Define.
3288 (elmo-find-fetch-strategy): Ditto.
3290 * elmo-multi.el (elmo-message-set-cached): Define.
3291 (elmo-find-fetch-strategy): Rewrite.
3293 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3295 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3297 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3299 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3300 instead of number-alist.
3302 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3303 mark nor message-id when msgdb of source folder is not loaded.
3305 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3307 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3309 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3311 * elmo.el (elmo-folder-length): Don't require msgdb.
3313 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3315 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3316 (elmo-message-field): Ditto.
3318 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3319 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3321 (elmo-map-folder-list-answereds): Define.
3322 (elmo-maildir-list-location): Treat 'R' info.
3323 (elmo-folder-msgdb-create): Treat flag-table.
3324 (elmo-folder-append-messages): Save flag-table.
3326 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3328 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3329 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3331 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3333 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3335 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3336 'read when mark is null.
3338 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3340 * elmo-version.el (elmo-version): Up to 2.11.4.
3342 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3344 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3345 (elmo-folder-mark-as-answered): Ditto.
3347 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3349 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3350 (elmo-pop3-get-session): Make msgdb directory after session.
3351 (elmo-folder-exists-p): Check exactly at the first time even when the
3352 elmo-pop3-exists-exactly is nil.
3354 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3355 (elmo-folder-list-messages): Define instead of
3356 elmo-folder-list-messages-internal.
3357 (elmo-folder-check): Check destination folder.
3358 (elmo-folder-synchronize): Drain the pipe.
3360 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3361 when msgdb is not loaded.
3363 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3365 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3366 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3369 * elmo.el (elmo-folder-kill-messages-before): New function.
3370 (elmo-folder-kill-messages): Ditto.
3371 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3373 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3374 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3375 killed not by synchronize (e.g. scoring).
3377 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3379 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3381 (elmo-folder-search): Follow the change above.
3383 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3384 into the candidates of search field.
3386 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3388 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3389 (elmo-msgdb-unset-flag): Ditto.
3391 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3393 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3395 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3396 (elmo-folder-commit): Define.
3397 (elmo-folder-synchronize): Ditto.
3398 (elmo-folder-list-flagged): Ditto.
3399 (elmo-folder-commit): Ditto.
3400 (elmo-folder-length): Ditto.
3401 (elmo-folder-count-flags): Ditto.
3402 (elmo-message-mark): Ditto.
3403 (elmo-message-field): Ditto.
3404 (elmo-message-entity): Ditto.
3405 (elmo-message-folder): Ditto.
3407 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3409 * elmo.el (elmo-message-field): Define as a method.
3411 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3412 (elmo-message-field): Define.
3414 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3415 (elmo-folder-list-importants): Ditto.
3416 (elmo-folder-list-answereds): Ditto.
3418 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3420 (elmo-folder-mark-as-read): Ditto.
3421 (elmo-folder-unmark-read): Ditto.
3422 (elmo-folder-mark-as-answered): Ditto.
3423 (elmo-folder-unmark-answered): Ditto.
3424 (elmo-folder-list-flagged): Define.
3425 (elmo-folder-commit): Ditto.
3426 (elmo-folder-length): Ditto.
3427 (elmo-folder-count-flags): Ditto.
3429 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3431 * elmo.el (elmo-folder-detach-messages): New method.
3432 (elmo-folder-move-messages): Use it.
3433 (elmo-folder-synchronize): Ditto.
3435 * elmo-multi.el (elmo-folder-detach-messages): Define.
3437 * elmo.el (elmo-message-copy-entity): New function.
3438 (elmo-message-entity-set-number): Ditto.
3439 (elmo-message-mark): Define as method.
3441 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3442 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3443 (elmo-message-entity): Fixed last change.
3444 (elmo-message-mark): Define.
3445 (elmo-folder-msgdb-create): Abolish.
3446 (elmo-multi-folder-append-msgdb): Ditto.
3447 (elmo-multi-folder-diff): Fixed.
3448 (elmo-multi-split-number-alist): Removed.
3449 (elmo-multi-split-mark-alist): Removed.
3450 (elmo-folder-list-messages): Define.
3451 (elmo-folder-list-messages-internal): Removed.
3453 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3454 local file messages.
3455 (elmo-folder-msgdb-create): Fixed read mark.
3457 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3459 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3462 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3464 * elmo.el (elmo-folder-list-message-entities): Define as inline
3466 (elmo-folder-messages): Abolish.
3468 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3470 (elmo-folder-synchronize): Define.
3471 (elmo-message-entity): Define.
3473 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3475 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3476 elmo-imap4-session-select-mailbox.
3478 * elmo.el (elmo-folder-move-messages): Don't display any message.
3480 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3482 (elmo-imap4-session-check): Don't wait CHECK response.
3483 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3485 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3487 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3489 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3491 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3493 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3496 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3497 (elmo-folder-list-message-entities): Added argument in-msgdb and
3499 (elmo-folder-synchronize): Define as a method.
3501 * elmo-nntp.el (elmo-folder-initialize): Don't use
3502 elmo-nntp-default-user if zero-length username is specified
3505 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3507 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3508 server name in case with username.
3509 (XXX: this is ad-hoc fix against username includes "@", it
3510 should be solved fundamentally)
3512 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3514 * elmo-nntp.el (elmo-nntp-debug): New function.
3515 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3516 (elmo-network-authenticate-session): Hide auth-info from the log.
3518 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3519 user name if it is equal to elmo-nntp-default-user.
3521 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3523 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3524 instead of shimbun-server-internal;
3525 Use shimbun-current-group instead of shimbun-current-group-internal.
3526 (elmo-folder-plugged-p): Use shimbun-server instead of
3527 shimbun-server-internal.
3528 (elmo-folder-set-plugged): Ditto.
3529 (elmo-net-port-info): Ditto.
3530 (elmo-folder-check): Ditto.
3531 (elmo-folder-expand-msgdb-path): Ditto.
3532 (elmo-folder-list-subfolders): Ditto.
3534 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3536 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3537 Convert field-name to lower case.
3538 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3540 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3542 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3543 `message' and `error' take format string.
3545 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3547 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3549 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3551 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3552 recursive call (can't byte compile on emacs 20.7).
3554 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3556 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3557 (elmo-folder-list-message-entities): New API.
3558 (elmo-message-entity): Ditto.
3559 (elmo-message-entity-parent): Ditto.
3560 (elmo-folder-do-each-message-entity): Ditto.
3561 (elmo-message-entity-number): Ditto.
3562 (elmo-message-entity-field): Ditto.
3563 (elmo-message-entity-set-field): Ditto.
3564 (elmo-folder-count-flags): Ditto.
3565 (elmo-folder-length): Ditto.
3567 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3570 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3571 (elmo-msgdb-count-marks): Abolish.
3572 (elmo-msgdb-make-entity): Ditto.
3573 (elmo-msgdb-do-each-entity): Ditto.
3574 (elmo-msgdb-message-entity): New inline function.
3575 (elmo-msgdb-message-entity-field): Ditto.
3576 (elmo-msgdb-message-entity-set-field): Ditto.
3577 (elmo-msgdb-make-message-entity): New function.
3579 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3581 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3582 to flag. (All other related portions are changed.)
3583 (elmo-folder-msgdb-create): Likewise.
3584 (elmo-generic-folder-append-messages): Use flag-table instead of
3586 (elmo-folder-move-messages): Removed redundant process.
3587 (elmo-folder-synchronize): Likewise.
3589 * elmo-msgdb.el (elmo-flag-table-get): New function.
3590 (elmo-flag-table-save): Fixed.
3591 (elmo-msgdb-length): New inline function.
3592 (elmo-msgdb-flag-table): New function.
3593 (elmo-msgdb-mark): Add optional argument new.
3594 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3595 (elmo-msgdb-seen-list): Ditto.
3596 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3599 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3601 * elmo.el (elmo-message-set-mark): Abolish.
3602 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3603 (All related portions are changed.)
3605 * elmo-msgdb.el (toplevel): Added comment.
3606 (elmo-load-msgdb): Added 4th element `path'.
3607 (elmo-msgdb-append): Follow the change above.
3608 (elmo-msgdb-clear): Ditto.
3609 (elmo-msgdb-delete-msgs): Ditto.
3610 (elmo-msgdb-get-path): New inline function.
3611 (elmo-msgdb-set-path): Ditto.
3612 (elmo-flag-table-filename): New variable.
3613 (elmo-flag-table-load): New function.
3614 (elmo-flag-table-set): Ditto.
3615 (elmo-flag-table-save): Ditto.
3616 (elmo-msgdb-get-field-value): Abolish.
3617 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3619 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3621 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3622 the folder has been deleted successfully.
3623 * elmo-imap4.el (elmo-folder-delete): Ditto.
3624 * elmo-archive.el (elmo-folder-delete): Ditto.
3625 * elmo-localdir.el (elmo-folder-delete): Ditto.
3626 * elmo-maildir.el (elmo-folder-delete): Ditto.
3628 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3630 * elmo-util.el (elmo-string-member-ignore-case): New function.
3631 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3632 (elmo-imap4-fetch-callback-1-subr): Likewise.
3634 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3636 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3637 the case of the name attribute "\Noselect".
3639 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3641 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3643 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3644 flist, is not always a member of onum-alist.
3646 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3648 * elmo-version.el (elmo-version): Up to 2.11.3.
3650 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3652 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3653 copied from localdir's one.
3655 * elmo-pipe.el (elmo-folder-rename): New method, rename
3656 destination folder with leaving source folder as it is.
3658 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3660 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3663 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3665 * elmo-version.el (elmo-version): Up to 2.11.2.
3667 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3669 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3670 shimbun-open in case of "@".
3671 (elmo-folder-open-internal): Cope with shimbun = nil case.
3672 (elmo-folder-plugged-p): Ditto.
3673 (elmo-folder-list-subfolders): Make list for "@/" group.
3675 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3677 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3678 mailbox (e.g. for %~/something).
3680 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3682 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3683 Replace nested conditional with guard clauses.
3685 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3687 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3690 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3693 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3695 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3696 Replace nested conditional with guard clauses.
3698 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3700 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3701 (elmo-passwd-alist-save): Ditto.
3702 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3704 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3706 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3707 dir-name only if it is absolute path.
3708 (TODO: distinguish +/something and +something)
3710 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3712 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3713 path for "+~/something".
3715 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3717 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3718 as non-directory, cause error before rename-file.
3719 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3720 apropriately, mimic localdir's one.
3721 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3723 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3725 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3727 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3729 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3731 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3733 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3734 is included in the global-mark or not.
3736 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3738 * utf7.el (toplevel): Avoid error when the function
3739 find-coding-system does not exist.
3741 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3743 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3744 cache even if the folder is plugged.
3745 (elmo-nntp-search-primitive): Do nothing when body search is
3746 invoked (although it is not used by the change above).
3747 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3749 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3751 * elmo-version.el (elmo-version): Up to 2.11.1.
3753 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3755 * elmo-archive.el: Specify charset.
3757 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3759 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3760 process buffer lives or not.
3762 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3763 while flushing queues (It causes infinite loop).
3765 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3767 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3769 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3771 * utf7.el (toplevel): Check the ucs features dynamically.
3772 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3774 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3775 folder is creatabe or not if it already exists.
3777 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3779 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3781 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3783 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3784 (elmo-imap4-read-response): Take care of garbage response.
3786 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3788 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3789 just return nil instead of error.
3791 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3793 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3794 search-key is "body".
3796 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3798 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3799 of elmo-string-matched-assoc to use match-data.
3800 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3802 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3804 * elmo-split.el (elmo-split->): New function.
3805 (elmo-split-<): Ditto.
3807 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3809 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3810 workaround for invalid message-id.
3812 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3814 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3815 return normal pop3 session or pop3 biff session.
3817 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3819 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3820 info part to the cur files when the new files already have it.
3821 (Adviced by Jared Rhine <jared@wordzoo.com>)
3823 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3825 * elmo-split.el (elmo-split-default-action): New variable.
3826 (elmo-split-subr): Use it if all other conditions are passed.
3827 Extend `fname' and rename it as `action'. (implemented
3828 Teranishi-san's idea in [wl:10800])
3830 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3832 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3833 * elmo-util.el: Ditto.
3835 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3837 * elmo.el (elmo-message-accessible-p): Renamed from
3838 elmo-message-cached-p and rewritten.
3840 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3842 * elmo.el (elmo-folder-list-flagged): New generic function.
3843 (elmo-folder-list-importants): New implementation.
3844 (elmo-folder-list-answereds): Ditto.
3845 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3847 (elmo-message-cached-p): New function.
3848 (elmo-message-set-flag): Ditto (no content).
3849 (elmo-message-unset-flag): Ditto.
3850 (elmo-folder-list-messages-mark-match): Abolish.
3852 * elmo-util.el (elmo-regexp-opt): New function.
3854 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3855 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3857 (elmo-msgdb-list-flagged): New function.
3859 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3860 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3863 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3865 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3867 * elmo-version.el (elmo-version): Up to 2.11.0.
3869 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3871 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3872 `elmo-file-cache-exists-p'; use proper mark that depends on
3874 (elmo-msgdb-unset-flag): Ditto.
3875 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3877 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3878 with 4th argument `use-cache'.
3880 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3882 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3883 (elmo-folder-mark-as-important): Ditto.
3884 (elmo-folder-unmark-read): Ditto.
3885 (elmo-folder-mark-as-read): Ditto.
3886 (elmo-folder-unmark-answered): Ditto.
3887 (elmo-folder-mark-as-answered): Ditto.
3889 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3891 (elmo-msgdb-mark): Likewise.
3892 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3893 (elmo-msgdb-unset-flag): Likewise.
3895 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3897 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3899 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3902 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3904 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3905 set spool-length to 0.
3907 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3909 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3910 (elmo-dop-queue-flush): Fixed last change.
3912 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3914 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3915 if require-msgdb slot is nil.
3916 (elmo-folder-list-importants): Likewise.
3918 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3920 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3923 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3924 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3927 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3929 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3931 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3933 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3935 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3937 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3939 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3940 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3942 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3944 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3945 the problem reported by Sean Rima [wl-en:180].
3947 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3949 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3951 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3953 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3955 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3957 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3959 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3961 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3963 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3965 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3968 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3970 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3971 (elmo-folder-mark-as-read): Follow the API change.
3972 (elmo-message-set-cached): New function.
3974 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3976 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3978 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3979 (elmo-folder-mark-as-important): Ditto.
3980 (elmo-folder-unmark-read): Ditto.
3981 (elmo-folder-mark-as-read): Ditto.
3982 (elmo-folder-unmark-answered): Ditto.
3983 (elmo-folder-mark-as-answered): Ditto.
3985 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3986 (elmo-folder-unmark-important): Ditto.
3987 (elmo-folder-mark-as-read): Ditto.
3988 (elmo-folder-unmark-read): Ditto.
3989 (elmo-folder-mark-as-answered): Ditto.
3990 (elmo-folder-unmark-answered): Ditto.
3992 * elmo-mark.el (toplevel): Removed some mark method definitions.
3994 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3995 (elmo-map-folder-mark-as-answered): Ditto.
3996 (elmo-folder-unmark-important): Add :before qualifier.
3997 (elmo-folder-mark-as-important): Ditto.
3998 (elmo-folder-unmark-read): Ditto.
3999 (elmo-folder-mark-as-read): Ditto.
4000 (elmo-folder-unmark-answered): Define.
4001 (elmo-folder-mark-as-answered): Ditto.
4003 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4004 (elmo-map-folder-unmark-answered): Ditto.
4006 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4008 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4009 (elmo-folder-mark-as-important): Ditto.
4010 (elmo-folder-unmark-read): Ditto.
4011 (elmo-folder-mark-as-read): Ditto.
4012 (elmo-folder-unmark-answered): Ditto.
4013 (elmo-folder-mark-as-answered): Ditto.
4015 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4016 `mark'; evaluate mark condition.
4017 (elmo-msgdb-match-condition-internal): New function.
4018 (elmo-msgdb-match-condition): Call it; changed argument.
4020 * elmo.el (elmo-folder-search): Follow the API change on
4021 `elmo-msgdb-match-condition'.
4023 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4025 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4026 original mark is non-nil.
4028 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4030 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4031 (elmo-map-folder-list-answereds): New method.
4032 (elmo-folder-list-unreads): Add :around qualifier.
4033 (elmo-folder-list-importants): Ditto.
4034 (elmo-folder-list-answereds): Ditto.
4036 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4038 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4040 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4041 method if msgdb is not required.
4042 (elmo-filter-folder-list-importants): Don't treat global-mark.
4044 * elmo.el (elmo-folder-list-importants): Ditto.
4046 * elmo-net.el (elmo-folder-list-importants): Ditto.
4048 * elmo-map.el (elmo-folder-list-importants): Ditto.
4050 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4052 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4053 (elmo-imap4-folder-list-any-plugged): New function.
4054 (elmo-imap4-search-internal-primitive): Use it.
4056 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4057 only when require-msgdb slot is non-nil.
4058 (elmo-folder-close): Clear target folder's msgdb.
4060 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4062 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4063 (elmo-pop3-msgdb-create-by-header): Ditto.
4064 (elmo-pop3-msgdb-create-message): Ditto.
4066 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4068 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4070 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4072 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4073 (elmo-folder-msgdb-create): Ditto.
4074 (elmo-nntp-folder-msgdb-create): Ditto.
4075 (elmo-nntp-msgdb-create-by-header): Ditto.
4076 (elmo-nntp-msgdb-create-message): Ditto.
4077 (elmo-folder-list-unreads): Define.
4079 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4080 (elmo-folder-append-messages): Ditto.
4081 (elmo-folder-list-unreads): Define.
4082 (elmo-folder-list-importants): Ditto.
4083 (elmo-folder-list-answereds): Ditto.
4085 * elmo-net.el (elmo-folder-list-unreads): Define.
4086 (elmo-folder-list-importants): Ditto.
4087 (elmo-folder-list-answereds): Ditto.
4088 (elmo-folder-list-answereds-plugged): Ditto.
4089 (elmo-folder-msgdb-create): Follow the API change.
4090 (elmo-folder-msgdb-create-unplugged): Ditto.
4091 (elmo-folder-unmark-answered): Define.
4092 (elmo-folder-mark-as-answered-unplugged): Ditto.
4093 (elmo-folder-unmark-answered-unplugged): Ditto.
4095 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4096 (elmo-msgdb-unread-uncached-mark): Ditto.
4097 (elmo-msgdb-unread-cached-mark): Ditto.
4098 (elmo-msgdb-read-uncached-mark): Ditto.
4099 (elmo-msgdb-answered-cached-mark): Ditto.
4100 (elmo-msgdb-answered-uncached-mark): Ditto.
4101 (elmo-msgdb-important-mark): Ditto.
4102 (elmo-msgdb-set-mark): Rewrite.
4103 (elmo-msgdb-count-marks): Rewrite.
4104 (elmo-msgdb-mark-alist-set): Abolish.
4105 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4106 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4108 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4109 (elmo-folder-close): Define.
4110 (elmo-folder-msgdb-create): Follow the API change.
4111 (elmo-folder-list-unreads): Rewrite.
4112 (elmo-folder-mark-as-important): Ditto.
4113 (elmo-folder-unmark-important): Ditto.
4114 (elmo-folder-mark-as-read): Ditto.
4115 (elmo-folder-unmark-read): Ditto.
4116 (elmo-folder-mark-as-answered): Define.
4117 (elmo-folder-unmark-answered): Ditto.
4119 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4120 (elmo-folder-append-messages): Ditto.
4122 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4124 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4125 (elmo-folder-list-importants): Ditto.
4127 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4128 (elmo-folder-append-messages): Ditto.
4130 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4132 (elmo-folder-msgdb-create-plugged): Ditto.
4133 (elmo-folder-append-messages): Ditto.
4134 (elmo-folder-list-answereds-plugged): Define.
4135 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4136 (elmo-folder-unmark-answered-plugged): Define.
4137 (elmo-folder-mark-as-answered-plugged): Ditto.
4138 (elmo-folder-search-requires-msgdb-p): Ditto.
4140 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4141 (elmo-folder-initialize): Set it.
4142 (elmo-folder-msgdb): Define.
4143 (elmo-folder-check): Call elmo-folder-synchronize.
4144 (elmo-folder-close): Define.
4145 (elmo-folder-commit): Ditto.
4146 (elmo-folder-msgdb-create): Rewrite.
4147 (elmo-folder-list-unreads): Ditto.
4148 (elmo-folder-list-importants): Ditto.
4149 (elmo-folder-mark-as-read): Ditto.
4150 (elmo-folder-unmark-read): Ditto.
4151 (elmo-folder-mark-as-important): Ditto.
4152 (elmo-folder-unmark-important): Ditto.
4153 (elmo-folder-mark-as-answered): Define.
4154 (elmo-folder-unmark-answered): Ditto.
4156 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4157 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4158 (elmo-dop-queue-method-name-alist): Likewise.
4159 (elmo-folder-mark-as-answered-dop): New inline function.
4160 (elmo-folder-unmark-answered-dop): Ditto.
4161 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4163 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4164 (elmo-folder-msgdb-create): Ditto.
4165 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4166 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4167 (elmo-archive-parse-mmdf): Ditto.
4169 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4170 (elmo-folder-list-unreads-internal): Ditto.
4172 * elmo.el (elmo-folder-msgdb): Define as generic function.
4173 (elmo-folder-list-messages): Added argument `in-msgdb'.
4174 (elmo-folder-list-unreads): Define as generic function.
4175 (elmo-folder-list-importants): Ditto.
4176 (elmo-folder-list-answereds): Ditto.
4177 (elmo-folder-list-messages-with-global-mark): New function.
4178 (elmo-folder-msgdb-create): Removed mark arguments.
4179 (elmo-folder-unmark-answered): New generic function.
4180 (elmo-folder-mark-as-answered): Ditto.
4181 (elmo-folder-append-messages): Removed argunment `unread-marks'
4182 (elmo-folder-list-unreads-internal): Abolish.
4183 (elmo-folder-list-importants-internal): Ditto.
4184 (elmo-folder-search-requires-msgdb-p): New generic function.
4185 (elmo-folder-search-requires-msgdb-p-internal): New function.
4186 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4188 (elmo-folder-search-fast): Added key 'mark'.
4189 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4190 instead of unread-marks argument.
4191 (elmo-folder-move-messages): Removed argunment `unread-marks'
4192 (elmo-folder-unmark-important): Define.
4193 (elmo-folder-mark-as-important): Ditto.
4194 (elmo-folder-unmark-read): Ditto.
4195 (elmo-folder-mark-as-read): Ditto.
4196 (elmo-folder-unmark-answered): Ditto.
4197 (elmo-folder-mark-as-answered): Ditto.
4198 (elmo-folder-replace-marks): Abolish.
4199 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4201 (elmo-folder-synchronize): Removed mark arguments;
4202 return crosspost only number.
4204 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4206 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4207 Remove redundunt connectivity check.
4209 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4211 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4212 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4214 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4216 * pldap.el (ldap-decode-string): Return string as-is if
4217 `ldap-coding-system' is nil.
4218 (ldap-encode-string): Ditto.
4219 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4220 (ldap-default-host): Fixed docstring.
4222 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4224 * elmo-util.el (elmo-warning): Define as a macro which uses
4225 `display-warning' if it is defined as a function.
4227 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4228 (elmo-split-equal): Use it.
4229 (elmo-split-match): Ditto.
4230 (elmo-split-message-entity): New buffer-local variable.
4231 (elmo-split-subr): Set it.
4233 * elmo-version.el (elmo-version): Up to 2.9.15.
4235 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4237 * elmo-imap4.el (elmo-network-initialize-session):
4238 Check capability after starttls.
4240 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4242 * elmo-util.el (elmo-list-delete): Added optional argument
4245 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4247 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4249 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4251 * elmo-imap4.el (elmo-folder-initialize): Don't use
4252 elmo-imap4-default-mailbox.
4254 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4256 * elmo-split.el (toplevel): Use `product-provide'.
4257 (elmo-split): Checkdoc.
4259 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4261 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4262 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4263 the function `elmo-imap4-debug-1'.
4265 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4267 * elmo-split.el (elmo-split): Moved to run hooks and to show
4268 message from elmo-split-subr.
4269 (elmo-split-subr): Follow the change above.
4271 * elmo-split.el (elmo-split-subr): New function (renamed from
4273 (elmo-split): Changed to call elmo-split-subr by element of
4275 (elmo-split-folder): Changed customization type to choice.
4277 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4279 * elmo-split.el (elmo-split-and): Fixed condition.
4281 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4283 * elmo-split.el: New file.
4284 (elmo-split): Fixed logic.
4285 Display "Test:" instead of "Folder:" when reharsal.
4287 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4290 * elmo-version.el (elmo-version): Up to 2.9.14.
4292 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4295 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4297 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4298 message with no message-id field.
4300 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4302 * elmo-version.el (elmo-version): Up to 2.9.13.
4304 * elmo-dop.el (elmo-folder-status-dop): Fix.
4306 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4308 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4310 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4311 changing default value of default-mime-charset.
4312 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4314 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4316 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4317 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4318 instead of elmo-dop-queue-method-name-alist to check merging queue.
4319 (elmo-folder-delete-messages-dop): Delete from queue if negative
4321 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4322 file is already removed.
4324 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4326 * elmo-vars.el: Bind colon keywords for old Emacsen.
4328 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4330 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4331 against non-exsisting charset.
4333 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4335 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4336 Use eword-decode-and-unfold-unstructured-field-body.
4338 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4339 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4340 exists to decode raw subject string.
4341 (toplevel): Require 'mime.
4343 * elmo-version.el (elmo-version): Up to 2.9.12.
4345 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4347 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4348 (elmo-msgdb-set-mark): Ditto.
4350 * elmo-version.el (elmo-version): Up to 2.9.11.
4352 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4354 * elmo-util.el (elmo-delete-match-files): New function.
4356 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4357 instead of elmo-delete-directory.
4359 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4360 elmo-hash-minimun-size as 63.
4362 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4363 elmo-diff-unread is nil.
4365 * elmo-imap4.el (elmo-folder-open): Fix.
4367 * elmo.el (elmo-message-mark): Rewrite.
4368 (elmo-message-field): Ditto.
4369 (elmo-message-set-mark): Ditto.
4370 (elmo-folder-replace-marks): New function.
4371 (elmo-generic-folder-append-msgdb): Removed third argument for
4373 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4374 (elmo-msgdb-load): New implementation.
4376 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4378 * elmo-util.el (elmo-list-insert): New implementation.
4380 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4381 argument for elmo-msgdb-append.
4384 * elmo-msgdb.el (elmo-load-msgdb): New function.
4385 (elmo-make-msgdb): Ditto.
4386 (elmo-msgdb-get-index): New inline function.
4387 (elmo-msgdb-set-index): Ditto.
4388 (elmo-msgdb-get-entity-hashtb): Ditto.
4389 (elmo-msgdb-get-mark-hashtb): Ditto.
4390 (elmo-msgdb-get-mark): Ditto.
4391 (elmo-msgdb-set-mark): Ditto.
4392 (elmo-msgdb-count-marks): Ditto.
4393 (elmo-msgdb-get-number): Ditto.
4394 (elmo-msgdb-get-field): Ditto.
4395 (elmo-msgdb-seen-list): Ditto.
4396 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4397 (elmo-msgdb-delete-msgs): Follow the changes above.
4398 (elmo-msgdb-overview-get-entity): Ditto.
4399 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4400 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4402 (elmo-msgdb-make-index): Likewise.
4403 (elmo-msgdb-append): Removed third argument.
4404 (elmo-msgdb-clear): Clear index as nil.
4405 (elmo-folder-set-info-hashtb): Removed.
4406 (elmo-folder-set-info-max-by-numdb): Ditto.
4407 (elmo-folder-info-make-hashtb): Ditto.
4409 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4411 * elmo-map.el (elmo-folder-pack-number): Ditto.
4413 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4415 * elmo-version.el (elmo-version): Up to 2.9.10.
4417 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4419 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4421 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4423 * elmo-utils.el (elmo-make-directory): Add option.
4424 Default file mode is 700.
4426 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4428 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4430 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4432 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4435 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4438 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4440 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4441 (elmo-shimbun-folder-entity-hash): New function.
4442 (elmo-shimbun-folder-shimbun-header): Ditto.
4443 (elmo-shimbun-entity-to-header): Ditto.
4444 (elmo-shimbun-msgdb-to-headers): Removed.
4445 (elmo-shimbun-folder-setup): Ditto.
4446 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4448 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4449 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4450 Removed useless local bind.
4451 (elmo-folder-open-internal): Don't call
4452 `elmo-shimbun-folder-setup'.
4453 (elmo-folder-close-internal): Clear entity-hash slot.
4454 (elmo-folder-clear): Ditto.
4455 (elmo-shimbun-msgdb-create-entity): Use
4456 `elmo-shimbun-folder-shimbun-header'.
4457 (elmo-map-message-fetch): Ditto.
4458 (elmo-shimbun-update-overview): Use overview entity instead of
4459 shimbun header to lookup id by references.
4460 (elmo-map-folder-list-message-locations): Use not only headers but
4461 also overviews to list locations.
4463 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4465 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4468 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4470 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4472 * elmo-util.el (elmo-read-search-condition-internal): Give default
4475 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4477 * elmo-util.el (elmo-condition-parse-search-value): Accept
4478 YYYY-MM-DD format to search.
4479 * elmo-date.el (elmo-date-get-datevec): Likewise.
4481 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4483 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4486 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4488 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4491 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4493 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4494 case from `elmo-folder-exists-p'.
4495 (elmo-folder-exists-p): Removed.
4496 (elmo-folder-creatable-p) Ditto.
4498 * elmo-net.el (elmo-folder-create): Defined.
4499 (elmo-folder-create-unplugged): New function.
4500 (elmo-folder-exists-p): Changed default value to nil from t.
4502 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4503 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4505 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4506 `elmo-create-folder-dop' and append queue
4507 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4508 (elmo-folder-create-dop-delayed): New function.
4510 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4512 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4514 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4515 (elmo-folder-writable-p) : Ditto.
4517 * elmo-version.el (elmo-version): Up to 2.9.9.
4519 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4521 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4522 `elmo-message-use-cache-p' returns nil.
4523 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4524 (ignore cache file and refer the substance in local folders)
4526 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4528 * elmo-version.el (elmo-version): Up to 2.9.8.
4530 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4532 * elmo-version.el (elmo-version): Up to 2.9.7.
4534 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4536 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4538 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4540 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4542 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4544 (elmo-map-folder-list-message-locations): Reverse location list.
4546 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4548 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4550 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4552 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4554 (elmo-nntp-folder-list-subfolders): Follow the change above.
4556 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4558 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4559 name if authentication type is specified.
4561 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4563 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4565 (elmo-default-nntp-stream-type): Ditto.
4566 (elmo-default-pop3-stream-type): Ditto.
4568 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4570 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4572 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4574 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4576 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4578 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4579 (elmo-maildir-folder-path): Ditto.
4580 (elmo-maildir-list): Ditto (abolished).
4582 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4584 * elmo-version.el (elmo-version): Up to 2.9.6.
4586 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4588 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4589 (elmo-maildir-folder-path): Ditto.
4590 (elmo-msgdb-directory): Ditto.
4591 (elmo-passwd-life-time): Ditto.
4592 (elmo-msgdb-extra-fields): Ditto.
4593 (elmo-enable-disconnected-operation): Ditto.
4595 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4597 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4599 (elmo-pop3-default-authenticate-type): Ditto.
4601 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4603 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4605 (elmo-pop3-default-authenticate-type): Ditto.
4607 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4609 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4610 mailbox to new-folder.
4612 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4614 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4615 less than new, set new as unread.
4617 * elmo-util.el (elmo-string): Don't put text-property if nil.
4619 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4621 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4622 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4624 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4626 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4627 is nil on `completing-read'.
4629 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4631 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4633 (elmo-imap4-parse-namespace-subr): Ditto.
4634 (elmo-folder-list-subfolders): Append a delimiter when the specified
4635 folder path is a root with namespace and does not end with delimiter.
4637 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4639 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4642 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4644 * elmo-util.el (elmo-save-buffer): The first argument of message
4645 is a format control string.
4647 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4649 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4650 `elmo-folder-diff').
4651 (elmo-diff-unread): Likewise.
4653 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4655 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4656 is t on `completing-read'.
4658 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4660 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4661 method of target folder with self mark-alist if MARK-ALIST is nil.
4663 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4665 * elmo-version.el (elmo-version): Up to 2.9.5.
4667 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4669 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4670 (elmo-dop-merge-funcs): Remove.
4672 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4674 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4675 Return t if PATH is directory, too.
4676 Use `dolist' instead of while loop.
4678 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4680 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4683 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4685 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4687 (elmo-folder-list-messages-unplugged): Return t if
4688 elmo-enable-disconnected-operation is nil.
4690 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4691 `elmo-folder-list-messages-internal'.
4693 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4695 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4696 Change to looking-at `[23][0-9]+'.
4697 (elmo-network-initialize-session): Use 'error-msg'
4698 * elmo-net.el (elmo-network-open-session): Set unplugged
4699 if elmo-network-initialize-session returns 'elmo-open-err.
4701 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4703 * elmo-version.el (elmo-version): Up to 2.9.4.
4705 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4707 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4708 `elmo-folder-list-messages-internal'.
4710 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4712 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4713 (elmo-message-match-condition): New method.
4714 (elmo-folder-search-fast): New inline function.
4715 (elmo-msgdb-search): Removed.
4717 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4718 target folder if it is unplugged.
4719 (elmo-folder-list-messages-internal): Return t if target folder is
4720 unplugged and itself is persistent; In this case, use list be
4723 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4724 (elmo-msgdb-search-internal-primitive): Ditto.
4725 (elmo-msgdb-match-condition): New function.
4726 (elmo-msgdb-match-condition-primitive): Ditto.
4728 * elmo-util.el (elmo-filter-condition-p): New macro.
4730 * elmo-cache.el (elmo-folder-search): Removed.
4732 * elmo-localdir.el (elmo-folder-search): Ditto.
4734 * elmo-maildir.el (elmo-folder-search): Ditto.
4736 * elmo-mark.el (elmo-folder-search): Ditto.
4738 * elmo-nmz.el (elmo-folder-search): Ditto.
4740 * elmo-sendlog.el (elmo-folder-search): Ditto.
4742 * elmo-shimbun.el (elmo-folder-search): Ditto.
4744 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4745 if folder is unplugged.
4747 * elmo-nntp.el (elmo-folder-search): Likewise.
4748 (elmo-nntp-search-internal): New function.
4750 * elmo-version.el (elmo-version): Up to 2.9.3.
4752 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4754 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4756 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4758 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4760 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4762 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4764 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4766 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4767 (elmo-map-folder-list-message-locations): Do drive letter conversion
4768 on Windows environment.
4769 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4770 (elmo-map-message-fetch): Ditto.
4772 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4774 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4775 (elmo-network-initialize-session): Ditto.
4777 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4779 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4781 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4783 * elmo-util.el (elmo-progress-clear): Ditto.
4785 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4786 `DD-Mon-YYYY' type date.
4788 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4790 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4791 `elmo-date-make-sortable-string' instead of
4792 `timezone-make-date-sortable'.
4794 * elmo-date.el (elmo-date-make-sortable-string): Use
4795 `timezone-make-time-string'.
4797 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4799 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4801 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4802 `since'; Fix timezone.
4804 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4806 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4808 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4810 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4812 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4814 * elmo.el (elmo-generic-folder-append-messages): Make
4815 fetch-strategy with `use-cache' as 'maybe. Check return value of
4816 `elmo-message-fetch'.
4817 (elmo-message-fetch): Return return value of
4818 `elmo-message-fetch-with-cache-process'.
4819 (elmo-message-fetch-with-cache-process): Return non-nil if
4820 fetching was succeed. Load cache when fetching was failed and
4821 fetch-strategy-use-cache is 'maybe.
4823 * elmo-util.el (elmo-file-cache-load): New function.
4825 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4828 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4829 non-nil if fetching was succeed.
4831 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4833 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4835 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4836 (elmo-message-fetch-with-cache-process): Likwise.
4838 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4840 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4842 * elmo-version.el (elmo-version): Up to 2.9.2.
4844 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4846 * elmo.el (elmo-folder-delete): Delete msgdb path.
4848 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4850 * elmo-maildir.el (elmo-folder-delete): Ditto.
4852 * elmo-localdir.el (elmo-folder-delete): Ditto.
4854 * elmo-imap4.el (elmo-folder-delete): Ditto.
4856 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4858 * elmo.el (luna-define-class): Added `biff' slot.
4860 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4861 (elmo-pop3-debug-inhibit-logging): Abolished.
4862 (elmo-network-close-session): Eliminated needless let.
4863 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4864 (elmo-pop3-send-command): Added `no-log' argument.
4865 (elmo-pop3-process-filter): Use `with-current-buffer'.
4866 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4868 (elmo-pop3-auth-apop): Likewise.
4869 (elmo-network-authenticate-session): Likewise.
4871 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4874 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4875 string to determine protocol.
4876 (elmo-network-session-name-prefix): Abolished.
4877 (elmo-network-session-cache-key): Follow the change above.
4878 (elmo-network-open-session): Ditto.
4880 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4881 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4883 * elmo-version.el (elmo-version): Up to 2.9.1.
4885 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4886 unmatch condition checking.
4888 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4891 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4893 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4895 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4897 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4898 test for while loop to execute at least one SEARCH command.
4900 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4902 * elmo-version.el (elmo-version): Up to 2.9.0.
4904 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4906 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4907 (elmo-archive-folder-path): Define.
4908 (elmo-folder-initialize): Setup `dir-name' slot.
4909 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4910 Use `dir-name' as prefix of each subfolders.
4911 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4913 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4915 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4916 (elmo-pipe-folder-list-target-messages): New internal function.
4917 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4919 (elmo-pipe-folder-copied-list-load): New function.
4920 (elmo-pipe-folder-copied-list-save): Ditto.
4921 (elmo-folder-open-internal): Follow the change above.
4922 (elmo-folder-status): Fixed for copy.
4924 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4926 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4928 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4930 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4931 elmo-copy-file instead of elmo-add-name-to-file.
4933 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4935 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4938 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4939 of accept-process-output as 1.
4940 (elmo-pop3-read-contents): Ditto.
4941 (elmo-pop3-read-body): Ditto.
4943 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4945 * elmo-version.el (product-version-as-string): Remove define.
4947 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4949 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4950 (elmo-imap4-copy-messages): Chop number set using
4951 `elmo-imap4-number-set-chop-length'.
4952 (elmo-imap4-set-flag): Ditto.
4953 (elmo-imap4-search-internal-primitive): Ditto.
4955 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4957 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4958 `elmo-folder-make-temp-dir'
4960 * elmo-vars.el (elmo-cache-directory): New variable.
4961 (elmo-cache-dir): Abolished.
4962 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4964 * elmo-version.el (elmo-version): Up to 2.7.7.
4966 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4968 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4969 defcustom; Set default value as t.
4971 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4973 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4974 (ldap-search-program-arguments): Changed default value.
4975 (ldap-search-basic): Accept exit status 4.
4976 (ldap/field-body): Parse options.
4977 (ldap/collect-field): Ditto.
4978 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4980 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4981 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4982 (elmo-imap4-accept-ok): Ditto.
4983 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4984 'notify-bye, only BYE error is reported.
4985 (elmo-folder-exists-p-plugged): Set no-error argument of
4986 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4988 * elmo.el (elmo-imap4-bye-error): Changed message.
4990 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4991 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4992 queues (It causes infinite loop).
4994 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4996 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4997 (RECENT UNSEEN MESSAGES) extension.
4999 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5001 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5002 Check number of overview fields.
5004 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5006 * elmo.el (elmo-folder-confirm-appends): Changed message.
5007 (elmo-folder-confirm-appends): Ditto.
5009 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5011 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5013 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5015 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5016 of elmo-folder-update-threshold is nil, which can be set by
5017 wl-summary-update-confirm-threshold.
5019 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5021 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5022 (elmo-nmz-index-alias-alist): Ditto.
5023 (elmo-map-folder-list-message-locations): Follow the change above.
5025 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5027 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5029 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5031 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5033 * elmo-util.el (elmo-read): Ditto.
5034 (elmo-display-error): Ditto.
5036 * elmo-vars.el (elmo-date-match): Ditto.
5038 * pldap.el (ldap-coding-system): Ditto.
5040 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5041 `elmo-inhibit-number-mapping' as nil.
5043 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5045 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5046 space delimiter for list response.
5048 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5050 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5052 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5054 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5055 (elmo-map-message-fetch): Fix.
5056 * elmo-map.el (elmo-folder-status): Fix for killed.
5058 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5060 * elmo-sendlog.el: New file.
5061 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5063 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5065 * acap.el (acap-logging-out): New buffer local variable.
5066 (acap-close): Set it.
5067 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5070 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5072 * acap.el (acap-response-bye-p): New function.
5073 (acap-response-bye-message): Ditto.
5074 (acap-wait-for-response): If bye response is received, cause an error.
5075 (acap-parse-response): Make bye response when 'Bye' is received.
5077 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5079 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5081 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5083 * elmo-util.el (elmo-copy-file): Added argument
5084 `ok-if-already-exists'.
5085 (elmo-copy-file): Fixed typo.
5087 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5089 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5091 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5093 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5095 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5097 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5100 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5102 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5103 (elmo-folder-initialize): Fix for `copy'.
5104 (elmo-pipe-drain): Ditto.
5105 (elmo-folder-open-internal): Ditto.
5106 (elmo-folder-newsgroups): Fix.
5108 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5110 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5113 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5114 recent value is returned from imap folder.
5116 * elmo.el (elmo-folder-newsgroups): New generic function.
5118 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5119 (elmo-folder-initialize): Set it.
5120 (elmo-folder-expand-msgdb-path): Use it.
5121 (elmo-folder-newsgroups): Define.
5123 * elmo-filter.el (elmo-folder-newsgroups): Define.
5125 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5127 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5129 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5131 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5133 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5135 (elmo-shimbun-header-extra-field): New inline function.
5136 (elmo-shimbun-header-set-extra-field): Ditto.
5137 (elmo-shimbun-folder-header-hash-setup): Ditto.
5138 (elmo-shimbun-update-overview): Ditto.
5139 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5140 (elmo-shimbun-folder-setup): Use
5141 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5142 (elmo-shimbun-get-headers): Ditto.
5143 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5144 Insert `X-Shimbun-Id:' header if extra field is set.
5145 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5146 field's value instead of `shimbun-header-id'.
5148 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5150 (elmo-msgdb-overview-entity-set-date): Ditto.
5151 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5153 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5155 * mmimap.el (mmimap-entity-section): Changed body node number from
5158 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5160 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5161 `elmo-folder-delete-messages'.
5163 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5164 (elmo-folder-initialize): Changed to expand alias into index path.
5166 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5167 `elmo-mime-insert-header-from-buffer' with 6th arg
5170 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5172 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5174 * elmo.el (elmo-diff-new): New inline function.
5175 (elmo-diff-unread): Ditto.
5176 (elmo-diff-all): Ditto.
5178 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5179 value from responseb.
5180 (elmo-imap4-folder-diff-plugged): Ditto.
5181 (elmo-imap4-server-diff-async): Added recent argument.
5182 (elmo-server-diff-async): Ditto.
5183 (elmo-imap4-folder-diff-plugged): Ditto.
5185 * elmo-version.el (elmo-version): Up to 2.7.6.
5187 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5189 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5192 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5194 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5196 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5198 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5200 * elmo-multi.el (elmo-folder-initialize): Ditto.
5202 * elmo-util.el (elmo-parse-token): New function.
5203 (elmo-parse-prefixed-element): Ditto.
5205 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5207 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5209 (elmo-imap4-accept-ok): Ditto.
5211 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5213 * mmimap.el (mime-imap-entity-header-string): Don't check first
5214 element of node-id is `0' (Follow last change).
5216 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5218 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5219 assigned irregular node-id to nested multipart section.
5220 (initialize-instance): Followed above change.
5222 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5224 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5225 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5226 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5227 `elmo-shimbun-get-headers');
5228 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5229 visible article on summary exists in headers).
5230 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5232 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5234 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5237 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5239 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5241 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5243 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5244 header separator into loop condition.
5246 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5248 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5249 Return duplicate folder if it has subfolder.
5251 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5253 * elmo.el (elmo-make-folder): Add folder name error check.
5255 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5256 (elmo-nntp-encode-group-string): New inline function.
5257 (elmo-nntp-decode-group-string): Ditto.
5258 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5259 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5260 Use `not' instead of `null';
5261 Use elmo-nntp-decode-group-string.
5263 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5265 * elmo-version.el (elmo-version): Up to 2.7.5.
5267 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5269 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5270 Hide progress gauge if `elmo-folder-move-messages' exits
5273 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5275 * elmo-imap4.el (elmo-folder-initialize): Use
5276 `elmo-imap4-encode-folder-string' for folder name.
5278 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5280 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5283 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5285 * elmo-util.el (elmo-progress-counter-alist): New internal
5287 (elmo-progress-counter-value): New macro.
5288 (elmo-progress-counter-all-value): Ditto.
5289 (elmo-progress-counter-format): Ditto.
5290 (elmo-progress-counter-set-value): Ditto.
5291 (elmo-progress-set): New function.
5292 (elmo-progress-clear): Ditto.
5293 (elmo-progress-notify): Ditto.
5295 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5298 * elmo.el (elmo-generic-folder-append-messages): Call
5299 `elmo-progress-notify'.
5300 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5302 * elmo-archive.el (elmo-folder-append-messages): Call
5303 `elmo-progress-notify'.
5305 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5307 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5309 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5311 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5313 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5315 (elmo-message-encache-dop): Added argument `read'.
5317 * elmo-shimbun.el (elmo-message-encache): Ditto.
5319 * elmo-net.el (elmo-message-encache): Ditto.
5321 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5322 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5323 elmo-imap4-seen-messages.
5324 (elmo-folder-msgdb-create-plugged): Initialize
5325 elmo-imap4-seen-messages;
5326 Set seen mark on elmo-imap4-seen-messages.
5328 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5330 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5331 elmo-folder-append-buffer.
5332 (elmo-folder-encache): Added optional argument `read'.
5333 (elmo-message-encache): Ditto.
5335 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5337 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5339 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5340 if append buffer content succeds.
5342 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5344 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5345 elmo-display-progress.
5347 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5348 Set 4th argument of mime-display-message.
5349 (elmo-mime-display-as-is): Ditto.
5351 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5353 * elmo-nmz.el (toplevel): Require 'mime-edit.
5354 (elmo-nmz-content-type-alist): Abolished.
5355 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5356 content is not a message.
5357 (elmo-map-message-fetch): Changed behavior exept for message content;
5358 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5359 content-type, Add From: and Subject: field.
5361 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5363 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5364 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5367 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5369 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5370 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5372 * elmo-archive.el (elmo-folder-writable-p): Defined.
5374 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5376 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5378 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5380 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5382 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5384 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5386 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5388 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5390 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5392 * elmo-util.el (elmo-address-quote-specials): New function;
5393 Renamed from `wl-address-quote-specials'.
5395 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5397 * elmo-version.el (elmo-version): Up to 2.7.4.
5399 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5401 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5403 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5405 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5406 both compile-time and run-time to avoid byte-compile warning.
5408 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5410 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5412 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5414 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5416 (elmo-mime-display-as-is-internal): Use it.
5418 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5419 if `read-passwd' is not defined.
5421 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5423 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5425 (elmo-folder-status): Call `elmo-folder-open-internal';
5426 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5427 (elmo-folder-close-internal): Set location-alist as nil.
5428 (elmo-folder-clear): Define.
5429 (elmo-folder-check): Don't set location-alist as nil.
5431 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5433 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5435 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5436 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5438 * mmimap.el (mime-imap-entity::requested): New slot.
5439 (mime-imap-location-fetch-entity-p): New generic function.
5440 (mime-decode-parameters): Define using `defun-maybe'.
5441 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5442 content-type structure.
5443 (mime-entity-body): Return empty body if
5444 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5446 * elmo.el (elmo-message-displaying): New variable.
5448 * elmo-mime.el (elmo-mime-message-display): Bind
5449 elmo-message-displaying as t.
5451 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5453 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5455 * acap.el (acap-open): erase buffer before starting network process.
5456 (acap-store): Rewrite.
5458 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5460 * elmo-imap4.el (elmo-imap4-default-mailbox,
5461 elmo-imap4-default-server
5462 elmo-imap4-default-authenticate-type,
5463 elmo-imap4-default-user,
5464 elmo-imap4-default-port,
5465 elmo-imap4-default-stream-type,
5466 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5468 * elmo-pop3.el (elmo-pop3-default-user,
5469 elmo-pop3-default-server,
5470 elmo-pop3-default-authenticate-type,
5471 elmo-pop3-default-port,
5472 elmo-pop3-default-stream-type,
5473 elmo-pop3-stream-type-alist): Ditto.
5475 * elmo-nntp.el (elmo-nntp-default-server,
5476 elmo-nntp-default-user,
5477 elmo-nntp-default-port,
5478 elmo-nntp-default-stream-type,
5479 elmo-nntp-stream-type-alist): Ditto.
5481 * elmo-vars.el: Follow changes above.
5482 (elmo-setting): New custom group; added 'elmo-setting group to
5485 * elmo-version.el (elmo-version): Up to 2.7.3.
5487 * acap.el (acap-parse-response): Don't delete process when BYE
5488 response (It causes hang-up on slow network environment).
5489 (toplevel): Added comment.
5491 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5493 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5495 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5497 (acap-parse-return-metadata): Ditto.
5500 (toplevel): Fixed typo.
5502 * acap.el: New file.
5503 (acap-network-stream-open): Show "Connecting..." message.
5504 (acap-parse-response): Fixed problem for BYE untagged response.
5505 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5506 (toplevel): Added tiny comments.
5508 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5510 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5511 space delimiter for uidl response.
5513 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5515 * elmo-vars.el (elmo-use-semi): Eliminated.
5517 * elmo-util.el (elmo-string-assoc-all): New function.
5519 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5521 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5522 property 'mime-preview-situation for `mime-preview-quit'.
5524 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5526 * elmo.el (elmo-message-fetch-with-cache-process): Call
5527 elmo-message-fetch-internal instead of causing an error when fetch
5528 strategy is 'entire but only 'section cache is available.
5530 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5532 * elmo-version.el (elmo-version): Up to 2.7.2.
5534 * elmo.el (elmo-generic-folder-append-messages): Make
5535 fetch-strategy with `use-cache'.
5537 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5538 (elmo-dop-queue-method-name): New macro.
5540 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5542 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5543 unbalanced parenthesis.
5545 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5547 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5549 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5551 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5552 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5554 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5556 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5559 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5561 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5562 (elmo-message-use-cache-p): Define.
5563 (elmo-folder-msgdb-create): Treat cache.
5565 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5567 * elmo-nntp.el (elmo-network-initialize-session): Call
5568 `elmo-nntp-send-mode-reader'.
5569 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5571 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5573 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5575 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5578 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5579 for `elmo-plugged-p'.
5580 (elmo-open-network-stream): Fixed stream-type argument.
5582 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5584 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5585 unknown archive type is specified.
5587 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5589 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5591 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5592 while loading msgdb.
5594 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5595 (elmo-folder-open-internal): Rewrite.
5597 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5599 * elmo-mime.el (elmo-mime-display-as-is-internal):
5600 Adjust buffer-multibyte status.
5602 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5604 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5605 of elmo-condition-find-key.
5607 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5608 (elmo-condition-in-msgdb-p): Ditto.
5609 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5612 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5614 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5616 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5618 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5619 label for elmo-display-progress.
5621 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5623 * elmo.el (elmo-folder-clear): New method.
5624 (elmo-folder-clear): Define.
5625 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5627 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5628 (elmo-folder-clear): Define.
5630 * elmo-map.el (elmo-folder-clear): Define.
5632 * elmo-version.el (elmo-version): Up to 2.7.1.
5634 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5636 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5639 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5641 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5642 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5644 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5646 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5648 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5651 * elmo-imap4.el (elmo-folder-initialize): Use
5652 elmo-get-network-stream-type.
5654 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5656 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5658 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5660 * elmo.el (elmo-message-encache): Set unread argument for
5663 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5665 * elmo.el (elmo-net-port-info): New method.
5667 * elmo-shimbun.el (elmo-net-port-info): Define.
5668 (elmo-message-encache): Ditto.
5670 * elmo-net.el (elmo-net-port-info): Define as method.
5672 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5673 unplugged status when elmo-enable-disconnected-operation is t.
5675 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5676 of spool folder before checking new number.
5678 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5680 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5681 (elmo-network-setup-session): Ditto.
5682 (elmo-message-fetch-plugged): Ditto.
5683 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5684 (elmo-network-initialize-session): Ditto.
5685 (elmo-pop3-read-response): Abolish 3rd argument.
5686 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5687 (elmo-pop3-read-contents): Ditto.
5688 (elmo-pop3-read-body): Ditto.
5689 (elmo-folder-status): Call elmo-folder-close.
5690 (elmo-pop3-lock): Abolish.
5691 (elmo-pop3-unlock): Ditto.
5692 (elmo-pop3-locked-p): Ditto.
5693 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5695 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5697 * elmo-version.el (elmo-version): Up to 2.7.0.
5699 * elmo-pop3.el (elmo-pop3-debug): New variable.
5700 (elmo-pop3-debug-inhibit-logging): Ditto.
5701 (elmo-pop3-debug): New function.
5702 (elmo-pop3-send-command): Call elmo-pop3-debug.
5703 (elmo-pop3-read-response): Added keep-lock optional argument;
5704 Don't unlock if keep-lock is non-nil.
5705 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5706 (elmo-network-authenticate-session): Bind
5707 elmo-pop3-debug-inhibit-logging as t.
5708 (elmo-network-setup-session): Call elmo-pop3-read-response with
5710 (elmo-pop3-read-msg): Ditto.
5711 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5712 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5713 (elmo-network-initialize-session): Call elmo-pop3-lock.
5714 (elmo-folder-close-internal): Don't clear location-alist slot.
5715 (elmo-folder-check): Clear location-alist slot.
5717 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5719 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5720 (elmo-pop3-send-command): Call elmo-pop3-lock.
5721 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5722 (elmo-pop3-read-contents): Ditto.
5723 (elmo-pop3-lock): New function.
5724 (elmo-pop3-unlock): Ditto.
5725 (elmo-pop3-locked-p): Ditto.
5726 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5729 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5731 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5733 * elmo-util.el (elmo-file-field-primitive-condition-match):
5734 New inline function (Don't fetch file content if "first" or "last").
5735 (elmo-file-field-condition-match): Use
5736 elmo-file-field-primitive-condition-match.
5738 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5741 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5742 (elmo-message-fetch-plugged): Fixed.
5744 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5746 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5748 * elmo.el (elmo-folder-move-messages): Bind
5749 elmo-inhibit-display-retrieval-progress as t while moving messages.
5751 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5753 (elmo-inhibit-display-retrieval-progress): Ditto.
5755 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5756 for retrieval progress;
5757 Don't display progress when total buffer size is smaller than
5758 elmo-display-retrieval-progress-threshold.
5759 (elmo-message-fetch-plugged): Don't display progress when
5760 elmo-inhibit-display-retrieval-progress is non-nil.
5762 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5763 for retrieval progress;
5764 Don't display progress when literal size is smaller than
5765 elmo-display-retrieval-progress-threshold.
5766 (elmo-imap4-message-fetch): Don't display progress when
5767 elmo-inhibit-display-retrieval-progress is non-nil.
5769 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5771 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5772 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5773 (elmo-imap4-message-fetch): Likewise.
5775 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5776 (elmo-shimbun-index-range-alist): Ditto.
5777 (elmo-shimbun-use-entire-index): Abolish.
5778 (shimbun-mua-use-entire-index): Ditto.
5779 (elmo-shimbun-folder): Added new slot `range'.
5780 (elmo-folder-initialize): Setup slot `range'.
5782 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5784 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5785 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5786 (elmo-shimbun-get-headers): Use return value of
5787 `shimbun-article-expiration-days'.
5788 (elmo-folder-close-internal): Clean up last-check slot.
5790 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5791 (elmo-pop3-total-size): New variable.
5792 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5794 * elmo.el (elmo-folder-reserve-status-p): New method.
5796 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5797 (elmo-shimbun-use-entire-index): New user option.
5798 (shimbun-elmo-mua): New class.
5799 (shimbun-mua-search-id): Define.
5800 (shimbun-mua-use-entire-index): Ditto.
5801 (elmo-shimbun-folder:last-check): New slot.
5802 (elmo-shimbun-headers-cache-header-list): Abolish.
5803 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5804 (elmo-shimbun-headers-cache-header-hash): Ditto.
5805 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5806 (elmo-shimbun-headers-cache-last-check): Ditto.
5807 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5808 (elmo-shimbun-headers-check-p): Rewrite.
5809 (elmo-shimbun-msgdb-to-headers): New function.
5810 (elmo-shimbun-get-headers): Rewrite.
5811 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5812 (elmo-folder-open-internal): Get headers only if
5813 `elmo-shimbun-headers-check-p' is non-nil.
5814 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5816 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5817 (elmo-quit): Removed.
5819 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5821 (elmo-msgdb-overview-entity-set-extra): Ditto.
5822 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5824 * elmo-map.el (elmo-folder-status): Don't call
5825 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5828 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5830 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5831 of `elmo-msgdb-search-internal-primitive' when condition's car is
5834 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5836 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5838 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5840 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5841 call `elmo-pipe-drain'.
5843 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5845 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5846 typo. (elmo-cache-folder -> elmo-mark-folder)
5848 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5850 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5851 `elmo-message-fetch'.
5853 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5855 * elmo-net.el (elmo-message-encache): Fixed typo.
5856 (elmo-message-fetch-unplugged): Changed call
5857 `elmo-message-fetch-internal' without argument `outbuf'.
5859 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5861 * elmo.el (elmo-message-encache): Define as generic function.
5862 (elmo-message-fetch-field): New generic function.
5863 (elmo-message-fetch-with-cache-process): Cause an error when
5864 fetch strategy is 'entire but only 'section cache is available.
5865 (toplevel): Fixed nmz folder definition.
5867 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5868 (elmo-msgdb-resume-list-filename): Ditto.
5869 (elmo-queue-filename): Ditto.
5870 (elmo-enable-disconnected-operation): Changed default value to t.
5872 * elmo-util.el (elmo-cache-path-section-p): New function.
5873 (elmo-file-cache-get): Use it.
5874 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5875 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5876 (elmo-dop-queue-save): Ditto.
5878 * elmo-net.el (elmo-folder-status-unplugged): Call
5879 elmo-folder-status-dop.
5880 (elmo-folder-list-messages-unplugged): Implemented.
5881 (elmo-folder-delete-messages-unplugged): Define.
5882 (elmo-folder-msgdb-create): Define.
5883 (elmo-folder-msgdb-create-unplugged): Define.
5884 (elmo-folder-mark-as-read-unplugged): Ditto.
5885 (elmo-folder-unmark-read-unplugged): Ditto.
5886 (elmo-folder-mark-as-important-unplugged): Ditto.
5887 (elmo-folder-unmark-important-unplugged): Ditto.
5888 (elmo-message-encache): Ditto.
5890 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5891 (elmo-dop-queue-save): Ditto.
5893 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5894 `elmo-folder-msgdb-create'.
5895 (elmo-folder-append-buffer): Implemented unplugged operation.
5896 (elmo-folder-append-messages): Call parent method in unplugged status.
5897 (elmo-message-fetch-unplugged): Removed definition.
5898 (elmo-message-fetch-field): Implemented.
5900 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5901 (elmo-dop-folder): Removed variable definition.
5902 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5903 (elmo-dop-queue-flush): Implemented.
5904 (elmo-dop-queue-merge): Removed definition (TODO).
5905 (elmo-dop-spool-folder): New function.
5906 (elmo-dop-spool-folder-append-buffer): Ditto.
5907 (elmo-dop-spool-folder-list-messages): Ditto.
5908 (elmo-dop-list-deleting-messages): Ditto.
5909 (elmo-folder-append-buffer-dop): Ditto.
5910 (elmo-folder-delete-messages-dop): Ditto.
5911 (elmo-message-encache-dop): New inline function.
5912 (elmo-create-folder-dop): Ditto.
5913 (elmo-folder-mark-as-read-dop): Ditto.
5914 (elmo-folder-unmark-read-dop): Ditto.
5915 (elmo-folder-mark-as-important-dop): Ditto.
5916 (elmo-folder-unmark-important-dop): Ditto.
5917 (elmo-folder-status-dop): Fixed.
5918 (elmo-folder-append-buffer-dop-delayed): New function.
5919 (elmo-folder-delete-messages-dop-delayed): Ditto.
5920 (elmo-dop-msgdb): Ditto.
5922 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5924 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5926 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5928 * elmo.el (elmo-folder-move-messages): Fixed problem when
5929 `dst-folder' is 'null.
5931 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5933 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5934 instead of current mark.
5936 * elmo-multi.el (elmo-folder-list-importants-internal): No
5937 operation if importants is not list.
5939 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5940 Return t if importants is not list.
5942 * elmo-map.el (elmo-map-folder-list-importants): Define.
5943 (elmo-folder-list-importants-internal): Check return value of
5944 `elmo-map-folder-list-importants-internal'.
5946 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5948 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5950 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5952 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5954 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5956 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5957 (Patch is provided by <kita@coe.nttdata.co.jp>).
5959 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5961 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5964 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5966 * elmo.el (elmo-message-fetch): Define.
5967 (elmo-message-fetch-with-cache-process): New generic method.
5968 (elmo-message-fetch-internal): New generic method.
5969 (elmo-folder-synchronize):
5971 * elmo-archive.el (elmo-message-fetch-internal): Define.
5972 (elmo-message-fetch): Eliminated.
5974 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5975 (elmo-message-fetch): Eliminated.
5977 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5979 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5981 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5982 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5984 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5985 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5987 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5989 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5991 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5993 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5994 (elmo-message-fetch-unplugged): New generic method.
5995 (elmo-message-fetch-internal): Remove cache process (Renamed from
5996 `elmo-message-fetch').
5998 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5999 (elmo-message-fetch): Eliminated.
6000 (elmo-message-fetch-unplugged): Ditto.
6002 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6004 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6006 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6007 of `to-be-deleted' from number-alist to number-list.
6009 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6011 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6012 (elmo-folder-mark-as-important): Ditto.
6014 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6016 * elmo.el (elmo-folder): Added process-duplicates slot.
6018 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6019 (elmo-folder-unmark-read): Ditto.
6020 (elmo-folder-unmark-important): Ditto.
6021 (elmo-folder-mark-as-important): Ditto.
6023 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6024 duplicated message processing.
6026 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6028 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6030 * elmo-util.el (elmo-list-subdirectories-1): New function.
6031 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6032 (elmo-mapcar-list-of-list): New function.
6034 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6035 `elmo-mapcar-list-of-list' instead of `mapcar'.
6037 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6039 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6040 `elmo-have-link-count'. Return the fully qualified folder name.
6042 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6044 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6045 (elmo-shimbun-headers-cache): New internal variable.
6046 (elmo-shimbun-headers-cache-header-list): New inline function.
6047 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6048 (elmo-shimbun-headers-cache-header-hash): Ditto.
6049 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6050 (elmo-shimbun-headers-cache-last-check): Ditto.
6051 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6052 (elmo-shimbun-lapse-seconds): Ditto.
6053 (elmo-shimbun-headers-cache-check-p): Ditto.
6054 (elmo-shimbun-get-headers): New function.
6055 (elmo-folder-open-internal): Call it.
6056 (elmo-quit): Define (Clear headers-cache).
6058 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6060 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6062 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6063 (elmo-msgdb-flist-save): Ditto.
6065 * elmo-shimbun.el (elmo-folder-list-subfolders):
6066 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6067 (elmo-folder-exists-p): Ditto.
6069 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6070 argument for `shimbun-header-insert'.
6072 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6074 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6077 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6078 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6080 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6082 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6083 (elmo-folder-plugged-p): Define.
6084 (elmo-folder-set-plugged): Ditto.
6085 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6086 (elmo-folder-list-messages-internal): Return t if unplugged.
6087 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6089 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6090 when elmo-folder-list-messages-internal method of children returns t.
6092 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6094 (elmo-folder-open-internal): Don't update if unplugged status.
6096 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6098 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6101 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6103 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6105 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6108 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6110 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6112 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6113 (elmo-folder-open-internal): Set up headers slot.
6114 (elmo-folder-check): Call elmo-folder-close-internal and
6115 elmo-folder-open-internal.
6116 (elmo-folder-close-internal): Clean up headers slot.
6118 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6120 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6121 exactly folder list.
6122 (elmo-folder-append-messages): Fixed append archive with prefix.
6124 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6125 make temp files with start-number.
6127 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6129 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6131 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6132 argument `visible-only'.
6133 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6136 * elmo-pop3.el (elmo-folder-open-internal): Check
6137 `elmo-inhibit-number-mapping' is non-nil.
6139 * elmo-pipe.el (elmo-folder-status): Fixed.
6141 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6143 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6145 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6146 (elmo-folder-open-internal): Setup `header-hash' slot.
6147 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6149 (elmo-map-message-fetch): Ditto.
6151 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6153 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6154 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6155 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6156 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6158 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6160 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6162 * sb-airs.el: Added footer.
6164 * shimbun.el (shimbun-article): Define as luna-method.
6166 * sb-tcup.el: New file.
6168 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6169 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6171 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6173 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6174 (shimbun-get-headers): Ditto.
6176 * elmo.el: Moved obsolete variable definitions from
6177 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6179 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6182 * shimbun.el: New file.
6184 * elmo-shimbun.el: New file.
6186 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6187 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6188 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6189 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6191 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6193 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6196 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6198 * elmo.el (elmo-folder-msgdb): Define as macro.
6199 (elmo-folder-open): Added argument `load-msgdb'.
6200 (elmo-generic-folder-open): Ditto.
6201 (elmo-folder-encache): New function.
6203 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6205 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6207 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6208 Eliminated argument FOLDER and added argument MSGDB.
6209 (elmo-dop-queue-load): Moved from elmo-dop.el.
6210 (elmo-dop-queue-save): Ditto.
6212 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6214 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6216 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6217 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6218 (elmo-filter-folder-list-importants-internal): Ditto.
6220 * elmo-map.el (elmo-folder-pack-number): Ditto.
6222 * elmo-mime.el (elmo-mime-message-display): Ditto.
6224 * elmo.el (elmo-generic-folder-commit): Ditto.
6225 (elmo-folder-list-unreads): Ditto.
6226 (elmo-folder-list-importants): Ditto.
6227 (elmo-generic-folder-commit): Ditto.
6228 (elmo-message-set-mark): Ditto.
6229 (elmo-generic-folder-append-msgdb): Ditto.
6230 (elmo-folder-synchronize): Ditto.
6231 (elmo-folder-messages): Ditto.
6232 (elmo-init): Call elmo-dop-queue-load.
6233 (elmo-folder-list-messages): Ditto.
6235 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6236 (elmo-nntp-folder-process-crosspost): Ditto.
6237 (elmo-folder-list-unreads-internal): Ditto.
6239 * elmo-dop.el: Removed old functions.
6241 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6243 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6244 `folder' to `msgdb'.
6246 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6248 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6249 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6251 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6254 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6256 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6259 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6260 (mmimap-parse-parameters-from-list): Define as alias for
6261 `mime-decode-parameter-plist' if it is defined as function.
6262 (mmimap-make-mime-entity): Added argument `number'.
6263 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6265 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6267 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6269 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6271 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6273 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6275 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6277 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6278 when elmo-imap4-default-authenticate-type is nil.
6279 (elmo-folder-list-subfolders): Ditto
6280 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6281 (elmo-imap4-fetch-callback-1-subr): Renamed from
6282 `elmo-imap4-fetch-callback-1' and define as inline function.
6283 (elmo-imap4-fetch-callback-1):
6284 Renamed from `elmo-imap4-fetch-callback'.
6285 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6287 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6288 msgdb path (To keep compatibility with main trunk).
6290 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6292 * elmo-util.el (elmo-make-file-cache): Moved position of
6295 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6296 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6297 instead of `elmo-pop3-inhibit-uidl'.
6298 (elmo-folder-exists-p): Ditto.
6299 (elmo-pop3-folder-list-messages): Ditto.
6301 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6302 instead of `elmo-pop3-inhibit-uidl'.
6303 (elmo-folder-status): Ditto.
6305 * elmo-dop.el (elmo-dop-folder): New variable.
6306 (elmo-dop-lock-message): Eliminated.
6307 (elmo-dop-unlock-message): Ditto.
6308 (elmo-dop-lock-list-load): Ditto.
6309 (elmo-dop-lock-list-save): Ditto.
6310 (elmo-dop-delete-folder): Ditto.
6311 (elmo-dop-rename-folder): Ditto.
6313 * elmo.el: Removed incomplete commentary.
6315 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6317 * elmo.el (toplevel): Require 'elmo-version first;
6318 for little `recursive-load-depth' settings.
6319 Fix "ends here" comment.
6321 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6323 * elmo-util.el (toplevel): Require 'poem;
6324 Some functions are moved from elmo-cache.el.
6326 * elmo-net.el (toplevel): Require 'elmo-cache.
6328 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6330 * elmo.el (toplevel): Ditto.
6332 * elmo-cache.el: Rewrite with luna;
6333 Some functions are moved to elmo-util.el.
6335 * elmo-internal.el (elmo-internal-folder-list): New variable.
6336 (elmo-internal-folder-initialize): Rewrite.
6337 (elmo-folder-list-subfolders): Ditto.
6339 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6340 (elmo-cache-collect-sub-directories): Ditto.
6342 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6344 * elmo-version.el (elmo-version): Up to 2.5.8.
6346 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6348 * elmo-util.el (elmo-list-insert): New function.
6350 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6352 * elmo.el (elmo-init): New function.
6353 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6355 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6356 (Renamed from `elmo-localdir-header-chop-length').
6358 * elmo-pop3.el (elmo-pop3-use-cache,
6359 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6361 * elmo-nntp.el (elmo-message-fetch): Define.
6362 (elmo-message-fetch-unplugged): Ditto.
6363 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6364 (elmo-nntp-use-cache): Ditto.
6365 (elmo-nntp-max-number-precedes-list-active): Ditto.
6367 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6369 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6370 `elmo-msgdb-insert-file-header'.
6371 Use `elmo-msgdb-file-header-chop-length'.
6373 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6376 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6377 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6378 `elmo-msgdb-insert-file-header'.
6380 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6382 Define obsolete variables with `elmo-define-obsolete-variable',
6384 * elmo-util.el (elmo-warning-buffer-name): New constant.
6385 (elmo-warning): New function.
6386 (elmo-obsolete-variable-alist): New variable.
6387 (elmo-obsolete-variable-show-warnings): New variable.
6388 (elmo-define-obsolete-variable): New function.
6389 (elmo-resque-obsolete-variable): Ditto.
6390 (elmo-resque-obsolete-variables): Ditto.
6392 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6394 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6397 * elmo-pop3.el, elmo-nntp.el: Use custom.
6399 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6401 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6402 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6404 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6406 * Luna-fy Kenichi OKADA's following changes.
6407 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6409 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6411 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6413 * elmo-util.el (elmo-display-progress): Prefer
6414 `progress-feedback-with-label' to `lprogress-display'.
6416 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6418 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6420 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6422 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6423 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6424 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6425 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6426 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6427 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6428 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6429 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6430 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6431 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6432 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6433 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6434 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6436 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6438 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6439 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6441 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6443 * elmo.el (elmo-folder-process-crosspost): New generic method.
6444 (elmo-folder-writable-p): Ditto.
6445 (elmo-folder-message-appendable-p): Eliminated.
6446 (elmo-generic-folder-append-msgdb): Rewrite.
6447 (elmo-newsgroups-hashtb): New internal variable.
6448 (elmo-crosspost-message-set): Eliminated.
6449 (elmo-crosspost-message-delete): Ditto.
6450 (elmo-setup-subscribed-newsgroups): New function.
6451 (elmo-crosspost-message-alist-modified): New internal variable.
6452 (elmo-crosspost-message-alist-load): New function (Renamed from
6453 `wl-crosspost-alist-load').
6454 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6455 `wl-crosspost-alist-save').
6457 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6459 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6461 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6462 elmo-newsgroups-hashtb).
6463 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6464 `elmo-nntp-folder-update-crosspost-message-alist'.
6465 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6466 `elmo-nntp-groups-hashtb'.
6467 (elmo-nntp-make-groups-hashtb): Eliminated.
6468 (elmo-nntp-parse-newsgroups): New function (Renamed from
6469 `wl-parse-newsgroups').
6470 (elmo-folder-creatable-p, elmo-folder-writable-p,
6471 elmo-folder-close-internal, elmo-folder-mark-as-read,
6472 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6474 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6476 * elmo-net.el (elmo-message-fetch): Check buffer size.
6478 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6480 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6482 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6483 before `close' command.
6485 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6486 `mark-alist' (All other related portions are changed).
6488 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6490 * elmo-util.el (elmo-create-hash-size): Eliminated.
6491 (elmo-make-hash) Make a hash with `one less than a power of two'
6494 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6495 (elmo-hash-maximum-size): Changed value.
6497 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6499 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6500 (elmo-mime-message-display-as-is): Ditto.
6502 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6504 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6505 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6507 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6509 * elmo-mark.el: New file.
6511 * elmo-internal.el: Rewrite (Almost empty).
6513 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6515 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6516 (mime-imap-entity-header-string): Ditto.
6517 (mmimap-entity-section): Rewrite.
6519 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6521 * elmo-nmz.el: New file.
6523 * elmo-pipe.el: Rewrite with luna.
6525 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6527 * elmo-archive.el: Rewrite with luna.
6529 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6530 (elmo-folder-list-importants-internal): Ditto.
6532 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6534 * elmo-archive.el (elmo-archive-version): Abolish.
6535 (toplevel) Removed `boso' comment.
6537 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6539 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6540 elmo-msgdb-add-msgs-to-seen-list-subr;
6541 Changed argument seen-marks to unread-marks.
6543 * elmo-nntp.el: Rewrite with luna.
6545 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6547 * elmo-filter.el: Rewrite with luna.
6549 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6551 * elmo-pop3.el: Rewrite with luna.
6553 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6555 * elmo-multi.el: Rewrite with luna.
6557 * elmo-vars.el (elmo-use-killed-list): Abolish.
6558 All other related portions are changed.
6559 (elmo-filename-replace-string-alist): Renamed from
6560 elmo-msgid-replace-string-alist.
6562 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6564 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6566 * elmo-map.el: New file.
6567 * elmo-maildir.el: Rewrite with luna.
6569 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6571 * elmo.el: Changed meaning of `elmo-folder-commit'.
6572 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6574 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6576 * elmo.el (elmo-folder-append-buffer): New function.
6577 (Renamed from `elmo-append-msg')
6579 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6581 * elmo-mime.el: New file.
6583 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6585 * elmo-cache.el: Rewrite.
6587 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6589 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6591 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6593 * elmo-vars.el (elmo): New group.
6594 (elmo-strict-diff-folder-regexp): New variable.
6596 * elmo-util.el (elmo-call-func): Abolish.
6597 (elmo-folder-get-type): Ditto.
6598 (elmo-*-get-spec): Ditto.
6599 (elmo-*-spec-*): Ditto.
6600 (elmo-imap4-identical-name-space-p): Ditto.
6601 (elmo-folder-identical-system-p): Ditto.
6602 (elmo-folder-direct-copy-alist): Ditto.
6603 (elmo-folder-direct-copy-p): Ditto.
6605 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6606 (elmo-folder-initialize): Define.
6607 (elmo-folder-get-primitive-list): Ditto.
6609 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6610 (elmo-folder-initialize): Define.
6611 Renamed `elmo-network-session-host-internal' to
6612 `elmo-network-session-server-internal'.
6614 * elmo-multi.el (elmo-multi-folder): New luna class.
6615 (elmo-folder-initialize): Define.
6616 (elmo-folder-get-primitive-list): Ditto.
6617 (elmo-folder-contains-type): Ditto.
6618 (elmo-message-use-cache-p): Ditto.
6620 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6621 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6623 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6624 (elmo-folder-initialize): Define.
6626 * elmo-filter.el (elmo-filter-folder): New luna class.
6627 (elmo-folder-initialize): Define.
6628 (elmo-folder-get-primitive-list): Ditto.
6629 (elmo-folder-contains-type): Ditto.
6631 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6633 * elmo-imap4.el: Rewrite with luna.
6635 * mmimap.el: New file.
6637 * mmelmo.el, mmelmo-imap4.el: Removed.
6639 * elmo-net.el: Ditto.
6641 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6642 (elmo-folder-initialize): Define.
6644 * elmo-archive.el (elmo-archive-folder): New luna class.
6645 (elmo-folder-initialize): Define.
6647 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6648 `elmo-folder-msgdb-path'.
6649 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6652 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6654 * elmo.el: New file.
6656 * elmo2.el: Renamed to elmo.el.
6659 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6661 * elmo-cache.el (elmo-cache-expire-by-size): Count
6662 a disk usage for a cache file entry in KB even when
6663 its kind is a directory.
6665 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6667 * elmo-version.el (elmo-version): Up to 2.5.7.
6669 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6671 * elmo-version.el (elmo-version): Up to 2.5.6.
6673 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6675 * elmo-version.el (elmo-version): Up to 2.5.5.
6677 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6679 * elmo-imap4.el (elmo-network-authenticate-session):
6680 Fixed a logic for response checking.
6682 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6684 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6685 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6686 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6689 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6690 for `starttls-open-stream' and `starttls-negotiate'.
6692 * elmo-nntp.el: Remove autoload settings for
6693 `starttls-open-stream' and `starttls-negotiate'.
6695 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6696 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6697 `luna-define-class' with `eval-and-compile'.
6699 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6701 * elmo-util.el (elmo-read-search-condition-internal):
6702 Require an element of table for searching field.
6704 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6706 * elmo-version.el (elmo-version): Up to 2.5.4.
6708 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6710 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6712 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6714 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6716 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6718 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6721 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6723 * elmo-imap4.el (elmo-imap4-delete-folder):
6724 Send "close" before "delete" (Use commented out line).
6725 (elmo-imap4-rename-folder): Ditto.
6727 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6728 folder string itself.
6729 (elmo-dop-list-deleted): New function.
6730 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6733 * elmo-util.el (elmo-string-rassoc-all): New function.
6735 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6737 * elmo-version.el (elmo-version): Up to 2.5.3.
6739 * elmo-net.el (elmo-network-get-session): Changed logic for
6740 checking process status.
6742 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6744 Changed logic for checking process status.
6746 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6748 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6750 (elmo-network-setup-session): Set UIDL hash size according to
6751 the length of list response.
6752 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6753 according to the length of list response;
6754 Return the length of list response.
6755 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6757 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6759 * elmo-imap4.el (toplevel): Require 'ssl.
6760 Add autoload 'starttls.
6761 * elmo-pop3.el (toplevel): Ditto.
6762 * elmo-nntp.el (toplevel): Ditto.
6764 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6766 * elmo-imap4.el (toplevel): defun at compile time.
6767 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6768 sasl-next-step, sasl-step-data, sasl-step-set-data.
6769 * elmo-pop3.el (toplevel): Ditto.
6771 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6773 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6775 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6777 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6779 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6780 and `elmo-pop-auth-apop'.
6782 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6784 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6786 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6788 * elmo-pop3.el (elmo-network-authenticate-session): Split
6789 encoded response value.
6791 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6793 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6794 `elmo-pop3-force-login'.
6795 Redefine `sasl-mechanisms'.
6796 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6798 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6800 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6801 Delete `elmo-imap4-authenticator-alist'.
6802 (elmo-imap4-auth-cram-md5): Delete.
6803 (elmo-imap4-auth-digest-md5): Delete.
6805 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6807 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6808 (elmo-pop3-auth-scram-md5): Ditto.
6809 (elmo-pop3-auth-cram-md5): Ditto.
6811 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6813 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6814 Delete `elmo-pop3-authenticator-alist'.
6816 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6818 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6820 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6822 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6824 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6826 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6828 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6829 Fixed problem when `elmo-pop3-use-uidl' is nil.
6830 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6832 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6834 * elmo-version.el (elmo-version): Up to 2.5.2.
6836 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6838 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6840 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6841 (elmo-pop3-msgdb-create-as-numlist): Use it.
6843 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6844 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6846 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6847 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6849 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6851 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6852 when elmo-mark-as-read is called with second argument nil.
6854 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6856 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6857 Moved to elmo-util.el.
6859 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6860 Moved from elmo-pipe.el
6862 * elmo-archive.el (elmo-archive-call-process): Enclose with
6865 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6866 "RFC822" (because RFC822.PEEK is obsolete).
6867 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6869 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6871 * elmo-archive.el (elmo-archive-call-process): Don't check for
6872 the exit status when Nemacs is running.
6874 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6876 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6879 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6880 (elmo-pop3-get-spec): Set default of auth to 'user.
6882 * elmo-imap4.el (elmo-imap4-session-check):
6883 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6884 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6885 (elmo-imap4-auth-login): New function; Revival.
6886 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6887 `elmo-imap4-auth-login'.
6889 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6891 * elmo2.el (toplevel): Move `product-provide' declare.
6892 * mmelmo.el (toplevel): Ditto.
6894 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6896 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6898 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6900 * elmo-util.el (elmo-folder-get-store-type): New function.
6901 (elmo-folder-direct-copy-p): Use it.
6903 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6905 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6906 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6907 and result of `elmo-imap4-use-flag-p'.
6908 (elmo-imap4-fetch-callback-1): Set mark according to
6909 the result of `elmo-imap4-use-flag-p'.
6911 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6913 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6914 (elmo-generic-list-folder-unread): Ditto.
6915 (elmo-folder-get-info): Ditto.
6916 (elmo-folder-set-info-max-by-numdb): Ditto.
6917 (elmo-folder-get-info-max): Ditto.
6918 (elmo-folder-get-info-length): Ditto.
6919 (elmo-folder-get-info-unread): Ditto.
6920 (elmo-folder-info-make-hashtb): Ditto.
6922 * elmo2.el: Removed above functions.
6924 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6926 * elmo-imap4.el (toplevel): Require 'ssl.
6927 Add autoload 'starttls.
6928 * elmo-pop3.el (toplevel): Ditto.
6929 * elmo-nntp.el (toplevel): Ditto.
6931 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6933 * elmo-imap4.el (toplevel): defun at compile time.
6934 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6935 sasl-next-step, sasl-step-data, sasl-step-set-data.
6936 * elmo-pop3.el (toplevel): Ditto.
6938 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6940 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6942 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6944 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6946 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6947 and `elmo-pop-auth-apop'.
6949 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6951 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6953 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6955 * elmo-pop3.el (elmo-network-authenticate-session): Split
6956 encoded response value.
6958 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6960 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6961 `elmo-pop3-force-login'.
6962 Redefine `sasl-mechanisms'.
6963 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6965 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6967 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6968 Delete `elmo-imap4-authenticator-alist'.
6969 (elmo-imap4-auth-cram-md5): Delete.
6970 (elmo-imap4-auth-digest-md5): Delete.
6972 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6974 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6975 (elmo-pop3-auth-scram-md5): Ditto.
6976 (elmo-pop3-auth-cram-md5): Ditto.
6978 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6980 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6981 Delete `elmo-pop3-authenticator-alist'.
6983 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6985 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6987 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6990 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6992 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6994 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6996 * elmo-nntp.el (elmo-nntp-get-folders-info):
6997 Fixed problem when '\' character is contained in user-id.
6998 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7001 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7003 * elmo-imap4.el (elmo-imap4-delete-folder):
7004 Send "close" before "delete" (Use commented out line).
7005 (elmo-imap4-rename-folder): Ditto.
7007 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7008 folder string itself.
7009 (elmo-dop-list-deleted): New function.
7010 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7013 * elmo-util.el (elmo-string-rassoc-all): New function.
7015 * elmo-version.el (elmo-version): Up to 2.5.1.
7017 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7019 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7021 * elmo-internal.el (elmo-internal-search): Fix last change.
7023 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7025 * elmo-internal.el (elmo-internal-search): Rewrite.
7026 (Fixed problem which is pointed out by Akihiro MOTOKI
7027 <motoki@da.jp.nec.com>)
7029 * elmo-version.el (elmo-version): Up to 2.5.0.
7031 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7033 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7035 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7037 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7038 non-nil, make hierarchy.
7040 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7042 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7043 `elmo-pop3-use-uidl' must be bound to nil.
7044 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7046 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7048 * elmo-util.el (elmo-copy-file): Don't cause an error after
7049 `add-name-to-file' failed.
7051 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7052 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7054 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7056 * elmo-version.el (elmo-version): Up to 2.3.93.
7058 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7060 * elmo-util.el (elmo-flatten): New function.
7062 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7064 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7066 * elmo-cache.el (toplevel): Ditto.
7067 * elmo-database.el (toplevel): Ditto.
7068 * elmo-date.el (toplevel): Ditto.
7069 * elmo-dop.el (toplevel): Ditto.
7070 * elmo-filter.el (toplevel): Ditto.
7071 * elmo-imap4.el (toplevel): Ditto.
7072 * elmo-internal.el (toplevel): Ditto.
7073 * elmo-localdir.el (toplevel): Ditto.
7074 * elmo-localnews.el (toplevel): Ditto.
7075 * elmo-maildir.el (toplevel): Ditto.
7076 * elmo-msgdb.el (toplevel): Ditto.
7077 * elmo-multi.el (toplevel): Ditto.
7078 * elmo-net.el (toplevel): Ditto.
7079 * elmo-nntp.el (toplevel): Ditto.
7080 * elmo-pipe.el (toplevel): Ditto.
7081 * elmo-pop3.el (toplevel): Ditto.
7082 * elmo-util.el (toplevel): Ditto.
7083 * elmo-vars.el (toplevel): Ditto.
7084 * elmo2.el (toplevel): Ditto.
7085 * mmelmo-imap4.el (toplevel): Ditto.
7086 * mmelmo.el (toplevel): Ditto.
7088 * elmo-version.el (elmo-version): Move to top.
7090 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7091 * elmo-imap4.el (toplevel): Ditto.
7092 * elmo-localdir.el (toplevel): Ditto.
7093 * elmo-msgdb.el (toplevel): Ditto.
7094 * elmo-nntp.el (toplevel): Ditto.
7095 * elmo-pop3.el (toplevel): Ditto.
7096 * elmo-version.el (toplevel): Ditto.
7098 * elmo-localnews.el (toplevel): Added Keyword header.
7100 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7102 * elmo-version.el (product-version-as-string): Defined using
7106 * elmo-localdir.el (toplevel): Updated copyright notice.
7107 * elmo-version.el (toplevel): Ditto.
7108 * elmo-msgdb.el (toplevel): Ditto.
7109 * elmo-imap4.el (toplevel): Ditto.
7110 * elmo-nntp.el (toplevel): Ditto.
7111 * elmo-pop3.el (toplevel): Ditto.
7113 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7115 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7118 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7119 parameter value (It sometimes contains raw kanji).
7121 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7123 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7124 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7126 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7128 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7130 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7132 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7133 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7135 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7137 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7138 value if selecting folder succceeded.
7139 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7141 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7143 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7146 * elmo-util.el (elmo-string-matched-member): New function.
7148 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7150 * elmo-util.el (elmo-unintern): New macro.
7151 (elmo-number-set-member): Fixed docstring.
7153 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7156 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7158 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7159 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7161 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7163 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7166 Return non-nil if selecting folder succeeded.
7167 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7169 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7171 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7172 `file-name-completion' returns t.
7173 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7174 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7175 directory if it does not exist.
7176 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7179 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7181 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7182 enclosure (It's harmful in unplugged status).
7184 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7186 * mmelmo-1.el: Removed.
7188 * mmelmo-2.el: Ditto.
7190 * mmelmo-imap4-1.el: Ditto.
7192 * mmelmo-imap4-2.el: Ditto.
7194 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7196 * mmelmo.el: Merged mmelmo-2.el.
7198 * elmo-version.el (elmo-version): Up to 2.3.92.
7200 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7202 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7203 elmo-update-number): Remove last period in "...done." message.
7204 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7206 * elmo-cache.el (elmo-cache-expire-by-size,
7207 elmo-cache-get-sorted-cache-file-list,
7208 elmo-cache-msgdb-create-as-numlist): Ditto.
7209 * elmo-dop.el (elmo-dop-save-pending-messages,
7210 (elmo-dop-flush-pending-append-operations): Ditto.
7211 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7212 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7213 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7214 (elmo-localdir-pack-number): Ditto.
7215 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7216 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7217 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7218 mime-write-entity-content): Ditto.
7219 * pldap.el (ldap-search-basic): Ditto.
7221 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7223 * elmo-version.el (elmo-version): Up to 2.3.91.
7225 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7226 Only when filter is 'last'.
7228 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7229 (elmo-condition-parse-search-value): Use it.
7230 (elmo-read-search-condition-internal): Quote value only when
7233 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7235 * elmo2.el (elmo-generic-folder-diff): Fix.
7237 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7239 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7240 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7241 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7242 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7243 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7244 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7246 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7248 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7251 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7253 * elmo-version.el (elmo-version): Up to 2.3.90.
7255 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7256 (elmo-imap4-list-folder-important): Ditto.
7258 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7260 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7262 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7264 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7266 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7268 * elmo-nntp.el (elmo-network-initialize-session):
7269 Add starttls negotiation.
7271 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7273 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7275 (elmo-network-setup-session): Define.
7276 Call `elmo-nntp-send-mode-reader' when session opened.
7278 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7280 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7282 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7284 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7285 an invalid SPACE character ahead of `SEARCH' command. Move
7286 a valid SPACE character following `SEARCH' from conditional
7287 `format' arguments to control-strings.
7289 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7291 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7294 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7296 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7298 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7299 `w32-get-true-file-link-count' as t.
7301 * elmo-imap4.el (elmo-imap4-read): Abolished.
7302 (Renamed to `elmo-read' and moved to elmo-util.el)
7303 All other related portions are changed.
7305 * elmo-util.el (elmo-read): New function.
7306 (elmo-condition-parse-search-value): Use it.
7308 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7310 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7312 * elmo-nntp.el (elmo-nntp-session): Define.
7313 (elmo-nntp-setting): Abolished.
7314 All other related portions are changed.
7315 (elmo-nntp-get-server-command): Changed argument.
7316 (elmo-nntp-set-server-command): Ditto.
7317 (elmo-nntp-xover-p): Ditto.
7318 (elmo-nntp-set-xover): Ditto.
7319 (elmo-nntp-listgroup-p): Ditto.
7320 (elmo-nntp-set-listgroup): Ditto.
7321 (elmo-nntp-list-active-p): Ditto.
7322 (elmo-nntp-set-list-active): Ditto.
7323 (elmo-nntp-xhdr-p): Ditto.
7324 (elmo-nntp-set-xhdr): Ditto.
7325 (elmo-nntp-flush-connection): Abolished.
7326 (elmo-nntp-get-connection): Abolished.
7327 (elmo-nntp-get-session): New function.
7328 (elmo-network-initialize-session): Defined.
7329 (elmo-network-authenticate-session): Ditto.
7330 (elmo-nntp-send-mode-reader): Changed argument.
7331 (elmo-nntp-send-command): Changed argument.
7332 All other related portions are changed.
7333 (elmo-nntp-read-response): Ditto.
7334 (elmo-nntp-read-raw-response): Ditto.
7335 (elmo-nntp-read-contents): Ditto.
7336 (elmo-nntp-read-body): Ditto.
7337 (elmo-nntp-goto-folder): Abolished.
7338 (elmo-nntp-select-group): New function.
7339 All other related portions are changed.
7340 (This function substitutes `elmo-nntp-goto-folder')
7341 (elmo-nntp-msgdb-create-by-header): Rewrite.
7342 (elmo-nntp-get-overview): Eliminated.
7343 (elmo-nntp-get-message): Ditto.
7344 (elmo-nntp-open-connection) Abolished.
7345 (elmo-nntp-read-msg): Rewrite.
7346 (elmo-nntp-post): Ditto.
7347 (elmo-nntp-send-data): Abolished.
7348 (elmo-nntp-send-buffer): New function.
7349 (elmo-nntp-send-data-line): Define as inline function.
7350 (elmo-nntp-get-folders-info-prepare): Use session as key.
7351 (elmo-nntp-groups-read-response): Changed argument.
7352 (elmo-nntp-retrieve-headers): Ditto.
7353 (elmo-nntp-msgdb-create-message): Ditto.
7355 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7356 when searching by 'since' or 'before'.
7358 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7360 * elmo-version.el (toplevel): Use product-version-as-string for set
7361 verstion-string, if defined.
7363 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7365 * elmo-util.el: Doc fixes.
7367 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7369 * elmo-archive.el (toplevel): Use product-provide.
7370 * elmo-cache.el (toplevel): Ditto.
7371 * elmo-database.el (toplevel): Ditto.
7372 * elmo-date.el (toplevel): Ditto.
7373 * elmo-dop.el (toplevel): Ditto.
7374 * elmo-filter.el (toplevel): Ditto.
7375 * elmo-imap4.el (toplevel): Ditto.
7376 * elmo-internal.el (toplevel): Ditto.
7377 * elmo-localdir.el (toplevel): Ditto.
7378 * elmo-localnews.el (toplevel): Ditto.
7379 * elmo-maildir.el (toplevel): Ditto.
7380 * elmo-msgdb.el (toplevel): Ditto.
7381 * elmo-multi.el (toplevel): Ditto.
7382 * elmo-net.el (toplevel): Ditto.
7383 * elmo-nntp.el (toplevel): Ditto.
7384 * elmo-pipe.el (toplevel): Ditto.
7385 * elmo-pop3.el (toplevel): Ditto.
7386 * elmo-util.el (toplevel): Ditto.
7387 * elmo-vars.el (toplevel): Ditto.
7388 * elmo2.el (toplevel): Ditto.
7389 * mmelmo-1.el (toplevel): Ditto.
7390 * mmelmo-2.el (toplevel): Ditto.
7391 * mmelmo-imap4-1.el (toplevel): Ditto.
7392 * mmelmo-imap4-2.el (toplevel): Ditto.
7393 * mmelmo-imap4.el (toplevel): Ditto.
7394 * mmelmo.el (toplevel): Ditto.
7396 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7398 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7399 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7401 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7403 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7405 (elmo-multi-split-number-alist): Ditto.
7407 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7409 * elmo-version.el: New file. Use product.el.
7410 * elmo2.el: Add (require 'elmo-version).
7411 * elmo-vars.el (elmo-appname, elmo-version): Move to
7414 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7416 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7417 `elmo-msgdb-expand-path'.
7418 (elmo-msgdb-load): Ditto.
7419 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7420 (elmo-generic-list-folder-unread): Rewrite.
7421 (elmo-generic-list-folder-important): Changed argument.
7422 (elmo-list-folder-unread): Ditto.
7423 (elmo-list-folder-important): Ditto.
7424 (elmo-folder-diff): Rewrite.
7425 (elmo-generic-folder-diff): New function.
7426 (elmo-multi-get-number-alist-list): Abolished
7427 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7428 (elmo-multi-folder-diff): Moved to elmo-multi.el
7429 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7431 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7432 `elmo-msgdb-expand-path'.
7433 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7434 (elmo-pop3-read-msg): Ditto.
7435 (elmo-pop3-delete-msgs): Ditto.
7436 (elmo-pop3-folder-diff): New alias.
7438 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7439 `elmo-msgdb-expand-path'.
7440 (elmo-pipe-list-folder-unread): Changed arguments.
7441 (elmo-pipe-list-folder-important): Ditto.
7442 (elmo-pipe-folder-diff): New alias.
7444 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7445 `elmo-msgdb-expand-path'.
7446 (elmo-nntp-max-of-folder): Ditto.
7447 (elmo-nntp-msgdb-create): Ditto.
7448 (elmo-nntp-delete-msgs): Ditto.
7449 (elmo-nntp-folder-diff): New alias.
7451 * elmo-multi.el (elmo-multi-folder-diff): New function.
7452 (elmo-multi-split-mark-alist): Ditto.
7453 (elmo-multi-split-number-alist): Ditto.
7454 (elmo-multi-mark-alist-list): Abolished (Renamed to
7455 elmo-multi-split-mark-alist).
7456 (elmo-multi-list-folder-unread): Rewrite.
7457 (elmo-multi-list-folder-important): Ditto.
7458 (elmo-multi-list-folder): Set `spec' as 1st argument for
7459 `elmo-msgdb-expand-path'.
7460 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7461 instead of `elmo-multi-get-number-alist-list'.
7463 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7464 If 1st argument is not string, treat as spec.
7465 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7466 `elmo-msgdb-expand-path'.
7467 (elmo-msgdb-flist-load): Ditto.
7468 (elmo-msgdb-flist-save): Ditto.
7469 (elmo-msgdb-delete-path): Ditto.
7470 (elmo-msgdb-rename-path): Ditto.
7472 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7473 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7474 (elmo-maildir-delete-mark-msgs): Ditto.
7475 (elmo-maildir-msgdb-create): Ditto.
7476 (elmo-maildir-read-msg): Ditto.
7477 (elmo-maildir-delete-msgs): Ditto.
7478 (elmo-maildir-list-folder-subr): Ditto.
7479 (elmo-maildir-search): Ditto.
7480 (elmo-maildir-get-msg-filename): Ditto.
7481 (elmo-maildir-pack-number): Ditto.
7482 (elmo-maildir-folder-diff): New alias.
7484 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7486 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7487 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7488 (elmo-localdir-folder-diff): New alias.
7490 * elmo-internal.el (elmo-internal-list-folder-subr):
7491 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7492 (elmo-internal-list-folder-by-location): Ditto.
7493 (elmo-internal-msgdb-create): Ditto.
7494 (elmo-internal-delete-msgs): Ditto.
7495 (elmo-internal-read-msg): Ditto.
7496 (elmo-internal-folder-diff): New alias.
7498 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7499 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7500 `elmo-msgdb-expand-path'.
7501 (elmo-imap4-list-folder-unread): Changed arguments.
7502 (elmo-imap4-list-folder-important): Ditto.
7504 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7505 (elmo-filter-list-folder-important): Ditto.
7506 (elmo-filter-folder-diff): New function.
7508 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7510 * elmo-cache.el (elmo-cache-list-folder):
7511 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7512 (elmo-cache-copy-msgs): Ditto.
7513 (elmo-cache-folder-diff): New alias.
7515 * elmo-archive.el (elmo-archive-list-folder-subr):
7516 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7517 (elmo-archive-get-archive-name): Ditto.
7518 (elmo-archive-create-file): Ditto.
7519 (elmo-archive-append-msg): Ditto.
7520 (elmo-archive-copy-msgs): Ditto.
7521 (elmo-archive-copy-msgs-froms): Ditto.
7522 (elmo-archive-get-msg-filename): Ditto.
7523 (elmo-archive-folder-diff): New alias.
7525 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7527 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7528 (elmo-pop3-stream-type-alist): New variable.
7529 (elmo-nntp-stream-type-alist): New variable.
7531 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7532 (elmo-kill-buffer): Ditto.
7533 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7534 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7535 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7536 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7537 (elmo-imap4-get-spec): Take into account
7538 `elmo-imap4-stream-type-alist'.
7540 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7542 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7543 (elmo-nntp-list-folders-get-cache): Ditto.
7545 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7547 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7548 character before 'uid'.
7550 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7552 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7554 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7556 * elmo-util.el (elmo-number-set-member): New function.
7557 (elmo-number-set-append-list): Ditto.
7558 (elmo-number-set-append): Ditto.
7560 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7561 Use `elmo-number-set-member'.
7562 (elmo-living-messages): Ditto.
7563 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7564 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7566 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7567 (elmo-imap4-add-to-cont-list): Abolished.
7568 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7569 instead of elmo-imap4-add-to-cont-list.
7571 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7572 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7574 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7576 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7578 * elmo-util.el (elmo-condition-parse-search-value):
7581 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7583 * elmo-util.el (elmo-condition-find-key-internal): New function.
7584 (elmo-condition-find-key): Ditto.
7586 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7587 (elmo-msgdb-search-internal): Ditto.
7588 (elmo-msgdb-search): Ditto.
7590 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7592 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7593 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7595 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7596 (elmo-nntp-search-primitive): Fixed problem when condition is
7599 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7601 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7602 (elmo-nntp-xhdr-p): New macro.
7603 (elmo-nntp-set-xhdr): Ditto.
7604 (elmo-nntp-parse-xhdr-response): New function.
7605 (elmo-nntp-retrieve-field): Ditto.
7606 (elmo-nntp-search-primitive): Ditto.
7607 (elmo-nntp-search): Implemented.
7609 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7611 * elmo-archive.el (elmo-archive-search): Set all number list to
7612 `elmo-archive-field-condition-match'
7614 * elmo-localdir.el (elmo-localdir-search): Likewise.
7616 * elmo-maildir.el (elmo-maildir-search): Likewise.
7618 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7620 * elmo-msgdb.el (elmo-living-messages): New function.
7621 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7622 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7623 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7624 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7625 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7626 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7627 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7628 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7629 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7630 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7631 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7633 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7635 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7637 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7639 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7641 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7642 arguments for `SEARCH' command.
7643 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7644 All other related portions are changed.
7646 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7648 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7649 (elmo-list-folder-unread): Rewrite.
7650 (elmo-list-folder-important): Ditto.
7652 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7653 (elmo-condition-parse-error): New inline function.
7654 (elmo-read-search-condition): New function.
7655 (elmo-read-search-condition-internal): Ditto.
7656 (elmo-parse-search-condition): Rewrite.
7657 (elmo-condition-parse): New function.
7658 (elmo-condition-parse-or-expr): Ditto.
7659 (elmo-condition-parse-and-expr): Ditto.
7660 (elmo-condition-parse-primitive): Ditto.
7661 (elmo-condition-parse-search-value): Ditto.
7662 (elmo-buffer-field-primitive-condition-match): Ditto.
7663 (elmo-buffer-field-condition-match): Rewrite.
7664 (elmo-file-field-condition-match): Ditto.
7666 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7667 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7669 * elmo-internal.el (elmo-internal-search): Set `number' and
7670 `number-list' argument of `elmo-file-field-condition-match'.
7672 * elmo-maildir.el (elmo-maildir-search): Ditto.
7674 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7675 `msgdb' as argument instead of `mark-alist'.
7676 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7679 * elmo-multi.el: Likewise.
7681 * elmo-pipe.el: Likewise.
7683 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7684 (elmo-imap4-search-internal): Rewrite.
7685 (elmo-imap4-search): Ditto.
7687 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7688 (elmo-filter-list-folder-unread): Ditto.
7689 (elmo-filter-list-folder-important): Ditto.
7690 (elmo-filter-search): Rewrite.
7692 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7693 `number-list' argument of `elmo-file-field-condition-match'.
7694 (elmo-cache-search): Ditto.
7696 * elmo-localdir.el: Likewise.
7698 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7699 number-list and pass it to `elmo-buffer-field-condition-match'.
7700 (elmo-archive-field-condition-match): Pass `number-list' to
7701 `elmo-archive-field-condition-match'
7703 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7705 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7708 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7709 (elmo-folder-diff-async-callback-data): Ditto.
7710 (elmo-folder-diff-async): New function.
7712 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7713 (elmo-network-session-cache-key): Use it as a prefix of the session
7715 (elmo-network-open-session): Ditto.
7717 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7718 (elmo-imap4-status-callback-data): Ditto.
7719 (elmo-imap4-server-diff-async-callback): New variable.
7720 (elmo-imap4-server-diff-async-callback-data): Ditto.
7721 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7722 `elmo-imap4-status-callback-data'.
7723 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7724 `elmo-imap4-status-callback-data' as nil.
7725 (elmo-imap4-server-diff): Ditto.
7726 (elmo-imap4-server-diff-async-callback-1): New function.
7727 (elmo-imap4-server-diff-async): Ditto.
7728 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7730 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7732 * elmo-util.el (elmo-list-delete): Doc fix.
7733 (elmo-delete-lists): Abolish.
7734 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7735 instead of `elmo-delete-lists'.
7737 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7739 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7742 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7744 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7745 `elmo-imap4-literal-subr'.
7746 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7747 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7749 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7751 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7752 (elmo-archive-list-folder): Fix.
7753 (elmo-archive-max-of-folder): Fix.
7755 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7757 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7758 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7759 (elmo-localdir-append-msg): Ditto.
7760 (elmo-localdir-list-folder): Fix for `nonsort'.
7761 (elmo-localdir-list-folder-subr): Fix for `killed'.
7762 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7763 (elmo-maildir-list-folder-subr): Ditto.
7764 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7765 (elmo-archive-list-folder-subr): Ditto.
7766 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7767 (elmo-internal-list-folder-subr): Ditto.
7769 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7771 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7773 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7775 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7777 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7779 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7780 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7782 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7784 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7785 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7787 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7789 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7791 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7792 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7793 before STORE command.
7795 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7797 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7799 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7800 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7802 (elmo-imap4-list-folders): Removed unused local variable.
7803 (elmo-network-initialize-session): Ditto.
7804 (elmo-imap4-delete-msg-by-id): Ditto.
7805 (elmo-imap4-parse-fetch): Ditto.
7806 (elmo-imap4-copy-msgs): Ditto.
7807 Use `dst-spec' instead of `dst-folder'.
7808 (elmo-network-authenticate-session): Check authenticate type `plain'.
7810 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7812 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7814 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7815 `elmo-imap4-response-value'.
7816 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7818 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7820 * elmo-imap4.el (elmo-imap4-send-command):
7821 Cause elmo-imap4-bye-error when current response is BYE.
7822 (elmo-imap4-arrival-filter): Changed greeting response value.
7824 * elmo2.el (elmo-imap4-bye-error): Define.
7826 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7827 (elmo-imap4-server-diff): Ditto.
7828 (elmo-imap4-response-bye-p): New macro.
7829 (elmo-imap4-response-error-text): Get text from BYE response.
7830 (elmo-imap4-read-response): Return if BYE response.
7831 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7832 (elmo-imap4-folder-exists-p): Ditto.
7833 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7834 (elmo-imap4-parse-bye): New function.
7835 (elmo-imap4-parse-response): Remove needless let.
7836 Call `elmo-imap4-parse-bye'.
7838 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7840 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7841 the mailbox does not exist.
7842 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7844 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7846 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7848 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7850 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7852 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7853 (elmo-network-initialize-session-buffer): Defined.
7855 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7857 (mmelmo-imap4-get-mime-entity): Rewrite.
7859 * elmo2.el (elmo-error): Capitalize error message.
7861 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7862 (elmo-network-session-buffer): New macro.
7863 (elmo-network-open-session): Use it.
7865 * elmo-imap4.el: Rewrite.
7867 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7869 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7871 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7873 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7874 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7875 (elmo-imap4-create-msgdb-from-overview-string): Use
7876 `elmo-msgdb-create-overview-from-buffer'.
7878 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7880 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7881 (elmo-imap4-default-hierarchy-delimiter): New variable.
7882 (elmo-imap4-list-folders): Use it.
7884 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7886 * elmo-net.el (elmo-network-open-session): Add user and
7887 stream-type for process-buffer name.
7889 * elmo-pop3.el (elmo-network-initialize-session): Call
7890 buffer-disable-undo.
7892 * elmo-imap4.el (elmo-network-initialize-session):
7893 Set current-buffer as an argument for `buffer-disable-undo'.
7895 * elmo-pop3.el (elmo-network-close-session): Don't use
7898 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7899 Set default as 'user.
7901 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7903 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7904 and `elmo-imap4-flush-connection'.
7906 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7907 (elmo-pop3-get-spec): Assume auth as symbol.
7908 (elmo-open-network-stream): Moved to `elmo-net'.
7910 * elmo-pop3.el (toplevel): Require 'elmo-net.
7911 Define `sasl-cram-md5' to silence byte compilier.
7912 (elmo-pop3-connection-cache) Abolished.
7913 (elmo-pop3-authenticator-alist) New variable.
7914 (elmo-pop3-session): Define.
7915 (elmo-pop3-connection-get-process): Abolished.
7916 (elmo-pop3-connection-get-buffer): Ditto.
7917 (elmo-pop3-close-connection): Ditto.
7918 (elmo-pop3-flush-connection): Ditto.
7919 (elmo-pop3-get-connection): Ditto.
7920 (elmo-pop3-get-session): New function.
7921 (Replacement for `elmo-pop3-get-connection').
7922 All other related modules are changed.
7923 (elmo-network-close-session): Define.
7924 (elmo-pop3-send-command): Abolished argument `buffer'.
7925 All other related modules are changed.
7926 (elmo-pop3-read-response): Likewise.
7927 (elmo-pop3-open-connection): Abolished.
7928 (elmo-pop3-auth-user): New function.
7929 (elmo-pop3-auth-apop): Ditto.
7930 (elmo-pop3-auth-cram-md5): Ditto.
7931 (elmo-pop3-auth-scram-md5): Ditto.
7932 (elmo-pop3-auth-digest-md5): Ditto.
7933 (elmo-network-initialize-session): Define.
7934 (elmo-network-authenticate-session): Ditto.
7935 (elmo-network-setup-session): Ditto.
7937 * elmo-imap4.el (toplevel): Require 'elmo-net.
7938 (elmo-imap4-session): Define.
7939 (elmo-imap4-connection-cache): Abolished.
7940 (elmo-imap4-password-key): Ditto.
7941 (elmo-imap4-flush-connection): Ditto.
7942 (elmo-imap4-get-connection): Ditto.
7943 All other related modules are changed.
7944 (elmo-imap4-get-session): New function
7945 (Replacement for `elmo-imap4-get-connection').
7946 (elmo-imap4-read-response): Abolished argument `buffer'.
7947 All other related modules are changed.
7948 (elmo-imap4-send-command): Likewise.
7949 (elmo-imap4-select-folder): Abolished.
7950 All other related modules are changed.
7951 (elmo-imap4-select-mailbox): New function.
7952 (Replacement for `elmo-imap4-select-folder').
7953 (elmo-imap4-auth-login): Simplify.
7954 (Assume current buffer as process buffer)
7955 (elmo-imap4-auth-cram-md5): Ditto.
7956 (elmo-imap4-auth-digest-md5): Ditto.
7957 (elmo-imap4-login): Ditto.
7958 (elmo-imap4-open-connection): Abolished.
7959 (elmo-imap4-open-connection-1): Abolished.
7960 (elmo-network-initialize-sessoin): Define.
7961 (elmo-network-authenticate-session): Ditto.
7962 (elmo-network-setup-session): Ditto.
7964 * elmo-net.el: New module.
7966 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7968 * elmo-util.el (elmo-define-error): New function.
7970 * elmo2.el (elmo-error): Define.
7971 (elmo-open-error): Define.
7972 (elmo-authenticate-error): Define.
7974 * elmo-imap4.el (elmo-imap4-error): Abolish.
7975 (elmo-imap4-error-type): Abolish.
7976 (elmo-imap4-error-process): Abolish.
7977 (elmo-imap4-error-message): Abolish
7978 (elmo-imap4-list-folders): Don't quote lambda.
7979 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7980 (elmo-imap4-parse-namespace): Ditto.
7981 (elmo-imap4-open-connection): Rewrite.
7982 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7983 (elmo-imap4-get-connection): Abolish local variable `result'.
7985 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7987 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7988 wrong-type-argument error when auth is nil.
7990 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7992 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7993 (elmo-default-nntp-stream-type): Ditto.
7994 (elmo-default-pop3-stream-type): Ditto.
7995 (elmo-network-stream-type-alist): Ditto.
7996 (elmo-default-imap4-ssl): Abolished.
7997 (elmo-default-nntp-ssl): Ditto.
7998 (elmo-default-pop3-ssl): Ditto.
8000 * elmo-util.el: (toplevel): Removed needless requires.
8001 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8002 (elmo-open-network-stream): Open network stream according to
8003 the value of `elmo-network-stream-type-alist'.
8004 (elmo-get-network-stream-type): New function.
8005 (elmo-network-stream-type-spec-string): New macro.
8006 (elmo-network-stream-type-symbol): Ditto.
8007 (elmo-network-stream-type-function): Ditto.
8009 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8010 network-stream-type. All other related portions are changed.
8011 (elmo-pop3-open-connection): Ditto.
8013 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8014 network-stream-type. All other related portions are changed.
8016 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8017 network-stream-type.All other related portions are changed.
8018 (elmo-imap4-error): New macro.
8019 (elmo-imap4-error-type): Ditto.
8020 (elmo-imap4-error-process): Ditto.
8021 (elmo-imap4-error-message): Ditto.
8022 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8023 (elmo-imap4-auth-cram-md5): Ditto.
8024 (elmo-imap4-auth-digest-md5): Ditto.
8025 (elmo-imap4-login): Ditto.
8026 (elmo-imap4-open-connection): Remove password entry if authentication
8028 (elmo-imap4-user-at-host): Abolished.
8029 (elmo-imap4-password-key): New buffer local variable.
8030 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8031 using protocol, port, auth and stream-type.
8033 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8035 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8037 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8039 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8041 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8042 (elmo-imap4-authenticator-alist): New variable.
8043 (elmo-imap4-open-connection-1): Rename from
8044 elmo-imap4-open-connection.
8045 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8046 only wraps elmo-imap4-open-connection-1.
8047 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8049 (elmo-imap4-auth-login): New function.
8050 (elmo-imap4-auth-cram-md5): New function.
8051 (elmo-imap4-auth-digest-md5): New function.
8052 (elmo-imap4-login): New function.
8054 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8056 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8059 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8061 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8063 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8065 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8067 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8069 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8070 for server responses, quote `*' regardless of where it appears.
8072 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8074 * elmo-maildir.el (elmo-maildir-commit): New alias.
8076 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8078 * elmo-util.el (elmo-display-progress):
8079 Use `progress-feedback-with-label'.
8081 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8083 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8084 (elmo-imap4-non-atom-char-regex): Ditto.
8085 (elmo-imap4-non-text-char-regex): Ditto.
8086 (elmo-imap4-literal-threshold): Ditto.
8087 (elmo-imap4-atom-p): New function.
8088 (elmo-imap4-quotable-p): Ditto.
8089 (elmo-imap4-nil): Ditto.
8090 (elmo-imap4-atom): Ditto.
8091 (elmo-imap4-quoted): Ditto.
8092 (elmo-imap4-literal-subr): Ditto.
8093 (elmo-imap4-literal): Ditto.
8094 (elmo-imap4-buffer-literal): Ditto.
8095 (elmo-imap4-string-subr): Ditto.
8096 (elmo-imap4-string): Ditto.
8097 (elmo-imap4-buffer-string): Ditto.
8098 (elmo-imap4-astring-subr): Ditto.
8099 (elmo-imap4-astring): Ditto.
8100 (elmo-imap4-buffer-astring): Ditto.
8101 (elmo-imap4-nstring): Ditto.
8102 (elmo-imap4-buffer-nstring): Ditto.
8103 (elmo-imap4-mailbox): New alias.
8104 (elmo-imap4-field-body): Ditto.
8105 (elmo-imap4-userid): Ditto.
8106 (elmo-imap4-password): Ditto.
8107 (elmo-imap4-format-quoted): New function.
8108 (elmo-imap4-send-command): Rewritten. Accept a list of command
8109 arguments and handle "atom", "quoted" and "literal" string here.
8110 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8111 `elmo-imap4-send-command'.
8112 (elmo-imap4-folder-exists-p): Likewise.
8113 (elmo-imap4-create-folder): Likewise.
8114 (elmo-imap4-delete-folder): Likewise.
8115 (elmo-imap4-rename-folder): Likewise.
8116 (elmo-imap4-max-of-folder): Likewise.
8117 (elmo-imap4-check-validity): Likewise.
8118 (elmo-imap4-sync-validity): Likewise.
8119 (elmo-imap4-server-diff): Likewise.
8120 (elmo-imap4-select-folder): Likewise.
8121 (elmo-imap4-copy-msgs): Likewise.
8122 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8123 (elmo-imap4-mark-set-on-msgs): Likewise.
8124 (elmo-imap4-read-part): Likewise.
8125 (elmo-imap4-read-msg): Likewise.
8126 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8127 `elmo-imap4-password' for `elmo-imap4-send-command'.
8128 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8129 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8130 `elmo-imap4-buffer-literal'.
8131 (elmo-imap4-append-msg): Likewise.
8133 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8134 `delete' for removing dead connection from the connection cache.
8135 Move deletion of the process buffer after that.
8136 (elmo-imap4-list): Change `defsubst' to `defun'.
8137 (elmo-imap4-commit): Make error message verbose.
8138 (elmo-imap4-search): Ditto.
8139 (elmo-imap4-list): Ditto.
8140 (elmo-imap4-select-folder): Ditto.
8141 (elmo-imap4-copy-msgs): Ditto.
8142 (elmo-imap4-delete-msg-by-id): Ditto.
8143 (elmo-imap4-append-msg-by-id): Ditto.
8144 (elmo-imap4-append-msg): Ditto.
8146 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8148 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8149 when dired is used on XEmacs.
8151 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8153 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8154 instead of `append'.
8155 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8156 `elmo-plugged-p' directly.
8157 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8158 of `elmo-plugged-p' directly.
8160 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8161 Eliminate unused variable. Use `memq' for checking a process status.
8162 Use `cons' instead of `append' for updating the connection cache.
8163 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8164 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8166 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8168 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8169 `elmo-imap4-read-point' exactly.
8171 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8172 the local variable `folder' to `mailbox'.
8173 Rename the argument `fld' to `folder'.
8175 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8177 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8178 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8180 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8182 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8183 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8184 (elmo-pop3-uidl-number-hash): Ditto.
8185 (elmo-pop3-size-hash): Ditto.
8186 (elmo-pop3-uidl-done): Ditto.
8187 (elmo-pop3-list-done): Ditto.
8188 (elmo-pop3-connection-get-process): New defmacro.
8189 (elmo-pop3-connection-get-buffer): Ditto.
8190 (elmo-pop3-close-connection): Delete buffer and process.
8191 (elmo-pop3-flush-connection): Don't delete buffer and process.
8192 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8193 Setup UIDL and size hash.
8194 (elmo-pop3-send-command-no-erase): Deleted
8195 (elmo-pop3-send-command): Added optional argument `no-erase'.
8196 (elmo-pop3-parse-uidl-response): New function.
8197 (elmo-pop3-parse-list-response): Set size hash.
8198 (elmo-pop3-list-location): New function.
8199 (elmo-pop3-list-by-uidl-subr): Ditto.
8200 (elmo-pop3-list-by-list): Ditto.
8201 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8202 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8203 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8204 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8205 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8207 (elmo-pop3-uidl-to-number): New function.
8208 (elmo-pop3-number-to-uidl): Ditto.
8209 (elmo-pop3-number-to-size): Ditto.
8210 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8211 Set number by use of uidl.
8212 (elmo-pop3-msgdb-create-message): Likewise.
8213 Set size, loc-alist in msgdb.
8214 (elmo-pop3-read-msg): Set number by use of uidl.
8215 Added optional argument `msgdb'.
8216 (elmo-pop3-delete-msg): Ditto.
8217 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8218 (elmo-pop3-commit): Close connection.
8220 * elmo-pipe.el (elmo-pipe-max-of-folder):
8221 Bind `elmo-pop3-use-uidl' as nil.
8222 (elmo-pipe-drain): Ditto.
8225 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8226 (elmo-msgdb-overview-entity-set-size): New defsubst.
8228 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8230 * elmo-vars.el (elmo-use-killed-list): New variable
8231 (Renamed from `elmo-nntp-use-killed-list').
8232 (elmo-nntp-use-killed-list): Eliminated.
8234 * elmo-msgdb.el (elmo-msgdb-expand-path):
8235 Changed expanding msgdb path for elmo-multi.
8237 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8238 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8239 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8240 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8241 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8242 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8243 (toplevel): Deleted time-stamp line.
8245 * elmo2.el (elmo-clear-killed ): Defined as function
8246 (Abolished defining as a backend function).
8247 All other related modules are changed.
8249 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8251 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8253 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8255 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8257 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8259 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8261 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8263 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8264 asynchronous folder check.
8266 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8268 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8269 `elmo-nntp-use-killed-list'.
8270 (elmo-nntp-list-folder): Use killed list.
8271 (elmo-nntp-max-of-folder): Ditto.
8272 (elmo-nntp-msgdb-create): Set killed list.
8274 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8276 * elmo2.el (elmo-clear-killed): New backend function.
8277 All other related modules are changed.
8279 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8281 * elmo-util.el (elmo-imap4-spec-folder): Use
8282 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8283 All callers changed.
8285 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8287 * mmelmo-2.el (initialize-instance):
8288 Use `mime-buffer-entity-buffer-internal' instead of
8289 `mime-entity-buffer'.
8291 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8292 (mime-entity-body): Implemented.
8293 (mime-goto-header-start-point): Deleted.
8294 (mime-goto-body-end-point): Ditto.
8295 (mime-entity-point-min): Ditto.
8296 (mime-entity-point-max): Ditto.
8297 (mime-entity-children): Ditto.
8298 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8299 instead of `mime-entity-buffer'.
8300 (mime-entity-header-buffer): Ditto.
8301 (mime-entity-body-buffer): Ditto.
8302 (mime-write-entity-content): Ditto.
8304 * pldap.el (ldap-static-if): New macro.
8305 (toplevel): Use it instead of `static-if'.
8307 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8309 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8310 included in `attrs' argument.
8312 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8314 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8316 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8317 (ldap-ldif-safe-init-char-regexp): Ditto.
8318 (ldap-ldif-safe-string-regexp): Ditto.
8319 (ldap/ldif-safe-string-p): New macro.
8320 (ldap/ldif-insert-field): Ditto.
8321 (ldap-modify): Use it.
8323 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8324 (ldap-decode-attribute): Decode only when `attr' is consp.
8325 (ldap-delete): Bind `ret'.
8326 (toplevel): Require 'cl at compile time.
8327 Removed (require 'poe) and (require 'std11).
8328 (pldap-version): Eliminated.
8329 (ldap-search-basic): Removed auth and dn binding.
8330 (ldap-ldif-field-name-regexp): New constant.
8331 (ldap-ldif-field-head-regexp): Ditto.
8332 (ldap-ldif-next-field-head-regexp): Ditto.
8333 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8334 (ldap/field-end): New function.
8335 (ldap/field-body): Use it.
8336 (ldap/collect-field): Ditto.
8337 (ldap-search-basic): Use `ldap/field-body'.
8339 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8341 * pldap.el (ldap-default-attribute-encoder): New user option.
8342 (ldap/field-body): Decode base64 string.
8343 (ldap/collect-field): Ditto.
8344 (ldap-encode-attribute): New function.
8345 (ldap-add-entries): Use it.
8346 (ldap-modify-entries): Ditto.
8347 (ldap-search-entries): Enclosed decoding function with
8348 `with-temp-buffer' and set as unibyte.
8349 (ldap-search-basic): Set process buffer as unibyte.
8351 * elmo-util.el (elmo-folder-identical-system-p):
8352 Eliminated name space checking.
8354 * pldap.el: New module.
8355 toplevel: Changed condition to detect built-in ldap feature.
8356 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8357 (ldap-add): Added error handling.
8358 (ldap-modify): Ditto.
8359 (ldap-delete): Ditto.
8361 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8363 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8364 Initialize local variables with `let'. Inline a temporary
8365 variable for the progress percentage. Sort `setq' to reduce
8366 function call in the while-loop.
8368 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8369 into the conditional branch.
8371 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8373 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8374 Move a conditional out of the while-loop.
8376 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8378 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8379 elmo-msgdb-overview-get-entity-by-number.
8380 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8383 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8385 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8386 the local variable for a packed number self descriptively.
8388 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8390 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8391 * elmo-localdir.el (elmo-localdir-pack-number): Use
8392 `elmo-msgdb-overview-get-entity' instead of
8393 `elmo-msgdb-overview-get-entity-by-number'.
8394 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8395 (elmo-msgdb-search-overview-entity): Removed.
8396 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8397 by message-id or number.
8398 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8399 instead of `elmo-msgdb-overview-get-entity-by-number'.
8401 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8403 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8404 non-nil, use hash table for overview.
8405 (elmo-hash-maximum-size): New variable.
8406 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8407 (elmo-msgdb-make-overview-hashtb): New function.
8408 (elmo-msgdb-clear-overview-hashtb): New function.
8409 (elmo-clear-hash-val): New macro.
8410 All other related modules are changed.
8412 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8414 * elmo2.el (elmo-move-msgs): If there's other message with
8415 same message-id, don't use cache.
8417 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8419 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8420 number is already packed.
8422 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8424 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8426 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8428 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8429 All other related modules are changed.
8431 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8433 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8434 of refiling failure on Maildir.
8436 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8438 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8439 decoded mime-charset with cache.
8440 (elmo-msgdb-overview-entity-get-from): Ditto.
8441 (elmo-msgdb-overview-entity-get-subject): Ditto.
8442 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8444 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8446 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8447 (elmo-remove-passwd): Fill password with 0 before erase.
8448 * elmo-vars.el (elmo-passwd-life-time): New variable.
8451 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8453 * elmo-cache.el (elmo-buffer-cache-add):
8454 Set message cache buffer as unibyte.
8456 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8458 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8461 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8463 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8464 when display is finished.
8465 (elmo-nntp-msgdb-create): Ditto.
8466 (elmo-nntp-groups-read-response): Ditto.
8467 (elmo-nntp-retrieve-headers): Ditto.
8468 (elmo-nntp-msgdb-create-message): Ditto.
8469 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8470 (elmo-pop3-msgdb-create-message): Ditto.
8472 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8474 * elmo-maildir.el (elmo-maildir-msgdb-create):
8475 Use `elmo-msgdb-sort-by-date'.
8477 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8479 * elmo2.el (elmo-read-msg-no-cache):
8480 Eliminated arguments after `outbuf'.
8481 Don't use cache even if it exists.
8482 (elmo-read-msg): Don't pass arguments after `outbuf' to
8483 `elmo-read-msg-no-cache'.
8485 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8487 * elmo-archive.el (elmo-archive-list-folders):
8488 Use `file-name-directory' if base folder does not exist.
8490 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8492 * elmo-archive.el (elmo-archive-list-folders): Don't use
8493 `file-name-directory'.
8495 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8497 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8498 If `force' is non-nil, try flushing all operation queues.
8500 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8502 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8505 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8507 * elmo-util.el (elmo-display-progress): Fixed.
8509 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8511 * elmo-util.el (elmo-display-progress): New function.
8512 All other related modules are changed.