1 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-access.el (elmo-folder-initialize): Call
4 `elmo-multi-connect-signals'.
6 * elmo-pipe.el (elmo-folder-close): Define.
8 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
11 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
14 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
17 * elmo-multi.el (elmo-message-entity): Don't use return value of
18 `elmo-message-entity-set-number'.
20 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
22 * modb.el (modb-generic): Added slot `mime-charset'.
24 * modb-standard.el (modb-standard): Added slot `overview-handler'.
25 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
26 and `modb-entity-handler-dump-parameters'.
27 (modb-standard-default-entity-handler): Abolish.
28 (elmo-msgdb-message-entity-handler): Save created handler by
31 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
32 (modb-entity-handler-list-parameters): New method.
33 (modb-entity-handler-equal-p): New function.
34 (modb-entity-handler-dump-parameters): Ditto.
35 (modb-entity-parse-address-string): Encode return value.
36 (modb-entity-make-address-string): Decode argument value.
37 (modb-entity-decode-string-recursive): New function.
38 (modb-entity-encode-string-recursive): Ditto.
39 (modb-standard-entity-normalizer): Set to encode field value.
40 (modb-standard-entity-specializer): Follow the above change.
41 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
42 mime-charset of handler.
43 (elmo-msgdb-message-entity-field): Ditto.
44 (elmo-msgdb-copy-message-entity): Fixed reference to internal
46 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
48 * elmo.el (elmo-folder): Added slot `mime-charset'.
49 (elmo-make-folder): Added argument `mime-charset'.
50 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
53 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
54 (elmo-make-msgdb): Likewise.
56 * elmo-internal.el (elmo-internal-folder-initialize): Call
57 `luna-make-entity' with :mime-charset parameter.
59 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
61 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
62 encoded words in `from' and `subject' field.
64 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
66 * modb.el (elmo-msgdb-message-field): Add argument `type'.
67 (elmo-msgdb-match-condition): Get handler from entity instead of
70 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
71 (modb-standard-load-entity): Treat new file format.
72 (modb-standard-save-entity-1): Save as new file format.
73 (modb-standard-save-entity): Split messages into section here.
74 (elmo-msgdb-message-field): Follow the API change.
75 (modb-standard-default-entity-handler): New internal variable.
76 (elmo-msgdb-message-entity-handler): Define.
78 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
80 (modb-entity-field-extractor-alist): New user option.
81 (elmo-msgdb-message-entity-field): Removed argument `decode' and
82 added argument `type'.
83 (elmo-msgdb-copy-message-entity): Add optional argument
85 (modb-set-field-converter): New function.
86 (modb-convert-field-value): Ditto.
87 (modb-entity-string-decoder): Ditto.
88 (modb-entity-string-encoder): Ditto.
89 (modb-entity-parse-date-string): Ditto.
90 (modb-entity-make-date-string): Ditto.
91 (modb-entity-mime-decoder): Ditto.
92 (modb-entity-mime-encoder): Ditto.
93 (modb-entity-address-list-decoder): Ditto.
94 (modb-entity-address-list-encoder): Ditto.
95 (modb-entity-parse-address-string): Ditto.
96 (modb-entity-make-address-string): Ditto.
97 (modb-entity-create-field-indices): Ditto.
98 (modb-legacy-entity-field-slots): New constant.
99 (modb-legacy-entity-field-indices): Ditto.
100 (modb-legacy-entity-normalizer): New variable.
101 (modb-legacy-entity-specializer): Ditto.
102 (modb-legacy-entity-field-index): New macro.
103 (modb-legacy-entity-set-field): New function.
104 (modb-legacy-make-message-entity): Rewrite.
105 (elmo-msgdb-create-message-entity-from-buffer): Use
106 `elmo-msgdb-get-references-from-buffer'. Use
107 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
108 Use `modb-legacy-entity-set-field' instead of
109 `elmo-msgdb-message-entity-set-field'.
110 (elmo-msgdb-message-entity-field): Rewrite.
111 (elmo-msgdb-message-entity-set-field): Ditto.
112 (elmo-msgdb-copy-message-entity): Make new entity by
113 `make-handler' if it specified.
114 (elmo-msgdb-message-match-condition): Define a method of
115 `modb-entity-handler' and follow the API change.
116 (modb-standard-entity-handler): New class.
117 (modb-entity-extract-ml-info-from-x-sequence): New function.
118 (modb-entity-extract-ml-info-from-subject): Ditto.
119 (modb-entity-extract-ml-info-from-return-path): Ditto.
120 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
121 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
122 (modb-entity-extract-mailing-list-info): Ditto.
123 (modb-entity-extract-mailing-list-info-functions): New variable.
125 * elmo.el (elmo-message-field): Add optional argument `type'.
127 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
128 from `modb-entity.el'.
130 * elmo-util.el (elmo-object-load): Decode by coding-system from
131 `set-auto-coding-function'.
132 (elmo-object-save): Use `detect-mime-charset-region' and add
133 coding cookie if encode.
134 (elmo-msgdb-get-references-from-buffer): New function.
135 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
137 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
139 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
140 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
141 instead of `shimbun-make-header' and follow the API change.
142 (elmo-shimbun-update-overview): Follow the API change.
143 (elmo-map-folder-list-message-locations): Ditto.
145 * elmo-pipe.el (elmo-message-field): Ditto.
147 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
150 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
152 * elmo-multi.el (elmo-message-field): Ditto.
154 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
155 (elmo-msgdb-sort-by-date): Ditto.
156 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
157 `elmo-message-entity-field'.
158 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
160 (elmo-msgdb-overview-entity-get-from): Ditto.
161 (elmo-msgdb-overview-entity-get-subject): Ditto.
162 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
163 (elmo-msgdb-overview-entity-get-date): Ditto.
164 (elmo-msgdb-overview-entity-get-to): Ditto.
165 (elmo-msgdb-overview-entity-get-cc): Ditto.
167 * elmo-mime.el (elmo-message-mime-entity): Ditto.
168 (elmo-mime-collect-message/partial-pieces): Ditto.
170 * elmo-filter.el (elmo-message-field): Ditto.
172 * elmo-date.el (elmo-datevec-to-time): New function.
173 (elmo-time-parse-date-string): Ditto.
174 (elmo-time-make-date-string): Ditto.
177 * elmo-version.el (elmo-version): Up to 2.15.1.
179 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
181 * elmo-flag.el (elmo-global-flags-initialize): Don't include
182 member of elmo-local-flags.
184 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
186 * elmo-version.el (elmo-version): Up to 2.15.0.
188 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
190 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
191 `ignore-msgdb' is non-nil.
193 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
195 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
196 (elmo-condition-in-msgdb-p): Ditto.
197 (elmo-file-field-primitive-condition-match): Ditto.
198 (elmo-file-field-condition-match): Ditto.
200 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
202 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
204 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
206 (elmo-global-flags-initialize): New function.
208 * elmo.el (toplevel): Added autoload setting for
209 `elmo-global-flags-initialize'.
211 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
213 * elmo.el (message-number-changed): Define new signal.
214 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
215 message-number-changed signal.
216 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
217 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
218 Respect `elmo-pack-number-check-strict'.
220 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
222 * elmo-signal.el (elmo-connect-signal): Document.
223 (elmo-emit-signal): Ditto.
224 (elmo-emit-signal): It should pass source argument to filter and
225 handler, not slot-source.
227 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
229 * modb.el (elmo-msgdb-update-entity): New API and define generic
232 * modb-standard.el (elmo-msgdb-update-entity): Define.
234 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
235 API and define generic implement.
237 * elmo.el (update-overview): New singnal.
239 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
240 `elmo-msgdb-update-entity' and emit signal `update-overview'.
241 (elmo-message-entity-parent): Define.
243 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
246 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
248 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
250 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
252 * elmo.el (elmo-folder-synchronize): Sort the return value of
255 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
258 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
260 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
261 `default-enable-multibyte-characters'.
262 (elmo-object-load): Use `with-temp-buffer' instead of
264 (elmo-object-save): Ditto.
265 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
267 (elmo-decoded-field-body): Ditto.
269 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
271 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
272 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
274 * elmo-version.el (elmo-version): Up to 2.13.3.
276 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
278 * elmo-util.el (elmo-list-diff): Fix the last change.
279 Reverse order of result lists.
281 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
283 * modb-standard.el (elmo-msgdb-set-flag): Use
284 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
285 (elmo-msgdb-unset-flag): Ditto.
287 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
290 * elmo-util.el (elmo-list-diff): Rewrite.
291 (elmo-list-diff-nonsortable): New function.
293 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
295 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
296 `elmo-multibypte-buffer-name'. All referers are updated.
298 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
300 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
301 (elmo-mime-entity-fragment-p): New function.
302 (mime-elmo-buffer-entity): Added slot `reassembled'.
303 (elmo-message-mime-entity): Added 4th argument `reassemble'.
304 (elmo-message-mime-entity-internal): New function (renamed from
305 `elmo-message-mime-entity').
306 (elmo-mime-inherit-field-list-from-enclosed): New constant.
307 (elmo-mime-make-reassembled-mime-entity): New function.
308 (elmo-message-reassembled-mime-entity): Ditto.
309 (elmo-mime-collect-message/partial-pieces): Ditto.
311 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
313 * elmo.el (elmo-message-fetch-string): Disable multibyte.
315 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
316 (elmo-with-enable-multibyte): New macro.
318 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
320 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
322 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
324 (elmo-filter-connect-signals): Follow the above change.
326 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
328 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
330 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
331 that only the first flag is used.
333 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
335 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
338 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
340 * elmo-signal.el: New file.
342 * elmo.el (toplevel): Require elmo-signal.
343 (flag-changing, flag-changed, cache-changed): New signal.
344 (elmo-folder): Remove slog `handlers'.
345 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
346 `elmo-folder-notify-event'.
347 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
348 (elmo-folder-unset-flag): Ditto.
349 (elmo-event-handler): Abolish.
350 (elmo-event-handler-flag-changed): Ditto.
351 (elmo-event-handler-cache-changed): Ditto.
352 (elmo-folder-add-handler): Ditto.
353 (elmo-folder-remove-handler): Ditto.
354 (elmo-folder-notify-event): Ditto.
356 * elmo-pipe.el (toplevel): Require elmo-signal.
357 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
358 (elmo-pipe-connect-signals): New function.
359 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
360 (elmo-folder-set-flag): Ditto.
361 (elmo-folder-unset-flag): Ditto.
362 (elmo-message-set-cached): Ditto.
364 * elmo-multi.el (toplevel): Require elmo-signal.
365 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
366 (elmo-multi-connect-signals): New function.
367 (elmo-multi-map-numbers): Ditto.
368 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
369 (elmo-message-fetch): Ditto.
370 (elmo-folder-set-flag): Ditto.
371 (elmo-folder-unset-flag): Ditto.
373 * elmo-filter.el (toplevel): Require elmo-signal.
374 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
375 (elmo-filter-connect-signals): New function.
376 (elmo-filter-add-flag-count): Ditto.
377 (elmo-message-fetch): Does not call
378 `elmo-filter-folder-countup-message-flags' and
379 `elmo-folder-notify-event'.
380 (elmo-message-set-cached): Ditto.
381 (elmo-folder-set-flag): Ditto.
382 (elmo-folder-unset-flag): Ditto.
384 * elmo-version.el (elmo-version): Up to 2.13.2.
386 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
388 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
391 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
393 * elmo-filter.el (elmo-message-set-cached): Call
394 `elmo-folder-notify-event' with event `cache-changed'.
396 * elmo-multi.el (elmo-message-set-cached): Ditto.
398 * elmo-pipe.el (elmo-message-set-cached): Ditto.
400 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
402 * elmo.el (elmo-folder-encache): Abolish.
404 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
406 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
407 (elmo-folder-next-message-number-dop): Return appropriate negative
410 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
412 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
413 clearing pending operations.
414 (elmo-folder-next-message-number-dop): Return appropriate negative
417 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
419 * elmo.el (toplevel): Added autoload setting for `md5'.
420 (elmo-msgdb-path-encode-threshold): New user option.
421 (elmo-folder-msgdb-path): Encode msgdb path if its length is
422 longer than `elmo-msgdb-path-encode-threshold'.
424 * elmo-flag.el (elmo-global-mark-migrate): Use
425 `elmo-folder-expand-msgdb-path' instead of
426 `elmo-folder-msgdb-path'.
428 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
430 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
431 element of the difference is nil.
433 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
435 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
436 to the check logic of file systems which are weak in colon character.
438 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
440 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
442 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
444 * elmo-maildir.el (elmo-maildir-move-file): New function.
445 (elmo-folder-append-buffer): Use it.
446 (elmo-folder-append-messages): Ditto.
447 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
449 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
450 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
452 * elmo-maildir.el (elmo-maildir-separator): New user option.
453 (elmo-maildir-adjust-separator): New macro.
454 (elmo-maildir-list-location): Use it.
455 (elmo-maildir-update-current): Ditto.
456 (elmo-maildir-set-mark): Ditto.
457 (elmo-maildir-delete-mark): Ditto.
458 (These changes are based on Hiroya Murata's patch [wl: 13437])
460 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
462 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
464 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
466 * elmo-flag.el (elmo-flag-valid-p): Simplify.
467 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
468 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
470 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
472 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
473 Use `with-temp-buffer'.
475 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
477 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
479 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
480 `wl-read-search-condition').
481 (elmo-read-search-condition-internal): Likewise.
483 * elmo-flag.el (elmo-flag-char-regexp): New constant.
484 (elmo-flag-valid-p): New function.
485 (elmo-folder-initialize): Check flag name is valid.
487 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
489 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
490 delimiter to obtain root mailbox itself.
492 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
494 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
497 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
499 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
502 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
504 * elmo-shimbun.el (toplevel): Require cl at compile.
506 * elmo-nntp.el (toplevel): Ditto.
508 * elmo-nmz.el (toplevel): Ditto.
510 * elmo-multi.el (toplevel): Ditto.
512 * elmo-file.el (toplevel): Ditto.
514 * elmo-dop.el (toplevel): Ditto.
516 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
518 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
520 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
523 * elmo.el (elmo-message-fetch): Return t even when the output buffer
524 size of elmo-message-fetch-internal is 0 byte.
526 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
528 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
530 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
532 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
535 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
537 * elmo-maildir.el (elmo-map-message-fetch): Call
538 `elmo-map-folder-set-flag'.
540 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
541 (elmo-message-fetch): Merge from
542 `elmo-message-fetch-with-cache-process'.
544 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
545 (elmo-message-fetch): Define.
547 * elmo-nntp.el (elmo-message-fetch): Renamed from
548 `elmo-message-fetch-with-cache-process'.
550 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
551 (elmo-message-fetch): Define.
553 * elmo-util.el (elmo-condition-parse-primitive): Downcase
556 * elmo-shimbun.el (shimbun-mua-search-id): Use
557 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
558 (elmo-shimbun-folder-shimbun-header): Ditto.
559 (elmo-shimbun-get-headers): Ditto.
560 (elmo-shimbun-update-overview): Ditto.
562 * elmo-pipe.el (elmo-folder-detach-messages): Define.
564 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
565 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
567 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
569 * elmo.el (elmo-message-fetch): Unset unread flag on server when
571 (elmo-message-fetch-string): Fixed argument.
573 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
575 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
576 exchange order of arguments `section' and `unread'.
577 (elmo-message-encache): Follow the API change.
578 (elmo-message-match-condition): Ditto.
579 (elmo-generic-folder-append-messages): Ditto.
580 (elmo-message-fetch-string): New function.
582 * elmo-split.el (elmo-split-subr): Ditto.
584 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
586 * elmo-pipe.el (elmo-message-fetch): Ditto.
588 * elmo-multi.el (elmo-message-fetch): Ditto.
590 * elmo-mime.el (elmo-message-mime-entity): Ditto.
592 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
594 * elmo-filter.el (elmo-message-fetch): Ditto.
596 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
598 * elmo-imap4.el (mime-imap-location-section-body): Use
599 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
600 follow the API change.
602 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
604 * elmo-access.el: New file.
606 * elmo-null.el: Ditto.
608 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
610 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
612 * elmo-net.el (elmo-network-session-idle-timeout): New option.
613 (elmo-network-session): New attribute `last-accessed'.
614 (elmo-network-get-session): Discard network cache if elapsed time
615 since last-accessed is larger than elmo-network-session-idle-timeout.
617 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
619 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
620 and added `number', `require-entireness'.
621 (elmo-find-fetch-strategy): Rewrite.
622 (elmo-message-fetch): Unset `unread' flag when argument unread is
625 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
627 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
628 (elmo-message-fetch): Notify event `flag-changed'.
630 * elmo-pipe.el: Likewise.
632 * elmo-mime.el (elmo-mime-entity): New class.
633 (elmo-mime-entity-display-p): New generic function.
634 (elmo-mime-entity-display): Ditto.
635 (elmo-mime-entity-display-as-is): Ditto.
636 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
638 (elmo-make-mime-message-location): Removed.
639 (elmo-mime-message-display): Ditto.
640 (elmo-mime-display-as-is): Ditto.
641 (elmo-message-mime-entity): New function.
643 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
645 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
647 (elmo-message-fetch): Re-count flagged message number and notify
648 event `flag-changed'.
650 * elmo-version.el (elmo-version): Up to 2.13.1.
652 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
654 * elmo-filter.el (elmo-message-field): Define.
655 (elmo-message-set-field): Ditto.
657 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
659 * elmo.el (elmo-message-set-cached): Call
660 `elmo-folder-notify-event' with cache-changed.
661 (elmo-event-handler-cache-changed): New generic function.
663 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
665 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
666 instead of elmo-add-name-to-file.
667 (elmo-folder-append-messages): Ditto.
669 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
671 * elmo.el (elmo-folder-update-threshold): Add nil to range.
673 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
675 * elmo-version.el (elmo-version): Up to 2.13.0.
677 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
680 * modb-standard.el (modb-standard-economize-entity-size): Changed
681 default value to `t'.
683 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
686 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
687 after parsing greeting string.
689 2004-11-23 Daishi Kato <daishi@axlight.com>
691 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
693 (elmo-spam-spamoracle-call): Use it.
695 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
697 * elmo.el (elmo-message-accessible-p): Message in dop spool
700 2004-11-23 Daishi Kato <daishi@axlight.com>
702 * elsp-spamoracle.el: New file.
704 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
706 * elmo.el (elmo-message-flags-for-append): New function.
707 (elmo-generic-folder-append-messages): Use it.
709 * elmo-split.el (elmo-split-subr): Ditto.
711 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
712 `flags' and use elmo-folder-append-buffer instead of
713 write-region-as-binary.
714 (elmo-dop-filter-pending-messages): New function.
715 (elmo-folder-append-buffer-dop): Call
716 elmo-dop-spool-folder-append-buffer with `flag'.
717 (elmo-folder-set-flag-dop): Filter messages by
718 elmo-dop-filter-pending-messages.
719 (elmo-folder-unset-flag-dop): Ditto.
720 (elmo-folder-append-buffer-dop-delayed): Use
721 elmo-message-flags-for-append to get flags of the message and
724 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
726 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
728 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
730 * elmo.el (elmo-folder): Added handlers slot.
731 (elmo-event-handler): New class.
732 (elmo-event-handler-flag-changed): New API.
733 (elmo-folder-add-handler): New function.
734 (elmo-folder-remove-handler): Ditto.
735 (elmo-folder-notify-event): Ditto.
736 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
738 (elmo-folder-unset-flag): Ditto.
740 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
741 (elmo-folder-unset-flag): Ditto.
743 * elmo-multi.el (elmo-folder-set-flag): Ditto.
744 (elmo-folder-unset-flag): Ditto.
746 * elmo-filter.el (elmo-folder-set-flag): Ditto.
747 (elmo-folder-unset-flag): Ditto.
749 * elmo-version.el (elmo-version): Up to 2.11.33.
751 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
753 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
755 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
757 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
759 * elmo-flag.el (elmo-folder-unset-flag): Define.
760 (elmo-global-flag-detach): Do process when the flag is not target
763 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
765 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
767 (elmo-msgdb-create-message-entity-from-buffer): Use it.
769 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
771 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
773 (elmo-folder-delete-messages): Detach messages before delete
774 messages from target folder.
775 (elmo-folder-detach-messages): Set updated number-list to slot.
777 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
779 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
781 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
783 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
785 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
787 * elmo.el (elmo-folder-delete-messages-internal): New API (for
789 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
791 (elmo-folder-delete-messages): Define.
792 (elmo-folder-move-messages): Don't call
793 `elmo-folder-detach-messages'.
794 (elmo-folder-synchronize): Rewrite.
795 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
797 * elmo-util.el (elmo-last): New function.
798 (elmo-set-list): Ditto.
799 (elmo-number-set-delete-list): Ditto.
800 (elmo-number-set-delete): Ditto.
802 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
804 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
805 `elmo-folder-delete-messages' and don't delete location map.
806 (elmo-folder-detach-messages): Define.
808 * elmo-imap4.el (elmo-folder-delete): Use
809 `elmo-folder-delete-messages-internal' instead of
810 `elmo-folder-delete-messages'.
812 * elmo-filter.el (elmo-folder-delete-messages): Call
813 `elmo-folder-detach-messages'.
814 (elmo-folder-detach-messages): Don't call
815 `elmo-folder-detach-messages' for target folder.
817 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
818 message deletion is succeeded.
820 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
822 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
823 from `elmo-folder-delete-messages'.
825 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
827 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
829 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
831 * elmo-version.el (elmo-version): Up to 2.11.32.
833 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
835 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
836 (elmo-global-flag-list): Added obsolete variable setting.
838 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
840 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
841 (elmo-mime-insert-header-from-buffer): Don't decode header content when
842 `elmo-mime-display-header-analysis' is nil.
844 * elmo-flag.el (elmo-global-flags): Renamed from
845 `elmo-global-flag-list' (All other related portions are changed).
846 (elmo-local-flags): New variable.
847 (elmo-local-flag-p): New function.
848 (elmo-global-flag-set-internal): Cause an error when flag is not
851 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
853 * elmo-util.el (elmo-concat-path): Treat empty path.
855 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
857 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
859 (elmo-split-address-match): Ditto.
860 (elmo-split-equal): Ditto.
861 (elmo-split-match): Ditto.
863 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
865 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
866 (elmo-generic-folder-append-messages): If src message exists but
867 has no flag, pass (read) for the FLAG argument of
868 `elmo-folder-append-buffer'. Otherwise, pass nil.
870 * elmo-split.el (elmo-split-subr): Likewise.
872 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
874 * elmo-multi.el (elmo-message-flags): Ditto.
876 * elmo-filter.el (elmo-message-flags): Ditto.
878 * elmo.el (elmo-folder-append-buffer): Fix docstring.
879 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
880 pass (read) for the FLAG argument of elmo-folder-append-buffer.
882 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
884 * elmo-split.el (elmo-split-rule): Update comment.
885 (elmo-split-address-equal): Allow 2nd argument to be a list.
886 (elmo-split-address-match): Ditto.
887 (elmo-split-equal): Ditto.
888 (elmo-split-match): Ditto.
890 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
892 * elmo.el (elmo-folder-append-buffer): Fix docstring.
893 (elmo-folder-append-msgdb): Don't treat `read'.
894 (elmo-message-flags): Don't return `read'.
896 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
897 (elmo-folder-unset-read-delayed): Ditto.
899 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
901 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
903 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
906 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
908 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
911 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
913 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
915 (elmo-msgdb-save): Bind inhibit-quit.
916 (modb-standard-message-entity): Ditto.
918 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
920 * elmo-database.el: No need to require elmo-msgdb.
922 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
924 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
925 instead of `elmo-list-subdirectories'.
927 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
929 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
931 (elmo-folder-exists-p): "[" is empty.
932 (elmo-folder-list-subfolders): Define.
933 (elmo-folder-have-subfolder-p): Ditto.
935 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
937 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
939 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
941 * elmo-filter.el (elmo-folder-local-p): Define.
943 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
945 * modb-standard.el (modb-standard-loaded-message-id): Return nil
946 when entity is garbaged.
947 (modb-standard-save-entity-1): Don't modify the original entity.
949 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
951 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
953 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
955 * elmo.el (elmo-strict-folder-diff): Use
956 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
958 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
960 * modb.el (elmo-msgdb-flag-available-p): New generic function.
961 (elmo-msgdb-message-number): Ditto.
962 (elmo-msgdb-message-field): Ditto.
964 * modb-standard.el (modb-standard-economize-entity-size): New user
966 (modb-standard-loaded-message-id): New inline function.
967 (modb-standard-load-entity): Use it.
968 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
969 throw message-id string away.
970 (elmo-msgdb-flag-available-p): Define.
971 (elmo-msgdb-message-number): Ditto.
972 (elmo-msgdb-message-field): Ditto.
974 * modb-legacy.el (modb-legacy-flag-list): Fix typo
975 (suppoted -> supported).
976 (modb-legacy-supported-flag-p): Ditto.
977 (elmo-msgdb-set-flag): Ditto.
978 (elmo-msgdb-unset-flag): Ditto.
979 (elmo-msgdb-flag-available-p): Define.
981 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
982 is `t', treat it as legacy entity.
984 * elmo.el (elmo-message-flag-available-p): New generic function.
985 (elmo-message-number): Ditto.
986 (elmo-message-field): Use `elmo-msgdb-message-field'.
988 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
990 * elmo-pipe.el (elmo-message-flag-available-p): Define.
991 (elmo-message-number): Ditto.
993 * elmo-multi.el (elmo-message-number): Define.
994 (elmo-message-flag-available-p): Ditto.
996 * elmo-filter.el (elmo-message-flag-available-p): Define.
997 (elmo-message-number): Ditto.
999 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1000 (elmo-folder-initialize): Load `max-number'.
1001 (elmo-folder-commit): Save it.
1002 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1003 (elmo-global-flag-set-internal): Set up max-number slot.
1005 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1007 * elmo-version.el (elmo-version): Up to 2.11.31.
1009 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1011 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1012 unibyte string of the current buffer for the argument of `md5'
1013 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1015 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1017 * modb-legacy.el (modb-legacy-flag-list): New constant.
1018 (modb-legacy-suppoted-flag-p): New internal function.
1019 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1020 (elmo-msgdb-unset-flag): Ditto.
1022 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1024 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1026 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1029 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1031 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1032 (follow the API change).
1034 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1036 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1038 * modb-standard.el (modb-standard-digest-flags): Abolish.
1039 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1041 * elmo-vars.el (elmo-digest-flags): New variable.
1042 (elmo-preserved-flags): Moved from elmo-flag.el.
1044 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1045 (elmo-imap4-flag-to-imap-criteria): Ditto.
1046 (elmo-imap4-folder-list-flagged): Use it.
1048 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1050 * elmo.el (elmo-folder-count-flags): Changed return value.
1052 * elmo-flag.el (elmo-preserved-flags): New variable.
1053 (elmo-get-global-flags): Use it.
1055 * modb-standard.el (modb-standard-digest-flags): New variable.
1056 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1057 Changed behavior of `any'.
1059 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1060 which are defined the Internet draft
1061 (draft-melnikov-imap-keywords-03.txt).
1062 (elmo-imap4-flags-to-imap): New function.
1063 (elmo-folder-append-buffer): Use it.
1065 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1068 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1069 avoid the bug of Emacs 21.3.
1071 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1073 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1074 function find-coding-system does not exist.
1076 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1078 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1081 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1083 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1086 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1088 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1089 (elmo-network-close-session): Follow the changes in
1090 `elmo-pop3-read-response'.
1091 (elmo-pop3-auth-user): Ditto.
1092 (elmo-pop3-auth-apop): Ditto.
1093 (elmo-network-initialize-session): Ditto.
1094 (elmo-network-authenticate-session): Ditto.
1095 (elmo-network-setup-session): Ditto.
1096 (elmo-folder-status): Ditto.
1097 (elmo-message-fetch-plugged): Ditto.
1098 (elmo-pop3-delete-msg): Ditto.
1100 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1102 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1105 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1107 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1109 (elmo-bind-directory): Ditto.
1111 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1113 * elmo.el (elmo-folder-append-messages): Note on return value.
1114 * elmo-archive.el (elmo-folder-append-messages): Don't return
1115 message numbers which could not be appended.
1117 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1119 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1121 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1123 * elmo-version.el (elmo-version): Up to 2.11.30.
1125 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1127 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1130 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1132 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1133 (elmo-multi-split-numbers): Add elmo-folder object into each
1134 element of return value at first.
1135 (elmo-folder-delete-messages): Follow the above change.
1136 (elmo-folder-detach-messages): Ditto.
1138 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1139 number which is synchronized in target folder.
1141 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1143 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1144 Change default value to symbol `all'.
1145 (elmo-map-message-fetch): Change condition to update overview
1148 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1150 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1151 behavior to update overview.
1152 (elmo-shimbun-update-overview-folder-list): Note it.
1154 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1156 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1159 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1161 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1162 buffer-disable-undo, it is unnecessary.
1163 (elmo-spam-register-good-messages): Ditto.
1165 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1168 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1170 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1172 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1173 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1174 elmo-set-buffer-multibyte.
1175 (elmo-object-load): Ditto.
1176 (elmo-save-buffer): Ditto.
1177 (elmo-delete-char): Ditto.
1178 (elmo-file-field-primitive-condition-match): Ditto.
1179 (elmo-mime-string): Ditto.
1181 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1182 (elmo-archive-field-condition-match): Ditto.
1184 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1186 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1188 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1189 (elmo-nntp-msgdb-create-message): Ditto.
1191 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1193 * elmo.el (elmo-message-match-condition): Ditto.
1194 (elmo-message-match-condition): Ditto.
1196 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1199 * elmo-version.el (elmo-version): Up to 2.11.29.
1201 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1202 (elsp-header): New backend.
1204 * elmo-util.el (elmo-decoded-field-body): New function.
1206 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1208 * elmo-version.el (elmo-version): Up to 2.11.28.
1210 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1212 * elmo-filter.el: Rewrite.
1214 * elmo-version.el (elmo-version): Up to 2.11.27.
1216 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1218 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1219 msgdb path for the localdir folder with absolute path.
1221 * utf7.el: Synch up with latest gnus/utf7.el;
1222 Modified for latest Emacs.
1224 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1226 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1227 shimbun backend couldn't open.
1229 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1231 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1232 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1233 when a destination folder is a filter folder.
1235 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1237 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1238 (elmo-generic-folder-append-messages): Call elmo-message-flags
1239 with argument `msgid'.
1241 * elmo-split.el (elmo-split-subr): Ditto.
1243 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1245 * elmo-multi.el (elmo-message-flags): Ditto.
1247 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1249 * elmo.el (elmo-folder): Add new slot `flag-table'.
1250 (elmo-folder-flag-table): New API.
1251 (elmo-folder-close-flag-table): Ditto.
1252 (elmo-folder-preserve-flags): New function.
1253 (elmo-generic-folder-append-messages): Use
1254 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1255 Flag of a non-registered message, it sets to nil.
1256 Does not set flag to flag-table.
1258 * elmo-maildir.el (elmo-folder-append-buffer): Use
1259 `elmo-folder-preserve-flags'.
1260 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1261 `elmo-folder-close-flag-table'.
1263 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1264 (elmo-archive-folder-append-buffer): Use
1265 `elmo-folder-preserve-flags'.
1267 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1269 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1271 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1272 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1273 `elmo-folder-close-flag-table'.
1275 * elmo-version.el (elmo-version): Up to 2.11.26.
1277 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1279 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1281 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1282 md5's 4th and 5th argument (non-existent in flim one).
1284 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1286 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1287 message, It sets to nil.
1289 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1291 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1294 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1296 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1298 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1300 * elmo-util.el (elmo-uniq-sorted-list): New function.
1301 (elmo-make-number-list): Ditto.
1302 (elmo-number-set-to-number-list): Use elmo-make-number-list
1303 and don't use nreverse.
1305 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1307 * elmo-version.el (elmo-version): Up to 2.11.25.
1309 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1311 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1312 field not exists in message, Use md5 message digest of header.
1314 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1316 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1317 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1318 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1319 * elmo-split.el (elmo-split-subr): Check return value of
1320 elmo-folder-append-buffer.
1322 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1323 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1325 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1328 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1330 * elmo-split.el (elmo-split-subr): Append message with flag.
1332 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1333 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1334 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1336 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1338 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1339 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1340 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1342 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1344 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1345 with a function call of `process-buffer'. All callers are updated.
1346 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1347 Remove redundant `set-buffer' in a while loop.
1349 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1351 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1354 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1356 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1357 elsp-spamfilter-register-buffer-internal with current buffer.
1358 (elmo-spam-register-spam-buffer): Ditto.
1359 (elmo-spam-register-good-buffer): Ditto.
1361 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1363 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1364 if it is not contained in the response(A workaround for courier-imap).
1366 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1368 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1371 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1373 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1376 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1378 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1381 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1383 (elmo-msgdb-message-match-condition): Follow the change above.
1385 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1387 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1390 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1392 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1394 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1396 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1398 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1400 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1403 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1405 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1407 (elmo-file-command-argument): Undo last change for cygwin.
1408 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1410 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1412 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1414 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1415 value returned from elmo-file-find is nil.
1417 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1419 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1422 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1423 instead of insert-file-contents-as-binary.
1424 (elmo-message-set-field): New generic function.
1426 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1427 behavior change on `split-string'.
1429 * elmo-file.el (elmo-file-find): New function.
1430 (elmo-file-command): New user option.
1431 (elmo-file-command-argument): Ditto.
1432 (elmo-file-fetch-max-size): Ditto.
1433 (elmo-file-detect-format): New function.
1434 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1435 Use elmo-file-detect-format.
1436 (elmo-map-folder-list-message-locations): Don't treat directories.
1438 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1440 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1441 (elmo-passwd-alist-clear): Shred password before clear.
1442 (elmo-remove-passwd): Remove all mached pair.
1444 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1446 * elmo.el (elmo-folder-synchronize): Fix description of the return
1449 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1451 * elmo.el (elmo-message-fetch-bodystructure): New method.
1452 (elmo-message-fetch-bodystructure): Define default.
1454 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1455 elmo-message-fetch-bodystructure.
1456 (elmo-message-fetch-bodystructure): Define.
1458 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1460 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1462 * elmo-filter.el (elmo-message-folder): Define.
1464 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1466 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1467 elmo-delete-cr-buffer.
1469 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1471 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1473 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1475 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1476 type seems to be a text.
1478 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1480 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1481 (elmo-spam-register-good-buffer): Ditto.
1482 (elmo-spam-spamassassin-register-messages): Ditto.
1484 * elmo-util.el (elmo-string-member-ignore-case): Define with
1487 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1489 * elmo.el (elmo-folder-type): Undo last change.
1491 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1493 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1496 * elmo-file.el: New file.
1498 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1500 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1502 (elmo-spam-spamassassin-register-messages): New inline function.
1503 (elmo-spam-register-spam-messages): Define.
1504 (elmo-spam-register-good-messages): Ditto.
1506 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1509 * elmo.el (toplevel): Added autoload setting for
1510 `elmo-get-global-flags'.
1511 (elmo-message-has-global-flag-p): New function.
1512 (elmo-message-set-global-flags): Ditto.
1513 (elmo-folder-type): Improvement for name: format.
1515 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1516 availability of keyword flags.
1517 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1518 (elmo-folder-list-flagged-plugged): Renamed from
1519 elmo-folder-list-flagged-unplugged.
1520 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1521 accept any flag as keyword flag.
1522 (elmo-folder-set-flag-plugged): Accept keyword flags.
1523 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1525 * elmo-flag.el (elmo-get-global-flags): New function.
1527 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1530 * elmo-version.el (elmo-version): Up to 2.11.24.
1532 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1534 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1535 elmo-multiple-field-body instead of std11-field-body to check all
1538 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1540 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1543 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1545 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1546 unintern is unbound.
1548 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1550 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1551 Protect from infinite loop.
1553 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1555 * elsp-bogofilter.el
1556 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1557 (elmo-spam-bogofilter-register-messages): New internal function.
1558 (elmo-spam-register-spam-messages): Define.
1559 (elmo-spam-register-good-messages): Ditto.
1561 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1563 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1564 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1565 (elmo-spam-bogofilter-call): Fixed the last change.
1566 (elmo-spam-bogofilter-arguments): Ditto.
1568 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1569 Follow the options change of latest bogofilter.
1571 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1572 (elmo-spam-bogofilter-good-switch): Ditto.
1573 (elmo-spam-bogofilter-arguments-alist): New user option.
1574 (elmo-spam-bogofilter-debug): Ditto.
1575 (elmo-spam-bogofilter-call): Renamed from
1576 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1577 is non-nil, insert output in buffer for debug.
1578 (elmo-spam-bogofilter-arguments): New macro.
1579 (elmo-spam-buffer-spam-p): Use it.
1580 (elsp-bogofilter-register-buffer): Ditto.
1582 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1584 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1587 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1589 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1591 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1592 (elmo-spam-bsfilter-program): Set default value as full path for
1594 (elmo-spam-bsfilter-debug): New user option.
1595 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1596 non-nil, insert output in buffer for debug. Fix treating of
1599 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1601 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1602 `elmo-maildir-flag-specs' element instead of one.
1603 (elmo-map-folder-unset-flag): Ditto.
1604 (Reported by Ken Makimura <macky@astem.or.jp>)
1606 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1607 (elmo-folder-unset-flag-plugged): Ditto.
1609 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1611 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1612 to `reads' slot only if `in-msgdb' is nil.
1614 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1616 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1617 and complement argument list.
1619 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1621 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1622 instead of elmo-folder-list-flagged.
1624 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1626 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1628 * elsp-bsfilter.el: New file.
1630 * elmo-pipe.el (elmo-folder-list-unreads,
1631 elmo-folder-list-answereds,
1632 elmo-folder-list-importants,
1633 elmo-folder-flag-as-important,
1634 elmo-folder-unflag-important,
1635 elmo-folder-flag-as-read,
1636 elmo-folder-unflag-read,
1637 elmo-folder-flag-as-answered,
1638 elmo-folder-unflag-answered): Remove.
1639 (elmo-folder-set-flag): Define.
1640 (elmo-folder-unset-flag): Ditto.
1642 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1643 (elmo-folder-set-flag): Define.
1644 (elmo-folder-unset-flag): Ditto.
1645 (elmo-folder-list-unreads): Remove.
1646 (elmo-folder-list-flagged): Define.
1648 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1649 (elmo-folder-list-unreads,
1650 elmo-folder-list-importants,
1651 elmo-folder-list-answereds,
1652 elmo-folder-list-unreads-plugged,
1653 elmo-folder-list-importants-plugged,
1654 elmo-folder-list-answereds-plugged): Remove.
1655 (elmo-folder-list-flagged-plugged): New method.
1656 (elmo-folder-unflag-important,
1657 elmo-folder-flag-as-important,
1658 elmo-folder-unflag-read,
1659 elmo-folder-flag-as-read,
1660 elmo-folder-unflag-answered,
1661 elmo-folder-flag-as-answered,
1662 elmo-folder-flag-as-read-unplugged,
1663 elmo-folder-unflag-read-unplugged,
1664 elmo-folder-flag-as-important-unplugged,
1665 elmo-folder-unflag-important-unplugged,
1666 elmo-folder-flag-as-answered-unplugged,
1667 elmo-folder-unflag-answered-unplugged): Remove.
1668 (elmo-folder-set-flag): Define.
1669 (elmo-folder-unset-flag): Ditto.
1670 (elmo-folder-set-flag-unplugged): Ditto.
1671 (elmo-folder-unset-flag-unplugged): Ditto.
1673 * elmo-multi.el (elmo-folder-list-unreads,
1674 elmo-folder-list-answereds,
1675 elmo-folder-list-importants,
1676 elmo-folder-flag-as-important,
1677 elmo-folder-unflag-important,
1678 elmo-folder-flag-as-read,
1679 elmo-folder-unflag-read,
1680 elmo-folder-flag-as-answered,
1681 elmo-folder-unflag-answered): Remove.
1682 (elmo-folder-set-flag): Define.
1683 (elmo-folder-unset-flag): Ditto.
1685 * elmo-map.el (elmo-map-folder-unflag-important,
1686 elmo-map-folder-flag-as-important,
1687 elmo-map-folder-unflag-read,
1688 elmo-map-folder-flag-as-read,
1689 elmo-map-folder-unflag-answered,
1690 elmo-map-folder-flag-as-answered): Remove.
1691 (elmo-map-folder-set-flag): New method.
1692 (elmo-map-folder-unset-flag): Ditto.
1693 (elmo-map-folder-list-unreads,
1694 elmo-map-folder-list-importants,
1695 elmo-map-folder-list-answereds): Remove.
1696 (elmo-folder-list-flagged-internal): Define.
1697 (elmo-map-folder-list-flagged): New method.
1699 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1700 (elmo-map-folder-list-unreads,
1701 elmo-map-folder-list-importants,
1702 elmo-map-folder-list-flagged): Remove.
1703 (elmo-map-folder-list-flagged): Define.
1704 (elmo-map-folder-flag-as-important,
1705 elmo-map-folder-unflag-important,
1706 elmo-map-folder-flag-as-read,
1707 elmo-map-folder-unflag-read,
1708 elmo-map-folder-flag-as-answered,
1709 elmo-map-folder-unflag-answered): Remove.
1710 (elmo-maildir-set-mark-messages): New internal function.
1711 (elmo-map-folder-set-flag): Define.
1712 (elmo-map-folder-unset-flag): Ditto.
1714 * elmo.el (toplevel): Added autoload setting for
1715 `elmo-folder-list-global-flag-messages'.
1716 (elmo-folder-list-unreads,
1717 elmo-folder-list-importants,
1718 elmo-folder-list-answereds): Remove.
1719 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1720 Return a list whitch merged with messages have global flag.
1721 (elmo-folder-list-flagged-internal): New method.
1722 (elmo-folder-unflag-important,
1723 elmo-folder-flag-as-important,
1724 elmo-folder-unflag-read,
1725 elmo-folder-flag-as-read,
1726 elmo-folder-unflag-answered,
1727 elmo-folder-flag-as-answered): Remove.
1728 (elmo-folder-set-flag): New method.
1729 (elmo-folder-unset-flag): Ditto.
1730 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1731 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1733 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1734 (elmo-folder-list-unreads-plugged,
1735 elmo-folder-list-importants-plugged,
1736 elmo-folder-list-answereds-plugged,
1737 elmo-folder-list-flagged-unplugged,
1738 elmo-folder-unflag-important-plugged,
1739 elmo-folder-flag-as-important-plugged,
1740 elmo-folder-unflag-read-plugged,
1741 elmo-folder-flag-as-read-plugged,
1742 elmo-folder-unflag-answered-plugged,
1743 elmo-folder-flag-as-answered-plugged): Remove.
1744 (elmo-folder-set-flag-plugged,
1745 elmo-folder-unset-flag-plugged): Define.
1747 * elmo-flag.el (elmo-folder-initialize): Register to
1748 `elmo-global-flag-list' if flag is not global.
1749 (elmo-folder-append-messages): Set flag to source messages.
1751 * elmo-filter.el (elmo-filter-folder-list-unreads,
1752 elmo-folder-list-unreads,
1753 elmo-filter-folder-list-importants,
1754 elmo-folder-list-importants,
1755 elmo-folder-flag-as-read,
1756 elmo-folder-unflag-read,
1757 elmo-folder-flag-as-important,
1758 elmo-folder-unflag-important,
1759 elmo-folder-flag-as-answered,
1760 elmo-folder-unflag-answered): Remove.
1761 (elmo-folder-set-flag): Define.
1762 (elmo-folder-unset-flag): Ditto.
1764 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1765 elmo-folder-unflag-read-dop,
1766 elmo-folder-flag-as-important-dop,
1767 elmo-folder-unflag-important-dop,
1768 elmo-folder-flag-as-answered-dop,
1769 elmo-folder-unflag-answered-dop): Remove.
1770 (elmo-folder-set-flag-dop,
1771 elmo-folder-unset-flag-dop,
1772 elmo-folder-set-important-delayed,
1773 elmo-folder-unset-important-delayed,
1774 elmo-folder-set-read-delayed,
1775 elmo-folder-unset-read-delayed,
1776 elmo-folder-set-answered-delayed,
1777 elmo-folder-unset-answered-delayed): New function.
1778 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1779 (elmo-dop-queue-method-name-alist): Ditto.
1781 * elmo-version.el (elmo-version): Up to 2.11.23.
1783 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1785 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1787 * elsp-sa.el: New file.
1789 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1791 * modb-standard.el (modb-standard-message-entity): New function.
1792 (elmo-msgdb-message-entity): Use it.
1794 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1796 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1797 behavior when one-level is nil.
1799 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1801 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1803 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1805 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1807 (elmo-generic-folder-diff): Ditto.
1809 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1810 (elmo-folder-update-number): Ditto.
1812 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1813 (elmo-folder-next-message-number-dop): Ditto.
1815 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1817 * elmo-filter.el (elmo-folder-msgdb-create): Use
1818 `elmo-message-entity' and `elmo-message-flags' instead of
1819 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1821 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1823 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1826 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1828 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1830 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1832 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1834 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1836 * elmo-version.el (elmo-version): Up to 2.11.22.
1838 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1840 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1842 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1844 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1845 if the message dose not exist.
1847 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1849 * elmo-version.el (elmo-version): Up to 2.11.21.
1851 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1853 * modb-standard.el (toplevel): Don't require mime.
1855 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1857 * elsp-bogofilter.el (toplevel): Don't require path-util.
1858 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1859 (elmo-spam-bogofilter-header): Abolish.
1860 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1861 (elmo-spam-bogofilter-args): New user option.
1862 (elsp-bogofilter-call-bogofilter): New internal function.
1863 (elmo-spam-buffer-spam-p): Use it.
1864 (elsp-bogofilter-register-buffer): Renamed from
1865 `elmo-spam-bogofilter-register-buffer';
1866 Use `elsp-bogofilter-call-bogofilter'.
1867 (elmo-spam-register-spam-buffer): Follow the change above.
1868 (elmo-spam-register-good-buffer): Ditto.
1870 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1872 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1873 message-id is nil do nothing.
1875 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1877 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1879 (elmo-imap4-session): Removed use-flag slot.
1880 (elmo-imap4-session-select-mailbox): Undo last change.
1881 (elmo-folder-use-flag-p): Use
1882 elmo-imap4-disuse-server-flag-mailbox-regexp.
1884 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1886 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1887 (elmo-imap4-session-select-mailbox): Set it up.
1888 (elmo-folder-use-flag-p): Return value of use-flag slot.
1890 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1892 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1894 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1896 * modb-entity.el (elmo-message-entity-handler): Likewise.
1898 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1900 * elmo.el (toplevel): Remove setting of autoloding for
1901 elmo-global-flag-initialize.
1902 (elmo-init): Don't call elmo-global-flag-initialize.
1903 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1905 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1906 (elmo-global-mark-migrate): Don't call it.
1907 (elmo-global-mark-upgrade): Ditto.
1909 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1911 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1912 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1914 * elmo-vars.el (elmo-init-hook): New user option.
1916 * elmo.el (elmo-init): Run the elmo-init-hook.
1918 * elmo-flag.el (elmo-global-mark-migrate): New function.
1920 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1922 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1923 Undo last change (move to elmo-msgdb-unset-flag).
1924 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1927 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1929 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1931 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1932 (elmo-msgdb-unset-flag): Ditto.
1934 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1936 * elmo-split.el (elmo-split): Return split message count.
1938 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1940 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1943 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1945 * elmo.el (elmo-folder-unflag-important): Call
1946 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1949 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
1951 (elmo-global-flag-detach): Delete the message from flag folder, if
1952 `delete-if-none' is a symbol `always'.
1954 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1956 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
1957 `elmo-spam-spamfilter-decode-buffer'.
1958 (elsp-spamfilter-register-buffer-internal): New internal function.
1959 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
1960 (elmo-spam-register-spam-buffer): Ditto.
1961 (elmo-spam-register-good-buffer): Ditto.
1963 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
1965 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
1966 (elmo-spam-register-spam-buffer): Follow the API change.
1967 (elmo-spam-register-good-buffer): Ditto.
1969 * elmo-split.el (toplevel): Require elmo-spam when copmile.
1970 (elmo-split-spam-p): Added argument plist; Call
1971 `elmo-spam-buffer-spam-p' with new argument register.
1973 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
1975 (elmo-spam-message-spam-p): Ditto.
1976 (elmo-spam-register-spam-buffer): Added optional argument
1978 (elmo-spam-register-good-buffer): Ditto.
1979 (elmo-spam-register-spam-messages): Ditto.
1980 (elmo-spam-register-good-messages): Ditto.
1982 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1984 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
1985 register into good corpus.
1986 (elmo-spam-register-good-buffer): Fixed to register into bad
1989 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1991 * elmo-version.el (elmo-version): Up to 2.11.20.
1993 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
1996 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
1997 flag without depending on \Recent flag.
1999 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2001 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2002 (elmo-spam-modified-p): Defined.
2003 (elmo-spam-save-status): Set `modified' slot to nil.
2004 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2005 (elmo-spam-register-good-buffer): Ditto.
2007 * elmo-spam.el (elmo-spam-modified-p): New API.
2009 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2011 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2012 duplicate definition.
2014 * elmo-util.el (elmo-unfold-field-body): New function.
2015 (elmo-msgdb-get-message-id-from-buffer): Use it.
2017 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2018 Fixed the last change; Use elmo-unfold-field-body.
2020 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2022 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2025 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2027 * elmo-spam.el (elmo-spam-save-status): New API.
2029 * elsp-spamfilter.el: New file.
2031 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2033 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2035 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2037 * elmo-split.el (elmo-split-spam-p): New function.
2039 * elmo-spam.el: New file.
2041 * elsp-bogofilter.el: Ditto.
2043 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2045 * elmo.el (elmo-folder-next-message-number): New API.
2046 (elmo-folder-next-message-number): Define.
2047 (elmo-message-field): Don't check folder length.
2049 * elmo-net.el (elmo-folder-next-message-number): Define.
2050 (elmo-folder-next-message-number-unplugged): Define.
2052 * elmo-map.el (elmo-folder-next-message-number): Define.
2053 (elmo-folder-delete-messages): Clear hash value.
2055 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2057 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2058 (elmo-folder-delete-messages-dop-delayed): Always return t.
2060 * elmo-version.el (elmo-version): Up to 2.11.19.
2062 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2064 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2067 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2068 identical cons cell into the mark-alist and the hash table.
2070 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2072 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2073 elmo-folder-list-messages with argument `visible-only' as t.
2075 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2076 (elmo-folder-msgdb-create): Check the target folder.
2078 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2080 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2081 `permanentflag' instead of `flags'.
2082 (elmo-folder-open): Ditto.
2083 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2084 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2085 (elmo-folder-use-flag-p): Always return t.
2086 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2087 `permanentflags' does not exist.
2088 (elmo-folder-open): Ditto.
2090 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2092 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2094 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2096 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2097 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2099 (elmo-folder-open): Ditto.
2100 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2101 slot of the session includes the flag.
2102 (elmo-imap4-session-flag-available-p): New function.
2103 (elmo-imap4-folder-list-flagged): Ditto.
2104 (elmo-folder-list-unreads-plugged): Use it.
2105 (elmo-folder-list-importants-plugged): Ditto.
2106 (elmo-folder-list-answereds-plugged): Ditto.
2107 (elmo-imap4-search-internal-primitive): Ditto.
2108 (elmo-imap4-folder-list-any-plugged,
2109 elmo-imap4-folder-list-digest-plugged): Abolish.
2111 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2114 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2116 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2118 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2120 * elmo-util.el (elmo-get-hash-val): Simplify.
2121 (elmo-set-hash-val): Rewrite.
2123 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2125 * elmo.el (elmo-folder-list-messages): Append killed messages into
2126 result if `visible-only' is nil and `in-msgdb' is non-nil.
2128 * elmo-util.el (elmo-uniq-list): Added optional argument
2131 * modb.el (elmo-msgdb-flag-count): New API.
2133 * modb-standard.el (modb-standard): Added slot flag-count.
2134 (modb-standard-countup-flags): New function.
2135 (modb-standard-load-flag): Call it.
2136 (elmo-msgdb-append): Ditto.
2137 (elmo-msgdb-clear): Clear slot flag-count.
2138 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2139 (elmo-msgdb-unset-flag): Treat `all' flag and call
2140 modb-standard-countup-flags.
2141 (elmo-msgdb-flag-count): Define.
2142 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2143 (elmo-msgdb-delete-messages): Ditto.
2145 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2146 (elmo-msgdb-flag-count): Define.
2148 * elmo.el (elmo-folder-list-messages): Undo last change.
2149 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2150 (elmo-folder-kill-messages): Unset all flags to numbers.
2152 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2153 elmo-folder-kill-messages.
2155 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2156 (elmo-nntp-folder-delete-messages): Abolish.
2158 * elmo-version.el (elmo-version): Up to 2.11.18.
2160 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2162 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2163 (elmo-folder-kill-messages-range): New function.
2164 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2165 instead of elmo-folder-kill-messages-before.
2167 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2169 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2170 elmo-imap4-current-msgdb to decide entity handler.
2172 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2174 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2176 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2178 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2179 (elmo-msgdb-overview-entity-set-number,
2180 elmo-msgdb-overview-entity-get-references,
2181 elmo-msgdb-overview-entity-set-references,
2182 elmo-msgdb-overview-entity-get-from-no-decode,
2183 elmo-msgdb-overview-entity-get-from,
2184 elmo-msgdb-overview-entity-set-from,
2185 elmo-msgdb-overview-entity-get-subject,
2186 elmo-msgdb-overview-entity-get-subject-no-decode,
2187 elmo-msgdb-overview-entity-set-subject,
2188 elmo-msgdb-overview-entity-get-date,
2189 elmo-msgdb-overview-entity-set-date,
2190 elmo-msgdb-overview-entity-get-to,
2191 elmo-msgdb-overview-entity-get-cc,
2192 elmo-msgdb-overview-entity-get-size,
2193 elmo-msgdb-overview-entity-set-size,
2194 elmo-msgdb-overview-entity-get-extra,
2195 elmo-msgdb-overview-entity-set-extra,
2196 elmo-msgdb-overview-entity-get-extra-field,
2197 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2198 (elmo-msgdb-make-index): Use
2199 `elmo-msgdb-overview-entity-get-number-internal'.
2200 (elmo-msgdb-clear-index): Ditto.
2201 (elmo-msgdb-append-entity): Ditto;
2202 Use `elmo-msgdb-overview-entity-get-id-internal'.
2204 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2205 elmo-msgdb-overview-entity-set-number,
2206 elmo-msgdb-overview-entity-get-references,
2207 elmo-msgdb-overview-entity-set-references,
2208 elmo-msgdb-overview-entity-get-from-no-decode,
2209 elmo-msgdb-overview-entity-get-from,
2210 elmo-msgdb-overview-entity-set-from,
2211 elmo-msgdb-overview-entity-get-subject,
2212 elmo-msgdb-overview-entity-get-subject-no-decode,
2213 elmo-msgdb-overview-entity-set-subject,
2214 elmo-msgdb-overview-entity-get-date,
2215 elmo-msgdb-overview-entity-set-date,
2216 elmo-msgdb-overview-entity-get-to,
2217 elmo-msgdb-overview-entity-get-cc,
2218 elmo-msgdb-overview-entity-get-size,
2219 elmo-msgdb-overview-entity-set-size,
2220 elmo-msgdb-overview-entity-get-extra,
2221 elmo-msgdb-overview-entity-set-extra,
2222 elmo-msgdb-overview-entity-get-extra-field,
2223 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2224 and rewrote for backward compatibility.
2226 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2228 * elmo.el (elmo-message-entity-number,
2229 elmo-message-entity-set-number,
2230 elmo-message-entity-field,
2231 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2233 * elmo-msgdb.el (elmo-message-entity-number,
2234 elmo-message-entity-set-number,
2235 elmo-message-entity-field,
2236 elmo-message-entity-set-field): Moved from elmo.el.
2238 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2240 * elmo.el (toplevel): Changed definition orders.
2242 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2244 * modb.el (elmo-msgdb-search): New API .
2245 (elmo-msgdb-match-condition): Ditto.
2247 * modb-standard.el (elmo-msgdb-search): Define.
2249 * modb-legacy.el (elmo-msgdb-search): Ditto.
2251 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2252 from elmo-msgdb-match-condition-internal.
2254 * elmo.el (elmo-folder-search-fast): Abolish.
2255 (elmo-folder-search): Use elmo-msgdb-search and
2256 elmo-with-progress-display.
2258 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2261 * elmo.el (elmo-folder): Remove slot message-modified and
2263 (elmo-folder-set-message-modified): Abolish.
2264 (elmo-generic-folder-commit): Follow the change above.
2265 (elmo-folder-synchronize): Ditto.
2267 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2269 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2271 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2273 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2275 * modb-standard.el (modb-standard-make-message-entity,
2276 elmo-msgdb-make-message-entity,
2277 elmo-msgdb-create-message-entity-from-buffer,
2278 elmo-msgdb-message-entity-number,
2279 elmo-msgdb-message-entity-set-number,
2280 elmo-msgdb-message-entity-field,
2281 elmo-msgdb-message-entity-set-field,
2282 elmo-msgdb-copy-message-entity,
2283 elmo-msgdb-match-condition-internal): Remove.
2285 * modb-entity.el: New file (again).
2287 * modb.el (toplevel): Require modb-entity.
2288 (elmo-msgdb-message-entity-handler): New method.
2290 * modb-standard.el (modb-standard-entity-id): Use
2291 elmo-message-entity-handler.
2292 (modb-standard-load-entity): Ditto.
2293 (elmo-msgdb-append-entity): Ditto.
2294 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2296 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2297 elmo-msgdb-decoded-cache-hashtb,
2298 (modb-legacy-make-message-entity,
2299 elmo-msgdb-make-message-entity,
2300 elmo-msgdb-create-message-entity-from-buffer,
2301 elmo-msgdb-message-entity-number,
2302 elmo-msgdb-message-entity-set-number,
2303 elmo-msgdb-message-entity-field,
2304 elmo-msgdb-message-entity-set-field,
2305 elmo-msgdb-copy-message-entity,
2306 elmo-msgdb-match-condition-internal,
2307 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2309 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2310 (elmo-message-entity-set-number): Ditto.
2311 (elmo-message-entity-field): Ditto.
2312 (elmo-message-entity-set-field): Ditto.
2314 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2316 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2318 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2320 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2321 (elmo-nntp-msgdb-create-message): Ditto.
2323 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2324 (elmo-folder-msgdb-create): Add unread flag.
2326 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2328 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2330 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2332 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2334 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2335 elmo-msgdb-messge-entity-handler.
2336 * elmo-version.el (elmo-version): Up to 2.11.17.
2338 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2340 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2343 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2345 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2347 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2348 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2349 (elmo-msgdb-flag-table): Ditto.
2350 (elmo-msgdb-sort-by-date): Ditto.
2352 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2354 * modb-standard.el (toplevel): Require mime.
2355 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2356 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2357 elmo-msgdb-message-entity-number.
2358 (elmo-msgdb-append-entity): Ditto.
2359 (elmo-msgdb-create-message-entity-from-file): Remove.
2360 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2361 corresponds to the entity.
2362 (elmo-msgdb-message-entity-number): Do nothing currently.
2363 (elmo-msgdb-message-entity-field): Ditto.
2364 (elmo-msgdb-message-entity-set-field): Ditto.
2365 (elmo-msgdb-copy-message-entity): Ditto.
2366 (elmo-msgdb-match-condition-internal): Ditto.
2368 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2370 (elmo-msgdb-create-message-entity-from-file): Remove.
2372 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2374 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2376 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2378 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2380 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2381 (elmo-msgdb-message-entity-field): Ditto.
2382 (elmo-msgdb-message-entity-number): Ditto.
2384 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2386 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2387 Fixed how to set extra field into entity.
2388 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2391 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2392 Fixed how to set extra field into entity.
2393 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2396 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2398 * modb.el (elmo-message-entity-db): New function.
2399 (elmo-msgdb-make-message-entity): New API.
2400 (elmo-msgdb-message-entity-number): Ditto.
2401 (elmo-msgdb-message-entity-set-number): Ditto.
2402 (elmo-msgdb-message-entity-field): Ditto.
2403 (elmo-msgdb-message-entity-set-field): Ditto.
2404 (elmo-msgdb-copy-message-entity): Ditto.
2405 (elmo-msgdb-create-message-entity-from-file): Ditto.
2406 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2407 (elmo-msgdb-match-condition-internal): Ditto.
2409 * modb-standard.el (modb-legacy): Require modb-legacy.
2410 (modb-standard-make-message-entity): New inline function.
2411 (elmo-msgdb-make-message-entity): Define.
2412 (elmo-msgdb-create-message-entity-from-file): Ditto.
2413 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2414 (elmo-msgdb-message-entity-field): Ditto.
2415 (elmo-msgdb-message-entity-set-field): Ditto.
2416 (elmo-msgdb-copy-message-entity): Ditto.
2417 (elmo-msgdb-match-condition-internal): Ditto.
2419 * modb-legacy.el: Don't require modb-entity.
2420 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2421 (elmo-msgdb-match-condition-primitive): Ditto.
2422 (elmo-msgdb-get-decoded-cache): Ditto.
2423 (elmo-msgdb-overview-entity-get-id): Ditto.
2424 (elmo-msgdb-overview-entity-get-number): Ditto.
2425 (elmo-msgdb-overview-entity-set-number): Ditto.
2426 (elmo-msgdb-overview-entity-get-references): Ditto.
2427 (elmo-msgdb-overview-entity-set-references): Ditto.
2428 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2429 (elmo-msgdb-overview-entity-get-from): Ditto.
2430 (elmo-msgdb-overview-entity-set-from): Ditto.
2431 (elmo-msgdb-overview-entity-get-subject): Ditto.
2432 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2433 (elmo-msgdb-overview-entity-set-subject): Ditto.
2434 (elmo-msgdb-overview-entity-get-date): Ditto.
2435 (elmo-msgdb-overview-entity-set-date): Ditto.
2436 (elmo-msgdb-overview-entity-get-to): Ditto.
2437 (elmo-msgdb-overview-entity-get-cc): Ditto.
2438 (elmo-msgdb-overview-entity-get-size): Ditto.
2439 (elmo-msgdb-overview-entity-set-size): Ditto.
2440 (elmo-msgdb-overview-entity-get-extra): Ditto.
2441 (elmo-msgdb-overview-entity-set-extra): Ditto.
2442 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2443 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2444 (elmo-msgdb-number-load): Ditto.
2445 (elmo-msgdb-overview-load): Ditto.
2446 (elmo-msgdb-mark-load): Ditto.
2447 (elmo-msgdb-number-save): Ditto.
2448 (elmo-msgdb-mark-save): Ditto.
2449 (elmo-msgdb-overview-save): Ditto.
2450 (modb-legacy-make-message-entity): New inline function.
2451 (elmo-msgdb-insert-file-header): Ditto.
2452 (elmo-msgdb-make-message-entity): Define.
2453 (elmo-msgdb-create-message-entity-from-file): Ditto.
2454 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2455 (elmo-msgdb-message-entity-number): Ditto.
2456 (elmo-msgdb-message-entity-set-number): Ditto.
2457 (elmo-msgdb-message-entity-field): Ditto.
2458 (elmo-msgdb-message-entity-set-field): Ditto.
2459 (elmo-msgdb-copy-message-entity): Ditto.
2460 (elmo-msgdb-match-condition-internal): Ditto.
2462 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2463 (elmo-message-copy-entity): Rewrite.
2464 (elmo-message-entity-number): Ditto.
2465 (elmo-message-entity-set-number): Ditto.
2466 (elmo-message-entity-field): Use elmo-message-entity-db.
2467 (elmo-message-entity-set-field): Ditto.
2468 (elmo-message-field): Rewrite.
2470 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2472 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2474 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2475 elmo-message-entity-field.
2476 (elmo-shimbun-folder-shimbun-header): Ditto.
2477 (elmo-shimbun-entity-to-header): Ditto.
2478 (elmo-folder-msgdb-create): Ditto.
2479 (elmo-shimbun-msgdb-create-entity): Ditto;
2480 Use elmo-msgdb-create-message-entity-from-buffer.
2481 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2482 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2484 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2485 elmo-msgdb-create-message-entity-from-file and
2486 elmo-message-entity-field.
2488 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2489 elmo-message-entity-number.
2490 (elmo-pop3-msgdb-create-message): Use
2491 elmo-msgdb-create-message-entity-from-buffer,
2492 elmo-message-entity-set-field, elmo-message-entity-number and
2493 elmo-message-entity-set-number.
2495 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2496 the API change in elmo-msgdb-make-message-entity.
2497 (elmo-nntp-msgdb-create-message): Use
2498 elmo-msgdb-create-message-entity-from-buffer.
2500 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2501 elmo-message-entity-field and
2502 elmo-msgdb-create-message-entity-from-file.
2504 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2505 (elmo-msgdb-get-field): Abolish.
2506 (elmo-msgdb-get-number): Rewrite.
2507 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2508 (elmo-msgdb-flag-table): Ditto.
2509 (elmo-msgdb-get-last-message-id,
2510 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2511 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2512 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2513 (elmo-msgdb-create-overview-from-buffer,
2514 elmo-msgdb-overview-get-parent-entity): Abolish.
2516 * elmo-mime.el (elmo-mime-display-as-is): Use
2517 elmo-message-entity-field.
2519 * elmo-map.el (elmo-folder-pack-numbers): Use
2520 elmo-message-entity-set-number.
2522 * elmo-maildir.el (elmo-folder-msgdb-create):
2523 elmo-msgdb-create-message-entity-from-file instead of
2524 elmo-msgdb-create-overview-entity-from-file.
2526 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2528 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2529 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2531 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2532 elmo-messge-entity-field and elmo-message-entity-number.
2533 (elmo-imap4-fetch-callback-1): Call
2534 elmo-msgdb-create-message-entity-from-buffer instead of
2535 elmo-msgdb-create-overview-from-buffer.
2536 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2537 (elmo-find-fetch-strategy): Likewise.
2539 * elmo-flag.el (elmo-folder-msgdb-create): Call
2540 elmo-localdir-msgdb-create-entity with argument msgdb.
2542 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2543 and elmo-message-entity-set-number.
2545 * elmo-cache.el (elmo-folder-msgdb-create): Use
2546 elmo-message-entity-field.
2547 (elmo-folder-msgdb-create): Call
2548 elmo-msgdb-create-message-entity-from-file instead of
2549 elmo-msgdb-create-overview-entity-from-file.
2551 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2552 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2553 instead of elmo-msgdb-create-overview-from-buffer.
2554 (elmo-archive-msgdb-create-entity): Ditto.
2555 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2556 elmo-message-entity-field.
2557 (elmo-archive-parse-mmdf): Ditto.
2559 * modb-entity.el: Removed.
2561 * elmo-version.el (elmo-version): Up to 2.11.16.
2563 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2565 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2567 (elmo-folder-flag-as-answered): Ditto.
2569 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2571 * modb-standard.el: New file.
2573 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2574 elmo-msgdb-convert-type is `sync'.
2576 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2577 (elmo-msgdb-convert-type): New user option.
2579 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2580 (elmo-load-msgdb): Auto detect saved type.
2582 * elmo-version.el (elmo-version): Up to 2.11.15.
2584 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2586 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2588 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2589 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2590 with argument `delete-if-none' when dst-folder is 'null.
2592 * elmo-flag.el (elmo-folder-append-messages): Defined.
2593 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2595 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2597 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2599 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2601 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2602 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2603 (elmo-folder-commit): Ditto.
2605 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2607 * elmo-flag.el: New file.
2609 * elmo-mark.el: Removed.
2611 * modb-legacy.el (modb-legacy-new-mark,
2612 modb-legacy-unread-uncached-mark,
2613 modb-legacy-unread-cached-mark,
2614 modb-legacy-read-uncached-mark,
2615 modb-legacy-answered-cached-mark,
2616 modb-legacy-answered-uncached-mark,
2617 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2618 All other related portions are changed.
2620 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2621 (elmo-folder-list-messages-with-global-mark): Abolish.
2622 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2623 (elmo-folder-flag-as-important): Ditto.
2624 (elmo-folder-unflag-read): Ditto.
2625 (elmo-folder-flag-as-read): Ditto.
2626 (elmo-folder-unflag-answered): Ditto.
2627 (elmo-folder-flag-as-answered): Ditto.
2628 (elmo-message-encache): Return the cache path.
2629 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2630 (elmo-message-set-flag): Transitional implementation.
2631 (elmo-message-unset-flag): Ditto.
2632 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2633 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2634 (elmo-init): Call elmo-global-flag-initialize.
2635 (toplevel): Added autoload settings for elmo-flag.
2637 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2639 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2640 (elmo-file-cache-delete): Don't treat global-mark.
2642 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2644 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2646 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2647 `elmo-global-flags-set'.
2649 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2651 (elmo-folder-unflag-read): Ditto.
2652 (elmo-folder-unflag-important): Ditto.
2653 (elmo-folder-flag-as-important): Ditto.
2654 (elmo-folder-unflag-answered): Ditto.
2655 (elmo-folder-flag-as-answered): Ditto.
2657 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2658 `elmo-global-flags-set'.
2659 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2661 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2663 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2665 (elmo-folder-flag-as-important): Ditto.
2666 (elmo-folder-unflag-important): Ditto.
2667 (elmo-folder-flag-as-important): Ditto.
2668 (elmo-folder-unflag-read): Ditto.
2669 (elmo-folder-flag-as-read): Ditto.
2670 (elmo-folder-unflag-answered): Ditto.
2671 (elmo-folder-flag-as-answered): Ditto.
2673 * elmo-multi.el (elmo-folder-list-importants): Don't call
2674 elmo-folder-list-messages-with-global-mark.
2675 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2676 (elmo-folder-unflag-important): Ditto.
2677 (elmo-folder-flag-as-read): Ditto.
2678 (elmo-folder-unflag-read): Ditto.
2679 (elmo-folder-flag-as-answered): Ditto.
2680 (elmo-folder-unflag-answered): Ditto.
2682 * elmo-msgdb.el (elmo-msgdb-new-mark,
2683 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2684 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2685 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2686 (Moved to modb-legacy.el).
2687 (elmo-flag-table-get): Treat important flag too.
2689 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2691 (elmo-map-folder-flag-as-important): Ditto.
2692 (elmo-map-folder-unflag-read): Ditto.
2693 (elmo-map-folder-flag-as-read): Ditto.
2694 (elmo-map-folder-unflag-answered): Ditto.
2695 (elmo-map-folder-flag-as-answered): Ditto.
2696 (elmo-folder-unflag-important): Ditto.
2697 (elmo-folder-flag-as-important): Ditto.
2698 (elmo-folder-unflag-read): Ditto.
2699 (elmo-folder-flag-as-read): Ditto.
2700 (elmo-folder-unflag-answered): Ditto.
2701 (elmo-folder-flag-as-answered): Ditto.
2703 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2704 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2706 (elmo-map-folder-unflag-important): Ditto.
2707 (elmo-map-folder-flag-as-read): Ditto.
2708 (elmo-map-folder-unflag-read): Ditto.
2709 (elmo-map-folder-flag-as-answered): Ditto.
2710 (elmo-map-folder-unflag-answered): Ditto.
2712 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2713 `elmo-global-flags-set'.
2714 (elmo-global-flags-set): Added autoload setting.
2716 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2719 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2720 `elmo-msgdb-global-mark-set'.
2721 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2722 Call `elmo-global-flags-set'.
2723 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2725 (elmo-folder-flag-as-important-plugged): Ditto.
2726 (elmo-folder-unflag-read-plugged): Ditto.
2727 (elmo-folder-flag-as-read-plugged): Ditto.
2728 (elmo-folder-unflag-answered-plugged): Ditto.
2729 (elmo-folder-flag-as-answered-plugged): Ditto.
2730 (elmo-global-flags-set): Added autoload setting.
2732 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2734 (elmo-folder-unflag-read): Ditto.
2735 (elmo-folder-flag-as-important): Ditto.
2736 (elmo-folder-unflag-important): Ditto.
2737 (elmo-folder-flag-as-answered): Ditto.
2738 (elmo-folder-unflag-answered): Ditto.
2740 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2741 change of `mark'->`flag'.
2742 (elmo-dop-queue-method-name-alist): Ditto.
2743 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2744 (elmo-folder-unflag-read-dop): Ditto.
2745 (elmo-folder-flag-as-important-dop): Ditto.
2746 (elmo-folder-unflag-important-dop): Ditto.
2747 (elmo-folder-flag-as-answered-dop): Ditto.
2748 (elmo-folder-unflag-answered-dop): Ditto.
2750 * elmo-cache.el (elmo-folder-msgdb-create): Call
2751 `elmo-global-flags-set'.
2753 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2754 Call `elmo-global-flags-set'.
2755 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2756 elmo-archive-parse-mmdf with argument `folder'.
2757 (elmo-archive-parse-mmdf): Added argument `folder';
2758 Call `elmo-global-flags-set'.
2760 * elmo-version.el (elmo-version): Up to 2.11.14.
2762 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2764 * modb.el (elmo-msgdb-length): Define.
2766 * elmo.el (elmo-make-folder): Fixed.
2767 (elmo-generic-folder-append-messages): Follow the API change.
2769 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2772 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2774 * modb.el: New file.
2776 * modb-entity.el: Ditto.
2778 * modb-legacy.el: Ditto.
2780 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2781 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2782 of `elmo-msgdb-overview-get-entity'.
2783 (elmo-msgdb-get-field): Ditto.
2784 (elmo-msgdb-merge): Moved to `elmo.el'.
2785 (elmo-msgdb-length): Removed; redefine as modb method.
2786 (elmo-msgdb-change-mark): Abolish.
2787 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2788 (elmo-msgdb-match-condition): Don't use mark.
2789 (elmo-msgdb-overview-get-entity): Abolish.
2790 Split modb part into `modb*.el'.
2792 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2794 * elmo-shimbun.el (shimbun-mua-search-id): Use
2795 `elmo-msgdb-message-entity' instead of
2796 `elmo-msgdb-overview-get-entity'.
2797 (elmo-shimbun-folder-shimbun-header): Ditto.
2798 (elmo-shimbun-get-headers): Ditto.
2799 (elmo-shimbun-update-overview): Ditto.
2801 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2803 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2805 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2806 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2808 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2809 `elmo-msgdb-mark-to-flags'.
2811 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2812 `elmo-msgdb-set-path'.
2814 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2816 * elmo-version.el (elmo-version): Up to 2.11.13.
2818 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2820 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2823 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2825 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2828 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2830 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2831 instead of `elmo-msgdb-get-cached'.
2832 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2834 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2835 (elmo-msgdb-set-cached): Ditto.
2836 (elmo-msgdb-set-flag): Rewrite.
2837 (elmo-msgdb-unset-flag): Ditto.
2839 * elmo-msgdb.el: Rewrite with luna.
2841 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2842 (elmo-folder-msgdb): Follow the change above.
2843 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2844 (elmo-folder-unmark-important): Follow the API change.
2845 (elmo-folder-mark-as-important): Ditto.
2846 (elmo-folder-unmark-read): Ditto.
2847 (elmo-folder-mark-as-read): Ditto.
2848 (elmo-folder-unmark-answered): Ditto.
2849 (elmo-folder-mark-as-answered): Ditto.
2850 (elmo-folder-clear): Likewise.
2852 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2853 instead of `elmo-msgdb-load' (renamed).
2855 * elmo-version.el (elmo-version): Up to 2.11.12.
2857 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2859 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2861 (elmo-message-mark): Abolish.
2862 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2863 instead of `elmo-msgdb-change-mark'.
2865 * elmo-pipe.el (elmo-message-mark): Abolish.
2867 * elmo-multi.el (elmo-message-mark): Ditto.
2869 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2870 (elmo-msgdb-unread-uncached-mark): Ditto.
2871 (elmo-msgdb-unread-cached-mark): Ditto.
2872 (elmo-msgdb-read-uncached-mark): Ditto.
2873 (elmo-msgdb-answered-cached-mark): Ditto.
2874 (elmo-msgdb-answered-uncached-mark): Ditto.
2875 (elmo-msgdb-important-mark): Ditto.
2876 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2878 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2880 (elmo-flag-table-load): Changed flag to list of flag.
2881 (elmo-flag-table-set): If flags is nil, set read flag.
2882 (elmo-flag-table-get): Return derived flags from global mark,
2883 cache status and saved flags.
2884 (elmo-msgdb-flag-table): Follow the change above.
2885 (elmo-msgdb-out-of-date-messages): New function.
2887 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2889 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2891 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2893 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2894 (elmo-nntp-msgdb-create-message): Ditto.
2896 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2898 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2900 (elmo-folder-msgdb-create): Follow the API change.
2902 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2903 (elmo-folder-append-messages): Ditto.
2905 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2906 (elmo-folder-append-buffer): Ditto.
2908 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2910 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2912 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2913 (elmo-archive-parse-mmdf): Ditto.
2915 * elmo-version.el (elmo-version): Up to 2.11.11.
2917 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2919 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2922 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2924 * elmo-pipe.el (elmo-message-flags): Defined.
2926 * elmo-multi.el (elmo-message-flags): Ditto.
2928 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2930 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2931 `elmo-msgdb-delete-msgs'.
2933 * elmo.el (elmo-folder-count-flags): Don't use
2934 `elmo-msgdb-get-mark-alist'.
2935 (elmo-folder-detach-messages): Follow the API change.
2937 * elmo.el (elmo-folder-list-messages): Append killed messages into
2938 result if `visible-only' is nil.
2940 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2942 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2943 (elmo-folder-update-number): Likewise.
2945 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2946 (elmo-pop3-sort-msgdb-by-original-number): Use
2947 `elmo-msgdb-sort-entities'.
2949 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2950 (elmo-msgdb-sort-by-date): Use it.
2951 (elmo-msgdb-overview-sort-by-date): Abolish.
2953 * elmo-dop.el (elmo-folder-status-dop): Fixed.
2955 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
2956 (elmo-msgdb-flags): New function.
2957 (elmo-msgdb-merge): Use elmo-msgdb-append.
2959 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
2962 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2964 * elmo-dop.el (elmo-folder-status-dop): Use
2965 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
2967 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2969 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
2971 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
2973 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
2975 * elmo-util.el (elmo-with-progress-display): New macro.
2977 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
2979 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2981 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2982 `elmo-folder-list-message-entities' instead of
2983 `elmo-msgdb-get-overview'.
2984 (elmo-map-folder-list-message-locations): Ditto.
2986 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
2987 methods instead of treat directly).
2988 (elmo-msgdb-clear): Ditto.
2989 (elmo-msgdb-delete-msgs): Ditto.
2990 (elmo-msgdb-sort-by-date): Ditto.
2992 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
2994 (elmo-nntp-folder-msgdb-create): Follow the API change.
2996 * elmo-version.el (elmo-version): Up to 2.11.10.
2998 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3000 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3001 (elmo-msgdb-flags-to-mark): Ditto.
3002 (elmo-msgdb-append-entity): Ditto.
3004 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3005 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3006 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3007 (elmo-archive-parse-mmdf): Ditto.
3009 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3011 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3013 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3015 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3017 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3019 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3021 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3023 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3025 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3026 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3029 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3030 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3031 instead of directly construction.
3032 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3033 instead of construct msgdb.
3035 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3036 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3037 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3038 instead of construct msgdb.
3040 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3042 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3043 when field is from or subject.
3045 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3047 * elmo-multi.el (elmo-message-entity-parent): Define.
3048 (elmo-folder-search): Rewrite.
3050 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3052 * elmo-multi.el (elmo-message-cached-p): Define.
3054 * elmo.el (elmo-message-cached-p): New method.
3055 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3056 (elmo-message-flags): New method.
3057 (elmo-message-flagged-p): New function.
3059 * elmo-version.el (elmo-version): Up to 2.11.9.
3061 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3063 * elmo-version.el (elmo-version): Up to 2.11.8.
3065 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3067 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3069 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3071 * elmo.el (elmo-folder-detach-messages): Undo last change.
3073 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3075 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3077 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3078 only when src folder type is pop3.
3080 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3082 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3083 elmo-msgdb-overview-entity-get-number instead of
3084 elmo-message-entity-number.
3086 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3088 * elmo-version.el (elmo-version): Up to 2.11.7.
3090 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3092 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3095 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3096 (elmo-msgdb-merge): New function.
3097 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3098 (elmo-msgdb-make-index): Rewrite.
3100 * elmo-version.el (elmo-version): Up to 2.11.6.
3102 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3103 use it as a the path for loading message entities.
3105 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3107 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3109 * elmo-filter.el (elmo-folder-set-message-modified): Set
3110 message-modified slot of itself if it does not require target msgdb.
3112 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3113 if folder length is zero.
3114 (elmo-mime-display-as-is): Ditto.
3116 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3118 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3120 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3122 * elmo.el (elmo-folder-set-message-modified): New method.
3123 (elmo-generic-folder-commit): Use it.
3124 (elmo-folder-synchronize): Ditto.
3126 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3127 (elmo-folder-commit): Remove duplicate definition.
3129 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3131 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3133 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3135 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3136 (elmo-strict-folder-diff): Ditto.
3137 (elmo-folder-set-info-max-by-numdb): Simplify.
3139 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3140 elmo-msgdb-list-messages.
3142 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3143 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3145 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3147 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3148 visible-only is non-nil.
3149 (elmo-folder-confirm-appends): Changed message.
3150 (elmo-folder-synchronize): Added argument disable-killed.
3152 * elmo-multi.el (elmo-folder-synchronize): Added argument
3155 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3157 * elmo-version.el (elmo-version): Up to 2.11.5.
3159 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3162 * elmo-util.el (elmo-list-filter): Simplify.
3164 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3165 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3166 (elmo-generic-folder-diff): Abolish argument.
3167 (elmo-msgdb-load): Don't use number-alist.
3169 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3171 * elmo-pipe.el (elmo-folder-diff): Ditto.
3173 * elmo-nmz.el (elmo-folder-diff): Ditto.
3175 * elmo-net.el (elmo-folder-diff): Ditto.
3177 * elmo-maildir.el (elmo-folder-diff): Ditto.
3179 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3181 * elmo-multi.el (elmo-folder-diff): Ditto
3182 (elmo-multi-folder-diff): Rewrite.
3184 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3186 * elmo-pipe.el (elmo-folder-msgdb): Define.
3188 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3190 * elmo.el (elmo-message-set-cached): Define as a method.
3192 * elmo-pipe.el (elmo-message-set-cached): Define.
3193 (elmo-find-fetch-strategy): Ditto.
3195 * elmo-multi.el (elmo-message-set-cached): Define.
3196 (elmo-find-fetch-strategy): Rewrite.
3198 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3200 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3202 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3204 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3205 instead of number-alist.
3207 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3208 mark nor message-id when msgdb of source folder is not loaded.
3210 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3212 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3214 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3216 * elmo.el (elmo-folder-length): Don't require msgdb.
3218 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3220 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3221 (elmo-message-field): Ditto.
3223 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3224 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3226 (elmo-map-folder-list-answereds): Define.
3227 (elmo-maildir-list-location): Treat 'R' info.
3228 (elmo-folder-msgdb-create): Treat flag-table.
3229 (elmo-folder-append-messages): Save flag-table.
3231 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3233 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3234 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3236 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3238 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3240 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3241 'read when mark is null.
3243 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3245 * elmo-version.el (elmo-version): Up to 2.11.4.
3247 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3249 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3250 (elmo-folder-mark-as-answered): Ditto.
3252 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3254 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3255 (elmo-pop3-get-session): Make msgdb directory after session.
3256 (elmo-folder-exists-p): Check exactly at the first time even when the
3257 elmo-pop3-exists-exactly is nil.
3259 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3260 (elmo-folder-list-messages): Define instead of
3261 elmo-folder-list-messages-internal.
3262 (elmo-folder-check): Check destination folder.
3263 (elmo-folder-synchronize): Drain the pipe.
3265 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3266 when msgdb is not loaded.
3268 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3270 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3271 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3274 * elmo.el (elmo-folder-kill-messages-before): New function.
3275 (elmo-folder-kill-messages): Ditto.
3276 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3278 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3279 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3280 killed not by synchronize (e.g. scoring).
3282 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3284 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3286 (elmo-folder-search): Follow the change above.
3288 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3289 into the candidates of search field.
3291 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3293 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3294 (elmo-msgdb-unset-flag): Ditto.
3296 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3298 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3300 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3301 (elmo-folder-commit): Define.
3302 (elmo-folder-synchronize): Ditto.
3303 (elmo-folder-list-flagged): Ditto.
3304 (elmo-folder-commit): Ditto.
3305 (elmo-folder-length): Ditto.
3306 (elmo-folder-count-flags): Ditto.
3307 (elmo-message-mark): Ditto.
3308 (elmo-message-field): Ditto.
3309 (elmo-message-entity): Ditto.
3310 (elmo-message-folder): Ditto.
3312 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3314 * elmo.el (elmo-message-field): Define as a method.
3316 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3317 (elmo-message-field): Define.
3319 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3320 (elmo-folder-list-importants): Ditto.
3321 (elmo-folder-list-answereds): Ditto.
3323 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3325 (elmo-folder-mark-as-read): Ditto.
3326 (elmo-folder-unmark-read): Ditto.
3327 (elmo-folder-mark-as-answered): Ditto.
3328 (elmo-folder-unmark-answered): Ditto.
3329 (elmo-folder-list-flagged): Define.
3330 (elmo-folder-commit): Ditto.
3331 (elmo-folder-length): Ditto.
3332 (elmo-folder-count-flags): Ditto.
3334 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3336 * elmo.el (elmo-folder-detach-messages): New method.
3337 (elmo-folder-move-messages): Use it.
3338 (elmo-folder-synchronize): Ditto.
3340 * elmo-multi.el (elmo-folder-detach-messages): Define.
3342 * elmo.el (elmo-message-copy-entity): New function.
3343 (elmo-message-entity-set-number): Ditto.
3344 (elmo-message-mark): Define as method.
3346 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3347 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3348 (elmo-message-entity): Fixed last change.
3349 (elmo-message-mark): Define.
3350 (elmo-folder-msgdb-create): Abolish.
3351 (elmo-multi-folder-append-msgdb): Ditto.
3352 (elmo-multi-folder-diff): Fixed.
3353 (elmo-multi-split-number-alist): Removed.
3354 (elmo-multi-split-mark-alist): Removed.
3355 (elmo-folder-list-messages): Define.
3356 (elmo-folder-list-messages-internal): Removed.
3358 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3359 local file messages.
3360 (elmo-folder-msgdb-create): Fixed read mark.
3362 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3364 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3367 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3369 * elmo.el (elmo-folder-list-message-entities): Define as inline
3371 (elmo-folder-messages): Abolish.
3373 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3375 (elmo-folder-synchronize): Define.
3376 (elmo-message-entity): Define.
3378 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3380 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3381 elmo-imap4-session-select-mailbox.
3383 * elmo.el (elmo-folder-move-messages): Don't display any message.
3385 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3387 (elmo-imap4-session-check): Don't wait CHECK response.
3388 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3390 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3392 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3394 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3396 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3398 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3401 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3402 (elmo-folder-list-message-entities): Added argument in-msgdb and
3404 (elmo-folder-synchronize): Define as a method.
3406 * elmo-nntp.el (elmo-folder-initialize): Don't use
3407 elmo-nntp-default-user if zero-length username is specified
3410 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3412 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3413 server name in case with username.
3414 (XXX: this is ad-hoc fix against username includes "@", it
3415 should be solved fundamentally)
3417 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3419 * elmo-nntp.el (elmo-nntp-debug): New function.
3420 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3421 (elmo-network-authenticate-session): Hide auth-info from the log.
3423 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3424 user name if it is equal to elmo-nntp-default-user.
3426 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3428 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3429 instead of shimbun-server-internal;
3430 Use shimbun-current-group instead of shimbun-current-group-internal.
3431 (elmo-folder-plugged-p): Use shimbun-server instead of
3432 shimbun-server-internal.
3433 (elmo-folder-set-plugged): Ditto.
3434 (elmo-net-port-info): Ditto.
3435 (elmo-folder-check): Ditto.
3436 (elmo-folder-expand-msgdb-path): Ditto.
3437 (elmo-folder-list-subfolders): Ditto.
3439 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3441 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3442 Convert field-name to lower case.
3443 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3445 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3447 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3448 `message' and `error' take format string.
3450 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3452 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3454 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3456 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3457 recursive call (can't byte compile on emacs 20.7).
3459 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3461 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3462 (elmo-folder-list-message-entities): New API.
3463 (elmo-message-entity): Ditto.
3464 (elmo-message-entity-parent): Ditto.
3465 (elmo-folder-do-each-message-entity): Ditto.
3466 (elmo-message-entity-number): Ditto.
3467 (elmo-message-entity-field): Ditto.
3468 (elmo-message-entity-set-field): Ditto.
3469 (elmo-folder-count-flags): Ditto.
3470 (elmo-folder-length): Ditto.
3472 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3475 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3476 (elmo-msgdb-count-marks): Abolish.
3477 (elmo-msgdb-make-entity): Ditto.
3478 (elmo-msgdb-do-each-entity): Ditto.
3479 (elmo-msgdb-message-entity): New inline function.
3480 (elmo-msgdb-message-entity-field): Ditto.
3481 (elmo-msgdb-message-entity-set-field): Ditto.
3482 (elmo-msgdb-make-message-entity): New function.
3484 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3486 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3487 to flag. (All other related portions are changed.)
3488 (elmo-folder-msgdb-create): Likewise.
3489 (elmo-generic-folder-append-messages): Use flag-table instead of
3491 (elmo-folder-move-messages): Removed redundant process.
3492 (elmo-folder-synchronize): Likewise.
3494 * elmo-msgdb.el (elmo-flag-table-get): New function.
3495 (elmo-flag-table-save): Fixed.
3496 (elmo-msgdb-length): New inline function.
3497 (elmo-msgdb-flag-table): New function.
3498 (elmo-msgdb-mark): Add optional argument new.
3499 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3500 (elmo-msgdb-seen-list): Ditto.
3501 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3504 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3506 * elmo.el (elmo-message-set-mark): Abolish.
3507 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3508 (All related portions are changed.)
3510 * elmo-msgdb.el (toplevel): Added comment.
3511 (elmo-load-msgdb): Added 4th element `path'.
3512 (elmo-msgdb-append): Follow the change above.
3513 (elmo-msgdb-clear): Ditto.
3514 (elmo-msgdb-delete-msgs): Ditto.
3515 (elmo-msgdb-get-path): New inline function.
3516 (elmo-msgdb-set-path): Ditto.
3517 (elmo-flag-table-filename): New variable.
3518 (elmo-flag-table-load): New function.
3519 (elmo-flag-table-set): Ditto.
3520 (elmo-flag-table-save): Ditto.
3521 (elmo-msgdb-get-field-value): Abolish.
3522 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3524 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3526 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3527 the folder has been deleted successfully.
3528 * elmo-imap4.el (elmo-folder-delete): Ditto.
3529 * elmo-archive.el (elmo-folder-delete): Ditto.
3530 * elmo-localdir.el (elmo-folder-delete): Ditto.
3531 * elmo-maildir.el (elmo-folder-delete): Ditto.
3533 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3535 * elmo-util.el (elmo-string-member-ignore-case): New function.
3536 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3537 (elmo-imap4-fetch-callback-1-subr): Likewise.
3539 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3541 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3542 the case of the name attribute "\Noselect".
3544 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3546 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3548 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3549 flist, is not always a member of onum-alist.
3551 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3553 * elmo-version.el (elmo-version): Up to 2.11.3.
3555 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3557 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3558 copied from localdir's one.
3560 * elmo-pipe.el (elmo-folder-rename): New method, rename
3561 destination folder with leaving source folder as it is.
3563 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3565 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3568 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3570 * elmo-version.el (elmo-version): Up to 2.11.2.
3572 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3574 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3575 shimbun-open in case of "@".
3576 (elmo-folder-open-internal): Cope with shimbun = nil case.
3577 (elmo-folder-plugged-p): Ditto.
3578 (elmo-folder-list-subfolders): Make list for "@/" group.
3580 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3582 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3583 mailbox (e.g. for %~/something).
3585 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3587 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3588 Replace nested conditional with guard clauses.
3590 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3592 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3595 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3598 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3600 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3601 Replace nested conditional with guard clauses.
3603 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3605 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3606 (elmo-passwd-alist-save): Ditto.
3607 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3609 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3611 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3612 dir-name only if it is absolute path.
3613 (TODO: distinguish +/something and +something)
3615 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3617 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3618 path for "+~/something".
3620 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3622 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3623 as non-directory, cause error before rename-file.
3624 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3625 apropriately, mimic localdir's one.
3626 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3628 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3630 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3632 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3634 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3636 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3638 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3639 is included in the global-mark or not.
3641 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3643 * utf7.el (toplevel): Avoid error when the function
3644 find-coding-system does not exist.
3646 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3648 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3649 cache even if the folder is plugged.
3650 (elmo-nntp-search-primitive): Do nothing when body search is
3651 invoked (although it is not used by the change above).
3652 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3654 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3656 * elmo-version.el (elmo-version): Up to 2.11.1.
3658 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3660 * elmo-archive.el: Specify charset.
3662 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3664 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3665 process buffer lives or not.
3667 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3668 while flushing queues (It causes infinite loop).
3670 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3672 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3674 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3676 * utf7.el (toplevel): Check the ucs features dynamically.
3677 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3679 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3680 folder is creatabe or not if it already exists.
3682 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3684 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3686 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3688 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3689 (elmo-imap4-read-response): Take care of garbage response.
3691 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3693 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3694 just return nil instead of error.
3696 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3698 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3699 search-key is "body".
3701 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3703 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3704 of elmo-string-matched-assoc to use match-data.
3705 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3707 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3709 * elmo-split.el (elmo-split->): New function.
3710 (elmo-split-<): Ditto.
3712 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3714 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3715 workaround for invalid message-id.
3717 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3719 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3720 return normal pop3 session or pop3 biff session.
3722 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3724 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3725 info part to the cur files when the new files already have it.
3726 (Adviced by Jared Rhine <jared@wordzoo.com>)
3728 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3730 * elmo-split.el (elmo-split-default-action): New variable.
3731 (elmo-split-subr): Use it if all other conditions are passed.
3732 Extend `fname' and rename it as `action'. (implemented
3733 Teranishi-san's idea in [wl:10800])
3735 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3737 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3738 * elmo-util.el: Ditto.
3740 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3742 * elmo.el (elmo-message-accessible-p): Renamed from
3743 elmo-message-cached-p and rewritten.
3745 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3747 * elmo.el (elmo-folder-list-flagged): New generic function.
3748 (elmo-folder-list-importants): New implementation.
3749 (elmo-folder-list-answereds): Ditto.
3750 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3752 (elmo-message-cached-p): New function.
3753 (elmo-message-set-flag): Ditto (no content).
3754 (elmo-message-unset-flag): Ditto.
3755 (elmo-folder-list-messages-mark-match): Abolish.
3757 * elmo-util.el (elmo-regexp-opt): New function.
3759 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3760 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3762 (elmo-msgdb-list-flagged): New function.
3764 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3765 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3768 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3770 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3772 * elmo-version.el (elmo-version): Up to 2.11.0.
3774 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3776 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3777 `elmo-file-cache-exists-p'; use proper mark that depends on
3779 (elmo-msgdb-unset-flag): Ditto.
3780 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3782 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3783 with 4th argument `use-cache'.
3785 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3787 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3788 (elmo-folder-mark-as-important): Ditto.
3789 (elmo-folder-unmark-read): Ditto.
3790 (elmo-folder-mark-as-read): Ditto.
3791 (elmo-folder-unmark-answered): Ditto.
3792 (elmo-folder-mark-as-answered): Ditto.
3794 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3796 (elmo-msgdb-mark): Likewise.
3797 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3798 (elmo-msgdb-unset-flag): Likewise.
3800 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3802 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3804 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3807 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3809 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3810 set spool-length to 0.
3812 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3814 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3815 (elmo-dop-queue-flush): Fixed last change.
3817 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3819 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3820 if require-msgdb slot is nil.
3821 (elmo-folder-list-importants): Likewise.
3823 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3825 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3828 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3829 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3832 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3834 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3836 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3838 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3840 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3842 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3844 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3845 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3847 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3849 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3850 the problem reported by Sean Rima [wl-en:180].
3852 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3854 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3856 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3858 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3860 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3862 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3864 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3866 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3868 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3870 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3873 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3875 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3876 (elmo-folder-mark-as-read): Follow the API change.
3877 (elmo-message-set-cached): New function.
3879 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3881 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3883 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3884 (elmo-folder-mark-as-important): Ditto.
3885 (elmo-folder-unmark-read): Ditto.
3886 (elmo-folder-mark-as-read): Ditto.
3887 (elmo-folder-unmark-answered): Ditto.
3888 (elmo-folder-mark-as-answered): Ditto.
3890 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3891 (elmo-folder-unmark-important): Ditto.
3892 (elmo-folder-mark-as-read): Ditto.
3893 (elmo-folder-unmark-read): Ditto.
3894 (elmo-folder-mark-as-answered): Ditto.
3895 (elmo-folder-unmark-answered): Ditto.
3897 * elmo-mark.el (toplevel): Removed some mark method definitions.
3899 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3900 (elmo-map-folder-mark-as-answered): Ditto.
3901 (elmo-folder-unmark-important): Add :before qualifier.
3902 (elmo-folder-mark-as-important): Ditto.
3903 (elmo-folder-unmark-read): Ditto.
3904 (elmo-folder-mark-as-read): Ditto.
3905 (elmo-folder-unmark-answered): Define.
3906 (elmo-folder-mark-as-answered): Ditto.
3908 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3909 (elmo-map-folder-unmark-answered): Ditto.
3911 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3913 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3914 (elmo-folder-mark-as-important): Ditto.
3915 (elmo-folder-unmark-read): Ditto.
3916 (elmo-folder-mark-as-read): Ditto.
3917 (elmo-folder-unmark-answered): Ditto.
3918 (elmo-folder-mark-as-answered): Ditto.
3920 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3921 `mark'; evaluate mark condition.
3922 (elmo-msgdb-match-condition-internal): New function.
3923 (elmo-msgdb-match-condition): Call it; changed argument.
3925 * elmo.el (elmo-folder-search): Follow the API change on
3926 `elmo-msgdb-match-condition'.
3928 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3930 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3931 original mark is non-nil.
3933 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3935 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3936 (elmo-map-folder-list-answereds): New method.
3937 (elmo-folder-list-unreads): Add :around qualifier.
3938 (elmo-folder-list-importants): Ditto.
3939 (elmo-folder-list-answereds): Ditto.
3941 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3943 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3945 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3946 method if msgdb is not required.
3947 (elmo-filter-folder-list-importants): Don't treat global-mark.
3949 * elmo.el (elmo-folder-list-importants): Ditto.
3951 * elmo-net.el (elmo-folder-list-importants): Ditto.
3953 * elmo-map.el (elmo-folder-list-importants): Ditto.
3955 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
3957 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
3958 (elmo-imap4-folder-list-any-plugged): New function.
3959 (elmo-imap4-search-internal-primitive): Use it.
3961 * elmo-filter.el (elmo-folder-check): Synchronize original folder
3962 only when require-msgdb slot is non-nil.
3963 (elmo-folder-close): Clear target folder's msgdb.
3965 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
3967 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
3968 (elmo-pop3-msgdb-create-by-header): Ditto.
3969 (elmo-pop3-msgdb-create-message): Ditto.
3971 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3973 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3975 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3977 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3978 (elmo-folder-msgdb-create): Ditto.
3979 (elmo-nntp-folder-msgdb-create): Ditto.
3980 (elmo-nntp-msgdb-create-by-header): Ditto.
3981 (elmo-nntp-msgdb-create-message): Ditto.
3982 (elmo-folder-list-unreads): Define.
3984 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
3985 (elmo-folder-append-messages): Ditto.
3986 (elmo-folder-list-unreads): Define.
3987 (elmo-folder-list-importants): Ditto.
3988 (elmo-folder-list-answereds): Ditto.
3990 * elmo-net.el (elmo-folder-list-unreads): Define.
3991 (elmo-folder-list-importants): Ditto.
3992 (elmo-folder-list-answereds): Ditto.
3993 (elmo-folder-list-answereds-plugged): Ditto.
3994 (elmo-folder-msgdb-create): Follow the API change.
3995 (elmo-folder-msgdb-create-unplugged): Ditto.
3996 (elmo-folder-unmark-answered): Define.
3997 (elmo-folder-mark-as-answered-unplugged): Ditto.
3998 (elmo-folder-unmark-answered-unplugged): Ditto.
4000 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4001 (elmo-msgdb-unread-uncached-mark): Ditto.
4002 (elmo-msgdb-unread-cached-mark): Ditto.
4003 (elmo-msgdb-read-uncached-mark): Ditto.
4004 (elmo-msgdb-answered-cached-mark): Ditto.
4005 (elmo-msgdb-answered-uncached-mark): Ditto.
4006 (elmo-msgdb-important-mark): Ditto.
4007 (elmo-msgdb-set-mark): Rewrite.
4008 (elmo-msgdb-count-marks): Rewrite.
4009 (elmo-msgdb-mark-alist-set): Abolish.
4010 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4011 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4013 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4014 (elmo-folder-close): Define.
4015 (elmo-folder-msgdb-create): Follow the API change.
4016 (elmo-folder-list-unreads): Rewrite.
4017 (elmo-folder-mark-as-important): Ditto.
4018 (elmo-folder-unmark-important): Ditto.
4019 (elmo-folder-mark-as-read): Ditto.
4020 (elmo-folder-unmark-read): Ditto.
4021 (elmo-folder-mark-as-answered): Define.
4022 (elmo-folder-unmark-answered): Ditto.
4024 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4025 (elmo-folder-append-messages): Ditto.
4027 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4029 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4030 (elmo-folder-list-importants): Ditto.
4032 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4033 (elmo-folder-append-messages): Ditto.
4035 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4037 (elmo-folder-msgdb-create-plugged): Ditto.
4038 (elmo-folder-append-messages): Ditto.
4039 (elmo-folder-list-answereds-plugged): Define.
4040 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4041 (elmo-folder-unmark-answered-plugged): Define.
4042 (elmo-folder-mark-as-answered-plugged): Ditto.
4043 (elmo-folder-search-requires-msgdb-p): Ditto.
4045 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4046 (elmo-folder-initialize): Set it.
4047 (elmo-folder-msgdb): Define.
4048 (elmo-folder-check): Call elmo-folder-synchronize.
4049 (elmo-folder-close): Define.
4050 (elmo-folder-commit): Ditto.
4051 (elmo-folder-msgdb-create): Rewrite.
4052 (elmo-folder-list-unreads): Ditto.
4053 (elmo-folder-list-importants): Ditto.
4054 (elmo-folder-mark-as-read): Ditto.
4055 (elmo-folder-unmark-read): Ditto.
4056 (elmo-folder-mark-as-important): Ditto.
4057 (elmo-folder-unmark-important): Ditto.
4058 (elmo-folder-mark-as-answered): Define.
4059 (elmo-folder-unmark-answered): Ditto.
4061 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4062 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4063 (elmo-dop-queue-method-name-alist): Likewise.
4064 (elmo-folder-mark-as-answered-dop): New inline function.
4065 (elmo-folder-unmark-answered-dop): Ditto.
4066 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4068 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4069 (elmo-folder-msgdb-create): Ditto.
4070 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4071 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4072 (elmo-archive-parse-mmdf): Ditto.
4074 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4075 (elmo-folder-list-unreads-internal): Ditto.
4077 * elmo.el (elmo-folder-msgdb): Define as generic function.
4078 (elmo-folder-list-messages): Added argument `in-msgdb'.
4079 (elmo-folder-list-unreads): Define as generic function.
4080 (elmo-folder-list-importants): Ditto.
4081 (elmo-folder-list-answereds): Ditto.
4082 (elmo-folder-list-messages-with-global-mark): New function.
4083 (elmo-folder-msgdb-create): Removed mark arguments.
4084 (elmo-folder-unmark-answered): New generic function.
4085 (elmo-folder-mark-as-answered): Ditto.
4086 (elmo-folder-append-messages): Removed argunment `unread-marks'
4087 (elmo-folder-list-unreads-internal): Abolish.
4088 (elmo-folder-list-importants-internal): Ditto.
4089 (elmo-folder-search-requires-msgdb-p): New generic function.
4090 (elmo-folder-search-requires-msgdb-p-internal): New function.
4091 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4093 (elmo-folder-search-fast): Added key 'mark'.
4094 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4095 instead of unread-marks argument.
4096 (elmo-folder-move-messages): Removed argunment `unread-marks'
4097 (elmo-folder-unmark-important): Define.
4098 (elmo-folder-mark-as-important): Ditto.
4099 (elmo-folder-unmark-read): Ditto.
4100 (elmo-folder-mark-as-read): Ditto.
4101 (elmo-folder-unmark-answered): Ditto.
4102 (elmo-folder-mark-as-answered): Ditto.
4103 (elmo-folder-replace-marks): Abolish.
4104 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4106 (elmo-folder-synchronize): Removed mark arguments;
4107 return crosspost only number.
4109 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4111 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4112 Remove redundunt connectivity check.
4114 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4116 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4117 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4119 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4121 * pldap.el (ldap-decode-string): Return string as-is if
4122 `ldap-coding-system' is nil.
4123 (ldap-encode-string): Ditto.
4124 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4125 (ldap-default-host): Fixed docstring.
4127 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4129 * elmo-util.el (elmo-warning): Define as a macro which uses
4130 `display-warning' if it is defined as a function.
4132 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4133 (elmo-split-equal): Use it.
4134 (elmo-split-match): Ditto.
4135 (elmo-split-message-entity): New buffer-local variable.
4136 (elmo-split-subr): Set it.
4138 * elmo-version.el (elmo-version): Up to 2.9.15.
4140 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4142 * elmo-imap4.el (elmo-network-initialize-session):
4143 Check capability after starttls.
4145 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4147 * elmo-util.el (elmo-list-delete): Added optional argument
4150 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4152 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4154 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4156 * elmo-imap4.el (elmo-folder-initialize): Don't use
4157 elmo-imap4-default-mailbox.
4159 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4161 * elmo-split.el (toplevel): Use `product-provide'.
4162 (elmo-split): Checkdoc.
4164 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4166 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4167 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4168 the function `elmo-imap4-debug-1'.
4170 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4172 * elmo-split.el (elmo-split): Moved to run hooks and to show
4173 message from elmo-split-subr.
4174 (elmo-split-subr): Follow the change above.
4176 * elmo-split.el (elmo-split-subr): New function (renamed from
4178 (elmo-split): Changed to call elmo-split-subr by element of
4180 (elmo-split-folder): Changed customization type to choice.
4182 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4184 * elmo-split.el (elmo-split-and): Fixed condition.
4186 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4188 * elmo-split.el: New file.
4189 (elmo-split): Fixed logic.
4190 Display "Test:" instead of "Folder:" when reharsal.
4192 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4195 * elmo-version.el (elmo-version): Up to 2.9.14.
4197 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4200 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4202 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4203 message with no message-id field.
4205 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4207 * elmo-version.el (elmo-version): Up to 2.9.13.
4209 * elmo-dop.el (elmo-folder-status-dop): Fix.
4211 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4213 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4215 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4216 changing default value of default-mime-charset.
4217 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4219 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4221 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4222 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4223 instead of elmo-dop-queue-method-name-alist to check merging queue.
4224 (elmo-folder-delete-messages-dop): Delete from queue if negative
4226 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4227 file is already removed.
4229 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4231 * elmo-vars.el: Bind colon keywords for old Emacsen.
4233 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4235 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4236 against non-exsisting charset.
4238 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4240 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4241 Use eword-decode-and-unfold-unstructured-field-body.
4243 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4244 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4245 exists to decode raw subject string.
4246 (toplevel): Require 'mime.
4248 * elmo-version.el (elmo-version): Up to 2.9.12.
4250 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4252 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4253 (elmo-msgdb-set-mark): Ditto.
4255 * elmo-version.el (elmo-version): Up to 2.9.11.
4257 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4259 * elmo-util.el (elmo-delete-match-files): New function.
4261 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4262 instead of elmo-delete-directory.
4264 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4265 elmo-hash-minimun-size as 63.
4267 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4268 elmo-diff-unread is nil.
4270 * elmo-imap4.el (elmo-folder-open): Fix.
4272 * elmo.el (elmo-message-mark): Rewrite.
4273 (elmo-message-field): Ditto.
4274 (elmo-message-set-mark): Ditto.
4275 (elmo-folder-replace-marks): New function.
4276 (elmo-generic-folder-append-msgdb): Removed third argument for
4278 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4279 (elmo-msgdb-load): New implementation.
4281 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4283 * elmo-util.el (elmo-list-insert): New implementation.
4285 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4286 argument for elmo-msgdb-append.
4289 * elmo-msgdb.el (elmo-load-msgdb): New function.
4290 (elmo-make-msgdb): Ditto.
4291 (elmo-msgdb-get-index): New inline function.
4292 (elmo-msgdb-set-index): Ditto.
4293 (elmo-msgdb-get-entity-hashtb): Ditto.
4294 (elmo-msgdb-get-mark-hashtb): Ditto.
4295 (elmo-msgdb-get-mark): Ditto.
4296 (elmo-msgdb-set-mark): Ditto.
4297 (elmo-msgdb-count-marks): Ditto.
4298 (elmo-msgdb-get-number): Ditto.
4299 (elmo-msgdb-get-field): Ditto.
4300 (elmo-msgdb-seen-list): Ditto.
4301 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4302 (elmo-msgdb-delete-msgs): Follow the changes above.
4303 (elmo-msgdb-overview-get-entity): Ditto.
4304 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4305 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4307 (elmo-msgdb-make-index): Likewise.
4308 (elmo-msgdb-append): Removed third argument.
4309 (elmo-msgdb-clear): Clear index as nil.
4310 (elmo-folder-set-info-hashtb): Removed.
4311 (elmo-folder-set-info-max-by-numdb): Ditto.
4312 (elmo-folder-info-make-hashtb): Ditto.
4314 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4316 * elmo-map.el (elmo-folder-pack-number): Ditto.
4318 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4320 * elmo-version.el (elmo-version): Up to 2.9.10.
4322 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4324 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4326 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4328 * elmo-utils.el (elmo-make-directory): Add option.
4329 Default file mode is 700.
4331 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4333 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4335 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4337 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4340 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4343 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4345 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4346 (elmo-shimbun-folder-entity-hash): New function.
4347 (elmo-shimbun-folder-shimbun-header): Ditto.
4348 (elmo-shimbun-entity-to-header): Ditto.
4349 (elmo-shimbun-msgdb-to-headers): Removed.
4350 (elmo-shimbun-folder-setup): Ditto.
4351 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4353 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4354 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4355 Removed useless local bind.
4356 (elmo-folder-open-internal): Don't call
4357 `elmo-shimbun-folder-setup'.
4358 (elmo-folder-close-internal): Clear entity-hash slot.
4359 (elmo-folder-clear): Ditto.
4360 (elmo-shimbun-msgdb-create-entity): Use
4361 `elmo-shimbun-folder-shimbun-header'.
4362 (elmo-map-message-fetch): Ditto.
4363 (elmo-shimbun-update-overview): Use overview entity instead of
4364 shimbun header to lookup id by references.
4365 (elmo-map-folder-list-message-locations): Use not only headers but
4366 also overviews to list locations.
4368 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4370 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4373 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4375 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4377 * elmo-util.el (elmo-read-search-condition-internal): Give default
4380 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4382 * elmo-util.el (elmo-condition-parse-search-value): Accept
4383 YYYY-MM-DD format to search.
4384 * elmo-date.el (elmo-date-get-datevec): Likewise.
4386 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4388 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4391 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4393 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4396 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4398 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4399 case from `elmo-folder-exists-p'.
4400 (elmo-folder-exists-p): Removed.
4401 (elmo-folder-creatable-p) Ditto.
4403 * elmo-net.el (elmo-folder-create): Defined.
4404 (elmo-folder-create-unplugged): New function.
4405 (elmo-folder-exists-p): Changed default value to nil from t.
4407 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4408 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4410 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4411 `elmo-create-folder-dop' and append queue
4412 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4413 (elmo-folder-create-dop-delayed): New function.
4415 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4417 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4419 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4420 (elmo-folder-writable-p) : Ditto.
4422 * elmo-version.el (elmo-version): Up to 2.9.9.
4424 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4426 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4427 `elmo-message-use-cache-p' returns nil.
4428 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4429 (ignore cache file and refer the substance in local folders)
4431 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4433 * elmo-version.el (elmo-version): Up to 2.9.8.
4435 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4437 * elmo-version.el (elmo-version): Up to 2.9.7.
4439 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4441 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4443 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4445 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4447 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4449 (elmo-map-folder-list-message-locations): Reverse location list.
4451 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4453 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4455 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4457 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4459 (elmo-nntp-folder-list-subfolders): Follow the change above.
4461 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4463 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4464 name if authentication type is specified.
4466 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4468 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4470 (elmo-default-nntp-stream-type): Ditto.
4471 (elmo-default-pop3-stream-type): Ditto.
4473 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4475 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4477 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4479 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4481 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4483 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4484 (elmo-maildir-folder-path): Ditto.
4485 (elmo-maildir-list): Ditto (abolished).
4487 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4489 * elmo-version.el (elmo-version): Up to 2.9.6.
4491 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4493 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4494 (elmo-maildir-folder-path): Ditto.
4495 (elmo-msgdb-directory): Ditto.
4496 (elmo-passwd-life-time): Ditto.
4497 (elmo-msgdb-extra-fields): Ditto.
4498 (elmo-enable-disconnected-operation): Ditto.
4500 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4502 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4504 (elmo-pop3-default-authenticate-type): Ditto.
4506 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4508 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4510 (elmo-pop3-default-authenticate-type): Ditto.
4512 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4514 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4515 mailbox to new-folder.
4517 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4519 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4520 less than new, set new as unread.
4522 * elmo-util.el (elmo-string): Don't put text-property if nil.
4524 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4526 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4527 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4529 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4531 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4532 is nil on `completing-read'.
4534 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4536 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4538 (elmo-imap4-parse-namespace-subr): Ditto.
4539 (elmo-folder-list-subfolders): Append a delimiter when the specified
4540 folder path is a root with namespace and does not end with delimiter.
4542 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4544 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4547 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4549 * elmo-util.el (elmo-save-buffer): The first argument of message
4550 is a format control string.
4552 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4554 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4555 `elmo-folder-diff').
4556 (elmo-diff-unread): Likewise.
4558 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4560 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4561 is t on `completing-read'.
4563 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4565 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4566 method of target folder with self mark-alist if MARK-ALIST is nil.
4568 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4570 * elmo-version.el (elmo-version): Up to 2.9.5.
4572 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4574 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4575 (elmo-dop-merge-funcs): Remove.
4577 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4579 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4580 Return t if PATH is directory, too.
4581 Use `dolist' instead of while loop.
4583 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4585 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4588 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4590 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4592 (elmo-folder-list-messages-unplugged): Return t if
4593 elmo-enable-disconnected-operation is nil.
4595 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4596 `elmo-folder-list-messages-internal'.
4598 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4600 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4601 Change to looking-at `[23][0-9]+'.
4602 (elmo-network-initialize-session): Use 'error-msg'
4603 * elmo-net.el (elmo-network-open-session): Set unplugged
4604 if elmo-network-initialize-session returns 'elmo-open-err.
4606 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4608 * elmo-version.el (elmo-version): Up to 2.9.4.
4610 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4612 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4613 `elmo-folder-list-messages-internal'.
4615 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4617 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4618 (elmo-message-match-condition): New method.
4619 (elmo-folder-search-fast): New inline function.
4620 (elmo-msgdb-search): Removed.
4622 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4623 target folder if it is unplugged.
4624 (elmo-folder-list-messages-internal): Return t if target folder is
4625 unplugged and itself is persistent; In this case, use list be
4628 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4629 (elmo-msgdb-search-internal-primitive): Ditto.
4630 (elmo-msgdb-match-condition): New function.
4631 (elmo-msgdb-match-condition-primitive): Ditto.
4633 * elmo-util.el (elmo-filter-condition-p): New macro.
4635 * elmo-cache.el (elmo-folder-search): Removed.
4637 * elmo-localdir.el (elmo-folder-search): Ditto.
4639 * elmo-maildir.el (elmo-folder-search): Ditto.
4641 * elmo-mark.el (elmo-folder-search): Ditto.
4643 * elmo-nmz.el (elmo-folder-search): Ditto.
4645 * elmo-sendlog.el (elmo-folder-search): Ditto.
4647 * elmo-shimbun.el (elmo-folder-search): Ditto.
4649 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4650 if folder is unplugged.
4652 * elmo-nntp.el (elmo-folder-search): Likewise.
4653 (elmo-nntp-search-internal): New function.
4655 * elmo-version.el (elmo-version): Up to 2.9.3.
4657 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4659 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4661 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4663 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4665 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4667 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4669 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4671 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4672 (elmo-map-folder-list-message-locations): Do drive letter conversion
4673 on Windows environment.
4674 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4675 (elmo-map-message-fetch): Ditto.
4677 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4679 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4680 (elmo-network-initialize-session): Ditto.
4682 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4684 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4686 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4688 * elmo-util.el (elmo-progress-clear): Ditto.
4690 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4691 `DD-Mon-YYYY' type date.
4693 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4695 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4696 `elmo-date-make-sortable-string' instead of
4697 `timezone-make-date-sortable'.
4699 * elmo-date.el (elmo-date-make-sortable-string): Use
4700 `timezone-make-time-string'.
4702 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4704 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4706 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4707 `since'; Fix timezone.
4709 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4711 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4713 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4715 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4717 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4719 * elmo.el (elmo-generic-folder-append-messages): Make
4720 fetch-strategy with `use-cache' as 'maybe. Check return value of
4721 `elmo-message-fetch'.
4722 (elmo-message-fetch): Return return value of
4723 `elmo-message-fetch-with-cache-process'.
4724 (elmo-message-fetch-with-cache-process): Return non-nil if
4725 fetching was succeed. Load cache when fetching was failed and
4726 fetch-strategy-use-cache is 'maybe.
4728 * elmo-util.el (elmo-file-cache-load): New function.
4730 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4733 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4734 non-nil if fetching was succeed.
4736 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4738 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4740 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4741 (elmo-message-fetch-with-cache-process): Likwise.
4743 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4745 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4747 * elmo-version.el (elmo-version): Up to 2.9.2.
4749 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4751 * elmo.el (elmo-folder-delete): Delete msgdb path.
4753 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4755 * elmo-maildir.el (elmo-folder-delete): Ditto.
4757 * elmo-localdir.el (elmo-folder-delete): Ditto.
4759 * elmo-imap4.el (elmo-folder-delete): Ditto.
4761 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4763 * elmo.el (luna-define-class): Added `biff' slot.
4765 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4766 (elmo-pop3-debug-inhibit-logging): Abolished.
4767 (elmo-network-close-session): Eliminated needless let.
4768 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4769 (elmo-pop3-send-command): Added `no-log' argument.
4770 (elmo-pop3-process-filter): Use `with-current-buffer'.
4771 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4773 (elmo-pop3-auth-apop): Likewise.
4774 (elmo-network-authenticate-session): Likewise.
4776 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4779 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4780 string to determine protocol.
4781 (elmo-network-session-name-prefix): Abolished.
4782 (elmo-network-session-cache-key): Follow the change above.
4783 (elmo-network-open-session): Ditto.
4785 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4786 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4788 * elmo-version.el (elmo-version): Up to 2.9.1.
4790 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4791 unmatch condition checking.
4793 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4796 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4798 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4800 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4802 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4803 test for while loop to execute at least one SEARCH command.
4805 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4807 * elmo-version.el (elmo-version): Up to 2.9.0.
4809 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4811 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4812 (elmo-archive-folder-path): Define.
4813 (elmo-folder-initialize): Setup `dir-name' slot.
4814 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4815 Use `dir-name' as prefix of each subfolders.
4816 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4818 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4820 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4821 (elmo-pipe-folder-list-target-messages): New internal function.
4822 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4824 (elmo-pipe-folder-copied-list-load): New function.
4825 (elmo-pipe-folder-copied-list-save): Ditto.
4826 (elmo-folder-open-internal): Follow the change above.
4827 (elmo-folder-status): Fixed for copy.
4829 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4831 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4833 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4835 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4836 elmo-copy-file instead of elmo-add-name-to-file.
4838 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4840 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4843 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4844 of accept-process-output as 1.
4845 (elmo-pop3-read-contents): Ditto.
4846 (elmo-pop3-read-body): Ditto.
4848 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4850 * elmo-version.el (product-version-as-string): Remove define.
4852 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4854 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4855 (elmo-imap4-copy-messages): Chop number set using
4856 `elmo-imap4-number-set-chop-length'.
4857 (elmo-imap4-set-flag): Ditto.
4858 (elmo-imap4-search-internal-primitive): Ditto.
4860 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4862 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4863 `elmo-folder-make-temp-dir'
4865 * elmo-vars.el (elmo-cache-directory): New variable.
4866 (elmo-cache-dir): Abolished.
4867 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4869 * elmo-version.el (elmo-version): Up to 2.7.7.
4871 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4873 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4874 defcustom; Set default value as t.
4876 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4878 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4879 (ldap-search-program-arguments): Changed default value.
4880 (ldap-search-basic): Accept exit status 4.
4881 (ldap/field-body): Parse options.
4882 (ldap/collect-field): Ditto.
4883 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4885 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4886 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4887 (elmo-imap4-accept-ok): Ditto.
4888 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4889 'notify-bye, only BYE error is reported.
4890 (elmo-folder-exists-p-plugged): Set no-error argument of
4891 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4893 * elmo.el (elmo-imap4-bye-error): Changed message.
4895 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4896 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4897 queues (It causes infinite loop).
4899 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4901 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4902 (RECENT UNSEEN MESSAGES) extension.
4904 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4906 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4907 Check number of overview fields.
4909 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4911 * elmo.el (elmo-folder-confirm-appends): Changed message.
4912 (elmo-folder-confirm-appends): Ditto.
4914 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4916 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4918 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4920 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4921 of elmo-folder-update-threshold is nil, which can be set by
4922 wl-summary-update-confirm-threshold.
4924 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4926 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4927 (elmo-nmz-index-alias-alist): Ditto.
4928 (elmo-map-folder-list-message-locations): Follow the change above.
4930 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4932 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4934 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4936 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4938 * elmo-util.el (elmo-read): Ditto.
4939 (elmo-display-error): Ditto.
4941 * elmo-vars.el (elmo-date-match): Ditto.
4943 * pldap.el (ldap-coding-system): Ditto.
4945 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4946 `elmo-inhibit-number-mapping' as nil.
4948 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4950 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
4951 space delimiter for list response.
4953 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4955 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
4957 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4959 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
4960 (elmo-map-message-fetch): Fix.
4961 * elmo-map.el (elmo-folder-status): Fix for killed.
4963 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4965 * elmo-sendlog.el: New file.
4966 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
4968 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
4970 * acap.el (acap-logging-out): New buffer local variable.
4971 (acap-close): Set it.
4972 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
4975 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4977 * acap.el (acap-response-bye-p): New function.
4978 (acap-response-bye-message): Ditto.
4979 (acap-wait-for-response): If bye response is received, cause an error.
4980 (acap-parse-response): Make bye response when 'Bye' is received.
4982 2001-11-23 Kenichi OKADA <okada@opaopa.org>
4984 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4986 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4988 * elmo-util.el (elmo-copy-file): Added argument
4989 `ok-if-already-exists'.
4990 (elmo-copy-file): Fixed typo.
4992 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4994 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4996 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4998 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5000 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5002 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5005 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5007 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5008 (elmo-folder-initialize): Fix for `copy'.
5009 (elmo-pipe-drain): Ditto.
5010 (elmo-folder-open-internal): Ditto.
5011 (elmo-folder-newsgroups): Fix.
5013 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5015 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5018 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5019 recent value is returned from imap folder.
5021 * elmo.el (elmo-folder-newsgroups): New generic function.
5023 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5024 (elmo-folder-initialize): Set it.
5025 (elmo-folder-expand-msgdb-path): Use it.
5026 (elmo-folder-newsgroups): Define.
5028 * elmo-filter.el (elmo-folder-newsgroups): Define.
5030 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5032 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5034 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5036 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5038 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5040 (elmo-shimbun-header-extra-field): New inline function.
5041 (elmo-shimbun-header-set-extra-field): Ditto.
5042 (elmo-shimbun-folder-header-hash-setup): Ditto.
5043 (elmo-shimbun-update-overview): Ditto.
5044 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5045 (elmo-shimbun-folder-setup): Use
5046 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5047 (elmo-shimbun-get-headers): Ditto.
5048 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5049 Insert `X-Shimbun-Id:' header if extra field is set.
5050 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5051 field's value instead of `shimbun-header-id'.
5053 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5055 (elmo-msgdb-overview-entity-set-date): Ditto.
5056 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5058 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5060 * mmimap.el (mmimap-entity-section): Changed body node number from
5063 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5065 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5066 `elmo-folder-delete-messages'.
5068 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5069 (elmo-folder-initialize): Changed to expand alias into index path.
5071 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5072 `elmo-mime-insert-header-from-buffer' with 6th arg
5075 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5077 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5079 * elmo.el (elmo-diff-new): New inline function.
5080 (elmo-diff-unread): Ditto.
5081 (elmo-diff-all): Ditto.
5083 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5084 value from responseb.
5085 (elmo-imap4-folder-diff-plugged): Ditto.
5086 (elmo-imap4-server-diff-async): Added recent argument.
5087 (elmo-server-diff-async): Ditto.
5088 (elmo-imap4-folder-diff-plugged): Ditto.
5090 * elmo-version.el (elmo-version): Up to 2.7.6.
5092 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5094 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5097 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5099 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5101 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5103 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5105 * elmo-multi.el (elmo-folder-initialize): Ditto.
5107 * elmo-util.el (elmo-parse-token): New function.
5108 (elmo-parse-prefixed-element): Ditto.
5110 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5112 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5114 (elmo-imap4-accept-ok): Ditto.
5116 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5118 * mmimap.el (mime-imap-entity-header-string): Don't check first
5119 element of node-id is `0' (Follow last change).
5121 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5123 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5124 assigned irregular node-id to nested multipart section.
5125 (initialize-instance): Followed above change.
5127 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5129 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5130 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5131 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5132 `elmo-shimbun-get-headers');
5133 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5134 visible article on summary exists in headers).
5135 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5137 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5139 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5142 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5144 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5146 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5148 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5149 header separator into loop condition.
5151 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5153 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5154 Return duplicate folder if it has subfolder.
5156 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5158 * elmo.el (elmo-make-folder): Add folder name error check.
5160 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5161 (elmo-nntp-encode-group-string): New inline function.
5162 (elmo-nntp-decode-group-string): Ditto.
5163 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5164 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5165 Use `not' instead of `null';
5166 Use elmo-nntp-decode-group-string.
5168 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5170 * elmo-version.el (elmo-version): Up to 2.7.5.
5172 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5174 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5175 Hide progress gauge if `elmo-folder-move-messages' exits
5178 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5180 * elmo-imap4.el (elmo-folder-initialize): Use
5181 `elmo-imap4-encode-folder-string' for folder name.
5183 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5185 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5188 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5190 * elmo-util.el (elmo-progress-counter-alist): New internal
5192 (elmo-progress-counter-value): New macro.
5193 (elmo-progress-counter-all-value): Ditto.
5194 (elmo-progress-counter-format): Ditto.
5195 (elmo-progress-counter-set-value): Ditto.
5196 (elmo-progress-set): New function.
5197 (elmo-progress-clear): Ditto.
5198 (elmo-progress-notify): Ditto.
5200 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5203 * elmo.el (elmo-generic-folder-append-messages): Call
5204 `elmo-progress-notify'.
5205 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5207 * elmo-archive.el (elmo-folder-append-messages): Call
5208 `elmo-progress-notify'.
5210 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5212 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5214 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5216 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5218 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5220 (elmo-message-encache-dop): Added argument `read'.
5222 * elmo-shimbun.el (elmo-message-encache): Ditto.
5224 * elmo-net.el (elmo-message-encache): Ditto.
5226 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5227 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5228 elmo-imap4-seen-messages.
5229 (elmo-folder-msgdb-create-plugged): Initialize
5230 elmo-imap4-seen-messages;
5231 Set seen mark on elmo-imap4-seen-messages.
5233 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5235 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5236 elmo-folder-append-buffer.
5237 (elmo-folder-encache): Added optional argument `read'.
5238 (elmo-message-encache): Ditto.
5240 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5242 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5244 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5245 if append buffer content succeds.
5247 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5249 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5250 elmo-display-progress.
5252 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5253 Set 4th argument of mime-display-message.
5254 (elmo-mime-display-as-is): Ditto.
5256 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5258 * elmo-nmz.el (toplevel): Require 'mime-edit.
5259 (elmo-nmz-content-type-alist): Abolished.
5260 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5261 content is not a message.
5262 (elmo-map-message-fetch): Changed behavior exept for message content;
5263 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5264 content-type, Add From: and Subject: field.
5266 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5268 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5269 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5272 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5274 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5275 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5277 * elmo-archive.el (elmo-folder-writable-p): Defined.
5279 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5281 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5283 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5285 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5287 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5289 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5291 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5293 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5295 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5297 * elmo-util.el (elmo-address-quote-specials): New function;
5298 Renamed from `wl-address-quote-specials'.
5300 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5302 * elmo-version.el (elmo-version): Up to 2.7.4.
5304 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5306 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5308 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5310 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5311 both compile-time and run-time to avoid byte-compile warning.
5313 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5315 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5317 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5319 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5321 (elmo-mime-display-as-is-internal): Use it.
5323 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5324 if `read-passwd' is not defined.
5326 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5328 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5330 (elmo-folder-status): Call `elmo-folder-open-internal';
5331 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5332 (elmo-folder-close-internal): Set location-alist as nil.
5333 (elmo-folder-clear): Define.
5334 (elmo-folder-check): Don't set location-alist as nil.
5336 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5338 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5340 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5341 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5343 * mmimap.el (mime-imap-entity::requested): New slot.
5344 (mime-imap-location-fetch-entity-p): New generic function.
5345 (mime-decode-parameters): Define using `defun-maybe'.
5346 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5347 content-type structure.
5348 (mime-entity-body): Return empty body if
5349 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5351 * elmo.el (elmo-message-displaying): New variable.
5353 * elmo-mime.el (elmo-mime-message-display): Bind
5354 elmo-message-displaying as t.
5356 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5358 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5360 * acap.el (acap-open): erase buffer before starting network process.
5361 (acap-store): Rewrite.
5363 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5365 * elmo-imap4.el (elmo-imap4-default-mailbox,
5366 elmo-imap4-default-server
5367 elmo-imap4-default-authenticate-type,
5368 elmo-imap4-default-user,
5369 elmo-imap4-default-port,
5370 elmo-imap4-default-stream-type,
5371 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5373 * elmo-pop3.el (elmo-pop3-default-user,
5374 elmo-pop3-default-server,
5375 elmo-pop3-default-authenticate-type,
5376 elmo-pop3-default-port,
5377 elmo-pop3-default-stream-type,
5378 elmo-pop3-stream-type-alist): Ditto.
5380 * elmo-nntp.el (elmo-nntp-default-server,
5381 elmo-nntp-default-user,
5382 elmo-nntp-default-port,
5383 elmo-nntp-default-stream-type,
5384 elmo-nntp-stream-type-alist): Ditto.
5386 * elmo-vars.el: Follow changes above.
5387 (elmo-setting): New custom group; added 'elmo-setting group to
5390 * elmo-version.el (elmo-version): Up to 2.7.3.
5392 * acap.el (acap-parse-response): Don't delete process when BYE
5393 response (It causes hang-up on slow network environment).
5394 (toplevel): Added comment.
5396 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5398 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5400 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5402 (acap-parse-return-metadata): Ditto.
5405 (toplevel): Fixed typo.
5407 * acap.el: New file.
5408 (acap-network-stream-open): Show "Connecting..." message.
5409 (acap-parse-response): Fixed problem for BYE untagged response.
5410 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5411 (toplevel): Added tiny comments.
5413 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5415 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5416 space delimiter for uidl response.
5418 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5420 * elmo-vars.el (elmo-use-semi): Eliminated.
5422 * elmo-util.el (elmo-string-assoc-all): New function.
5424 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5426 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5427 property 'mime-preview-situation for `mime-preview-quit'.
5429 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5431 * elmo.el (elmo-message-fetch-with-cache-process): Call
5432 elmo-message-fetch-internal instead of causing an error when fetch
5433 strategy is 'entire but only 'section cache is available.
5435 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5437 * elmo-version.el (elmo-version): Up to 2.7.2.
5439 * elmo.el (elmo-generic-folder-append-messages): Make
5440 fetch-strategy with `use-cache'.
5442 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5443 (elmo-dop-queue-method-name): New macro.
5445 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5447 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5448 unbalanced parenthesis.
5450 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5452 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5454 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5456 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5457 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5459 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5461 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5464 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5466 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5467 (elmo-message-use-cache-p): Define.
5468 (elmo-folder-msgdb-create): Treat cache.
5470 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5472 * elmo-nntp.el (elmo-network-initialize-session): Call
5473 `elmo-nntp-send-mode-reader'.
5474 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5476 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5478 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5480 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5483 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5484 for `elmo-plugged-p'.
5485 (elmo-open-network-stream): Fixed stream-type argument.
5487 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5489 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5490 unknown archive type is specified.
5492 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5494 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5496 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5497 while loading msgdb.
5499 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5500 (elmo-folder-open-internal): Rewrite.
5502 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5504 * elmo-mime.el (elmo-mime-display-as-is-internal):
5505 Adjust buffer-multibyte status.
5507 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5509 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5510 of elmo-condition-find-key.
5512 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5513 (elmo-condition-in-msgdb-p): Ditto.
5514 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5517 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5519 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5521 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5523 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5524 label for elmo-display-progress.
5526 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5528 * elmo.el (elmo-folder-clear): New method.
5529 (elmo-folder-clear): Define.
5530 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5532 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5533 (elmo-folder-clear): Define.
5535 * elmo-map.el (elmo-folder-clear): Define.
5537 * elmo-version.el (elmo-version): Up to 2.7.1.
5539 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5541 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5544 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5546 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5547 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5549 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5551 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5553 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5556 * elmo-imap4.el (elmo-folder-initialize): Use
5557 elmo-get-network-stream-type.
5559 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5561 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5563 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5565 * elmo.el (elmo-message-encache): Set unread argument for
5568 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5570 * elmo.el (elmo-net-port-info): New method.
5572 * elmo-shimbun.el (elmo-net-port-info): Define.
5573 (elmo-message-encache): Ditto.
5575 * elmo-net.el (elmo-net-port-info): Define as method.
5577 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5578 unplugged status when elmo-enable-disconnected-operation is t.
5580 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5581 of spool folder before checking new number.
5583 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5585 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5586 (elmo-network-setup-session): Ditto.
5587 (elmo-message-fetch-plugged): Ditto.
5588 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5589 (elmo-network-initialize-session): Ditto.
5590 (elmo-pop3-read-response): Abolish 3rd argument.
5591 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5592 (elmo-pop3-read-contents): Ditto.
5593 (elmo-pop3-read-body): Ditto.
5594 (elmo-folder-status): Call elmo-folder-close.
5595 (elmo-pop3-lock): Abolish.
5596 (elmo-pop3-unlock): Ditto.
5597 (elmo-pop3-locked-p): Ditto.
5598 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5600 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5602 * elmo-version.el (elmo-version): Up to 2.7.0.
5604 * elmo-pop3.el (elmo-pop3-debug): New variable.
5605 (elmo-pop3-debug-inhibit-logging): Ditto.
5606 (elmo-pop3-debug): New function.
5607 (elmo-pop3-send-command): Call elmo-pop3-debug.
5608 (elmo-pop3-read-response): Added keep-lock optional argument;
5609 Don't unlock if keep-lock is non-nil.
5610 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5611 (elmo-network-authenticate-session): Bind
5612 elmo-pop3-debug-inhibit-logging as t.
5613 (elmo-network-setup-session): Call elmo-pop3-read-response with
5615 (elmo-pop3-read-msg): Ditto.
5616 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5617 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5618 (elmo-network-initialize-session): Call elmo-pop3-lock.
5619 (elmo-folder-close-internal): Don't clear location-alist slot.
5620 (elmo-folder-check): Clear location-alist slot.
5622 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5624 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5625 (elmo-pop3-send-command): Call elmo-pop3-lock.
5626 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5627 (elmo-pop3-read-contents): Ditto.
5628 (elmo-pop3-lock): New function.
5629 (elmo-pop3-unlock): Ditto.
5630 (elmo-pop3-locked-p): Ditto.
5631 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5634 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5636 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5638 * elmo-util.el (elmo-file-field-primitive-condition-match):
5639 New inline function (Don't fetch file content if "first" or "last").
5640 (elmo-file-field-condition-match): Use
5641 elmo-file-field-primitive-condition-match.
5643 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5646 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5647 (elmo-message-fetch-plugged): Fixed.
5649 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5651 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5653 * elmo.el (elmo-folder-move-messages): Bind
5654 elmo-inhibit-display-retrieval-progress as t while moving messages.
5656 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5658 (elmo-inhibit-display-retrieval-progress): Ditto.
5660 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5661 for retrieval progress;
5662 Don't display progress when total buffer size is smaller than
5663 elmo-display-retrieval-progress-threshold.
5664 (elmo-message-fetch-plugged): Don't display progress when
5665 elmo-inhibit-display-retrieval-progress is non-nil.
5667 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5668 for retrieval progress;
5669 Don't display progress when literal size is smaller than
5670 elmo-display-retrieval-progress-threshold.
5671 (elmo-imap4-message-fetch): Don't display progress when
5672 elmo-inhibit-display-retrieval-progress is non-nil.
5674 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5676 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5677 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5678 (elmo-imap4-message-fetch): Likewise.
5680 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5681 (elmo-shimbun-index-range-alist): Ditto.
5682 (elmo-shimbun-use-entire-index): Abolish.
5683 (shimbun-mua-use-entire-index): Ditto.
5684 (elmo-shimbun-folder): Added new slot `range'.
5685 (elmo-folder-initialize): Setup slot `range'.
5687 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5689 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5690 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5691 (elmo-shimbun-get-headers): Use return value of
5692 `shimbun-article-expiration-days'.
5693 (elmo-folder-close-internal): Clean up last-check slot.
5695 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5696 (elmo-pop3-total-size): New variable.
5697 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5699 * elmo.el (elmo-folder-reserve-status-p): New method.
5701 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5702 (elmo-shimbun-use-entire-index): New user option.
5703 (shimbun-elmo-mua): New class.
5704 (shimbun-mua-search-id): Define.
5705 (shimbun-mua-use-entire-index): Ditto.
5706 (elmo-shimbun-folder:last-check): New slot.
5707 (elmo-shimbun-headers-cache-header-list): Abolish.
5708 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5709 (elmo-shimbun-headers-cache-header-hash): Ditto.
5710 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5711 (elmo-shimbun-headers-cache-last-check): Ditto.
5712 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5713 (elmo-shimbun-headers-check-p): Rewrite.
5714 (elmo-shimbun-msgdb-to-headers): New function.
5715 (elmo-shimbun-get-headers): Rewrite.
5716 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5717 (elmo-folder-open-internal): Get headers only if
5718 `elmo-shimbun-headers-check-p' is non-nil.
5719 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5721 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5722 (elmo-quit): Removed.
5724 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5726 (elmo-msgdb-overview-entity-set-extra): Ditto.
5727 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5729 * elmo-map.el (elmo-folder-status): Don't call
5730 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5733 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5735 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5736 of `elmo-msgdb-search-internal-primitive' when condition's car is
5739 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5741 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5743 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5745 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5746 call `elmo-pipe-drain'.
5748 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5750 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5751 typo. (elmo-cache-folder -> elmo-mark-folder)
5753 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5755 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5756 `elmo-message-fetch'.
5758 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5760 * elmo-net.el (elmo-message-encache): Fixed typo.
5761 (elmo-message-fetch-unplugged): Changed call
5762 `elmo-message-fetch-internal' without argument `outbuf'.
5764 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5766 * elmo.el (elmo-message-encache): Define as generic function.
5767 (elmo-message-fetch-field): New generic function.
5768 (elmo-message-fetch-with-cache-process): Cause an error when
5769 fetch strategy is 'entire but only 'section cache is available.
5770 (toplevel): Fixed nmz folder definition.
5772 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5773 (elmo-msgdb-resume-list-filename): Ditto.
5774 (elmo-queue-filename): Ditto.
5775 (elmo-enable-disconnected-operation): Changed default value to t.
5777 * elmo-util.el (elmo-cache-path-section-p): New function.
5778 (elmo-file-cache-get): Use it.
5779 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5780 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5781 (elmo-dop-queue-save): Ditto.
5783 * elmo-net.el (elmo-folder-status-unplugged): Call
5784 elmo-folder-status-dop.
5785 (elmo-folder-list-messages-unplugged): Implemented.
5786 (elmo-folder-delete-messages-unplugged): Define.
5787 (elmo-folder-msgdb-create): Define.
5788 (elmo-folder-msgdb-create-unplugged): Define.
5789 (elmo-folder-mark-as-read-unplugged): Ditto.
5790 (elmo-folder-unmark-read-unplugged): Ditto.
5791 (elmo-folder-mark-as-important-unplugged): Ditto.
5792 (elmo-folder-unmark-important-unplugged): Ditto.
5793 (elmo-message-encache): Ditto.
5795 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5796 (elmo-dop-queue-save): Ditto.
5798 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5799 `elmo-folder-msgdb-create'.
5800 (elmo-folder-append-buffer): Implemented unplugged operation.
5801 (elmo-folder-append-messages): Call parent method in unplugged status.
5802 (elmo-message-fetch-unplugged): Removed definition.
5803 (elmo-message-fetch-field): Implemented.
5805 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5806 (elmo-dop-folder): Removed variable definition.
5807 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5808 (elmo-dop-queue-flush): Implemented.
5809 (elmo-dop-queue-merge): Removed definition (TODO).
5810 (elmo-dop-spool-folder): New function.
5811 (elmo-dop-spool-folder-append-buffer): Ditto.
5812 (elmo-dop-spool-folder-list-messages): Ditto.
5813 (elmo-dop-list-deleting-messages): Ditto.
5814 (elmo-folder-append-buffer-dop): Ditto.
5815 (elmo-folder-delete-messages-dop): Ditto.
5816 (elmo-message-encache-dop): New inline function.
5817 (elmo-create-folder-dop): Ditto.
5818 (elmo-folder-mark-as-read-dop): Ditto.
5819 (elmo-folder-unmark-read-dop): Ditto.
5820 (elmo-folder-mark-as-important-dop): Ditto.
5821 (elmo-folder-unmark-important-dop): Ditto.
5822 (elmo-folder-status-dop): Fixed.
5823 (elmo-folder-append-buffer-dop-delayed): New function.
5824 (elmo-folder-delete-messages-dop-delayed): Ditto.
5825 (elmo-dop-msgdb): Ditto.
5827 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5829 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5831 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5833 * elmo.el (elmo-folder-move-messages): Fixed problem when
5834 `dst-folder' is 'null.
5836 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5838 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5839 instead of current mark.
5841 * elmo-multi.el (elmo-folder-list-importants-internal): No
5842 operation if importants is not list.
5844 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5845 Return t if importants is not list.
5847 * elmo-map.el (elmo-map-folder-list-importants): Define.
5848 (elmo-folder-list-importants-internal): Check return value of
5849 `elmo-map-folder-list-importants-internal'.
5851 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5853 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5855 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5857 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5859 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5861 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5862 (Patch is provided by <kita@coe.nttdata.co.jp>).
5864 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5866 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5869 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5871 * elmo.el (elmo-message-fetch): Define.
5872 (elmo-message-fetch-with-cache-process): New generic method.
5873 (elmo-message-fetch-internal): New generic method.
5874 (elmo-folder-synchronize):
5876 * elmo-archive.el (elmo-message-fetch-internal): Define.
5877 (elmo-message-fetch): Eliminated.
5879 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5880 (elmo-message-fetch): Eliminated.
5882 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5884 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5886 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5887 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5889 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5890 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5892 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5894 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5896 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5898 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5899 (elmo-message-fetch-unplugged): New generic method.
5900 (elmo-message-fetch-internal): Remove cache process (Renamed from
5901 `elmo-message-fetch').
5903 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5904 (elmo-message-fetch): Eliminated.
5905 (elmo-message-fetch-unplugged): Ditto.
5907 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5909 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5911 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5912 of `to-be-deleted' from number-alist to number-list.
5914 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5916 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5917 (elmo-folder-mark-as-important): Ditto.
5919 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5921 * elmo.el (elmo-folder): Added process-duplicates slot.
5923 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5924 (elmo-folder-unmark-read): Ditto.
5925 (elmo-folder-unmark-important): Ditto.
5926 (elmo-folder-mark-as-important): Ditto.
5928 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5929 duplicated message processing.
5931 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5933 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5935 * elmo-util.el (elmo-list-subdirectories-1): New function.
5936 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5937 (elmo-mapcar-list-of-list): New function.
5939 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5940 `elmo-mapcar-list-of-list' instead of `mapcar'.
5942 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5944 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5945 `elmo-have-link-count'. Return the fully qualified folder name.
5947 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5949 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5950 (elmo-shimbun-headers-cache): New internal variable.
5951 (elmo-shimbun-headers-cache-header-list): New inline function.
5952 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5953 (elmo-shimbun-headers-cache-header-hash): Ditto.
5954 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5955 (elmo-shimbun-headers-cache-last-check): Ditto.
5956 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5957 (elmo-shimbun-lapse-seconds): Ditto.
5958 (elmo-shimbun-headers-cache-check-p): Ditto.
5959 (elmo-shimbun-get-headers): New function.
5960 (elmo-folder-open-internal): Call it.
5961 (elmo-quit): Define (Clear headers-cache).
5963 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
5965 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
5967 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
5968 (elmo-msgdb-flist-save): Ditto.
5970 * elmo-shimbun.el (elmo-folder-list-subfolders):
5971 Use `shimbun-groups' instead of `shimbun-groups-internal'.
5972 (elmo-folder-exists-p): Ditto.
5974 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
5975 argument for `shimbun-header-insert'.
5977 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
5979 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
5982 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
5983 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
5985 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
5987 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
5988 (elmo-folder-plugged-p): Define.
5989 (elmo-folder-set-plugged): Ditto.
5990 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
5991 (elmo-folder-list-messages-internal): Return t if unplugged.
5992 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
5994 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
5995 when elmo-folder-list-messages-internal method of children returns t.
5997 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
5999 (elmo-folder-open-internal): Don't update if unplugged status.
6001 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6003 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6006 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6008 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6010 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6013 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6015 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6017 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6018 (elmo-folder-open-internal): Set up headers slot.
6019 (elmo-folder-check): Call elmo-folder-close-internal and
6020 elmo-folder-open-internal.
6021 (elmo-folder-close-internal): Clean up headers slot.
6023 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6025 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6026 exactly folder list.
6027 (elmo-folder-append-messages): Fixed append archive with prefix.
6029 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6030 make temp files with start-number.
6032 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6034 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6036 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6037 argument `visible-only'.
6038 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6041 * elmo-pop3.el (elmo-folder-open-internal): Check
6042 `elmo-inhibit-number-mapping' is non-nil.
6044 * elmo-pipe.el (elmo-folder-status): Fixed.
6046 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6048 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6050 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6051 (elmo-folder-open-internal): Setup `header-hash' slot.
6052 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6054 (elmo-map-message-fetch): Ditto.
6056 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6058 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6059 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6060 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6061 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6063 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6065 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6067 * sb-airs.el: Added footer.
6069 * shimbun.el (shimbun-article): Define as luna-method.
6071 * sb-tcup.el: New file.
6073 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6074 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6076 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6078 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6079 (shimbun-get-headers): Ditto.
6081 * elmo.el: Moved obsolete variable definitions from
6082 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6084 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6087 * shimbun.el: New file.
6089 * elmo-shimbun.el: New file.
6091 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6092 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6093 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6094 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6096 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6098 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6101 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6103 * elmo.el (elmo-folder-msgdb): Define as macro.
6104 (elmo-folder-open): Added argument `load-msgdb'.
6105 (elmo-generic-folder-open): Ditto.
6106 (elmo-folder-encache): New function.
6108 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6110 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6112 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6113 Eliminated argument FOLDER and added argument MSGDB.
6114 (elmo-dop-queue-load): Moved from elmo-dop.el.
6115 (elmo-dop-queue-save): Ditto.
6117 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6119 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6121 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6122 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6123 (elmo-filter-folder-list-importants-internal): Ditto.
6125 * elmo-map.el (elmo-folder-pack-number): Ditto.
6127 * elmo-mime.el (elmo-mime-message-display): Ditto.
6129 * elmo.el (elmo-generic-folder-commit): Ditto.
6130 (elmo-folder-list-unreads): Ditto.
6131 (elmo-folder-list-importants): Ditto.
6132 (elmo-generic-folder-commit): Ditto.
6133 (elmo-message-set-mark): Ditto.
6134 (elmo-generic-folder-append-msgdb): Ditto.
6135 (elmo-folder-synchronize): Ditto.
6136 (elmo-folder-messages): Ditto.
6137 (elmo-init): Call elmo-dop-queue-load.
6138 (elmo-folder-list-messages): Ditto.
6140 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6141 (elmo-nntp-folder-process-crosspost): Ditto.
6142 (elmo-folder-list-unreads-internal): Ditto.
6144 * elmo-dop.el: Removed old functions.
6146 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6148 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6149 `folder' to `msgdb'.
6151 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6153 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6154 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6156 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6159 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6161 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6164 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6165 (mmimap-parse-parameters-from-list): Define as alias for
6166 `mime-decode-parameter-plist' if it is defined as function.
6167 (mmimap-make-mime-entity): Added argument `number'.
6168 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6170 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6172 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6174 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6176 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6178 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6180 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6182 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6183 when elmo-imap4-default-authenticate-type is nil.
6184 (elmo-folder-list-subfolders): Ditto
6185 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6186 (elmo-imap4-fetch-callback-1-subr): Renamed from
6187 `elmo-imap4-fetch-callback-1' and define as inline function.
6188 (elmo-imap4-fetch-callback-1):
6189 Renamed from `elmo-imap4-fetch-callback'.
6190 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6192 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6193 msgdb path (To keep compatibility with main trunk).
6195 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6197 * elmo-util.el (elmo-make-file-cache): Moved position of
6200 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6201 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6202 instead of `elmo-pop3-inhibit-uidl'.
6203 (elmo-folder-exists-p): Ditto.
6204 (elmo-pop3-folder-list-messages): Ditto.
6206 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6207 instead of `elmo-pop3-inhibit-uidl'.
6208 (elmo-folder-status): Ditto.
6210 * elmo-dop.el (elmo-dop-folder): New variable.
6211 (elmo-dop-lock-message): Eliminated.
6212 (elmo-dop-unlock-message): Ditto.
6213 (elmo-dop-lock-list-load): Ditto.
6214 (elmo-dop-lock-list-save): Ditto.
6215 (elmo-dop-delete-folder): Ditto.
6216 (elmo-dop-rename-folder): Ditto.
6218 * elmo.el: Removed incomplete commentary.
6220 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6222 * elmo.el (toplevel): Require 'elmo-version first;
6223 for little `recursive-load-depth' settings.
6224 Fix "ends here" comment.
6226 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6228 * elmo-util.el (toplevel): Require 'poem;
6229 Some functions are moved from elmo-cache.el.
6231 * elmo-net.el (toplevel): Require 'elmo-cache.
6233 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6235 * elmo.el (toplevel): Ditto.
6237 * elmo-cache.el: Rewrite with luna;
6238 Some functions are moved to elmo-util.el.
6240 * elmo-internal.el (elmo-internal-folder-list): New variable.
6241 (elmo-internal-folder-initialize): Rewrite.
6242 (elmo-folder-list-subfolders): Ditto.
6244 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6245 (elmo-cache-collect-sub-directories): Ditto.
6247 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6249 * elmo-version.el (elmo-version): Up to 2.5.8.
6251 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6253 * elmo-util.el (elmo-list-insert): New function.
6255 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6257 * elmo.el (elmo-init): New function.
6258 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6260 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6261 (Renamed from `elmo-localdir-header-chop-length').
6263 * elmo-pop3.el (elmo-pop3-use-cache,
6264 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6266 * elmo-nntp.el (elmo-message-fetch): Define.
6267 (elmo-message-fetch-unplugged): Ditto.
6268 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6269 (elmo-nntp-use-cache): Ditto.
6270 (elmo-nntp-max-number-precedes-list-active): Ditto.
6272 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6274 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6275 `elmo-msgdb-insert-file-header'.
6276 Use `elmo-msgdb-file-header-chop-length'.
6278 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6281 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6282 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6283 `elmo-msgdb-insert-file-header'.
6285 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6287 Define obsolete variables with `elmo-define-obsolete-variable',
6289 * elmo-util.el (elmo-warning-buffer-name): New constant.
6290 (elmo-warning): New function.
6291 (elmo-obsolete-variable-alist): New variable.
6292 (elmo-obsolete-variable-show-warnings): New variable.
6293 (elmo-define-obsolete-variable): New function.
6294 (elmo-resque-obsolete-variable): Ditto.
6295 (elmo-resque-obsolete-variables): Ditto.
6297 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6299 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6302 * elmo-pop3.el, elmo-nntp.el: Use custom.
6304 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6306 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6307 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6309 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6311 * Luna-fy Kenichi OKADA's following changes.
6312 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6314 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6316 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6318 * elmo-util.el (elmo-display-progress): Prefer
6319 `progress-feedback-with-label' to `lprogress-display'.
6321 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6323 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6325 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6327 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6328 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6329 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6330 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6331 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6332 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6333 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6334 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6335 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6336 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6337 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6338 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6339 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6341 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6343 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6344 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6346 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6348 * elmo.el (elmo-folder-process-crosspost): New generic method.
6349 (elmo-folder-writable-p): Ditto.
6350 (elmo-folder-message-appendable-p): Eliminated.
6351 (elmo-generic-folder-append-msgdb): Rewrite.
6352 (elmo-newsgroups-hashtb): New internal variable.
6353 (elmo-crosspost-message-set): Eliminated.
6354 (elmo-crosspost-message-delete): Ditto.
6355 (elmo-setup-subscribed-newsgroups): New function.
6356 (elmo-crosspost-message-alist-modified): New internal variable.
6357 (elmo-crosspost-message-alist-load): New function (Renamed from
6358 `wl-crosspost-alist-load').
6359 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6360 `wl-crosspost-alist-save').
6362 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6364 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6366 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6367 elmo-newsgroups-hashtb).
6368 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6369 `elmo-nntp-folder-update-crosspost-message-alist'.
6370 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6371 `elmo-nntp-groups-hashtb'.
6372 (elmo-nntp-make-groups-hashtb): Eliminated.
6373 (elmo-nntp-parse-newsgroups): New function (Renamed from
6374 `wl-parse-newsgroups').
6375 (elmo-folder-creatable-p, elmo-folder-writable-p,
6376 elmo-folder-close-internal, elmo-folder-mark-as-read,
6377 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6379 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6381 * elmo-net.el (elmo-message-fetch): Check buffer size.
6383 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6385 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6387 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6388 before `close' command.
6390 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6391 `mark-alist' (All other related portions are changed).
6393 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6395 * elmo-util.el (elmo-create-hash-size): Eliminated.
6396 (elmo-make-hash) Make a hash with `one less than a power of two'
6399 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6400 (elmo-hash-maximum-size): Changed value.
6402 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6404 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6405 (elmo-mime-message-display-as-is): Ditto.
6407 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6409 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6410 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6412 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6414 * elmo-mark.el: New file.
6416 * elmo-internal.el: Rewrite (Almost empty).
6418 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6420 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6421 (mime-imap-entity-header-string): Ditto.
6422 (mmimap-entity-section): Rewrite.
6424 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6426 * elmo-nmz.el: New file.
6428 * elmo-pipe.el: Rewrite with luna.
6430 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6432 * elmo-archive.el: Rewrite with luna.
6434 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6435 (elmo-folder-list-importants-internal): Ditto.
6437 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6439 * elmo-archive.el (elmo-archive-version): Abolish.
6440 (toplevel) Removed `boso' comment.
6442 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6444 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6445 elmo-msgdb-add-msgs-to-seen-list-subr;
6446 Changed argument seen-marks to unread-marks.
6448 * elmo-nntp.el: Rewrite with luna.
6450 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6452 * elmo-filter.el: Rewrite with luna.
6454 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6456 * elmo-pop3.el: Rewrite with luna.
6458 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6460 * elmo-multi.el: Rewrite with luna.
6462 * elmo-vars.el (elmo-use-killed-list): Abolish.
6463 All other related portions are changed.
6464 (elmo-filename-replace-string-alist): Renamed from
6465 elmo-msgid-replace-string-alist.
6467 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6469 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6471 * elmo-map.el: New file.
6472 * elmo-maildir.el: Rewrite with luna.
6474 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6476 * elmo.el: Changed meaning of `elmo-folder-commit'.
6477 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6479 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6481 * elmo.el (elmo-folder-append-buffer): New function.
6482 (Renamed from `elmo-append-msg')
6484 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6486 * elmo-mime.el: New file.
6488 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6490 * elmo-cache.el: Rewrite.
6492 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6494 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6496 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6498 * elmo-vars.el (elmo): New group.
6499 (elmo-strict-diff-folder-regexp): New variable.
6501 * elmo-util.el (elmo-call-func): Abolish.
6502 (elmo-folder-get-type): Ditto.
6503 (elmo-*-get-spec): Ditto.
6504 (elmo-*-spec-*): Ditto.
6505 (elmo-imap4-identical-name-space-p): Ditto.
6506 (elmo-folder-identical-system-p): Ditto.
6507 (elmo-folder-direct-copy-alist): Ditto.
6508 (elmo-folder-direct-copy-p): Ditto.
6510 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6511 (elmo-folder-initialize): Define.
6512 (elmo-folder-get-primitive-list): Ditto.
6514 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6515 (elmo-folder-initialize): Define.
6516 Renamed `elmo-network-session-host-internal' to
6517 `elmo-network-session-server-internal'.
6519 * elmo-multi.el (elmo-multi-folder): New luna class.
6520 (elmo-folder-initialize): Define.
6521 (elmo-folder-get-primitive-list): Ditto.
6522 (elmo-folder-contains-type): Ditto.
6523 (elmo-message-use-cache-p): Ditto.
6525 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6526 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6528 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6529 (elmo-folder-initialize): Define.
6531 * elmo-filter.el (elmo-filter-folder): New luna class.
6532 (elmo-folder-initialize): Define.
6533 (elmo-folder-get-primitive-list): Ditto.
6534 (elmo-folder-contains-type): Ditto.
6536 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6538 * elmo-imap4.el: Rewrite with luna.
6540 * mmimap.el: New file.
6542 * mmelmo.el, mmelmo-imap4.el: Removed.
6544 * elmo-net.el: Ditto.
6546 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6547 (elmo-folder-initialize): Define.
6549 * elmo-archive.el (elmo-archive-folder): New luna class.
6550 (elmo-folder-initialize): Define.
6552 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6553 `elmo-folder-msgdb-path'.
6554 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6557 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6559 * elmo.el: New file.
6561 * elmo2.el: Renamed to elmo.el.
6564 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6566 * elmo-cache.el (elmo-cache-expire-by-size): Count
6567 a disk usage for a cache file entry in KB even when
6568 its kind is a directory.
6570 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6572 * elmo-version.el (elmo-version): Up to 2.5.7.
6574 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6576 * elmo-version.el (elmo-version): Up to 2.5.6.
6578 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6580 * elmo-version.el (elmo-version): Up to 2.5.5.
6582 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6584 * elmo-imap4.el (elmo-network-authenticate-session):
6585 Fixed a logic for response checking.
6587 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6589 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6590 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6591 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6594 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6595 for `starttls-open-stream' and `starttls-negotiate'.
6597 * elmo-nntp.el: Remove autoload settings for
6598 `starttls-open-stream' and `starttls-negotiate'.
6600 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6601 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6602 `luna-define-class' with `eval-and-compile'.
6604 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6606 * elmo-util.el (elmo-read-search-condition-internal):
6607 Require an element of table for searching field.
6609 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6611 * elmo-version.el (elmo-version): Up to 2.5.4.
6613 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6615 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6617 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6619 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6621 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6623 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6626 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6628 * elmo-imap4.el (elmo-imap4-delete-folder):
6629 Send "close" before "delete" (Use commented out line).
6630 (elmo-imap4-rename-folder): Ditto.
6632 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6633 folder string itself.
6634 (elmo-dop-list-deleted): New function.
6635 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6638 * elmo-util.el (elmo-string-rassoc-all): New function.
6640 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6642 * elmo-version.el (elmo-version): Up to 2.5.3.
6644 * elmo-net.el (elmo-network-get-session): Changed logic for
6645 checking process status.
6647 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6649 Changed logic for checking process status.
6651 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6653 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6655 (elmo-network-setup-session): Set UIDL hash size according to
6656 the length of list response.
6657 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6658 according to the length of list response;
6659 Return the length of list response.
6660 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6662 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6664 * elmo-imap4.el (toplevel): Require 'ssl.
6665 Add autoload 'starttls.
6666 * elmo-pop3.el (toplevel): Ditto.
6667 * elmo-nntp.el (toplevel): Ditto.
6669 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6671 * elmo-imap4.el (toplevel): defun at compile time.
6672 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6673 sasl-next-step, sasl-step-data, sasl-step-set-data.
6674 * elmo-pop3.el (toplevel): Ditto.
6676 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6678 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6680 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6682 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6684 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6685 and `elmo-pop-auth-apop'.
6687 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6689 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6691 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6693 * elmo-pop3.el (elmo-network-authenticate-session): Split
6694 encoded response value.
6696 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6698 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6699 `elmo-pop3-force-login'.
6700 Redefine `sasl-mechanisms'.
6701 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6703 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6705 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6706 Delete `elmo-imap4-authenticator-alist'.
6707 (elmo-imap4-auth-cram-md5): Delete.
6708 (elmo-imap4-auth-digest-md5): Delete.
6710 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6712 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6713 (elmo-pop3-auth-scram-md5): Ditto.
6714 (elmo-pop3-auth-cram-md5): Ditto.
6716 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6718 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6719 Delete `elmo-pop3-authenticator-alist'.
6721 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6723 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6725 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6727 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6729 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6731 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6733 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6734 Fixed problem when `elmo-pop3-use-uidl' is nil.
6735 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6737 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6739 * elmo-version.el (elmo-version): Up to 2.5.2.
6741 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6743 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6745 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6746 (elmo-pop3-msgdb-create-as-numlist): Use it.
6748 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6749 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6751 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6752 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6754 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6756 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6757 when elmo-mark-as-read is called with second argument nil.
6759 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6761 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6762 Moved to elmo-util.el.
6764 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6765 Moved from elmo-pipe.el
6767 * elmo-archive.el (elmo-archive-call-process): Enclose with
6770 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6771 "RFC822" (because RFC822.PEEK is obsolete).
6772 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6774 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6776 * elmo-archive.el (elmo-archive-call-process): Don't check for
6777 the exit status when Nemacs is running.
6779 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6781 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6784 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6785 (elmo-pop3-get-spec): Set default of auth to 'user.
6787 * elmo-imap4.el (elmo-imap4-session-check):
6788 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6789 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6790 (elmo-imap4-auth-login): New function; Revival.
6791 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6792 `elmo-imap4-auth-login'.
6794 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6796 * elmo2.el (toplevel): Move `product-provide' declare.
6797 * mmelmo.el (toplevel): Ditto.
6799 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6801 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6803 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6805 * elmo-util.el (elmo-folder-get-store-type): New function.
6806 (elmo-folder-direct-copy-p): Use it.
6808 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6810 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6811 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6812 and result of `elmo-imap4-use-flag-p'.
6813 (elmo-imap4-fetch-callback-1): Set mark according to
6814 the result of `elmo-imap4-use-flag-p'.
6816 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6818 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6819 (elmo-generic-list-folder-unread): Ditto.
6820 (elmo-folder-get-info): Ditto.
6821 (elmo-folder-set-info-max-by-numdb): Ditto.
6822 (elmo-folder-get-info-max): Ditto.
6823 (elmo-folder-get-info-length): Ditto.
6824 (elmo-folder-get-info-unread): Ditto.
6825 (elmo-folder-info-make-hashtb): Ditto.
6827 * elmo2.el: Removed above functions.
6829 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6831 * elmo-imap4.el (toplevel): Require 'ssl.
6832 Add autoload 'starttls.
6833 * elmo-pop3.el (toplevel): Ditto.
6834 * elmo-nntp.el (toplevel): Ditto.
6836 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6838 * elmo-imap4.el (toplevel): defun at compile time.
6839 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6840 sasl-next-step, sasl-step-data, sasl-step-set-data.
6841 * elmo-pop3.el (toplevel): Ditto.
6843 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6845 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6847 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6849 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6851 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6852 and `elmo-pop-auth-apop'.
6854 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6856 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6858 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6860 * elmo-pop3.el (elmo-network-authenticate-session): Split
6861 encoded response value.
6863 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6865 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6866 `elmo-pop3-force-login'.
6867 Redefine `sasl-mechanisms'.
6868 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6870 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6872 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6873 Delete `elmo-imap4-authenticator-alist'.
6874 (elmo-imap4-auth-cram-md5): Delete.
6875 (elmo-imap4-auth-digest-md5): Delete.
6877 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6879 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6880 (elmo-pop3-auth-scram-md5): Ditto.
6881 (elmo-pop3-auth-cram-md5): Ditto.
6883 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6885 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6886 Delete `elmo-pop3-authenticator-alist'.
6888 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6890 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6892 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6895 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6897 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6899 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6901 * elmo-nntp.el (elmo-nntp-get-folders-info):
6902 Fixed problem when '\' character is contained in user-id.
6903 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6906 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6908 * elmo-imap4.el (elmo-imap4-delete-folder):
6909 Send "close" before "delete" (Use commented out line).
6910 (elmo-imap4-rename-folder): Ditto.
6912 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6913 folder string itself.
6914 (elmo-dop-list-deleted): New function.
6915 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6918 * elmo-util.el (elmo-string-rassoc-all): New function.
6920 * elmo-version.el (elmo-version): Up to 2.5.1.
6922 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6924 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6926 * elmo-internal.el (elmo-internal-search): Fix last change.
6928 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6930 * elmo-internal.el (elmo-internal-search): Rewrite.
6931 (Fixed problem which is pointed out by Akihiro MOTOKI
6932 <motoki@da.jp.nec.com>)
6934 * elmo-version.el (elmo-version): Up to 2.5.0.
6936 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6938 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6940 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6942 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6943 non-nil, make hierarchy.
6945 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6947 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6948 `elmo-pop3-use-uidl' must be bound to nil.
6949 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
6951 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
6953 * elmo-util.el (elmo-copy-file): Don't cause an error after
6954 `add-name-to-file' failed.
6956 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
6957 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
6959 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
6961 * elmo-version.el (elmo-version): Up to 2.3.93.
6963 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6965 * elmo-util.el (elmo-flatten): New function.
6967 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
6969 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
6971 * elmo-cache.el (toplevel): Ditto.
6972 * elmo-database.el (toplevel): Ditto.
6973 * elmo-date.el (toplevel): Ditto.
6974 * elmo-dop.el (toplevel): Ditto.
6975 * elmo-filter.el (toplevel): Ditto.
6976 * elmo-imap4.el (toplevel): Ditto.
6977 * elmo-internal.el (toplevel): Ditto.
6978 * elmo-localdir.el (toplevel): Ditto.
6979 * elmo-localnews.el (toplevel): Ditto.
6980 * elmo-maildir.el (toplevel): Ditto.
6981 * elmo-msgdb.el (toplevel): Ditto.
6982 * elmo-multi.el (toplevel): Ditto.
6983 * elmo-net.el (toplevel): Ditto.
6984 * elmo-nntp.el (toplevel): Ditto.
6985 * elmo-pipe.el (toplevel): Ditto.
6986 * elmo-pop3.el (toplevel): Ditto.
6987 * elmo-util.el (toplevel): Ditto.
6988 * elmo-vars.el (toplevel): Ditto.
6989 * elmo2.el (toplevel): Ditto.
6990 * mmelmo-imap4.el (toplevel): Ditto.
6991 * mmelmo.el (toplevel): Ditto.
6993 * elmo-version.el (elmo-version): Move to top.
6995 * elmo-cache.el (toplevel): Fixed multiple Author header format.
6996 * elmo-imap4.el (toplevel): Ditto.
6997 * elmo-localdir.el (toplevel): Ditto.
6998 * elmo-msgdb.el (toplevel): Ditto.
6999 * elmo-nntp.el (toplevel): Ditto.
7000 * elmo-pop3.el (toplevel): Ditto.
7001 * elmo-version.el (toplevel): Ditto.
7003 * elmo-localnews.el (toplevel): Added Keyword header.
7005 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7007 * elmo-version.el (product-version-as-string): Defined using
7011 * elmo-localdir.el (toplevel): Updated copyright notice.
7012 * elmo-version.el (toplevel): Ditto.
7013 * elmo-msgdb.el (toplevel): Ditto.
7014 * elmo-imap4.el (toplevel): Ditto.
7015 * elmo-nntp.el (toplevel): Ditto.
7016 * elmo-pop3.el (toplevel): Ditto.
7018 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7020 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7023 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7024 parameter value (It sometimes contains raw kanji).
7026 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7028 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7029 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7031 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7033 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7035 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7037 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7038 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7040 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7042 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7043 value if selecting folder succceeded.
7044 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7046 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7048 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7051 * elmo-util.el (elmo-string-matched-member): New function.
7053 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7055 * elmo-util.el (elmo-unintern): New macro.
7056 (elmo-number-set-member): Fixed docstring.
7058 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7061 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7063 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7064 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7066 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7068 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7071 Return non-nil if selecting folder succeeded.
7072 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7074 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7076 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7077 `file-name-completion' returns t.
7078 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7079 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7080 directory if it does not exist.
7081 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7084 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7086 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7087 enclosure (It's harmful in unplugged status).
7089 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7091 * mmelmo-1.el: Removed.
7093 * mmelmo-2.el: Ditto.
7095 * mmelmo-imap4-1.el: Ditto.
7097 * mmelmo-imap4-2.el: Ditto.
7099 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7101 * mmelmo.el: Merged mmelmo-2.el.
7103 * elmo-version.el (elmo-version): Up to 2.3.92.
7105 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7107 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7108 elmo-update-number): Remove last period in "...done." message.
7109 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7111 * elmo-cache.el (elmo-cache-expire-by-size,
7112 elmo-cache-get-sorted-cache-file-list,
7113 elmo-cache-msgdb-create-as-numlist): Ditto.
7114 * elmo-dop.el (elmo-dop-save-pending-messages,
7115 (elmo-dop-flush-pending-append-operations): Ditto.
7116 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7117 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7118 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7119 (elmo-localdir-pack-number): Ditto.
7120 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7121 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7122 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7123 mime-write-entity-content): Ditto.
7124 * pldap.el (ldap-search-basic): Ditto.
7126 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7128 * elmo-version.el (elmo-version): Up to 2.3.91.
7130 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7131 Only when filter is 'last'.
7133 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7134 (elmo-condition-parse-search-value): Use it.
7135 (elmo-read-search-condition-internal): Quote value only when
7138 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7140 * elmo2.el (elmo-generic-folder-diff): Fix.
7142 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7144 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7145 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7146 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7147 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7148 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7149 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7151 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7153 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7156 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7158 * elmo-version.el (elmo-version): Up to 2.3.90.
7160 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7161 (elmo-imap4-list-folder-important): Ditto.
7163 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7165 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7167 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7169 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7171 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7173 * elmo-nntp.el (elmo-network-initialize-session):
7174 Add starttls negotiation.
7176 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7178 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7180 (elmo-network-setup-session): Define.
7181 Call `elmo-nntp-send-mode-reader' when session opened.
7183 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7185 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7187 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7189 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7190 an invalid SPACE character ahead of `SEARCH' command. Move
7191 a valid SPACE character following `SEARCH' from conditional
7192 `format' arguments to control-strings.
7194 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7196 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7199 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7201 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7203 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7204 `w32-get-true-file-link-count' as t.
7206 * elmo-imap4.el (elmo-imap4-read): Abolished.
7207 (Renamed to `elmo-read' and moved to elmo-util.el)
7208 All other related portions are changed.
7210 * elmo-util.el (elmo-read): New function.
7211 (elmo-condition-parse-search-value): Use it.
7213 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7215 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7217 * elmo-nntp.el (elmo-nntp-session): Define.
7218 (elmo-nntp-setting): Abolished.
7219 All other related portions are changed.
7220 (elmo-nntp-get-server-command): Changed argument.
7221 (elmo-nntp-set-server-command): Ditto.
7222 (elmo-nntp-xover-p): Ditto.
7223 (elmo-nntp-set-xover): Ditto.
7224 (elmo-nntp-listgroup-p): Ditto.
7225 (elmo-nntp-set-listgroup): Ditto.
7226 (elmo-nntp-list-active-p): Ditto.
7227 (elmo-nntp-set-list-active): Ditto.
7228 (elmo-nntp-xhdr-p): Ditto.
7229 (elmo-nntp-set-xhdr): Ditto.
7230 (elmo-nntp-flush-connection): Abolished.
7231 (elmo-nntp-get-connection): Abolished.
7232 (elmo-nntp-get-session): New function.
7233 (elmo-network-initialize-session): Defined.
7234 (elmo-network-authenticate-session): Ditto.
7235 (elmo-nntp-send-mode-reader): Changed argument.
7236 (elmo-nntp-send-command): Changed argument.
7237 All other related portions are changed.
7238 (elmo-nntp-read-response): Ditto.
7239 (elmo-nntp-read-raw-response): Ditto.
7240 (elmo-nntp-read-contents): Ditto.
7241 (elmo-nntp-read-body): Ditto.
7242 (elmo-nntp-goto-folder): Abolished.
7243 (elmo-nntp-select-group): New function.
7244 All other related portions are changed.
7245 (This function substitutes `elmo-nntp-goto-folder')
7246 (elmo-nntp-msgdb-create-by-header): Rewrite.
7247 (elmo-nntp-get-overview): Eliminated.
7248 (elmo-nntp-get-message): Ditto.
7249 (elmo-nntp-open-connection) Abolished.
7250 (elmo-nntp-read-msg): Rewrite.
7251 (elmo-nntp-post): Ditto.
7252 (elmo-nntp-send-data): Abolished.
7253 (elmo-nntp-send-buffer): New function.
7254 (elmo-nntp-send-data-line): Define as inline function.
7255 (elmo-nntp-get-folders-info-prepare): Use session as key.
7256 (elmo-nntp-groups-read-response): Changed argument.
7257 (elmo-nntp-retrieve-headers): Ditto.
7258 (elmo-nntp-msgdb-create-message): Ditto.
7260 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7261 when searching by 'since' or 'before'.
7263 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7265 * elmo-version.el (toplevel): Use product-version-as-string for set
7266 verstion-string, if defined.
7268 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7270 * elmo-util.el: Doc fixes.
7272 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7274 * elmo-archive.el (toplevel): Use product-provide.
7275 * elmo-cache.el (toplevel): Ditto.
7276 * elmo-database.el (toplevel): Ditto.
7277 * elmo-date.el (toplevel): Ditto.
7278 * elmo-dop.el (toplevel): Ditto.
7279 * elmo-filter.el (toplevel): Ditto.
7280 * elmo-imap4.el (toplevel): Ditto.
7281 * elmo-internal.el (toplevel): Ditto.
7282 * elmo-localdir.el (toplevel): Ditto.
7283 * elmo-localnews.el (toplevel): Ditto.
7284 * elmo-maildir.el (toplevel): Ditto.
7285 * elmo-msgdb.el (toplevel): Ditto.
7286 * elmo-multi.el (toplevel): Ditto.
7287 * elmo-net.el (toplevel): Ditto.
7288 * elmo-nntp.el (toplevel): Ditto.
7289 * elmo-pipe.el (toplevel): Ditto.
7290 * elmo-pop3.el (toplevel): Ditto.
7291 * elmo-util.el (toplevel): Ditto.
7292 * elmo-vars.el (toplevel): Ditto.
7293 * elmo2.el (toplevel): Ditto.
7294 * mmelmo-1.el (toplevel): Ditto.
7295 * mmelmo-2.el (toplevel): Ditto.
7296 * mmelmo-imap4-1.el (toplevel): Ditto.
7297 * mmelmo-imap4-2.el (toplevel): Ditto.
7298 * mmelmo-imap4.el (toplevel): Ditto.
7299 * mmelmo.el (toplevel): Ditto.
7301 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7303 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7304 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7306 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7308 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7310 (elmo-multi-split-number-alist): Ditto.
7312 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7314 * elmo-version.el: New file. Use product.el.
7315 * elmo2.el: Add (require 'elmo-version).
7316 * elmo-vars.el (elmo-appname, elmo-version): Move to
7319 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7321 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7322 `elmo-msgdb-expand-path'.
7323 (elmo-msgdb-load): Ditto.
7324 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7325 (elmo-generic-list-folder-unread): Rewrite.
7326 (elmo-generic-list-folder-important): Changed argument.
7327 (elmo-list-folder-unread): Ditto.
7328 (elmo-list-folder-important): Ditto.
7329 (elmo-folder-diff): Rewrite.
7330 (elmo-generic-folder-diff): New function.
7331 (elmo-multi-get-number-alist-list): Abolished
7332 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7333 (elmo-multi-folder-diff): Moved to elmo-multi.el
7334 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7336 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7337 `elmo-msgdb-expand-path'.
7338 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7339 (elmo-pop3-read-msg): Ditto.
7340 (elmo-pop3-delete-msgs): Ditto.
7341 (elmo-pop3-folder-diff): New alias.
7343 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7344 `elmo-msgdb-expand-path'.
7345 (elmo-pipe-list-folder-unread): Changed arguments.
7346 (elmo-pipe-list-folder-important): Ditto.
7347 (elmo-pipe-folder-diff): New alias.
7349 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7350 `elmo-msgdb-expand-path'.
7351 (elmo-nntp-max-of-folder): Ditto.
7352 (elmo-nntp-msgdb-create): Ditto.
7353 (elmo-nntp-delete-msgs): Ditto.
7354 (elmo-nntp-folder-diff): New alias.
7356 * elmo-multi.el (elmo-multi-folder-diff): New function.
7357 (elmo-multi-split-mark-alist): Ditto.
7358 (elmo-multi-split-number-alist): Ditto.
7359 (elmo-multi-mark-alist-list): Abolished (Renamed to
7360 elmo-multi-split-mark-alist).
7361 (elmo-multi-list-folder-unread): Rewrite.
7362 (elmo-multi-list-folder-important): Ditto.
7363 (elmo-multi-list-folder): Set `spec' as 1st argument for
7364 `elmo-msgdb-expand-path'.
7365 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7366 instead of `elmo-multi-get-number-alist-list'.
7368 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7369 If 1st argument is not string, treat as spec.
7370 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7371 `elmo-msgdb-expand-path'.
7372 (elmo-msgdb-flist-load): Ditto.
7373 (elmo-msgdb-flist-save): Ditto.
7374 (elmo-msgdb-delete-path): Ditto.
7375 (elmo-msgdb-rename-path): Ditto.
7377 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7378 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7379 (elmo-maildir-delete-mark-msgs): Ditto.
7380 (elmo-maildir-msgdb-create): Ditto.
7381 (elmo-maildir-read-msg): Ditto.
7382 (elmo-maildir-delete-msgs): Ditto.
7383 (elmo-maildir-list-folder-subr): Ditto.
7384 (elmo-maildir-search): Ditto.
7385 (elmo-maildir-get-msg-filename): Ditto.
7386 (elmo-maildir-pack-number): Ditto.
7387 (elmo-maildir-folder-diff): New alias.
7389 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7391 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7392 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7393 (elmo-localdir-folder-diff): New alias.
7395 * elmo-internal.el (elmo-internal-list-folder-subr):
7396 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7397 (elmo-internal-list-folder-by-location): Ditto.
7398 (elmo-internal-msgdb-create): Ditto.
7399 (elmo-internal-delete-msgs): Ditto.
7400 (elmo-internal-read-msg): Ditto.
7401 (elmo-internal-folder-diff): New alias.
7403 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7404 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7405 `elmo-msgdb-expand-path'.
7406 (elmo-imap4-list-folder-unread): Changed arguments.
7407 (elmo-imap4-list-folder-important): Ditto.
7409 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7410 (elmo-filter-list-folder-important): Ditto.
7411 (elmo-filter-folder-diff): New function.
7413 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7415 * elmo-cache.el (elmo-cache-list-folder):
7416 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7417 (elmo-cache-copy-msgs): Ditto.
7418 (elmo-cache-folder-diff): New alias.
7420 * elmo-archive.el (elmo-archive-list-folder-subr):
7421 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7422 (elmo-archive-get-archive-name): Ditto.
7423 (elmo-archive-create-file): Ditto.
7424 (elmo-archive-append-msg): Ditto.
7425 (elmo-archive-copy-msgs): Ditto.
7426 (elmo-archive-copy-msgs-froms): Ditto.
7427 (elmo-archive-get-msg-filename): Ditto.
7428 (elmo-archive-folder-diff): New alias.
7430 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7432 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7433 (elmo-pop3-stream-type-alist): New variable.
7434 (elmo-nntp-stream-type-alist): New variable.
7436 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7437 (elmo-kill-buffer): Ditto.
7438 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7439 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7440 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7441 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7442 (elmo-imap4-get-spec): Take into account
7443 `elmo-imap4-stream-type-alist'.
7445 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7447 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7448 (elmo-nntp-list-folders-get-cache): Ditto.
7450 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7452 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7453 character before 'uid'.
7455 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7457 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7459 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7461 * elmo-util.el (elmo-number-set-member): New function.
7462 (elmo-number-set-append-list): Ditto.
7463 (elmo-number-set-append): Ditto.
7465 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7466 Use `elmo-number-set-member'.
7467 (elmo-living-messages): Ditto.
7468 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7469 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7471 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7472 (elmo-imap4-add-to-cont-list): Abolished.
7473 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7474 instead of elmo-imap4-add-to-cont-list.
7476 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7477 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7479 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7481 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7483 * elmo-util.el (elmo-condition-parse-search-value):
7486 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7488 * elmo-util.el (elmo-condition-find-key-internal): New function.
7489 (elmo-condition-find-key): Ditto.
7491 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7492 (elmo-msgdb-search-internal): Ditto.
7493 (elmo-msgdb-search): Ditto.
7495 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7497 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7498 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7500 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7501 (elmo-nntp-search-primitive): Fixed problem when condition is
7504 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7506 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7507 (elmo-nntp-xhdr-p): New macro.
7508 (elmo-nntp-set-xhdr): Ditto.
7509 (elmo-nntp-parse-xhdr-response): New function.
7510 (elmo-nntp-retrieve-field): Ditto.
7511 (elmo-nntp-search-primitive): Ditto.
7512 (elmo-nntp-search): Implemented.
7514 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7516 * elmo-archive.el (elmo-archive-search): Set all number list to
7517 `elmo-archive-field-condition-match'
7519 * elmo-localdir.el (elmo-localdir-search): Likewise.
7521 * elmo-maildir.el (elmo-maildir-search): Likewise.
7523 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7525 * elmo-msgdb.el (elmo-living-messages): New function.
7526 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7527 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7528 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7529 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7530 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7531 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7532 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7533 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7534 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7535 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7536 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7538 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7540 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7542 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7544 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7546 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7547 arguments for `SEARCH' command.
7548 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7549 All other related portions are changed.
7551 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7553 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7554 (elmo-list-folder-unread): Rewrite.
7555 (elmo-list-folder-important): Ditto.
7557 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7558 (elmo-condition-parse-error): New inline function.
7559 (elmo-read-search-condition): New function.
7560 (elmo-read-search-condition-internal): Ditto.
7561 (elmo-parse-search-condition): Rewrite.
7562 (elmo-condition-parse): New function.
7563 (elmo-condition-parse-or-expr): Ditto.
7564 (elmo-condition-parse-and-expr): Ditto.
7565 (elmo-condition-parse-primitive): Ditto.
7566 (elmo-condition-parse-search-value): Ditto.
7567 (elmo-buffer-field-primitive-condition-match): Ditto.
7568 (elmo-buffer-field-condition-match): Rewrite.
7569 (elmo-file-field-condition-match): Ditto.
7571 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7572 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7574 * elmo-internal.el (elmo-internal-search): Set `number' and
7575 `number-list' argument of `elmo-file-field-condition-match'.
7577 * elmo-maildir.el (elmo-maildir-search): Ditto.
7579 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7580 `msgdb' as argument instead of `mark-alist'.
7581 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7584 * elmo-multi.el: Likewise.
7586 * elmo-pipe.el: Likewise.
7588 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7589 (elmo-imap4-search-internal): Rewrite.
7590 (elmo-imap4-search): Ditto.
7592 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7593 (elmo-filter-list-folder-unread): Ditto.
7594 (elmo-filter-list-folder-important): Ditto.
7595 (elmo-filter-search): Rewrite.
7597 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7598 `number-list' argument of `elmo-file-field-condition-match'.
7599 (elmo-cache-search): Ditto.
7601 * elmo-localdir.el: Likewise.
7603 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7604 number-list and pass it to `elmo-buffer-field-condition-match'.
7605 (elmo-archive-field-condition-match): Pass `number-list' to
7606 `elmo-archive-field-condition-match'
7608 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7610 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7613 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7614 (elmo-folder-diff-async-callback-data): Ditto.
7615 (elmo-folder-diff-async): New function.
7617 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7618 (elmo-network-session-cache-key): Use it as a prefix of the session
7620 (elmo-network-open-session): Ditto.
7622 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7623 (elmo-imap4-status-callback-data): Ditto.
7624 (elmo-imap4-server-diff-async-callback): New variable.
7625 (elmo-imap4-server-diff-async-callback-data): Ditto.
7626 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7627 `elmo-imap4-status-callback-data'.
7628 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7629 `elmo-imap4-status-callback-data' as nil.
7630 (elmo-imap4-server-diff): Ditto.
7631 (elmo-imap4-server-diff-async-callback-1): New function.
7632 (elmo-imap4-server-diff-async): Ditto.
7633 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7635 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7637 * elmo-util.el (elmo-list-delete): Doc fix.
7638 (elmo-delete-lists): Abolish.
7639 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7640 instead of `elmo-delete-lists'.
7642 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7644 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7647 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7649 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7650 `elmo-imap4-literal-subr'.
7651 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7652 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7654 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7656 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7657 (elmo-archive-list-folder): Fix.
7658 (elmo-archive-max-of-folder): Fix.
7660 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7662 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7663 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7664 (elmo-localdir-append-msg): Ditto.
7665 (elmo-localdir-list-folder): Fix for `nonsort'.
7666 (elmo-localdir-list-folder-subr): Fix for `killed'.
7667 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7668 (elmo-maildir-list-folder-subr): Ditto.
7669 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7670 (elmo-archive-list-folder-subr): Ditto.
7671 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7672 (elmo-internal-list-folder-subr): Ditto.
7674 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7676 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7678 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7680 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7682 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7684 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7685 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7687 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7689 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7690 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7692 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7694 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7696 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7697 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7698 before STORE command.
7700 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7702 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7704 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7705 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7707 (elmo-imap4-list-folders): Removed unused local variable.
7708 (elmo-network-initialize-session): Ditto.
7709 (elmo-imap4-delete-msg-by-id): Ditto.
7710 (elmo-imap4-parse-fetch): Ditto.
7711 (elmo-imap4-copy-msgs): Ditto.
7712 Use `dst-spec' instead of `dst-folder'.
7713 (elmo-network-authenticate-session): Check authenticate type `plain'.
7715 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7717 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7719 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7720 `elmo-imap4-response-value'.
7721 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7723 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7725 * elmo-imap4.el (elmo-imap4-send-command):
7726 Cause elmo-imap4-bye-error when current response is BYE.
7727 (elmo-imap4-arrival-filter): Changed greeting response value.
7729 * elmo2.el (elmo-imap4-bye-error): Define.
7731 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7732 (elmo-imap4-server-diff): Ditto.
7733 (elmo-imap4-response-bye-p): New macro.
7734 (elmo-imap4-response-error-text): Get text from BYE response.
7735 (elmo-imap4-read-response): Return if BYE response.
7736 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7737 (elmo-imap4-folder-exists-p): Ditto.
7738 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7739 (elmo-imap4-parse-bye): New function.
7740 (elmo-imap4-parse-response): Remove needless let.
7741 Call `elmo-imap4-parse-bye'.
7743 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7745 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7746 the mailbox does not exist.
7747 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7749 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7751 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7753 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7755 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7757 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7758 (elmo-network-initialize-session-buffer): Defined.
7760 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7762 (mmelmo-imap4-get-mime-entity): Rewrite.
7764 * elmo2.el (elmo-error): Capitalize error message.
7766 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7767 (elmo-network-session-buffer): New macro.
7768 (elmo-network-open-session): Use it.
7770 * elmo-imap4.el: Rewrite.
7772 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7774 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7776 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7778 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7779 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7780 (elmo-imap4-create-msgdb-from-overview-string): Use
7781 `elmo-msgdb-create-overview-from-buffer'.
7783 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7785 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7786 (elmo-imap4-default-hierarchy-delimiter): New variable.
7787 (elmo-imap4-list-folders): Use it.
7789 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7791 * elmo-net.el (elmo-network-open-session): Add user and
7792 stream-type for process-buffer name.
7794 * elmo-pop3.el (elmo-network-initialize-session): Call
7795 buffer-disable-undo.
7797 * elmo-imap4.el (elmo-network-initialize-session):
7798 Set current-buffer as an argument for `buffer-disable-undo'.
7800 * elmo-pop3.el (elmo-network-close-session): Don't use
7803 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7804 Set default as 'user.
7806 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7808 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7809 and `elmo-imap4-flush-connection'.
7811 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7812 (elmo-pop3-get-spec): Assume auth as symbol.
7813 (elmo-open-network-stream): Moved to `elmo-net'.
7815 * elmo-pop3.el (toplevel): Require 'elmo-net.
7816 Define `sasl-cram-md5' to silence byte compilier.
7817 (elmo-pop3-connection-cache) Abolished.
7818 (elmo-pop3-authenticator-alist) New variable.
7819 (elmo-pop3-session): Define.
7820 (elmo-pop3-connection-get-process): Abolished.
7821 (elmo-pop3-connection-get-buffer): Ditto.
7822 (elmo-pop3-close-connection): Ditto.
7823 (elmo-pop3-flush-connection): Ditto.
7824 (elmo-pop3-get-connection): Ditto.
7825 (elmo-pop3-get-session): New function.
7826 (Replacement for `elmo-pop3-get-connection').
7827 All other related modules are changed.
7828 (elmo-network-close-session): Define.
7829 (elmo-pop3-send-command): Abolished argument `buffer'.
7830 All other related modules are changed.
7831 (elmo-pop3-read-response): Likewise.
7832 (elmo-pop3-open-connection): Abolished.
7833 (elmo-pop3-auth-user): New function.
7834 (elmo-pop3-auth-apop): Ditto.
7835 (elmo-pop3-auth-cram-md5): Ditto.
7836 (elmo-pop3-auth-scram-md5): Ditto.
7837 (elmo-pop3-auth-digest-md5): Ditto.
7838 (elmo-network-initialize-session): Define.
7839 (elmo-network-authenticate-session): Ditto.
7840 (elmo-network-setup-session): Ditto.
7842 * elmo-imap4.el (toplevel): Require 'elmo-net.
7843 (elmo-imap4-session): Define.
7844 (elmo-imap4-connection-cache): Abolished.
7845 (elmo-imap4-password-key): Ditto.
7846 (elmo-imap4-flush-connection): Ditto.
7847 (elmo-imap4-get-connection): Ditto.
7848 All other related modules are changed.
7849 (elmo-imap4-get-session): New function
7850 (Replacement for `elmo-imap4-get-connection').
7851 (elmo-imap4-read-response): Abolished argument `buffer'.
7852 All other related modules are changed.
7853 (elmo-imap4-send-command): Likewise.
7854 (elmo-imap4-select-folder): Abolished.
7855 All other related modules are changed.
7856 (elmo-imap4-select-mailbox): New function.
7857 (Replacement for `elmo-imap4-select-folder').
7858 (elmo-imap4-auth-login): Simplify.
7859 (Assume current buffer as process buffer)
7860 (elmo-imap4-auth-cram-md5): Ditto.
7861 (elmo-imap4-auth-digest-md5): Ditto.
7862 (elmo-imap4-login): Ditto.
7863 (elmo-imap4-open-connection): Abolished.
7864 (elmo-imap4-open-connection-1): Abolished.
7865 (elmo-network-initialize-sessoin): Define.
7866 (elmo-network-authenticate-session): Ditto.
7867 (elmo-network-setup-session): Ditto.
7869 * elmo-net.el: New module.
7871 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7873 * elmo-util.el (elmo-define-error): New function.
7875 * elmo2.el (elmo-error): Define.
7876 (elmo-open-error): Define.
7877 (elmo-authenticate-error): Define.
7879 * elmo-imap4.el (elmo-imap4-error): Abolish.
7880 (elmo-imap4-error-type): Abolish.
7881 (elmo-imap4-error-process): Abolish.
7882 (elmo-imap4-error-message): Abolish
7883 (elmo-imap4-list-folders): Don't quote lambda.
7884 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7885 (elmo-imap4-parse-namespace): Ditto.
7886 (elmo-imap4-open-connection): Rewrite.
7887 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7888 (elmo-imap4-get-connection): Abolish local variable `result'.
7890 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7892 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7893 wrong-type-argument error when auth is nil.
7895 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7897 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7898 (elmo-default-nntp-stream-type): Ditto.
7899 (elmo-default-pop3-stream-type): Ditto.
7900 (elmo-network-stream-type-alist): Ditto.
7901 (elmo-default-imap4-ssl): Abolished.
7902 (elmo-default-nntp-ssl): Ditto.
7903 (elmo-default-pop3-ssl): Ditto.
7905 * elmo-util.el: (toplevel): Removed needless requires.
7906 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7907 (elmo-open-network-stream): Open network stream according to
7908 the value of `elmo-network-stream-type-alist'.
7909 (elmo-get-network-stream-type): New function.
7910 (elmo-network-stream-type-spec-string): New macro.
7911 (elmo-network-stream-type-symbol): Ditto.
7912 (elmo-network-stream-type-function): Ditto.
7914 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7915 network-stream-type. All other related portions are changed.
7916 (elmo-pop3-open-connection): Ditto.
7918 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7919 network-stream-type. All other related portions are changed.
7921 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7922 network-stream-type.All other related portions are changed.
7923 (elmo-imap4-error): New macro.
7924 (elmo-imap4-error-type): Ditto.
7925 (elmo-imap4-error-process): Ditto.
7926 (elmo-imap4-error-message): Ditto.
7927 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7928 (elmo-imap4-auth-cram-md5): Ditto.
7929 (elmo-imap4-auth-digest-md5): Ditto.
7930 (elmo-imap4-login): Ditto.
7931 (elmo-imap4-open-connection): Remove password entry if authentication
7933 (elmo-imap4-user-at-host): Abolished.
7934 (elmo-imap4-password-key): New buffer local variable.
7935 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7936 using protocol, port, auth and stream-type.
7938 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7940 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7942 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7944 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7946 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7947 (elmo-imap4-authenticator-alist): New variable.
7948 (elmo-imap4-open-connection-1): Rename from
7949 elmo-imap4-open-connection.
7950 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
7951 only wraps elmo-imap4-open-connection-1.
7952 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
7954 (elmo-imap4-auth-login): New function.
7955 (elmo-imap4-auth-cram-md5): New function.
7956 (elmo-imap4-auth-digest-md5): New function.
7957 (elmo-imap4-login): New function.
7959 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7961 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
7964 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7966 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
7968 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
7970 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
7972 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
7974 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
7975 for server responses, quote `*' regardless of where it appears.
7977 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7979 * elmo-maildir.el (elmo-maildir-commit): New alias.
7981 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7983 * elmo-util.el (elmo-display-progress):
7984 Use `progress-feedback-with-label'.
7986 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
7988 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
7989 (elmo-imap4-non-atom-char-regex): Ditto.
7990 (elmo-imap4-non-text-char-regex): Ditto.
7991 (elmo-imap4-literal-threshold): Ditto.
7992 (elmo-imap4-atom-p): New function.
7993 (elmo-imap4-quotable-p): Ditto.
7994 (elmo-imap4-nil): Ditto.
7995 (elmo-imap4-atom): Ditto.
7996 (elmo-imap4-quoted): Ditto.
7997 (elmo-imap4-literal-subr): Ditto.
7998 (elmo-imap4-literal): Ditto.
7999 (elmo-imap4-buffer-literal): Ditto.
8000 (elmo-imap4-string-subr): Ditto.
8001 (elmo-imap4-string): Ditto.
8002 (elmo-imap4-buffer-string): Ditto.
8003 (elmo-imap4-astring-subr): Ditto.
8004 (elmo-imap4-astring): Ditto.
8005 (elmo-imap4-buffer-astring): Ditto.
8006 (elmo-imap4-nstring): Ditto.
8007 (elmo-imap4-buffer-nstring): Ditto.
8008 (elmo-imap4-mailbox): New alias.
8009 (elmo-imap4-field-body): Ditto.
8010 (elmo-imap4-userid): Ditto.
8011 (elmo-imap4-password): Ditto.
8012 (elmo-imap4-format-quoted): New function.
8013 (elmo-imap4-send-command): Rewritten. Accept a list of command
8014 arguments and handle "atom", "quoted" and "literal" string here.
8015 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8016 `elmo-imap4-send-command'.
8017 (elmo-imap4-folder-exists-p): Likewise.
8018 (elmo-imap4-create-folder): Likewise.
8019 (elmo-imap4-delete-folder): Likewise.
8020 (elmo-imap4-rename-folder): Likewise.
8021 (elmo-imap4-max-of-folder): Likewise.
8022 (elmo-imap4-check-validity): Likewise.
8023 (elmo-imap4-sync-validity): Likewise.
8024 (elmo-imap4-server-diff): Likewise.
8025 (elmo-imap4-select-folder): Likewise.
8026 (elmo-imap4-copy-msgs): Likewise.
8027 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8028 (elmo-imap4-mark-set-on-msgs): Likewise.
8029 (elmo-imap4-read-part): Likewise.
8030 (elmo-imap4-read-msg): Likewise.
8031 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8032 `elmo-imap4-password' for `elmo-imap4-send-command'.
8033 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8034 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8035 `elmo-imap4-buffer-literal'.
8036 (elmo-imap4-append-msg): Likewise.
8038 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8039 `delete' for removing dead connection from the connection cache.
8040 Move deletion of the process buffer after that.
8041 (elmo-imap4-list): Change `defsubst' to `defun'.
8042 (elmo-imap4-commit): Make error message verbose.
8043 (elmo-imap4-search): Ditto.
8044 (elmo-imap4-list): Ditto.
8045 (elmo-imap4-select-folder): Ditto.
8046 (elmo-imap4-copy-msgs): Ditto.
8047 (elmo-imap4-delete-msg-by-id): Ditto.
8048 (elmo-imap4-append-msg-by-id): Ditto.
8049 (elmo-imap4-append-msg): Ditto.
8051 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8053 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8054 when dired is used on XEmacs.
8056 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8058 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8059 instead of `append'.
8060 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8061 `elmo-plugged-p' directly.
8062 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8063 of `elmo-plugged-p' directly.
8065 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8066 Eliminate unused variable. Use `memq' for checking a process status.
8067 Use `cons' instead of `append' for updating the connection cache.
8068 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8069 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8071 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8073 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8074 `elmo-imap4-read-point' exactly.
8076 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8077 the local variable `folder' to `mailbox'.
8078 Rename the argument `fld' to `folder'.
8080 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8082 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8083 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8085 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8087 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8088 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8089 (elmo-pop3-uidl-number-hash): Ditto.
8090 (elmo-pop3-size-hash): Ditto.
8091 (elmo-pop3-uidl-done): Ditto.
8092 (elmo-pop3-list-done): Ditto.
8093 (elmo-pop3-connection-get-process): New defmacro.
8094 (elmo-pop3-connection-get-buffer): Ditto.
8095 (elmo-pop3-close-connection): Delete buffer and process.
8096 (elmo-pop3-flush-connection): Don't delete buffer and process.
8097 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8098 Setup UIDL and size hash.
8099 (elmo-pop3-send-command-no-erase): Deleted
8100 (elmo-pop3-send-command): Added optional argument `no-erase'.
8101 (elmo-pop3-parse-uidl-response): New function.
8102 (elmo-pop3-parse-list-response): Set size hash.
8103 (elmo-pop3-list-location): New function.
8104 (elmo-pop3-list-by-uidl-subr): Ditto.
8105 (elmo-pop3-list-by-list): Ditto.
8106 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8107 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8108 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8109 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8110 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8112 (elmo-pop3-uidl-to-number): New function.
8113 (elmo-pop3-number-to-uidl): Ditto.
8114 (elmo-pop3-number-to-size): Ditto.
8115 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8116 Set number by use of uidl.
8117 (elmo-pop3-msgdb-create-message): Likewise.
8118 Set size, loc-alist in msgdb.
8119 (elmo-pop3-read-msg): Set number by use of uidl.
8120 Added optional argument `msgdb'.
8121 (elmo-pop3-delete-msg): Ditto.
8122 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8123 (elmo-pop3-commit): Close connection.
8125 * elmo-pipe.el (elmo-pipe-max-of-folder):
8126 Bind `elmo-pop3-use-uidl' as nil.
8127 (elmo-pipe-drain): Ditto.
8130 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8131 (elmo-msgdb-overview-entity-set-size): New defsubst.
8133 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8135 * elmo-vars.el (elmo-use-killed-list): New variable
8136 (Renamed from `elmo-nntp-use-killed-list').
8137 (elmo-nntp-use-killed-list): Eliminated.
8139 * elmo-msgdb.el (elmo-msgdb-expand-path):
8140 Changed expanding msgdb path for elmo-multi.
8142 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8143 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8144 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8145 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8146 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8147 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8148 (toplevel): Deleted time-stamp line.
8150 * elmo2.el (elmo-clear-killed ): Defined as function
8151 (Abolished defining as a backend function).
8152 All other related modules are changed.
8154 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8156 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8158 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8160 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8162 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8164 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8166 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8168 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8169 asynchronous folder check.
8171 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8173 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8174 `elmo-nntp-use-killed-list'.
8175 (elmo-nntp-list-folder): Use killed list.
8176 (elmo-nntp-max-of-folder): Ditto.
8177 (elmo-nntp-msgdb-create): Set killed list.
8179 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8181 * elmo2.el (elmo-clear-killed): New backend function.
8182 All other related modules are changed.
8184 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8186 * elmo-util.el (elmo-imap4-spec-folder): Use
8187 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8188 All callers changed.
8190 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8192 * mmelmo-2.el (initialize-instance):
8193 Use `mime-buffer-entity-buffer-internal' instead of
8194 `mime-entity-buffer'.
8196 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8197 (mime-entity-body): Implemented.
8198 (mime-goto-header-start-point): Deleted.
8199 (mime-goto-body-end-point): Ditto.
8200 (mime-entity-point-min): Ditto.
8201 (mime-entity-point-max): Ditto.
8202 (mime-entity-children): Ditto.
8203 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8204 instead of `mime-entity-buffer'.
8205 (mime-entity-header-buffer): Ditto.
8206 (mime-entity-body-buffer): Ditto.
8207 (mime-write-entity-content): Ditto.
8209 * pldap.el (ldap-static-if): New macro.
8210 (toplevel): Use it instead of `static-if'.
8212 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8214 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8215 included in `attrs' argument.
8217 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8219 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8221 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8222 (ldap-ldif-safe-init-char-regexp): Ditto.
8223 (ldap-ldif-safe-string-regexp): Ditto.
8224 (ldap/ldif-safe-string-p): New macro.
8225 (ldap/ldif-insert-field): Ditto.
8226 (ldap-modify): Use it.
8228 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8229 (ldap-decode-attribute): Decode only when `attr' is consp.
8230 (ldap-delete): Bind `ret'.
8231 (toplevel): Require 'cl at compile time.
8232 Removed (require 'poe) and (require 'std11).
8233 (pldap-version): Eliminated.
8234 (ldap-search-basic): Removed auth and dn binding.
8235 (ldap-ldif-field-name-regexp): New constant.
8236 (ldap-ldif-field-head-regexp): Ditto.
8237 (ldap-ldif-next-field-head-regexp): Ditto.
8238 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8239 (ldap/field-end): New function.
8240 (ldap/field-body): Use it.
8241 (ldap/collect-field): Ditto.
8242 (ldap-search-basic): Use `ldap/field-body'.
8244 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8246 * pldap.el (ldap-default-attribute-encoder): New user option.
8247 (ldap/field-body): Decode base64 string.
8248 (ldap/collect-field): Ditto.
8249 (ldap-encode-attribute): New function.
8250 (ldap-add-entries): Use it.
8251 (ldap-modify-entries): Ditto.
8252 (ldap-search-entries): Enclosed decoding function with
8253 `with-temp-buffer' and set as unibyte.
8254 (ldap-search-basic): Set process buffer as unibyte.
8256 * elmo-util.el (elmo-folder-identical-system-p):
8257 Eliminated name space checking.
8259 * pldap.el: New module.
8260 toplevel: Changed condition to detect built-in ldap feature.
8261 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8262 (ldap-add): Added error handling.
8263 (ldap-modify): Ditto.
8264 (ldap-delete): Ditto.
8266 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8268 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8269 Initialize local variables with `let'. Inline a temporary
8270 variable for the progress percentage. Sort `setq' to reduce
8271 function call in the while-loop.
8273 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8274 into the conditional branch.
8276 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8278 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8279 Move a conditional out of the while-loop.
8281 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8283 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8284 elmo-msgdb-overview-get-entity-by-number.
8285 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8288 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8290 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8291 the local variable for a packed number self descriptively.
8293 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8295 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8296 * elmo-localdir.el (elmo-localdir-pack-number): Use
8297 `elmo-msgdb-overview-get-entity' instead of
8298 `elmo-msgdb-overview-get-entity-by-number'.
8299 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8300 (elmo-msgdb-search-overview-entity): Removed.
8301 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8302 by message-id or number.
8303 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8304 instead of `elmo-msgdb-overview-get-entity-by-number'.
8306 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8308 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8309 non-nil, use hash table for overview.
8310 (elmo-hash-maximum-size): New variable.
8311 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8312 (elmo-msgdb-make-overview-hashtb): New function.
8313 (elmo-msgdb-clear-overview-hashtb): New function.
8314 (elmo-clear-hash-val): New macro.
8315 All other related modules are changed.
8317 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8319 * elmo2.el (elmo-move-msgs): If there's other message with
8320 same message-id, don't use cache.
8322 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8324 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8325 number is already packed.
8327 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8329 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8331 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8333 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8334 All other related modules are changed.
8336 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8338 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8339 of refiling failure on Maildir.
8341 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8343 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8344 decoded mime-charset with cache.
8345 (elmo-msgdb-overview-entity-get-from): Ditto.
8346 (elmo-msgdb-overview-entity-get-subject): Ditto.
8347 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8349 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8351 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8352 (elmo-remove-passwd): Fill password with 0 before erase.
8353 * elmo-vars.el (elmo-passwd-life-time): New variable.
8356 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8358 * elmo-cache.el (elmo-buffer-cache-add):
8359 Set message cache buffer as unibyte.
8361 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8363 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8366 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8368 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8369 when display is finished.
8370 (elmo-nntp-msgdb-create): Ditto.
8371 (elmo-nntp-groups-read-response): Ditto.
8372 (elmo-nntp-retrieve-headers): Ditto.
8373 (elmo-nntp-msgdb-create-message): Ditto.
8374 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8375 (elmo-pop3-msgdb-create-message): Ditto.
8377 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8379 * elmo-maildir.el (elmo-maildir-msgdb-create):
8380 Use `elmo-msgdb-sort-by-date'.
8382 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8384 * elmo2.el (elmo-read-msg-no-cache):
8385 Eliminated arguments after `outbuf'.
8386 Don't use cache even if it exists.
8387 (elmo-read-msg): Don't pass arguments after `outbuf' to
8388 `elmo-read-msg-no-cache'.
8390 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8392 * elmo-archive.el (elmo-archive-list-folders):
8393 Use `file-name-directory' if base folder does not exist.
8395 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8397 * elmo-archive.el (elmo-archive-list-folders): Don't use
8398 `file-name-directory'.
8400 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8402 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8403 If `force' is non-nil, try flushing all operation queues.
8405 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8407 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8410 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8412 * elmo-util.el (elmo-display-progress): Fixed.
8414 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8416 * elmo-util.el (elmo-display-progress): New function.
8417 All other related modules are changed.