1 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
6 * elmo-multi.el (elmo-message-entity): Don't use return value of
7 `elmo-message-entity-set-number'.
9 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
11 * modb.el (modb-generic): Added slot `mime-charset'.
13 * modb-standard.el (modb-standard): Added slot `overview-handler'.
14 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
15 and `modb-entity-handler-dump-parameters'.
16 (modb-standard-default-entity-handler): Abolish.
17 (elmo-msgdb-message-entity-handler): Save created handler by
20 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
21 (modb-entity-handler-list-parameters): New method.
22 (modb-entity-handler-equal-p): New function.
23 (modb-entity-handler-dump-parameters): Ditto.
24 (modb-entity-parse-address-string): Encode return value.
25 (modb-entity-make-address-string): Decode argument value.
26 (modb-entity-decode-string-recursive): New function.
27 (modb-entity-encode-string-recursive): Ditto.
28 (modb-standard-entity-normalizer): Set to encode field value.
29 (modb-standard-entity-specializer): Follow the above change.
30 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
31 mime-charset of handler.
32 (elmo-msgdb-message-entity-field): Ditto.
33 (elmo-msgdb-copy-message-entity): Fixed reference to internal
35 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
37 * elmo.el (elmo-folder): Added slot `mime-charset'.
38 (elmo-make-folder): Added argument `mime-charset'.
39 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
42 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
43 (elmo-make-msgdb): Likewise.
45 * elmo-internal.el (elmo-internal-folder-initialize): Call
46 `luna-make-entity' with :mime-charset parameter.
48 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
50 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
51 encoded words in `from' and `subject' field.
53 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
55 * modb.el (elmo-msgdb-message-field): Add argument `type'.
56 (elmo-msgdb-match-condition): Get handler from entity instead of
59 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
60 (modb-standard-load-entity): Treat new file format.
61 (modb-standard-save-entity-1): Save as new file format.
62 (modb-standard-save-entity): Split messages into section here.
63 (elmo-msgdb-message-field): Follow the API change.
64 (modb-standard-default-entity-handler): New internal variable.
65 (elmo-msgdb-message-entity-handler): Define.
67 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
69 (modb-entity-field-extractor-alist): New user option.
70 (elmo-msgdb-message-entity-field): Removed argument `decode' and
71 added argument `type'.
72 (elmo-msgdb-copy-message-entity): Add optional argument
74 (modb-set-field-converter): New function.
75 (modb-convert-field-value): Ditto.
76 (modb-entity-string-decoder): Ditto.
77 (modb-entity-string-encoder): Ditto.
78 (modb-entity-parse-date-string): Ditto.
79 (modb-entity-make-date-string): Ditto.
80 (modb-entity-mime-decoder): Ditto.
81 (modb-entity-mime-encoder): Ditto.
82 (modb-entity-address-list-decoder): Ditto.
83 (modb-entity-address-list-encoder): Ditto.
84 (modb-entity-parse-address-string): Ditto.
85 (modb-entity-make-address-string): Ditto.
86 (modb-entity-create-field-indices): Ditto.
87 (modb-legacy-entity-field-slots): New constant.
88 (modb-legacy-entity-field-indices): Ditto.
89 (modb-legacy-entity-normalizer): New variable.
90 (modb-legacy-entity-specializer): Ditto.
91 (modb-legacy-entity-field-index): New macro.
92 (modb-legacy-entity-set-field): New function.
93 (modb-legacy-make-message-entity): Rewrite.
94 (elmo-msgdb-create-message-entity-from-buffer): Use
95 `elmo-msgdb-get-references-from-buffer'. Use
96 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
97 Use `modb-legacy-entity-set-field' instead of
98 `elmo-msgdb-message-entity-set-field'.
99 (elmo-msgdb-message-entity-field): Rewrite.
100 (elmo-msgdb-message-entity-set-field): Ditto.
101 (elmo-msgdb-copy-message-entity): Make new entity by
102 `make-handler' if it specified.
103 (elmo-msgdb-message-match-condition): Define a method of
104 `modb-entity-handler' and follow the API change.
105 (modb-standard-entity-handler): New class.
106 (modb-entity-extract-ml-info-from-x-sequence): New function.
107 (modb-entity-extract-ml-info-from-subject): Ditto.
108 (modb-entity-extract-ml-info-from-return-path): Ditto.
109 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
110 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
111 (modb-entity-extract-mailing-list-info): Ditto.
112 (modb-entity-extract-mailing-list-info-functions): New variable.
114 * elmo.el (elmo-message-field): Add optional argument `type'.
116 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
117 from `modb-entity.el'.
119 * elmo-util.el (elmo-object-load): Decode by coding-system from
120 `set-auto-coding-function'.
121 (elmo-object-save): Use `detect-mime-charset-region' and add
122 coding cookie if encode.
123 (elmo-msgdb-get-references-from-buffer): New function.
124 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
126 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
128 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
129 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
130 instead of `shimbun-make-header' and follow the API change.
131 (elmo-shimbun-update-overview): Follow the API change.
132 (elmo-map-folder-list-message-locations): Ditto.
134 * elmo-pipe.el (elmo-message-field): Ditto.
136 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
139 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
141 * elmo-multi.el (elmo-message-field): Ditto.
143 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
144 (elmo-msgdb-sort-by-date): Ditto.
145 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
146 `elmo-message-entity-field'.
147 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
149 (elmo-msgdb-overview-entity-get-from): Ditto.
150 (elmo-msgdb-overview-entity-get-subject): Ditto.
151 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
152 (elmo-msgdb-overview-entity-get-date): Ditto.
153 (elmo-msgdb-overview-entity-get-to): Ditto.
154 (elmo-msgdb-overview-entity-get-cc): Ditto.
156 * elmo-mime.el (elmo-message-mime-entity): Ditto.
157 (elmo-mime-collect-message/partial-pieces): Ditto.
159 * elmo-filter.el (elmo-message-field): Ditto.
161 * elmo-date.el (elmo-datevec-to-time): New function.
162 (elmo-time-parse-date-string): Ditto.
163 (elmo-time-make-date-string): Ditto.
166 * elmo-version.el (elmo-version): Up to 2.15.1.
168 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
170 * elmo-flag.el (elmo-global-flags-initialize): Don't include
171 member of elmo-local-flags.
173 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
175 * elmo-version.el (elmo-version): Up to 2.15.0.
177 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
179 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
180 `ignore-msgdb' is non-nil.
182 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
184 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
185 (elmo-condition-in-msgdb-p): Ditto.
186 (elmo-file-field-primitive-condition-match): Ditto.
187 (elmo-file-field-condition-match): Ditto.
189 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
191 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
193 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
195 (elmo-global-flags-initialize): New function.
197 * elmo.el (toplevel): Added autoload setting for
198 `elmo-global-flags-initialize'.
200 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
202 * elmo.el (message-number-changed): Define new signal.
203 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
204 message-number-changed signal.
205 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
206 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
207 Respect `elmo-pack-number-check-strict'.
209 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
211 * elmo-signal.el (elmo-connect-signal): Document.
212 (elmo-emit-signal): Ditto.
213 (elmo-emit-signal): It should pass source argument to filter and
214 handler, not slot-source.
216 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
218 * modb.el (elmo-msgdb-update-entity): New API and define generic
221 * modb-standard.el (elmo-msgdb-update-entity): Define.
223 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
224 API and define generic implement.
226 * elmo.el (update-overview): New singnal.
228 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
229 `elmo-msgdb-update-entity' and emit signal `update-overview'.
230 (elmo-message-entity-parent): Define.
232 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
235 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
237 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
239 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
241 * elmo.el (elmo-folder-synchronize): Sort the return value of
244 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
247 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
249 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
250 `default-enable-multibyte-characters'.
251 (elmo-object-load): Use `with-temp-buffer' instead of
253 (elmo-object-save): Ditto.
254 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
256 (elmo-decoded-field-body): Ditto.
258 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
260 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
261 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
263 * elmo-version.el (elmo-version): Up to 2.13.3.
265 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
267 * elmo-util.el (elmo-list-diff): Fix the last change.
268 Reverse order of result lists.
270 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
272 * modb-standard.el (elmo-msgdb-set-flag): Use
273 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
274 (elmo-msgdb-unset-flag): Ditto.
276 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
279 * elmo-util.el (elmo-list-diff): Rewrite.
280 (elmo-list-diff-nonsortable): New function.
282 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
284 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
285 `elmo-multibypte-buffer-name'. All referers are updated.
287 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
289 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
290 (elmo-mime-entity-fragment-p): New function.
291 (mime-elmo-buffer-entity): Added slot `reassembled'.
292 (elmo-message-mime-entity): Added 4th argument `reassemble'.
293 (elmo-message-mime-entity-internal): New function (renamed from
294 `elmo-message-mime-entity').
295 (elmo-mime-inherit-field-list-from-enclosed): New constant.
296 (elmo-mime-make-reassembled-mime-entity): New function.
297 (elmo-message-reassembled-mime-entity): Ditto.
298 (elmo-mime-collect-message/partial-pieces): Ditto.
300 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
302 * elmo.el (elmo-message-fetch-string): Disable multibyte.
304 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
305 (elmo-with-enable-multibyte): New macro.
307 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
309 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
311 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
313 (elmo-filter-connect-signals): Follow the above change.
315 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
317 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
319 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
320 that only the first flag is used.
322 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
324 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
327 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
329 * elmo-signal.el: New file.
331 * elmo.el (toplevel): Require elmo-signal.
332 (flag-changing, flag-changed, cache-changed): New signal.
333 (elmo-folder): Remove slog `handlers'.
334 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
335 `elmo-folder-notify-event'.
336 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
337 (elmo-folder-unset-flag): Ditto.
338 (elmo-event-handler): Abolish.
339 (elmo-event-handler-flag-changed): Ditto.
340 (elmo-event-handler-cache-changed): Ditto.
341 (elmo-folder-add-handler): Ditto.
342 (elmo-folder-remove-handler): Ditto.
343 (elmo-folder-notify-event): Ditto.
345 * elmo-pipe.el (toplevel): Require elmo-signal.
346 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
347 (elmo-pipe-connect-signals): New function.
348 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
349 (elmo-folder-set-flag): Ditto.
350 (elmo-folder-unset-flag): Ditto.
351 (elmo-message-set-cached): Ditto.
353 * elmo-multi.el (toplevel): Require elmo-signal.
354 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
355 (elmo-multi-connect-signals): New function.
356 (elmo-multi-map-numbers): Ditto.
357 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
358 (elmo-message-fetch): Ditto.
359 (elmo-folder-set-flag): Ditto.
360 (elmo-folder-unset-flag): Ditto.
362 * elmo-filter.el (toplevel): Require elmo-signal.
363 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
364 (elmo-filter-connect-signals): New function.
365 (elmo-filter-add-flag-count): Ditto.
366 (elmo-message-fetch): Does not call
367 `elmo-filter-folder-countup-message-flags' and
368 `elmo-folder-notify-event'.
369 (elmo-message-set-cached): Ditto.
370 (elmo-folder-set-flag): Ditto.
371 (elmo-folder-unset-flag): Ditto.
373 * elmo-version.el (elmo-version): Up to 2.13.2.
375 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
377 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
380 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
382 * elmo-filter.el (elmo-message-set-cached): Call
383 `elmo-folder-notify-event' with event `cache-changed'.
385 * elmo-multi.el (elmo-message-set-cached): Ditto.
387 * elmo-pipe.el (elmo-message-set-cached): Ditto.
389 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
391 * elmo.el (elmo-folder-encache): Abolish.
393 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
395 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
396 (elmo-folder-next-message-number-dop): Return appropriate negative
399 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
401 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
402 clearing pending operations.
403 (elmo-folder-next-message-number-dop): Return appropriate negative
406 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
408 * elmo.el (toplevel): Added autoload setting for `md5'.
409 (elmo-msgdb-path-encode-threshold): New user option.
410 (elmo-folder-msgdb-path): Encode msgdb path if its length is
411 longer than `elmo-msgdb-path-encode-threshold'.
413 * elmo-flag.el (elmo-global-mark-migrate): Use
414 `elmo-folder-expand-msgdb-path' instead of
415 `elmo-folder-msgdb-path'.
417 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
419 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
420 element of the difference is nil.
422 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
424 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
425 to the check logic of file systems which are weak in colon character.
427 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
429 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
431 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
433 * elmo-maildir.el (elmo-maildir-move-file): New function.
434 (elmo-folder-append-buffer): Use it.
435 (elmo-folder-append-messages): Ditto.
436 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
438 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
439 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
441 * elmo-maildir.el (elmo-maildir-separator): New user option.
442 (elmo-maildir-adjust-separator): New macro.
443 (elmo-maildir-list-location): Use it.
444 (elmo-maildir-update-current): Ditto.
445 (elmo-maildir-set-mark): Ditto.
446 (elmo-maildir-delete-mark): Ditto.
447 (These changes are based on Hiroya Murata's patch [wl: 13437])
449 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
451 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
453 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
455 * elmo-flag.el (elmo-flag-valid-p): Simplify.
456 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
457 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
459 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
461 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
462 Use `with-temp-buffer'.
464 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
466 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
468 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
469 `wl-read-search-condition').
470 (elmo-read-search-condition-internal): Likewise.
472 * elmo-flag.el (elmo-flag-char-regexp): New constant.
473 (elmo-flag-valid-p): New function.
474 (elmo-folder-initialize): Check flag name is valid.
476 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
478 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
479 delimiter to obtain root mailbox itself.
481 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
483 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
486 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
488 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
491 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
493 * elmo-shimbun.el (toplevel): Require cl at compile.
495 * elmo-nntp.el (toplevel): Ditto.
497 * elmo-nmz.el (toplevel): Ditto.
499 * elmo-multi.el (toplevel): Ditto.
501 * elmo-file.el (toplevel): Ditto.
503 * elmo-dop.el (toplevel): Ditto.
505 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
507 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
509 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
512 * elmo.el (elmo-message-fetch): Return t even when the output buffer
513 size of elmo-message-fetch-internal is 0 byte.
515 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
517 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
519 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
521 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
524 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
526 * elmo-maildir.el (elmo-map-message-fetch): Call
527 `elmo-map-folder-set-flag'.
529 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
530 (elmo-message-fetch): Merge from
531 `elmo-message-fetch-with-cache-process'.
533 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
534 (elmo-message-fetch): Define.
536 * elmo-nntp.el (elmo-message-fetch): Renamed from
537 `elmo-message-fetch-with-cache-process'.
539 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
540 (elmo-message-fetch): Define.
542 * elmo-util.el (elmo-condition-parse-primitive): Downcase
545 * elmo-shimbun.el (shimbun-mua-search-id): Use
546 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
547 (elmo-shimbun-folder-shimbun-header): Ditto.
548 (elmo-shimbun-get-headers): Ditto.
549 (elmo-shimbun-update-overview): Ditto.
551 * elmo-pipe.el (elmo-folder-detach-messages): Define.
553 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
554 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
556 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
558 * elmo.el (elmo-message-fetch): Unset unread flag on server when
560 (elmo-message-fetch-string): Fixed argument.
562 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
564 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
565 exchange order of arguments `section' and `unread'.
566 (elmo-message-encache): Follow the API change.
567 (elmo-message-match-condition): Ditto.
568 (elmo-generic-folder-append-messages): Ditto.
569 (elmo-message-fetch-string): New function.
571 * elmo-split.el (elmo-split-subr): Ditto.
573 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
575 * elmo-pipe.el (elmo-message-fetch): Ditto.
577 * elmo-multi.el (elmo-message-fetch): Ditto.
579 * elmo-mime.el (elmo-message-mime-entity): Ditto.
581 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
583 * elmo-filter.el (elmo-message-fetch): Ditto.
585 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
587 * elmo-imap4.el (mime-imap-location-section-body): Use
588 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
589 follow the API change.
591 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
593 * elmo-access.el: New file.
595 * elmo-null.el: Ditto.
597 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
599 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
601 * elmo-net.el (elmo-network-session-idle-timeout): New option.
602 (elmo-network-session): New attribute `last-accessed'.
603 (elmo-network-get-session): Discard network cache if elapsed time
604 since last-accessed is larger than elmo-network-session-idle-timeout.
606 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
608 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
609 and added `number', `require-entireness'.
610 (elmo-find-fetch-strategy): Rewrite.
611 (elmo-message-fetch): Unset `unread' flag when argument unread is
614 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
616 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
617 (elmo-message-fetch): Notify event `flag-changed'.
619 * elmo-pipe.el: Likewise.
621 * elmo-mime.el (elmo-mime-entity): New class.
622 (elmo-mime-entity-display-p): New generic function.
623 (elmo-mime-entity-display): Ditto.
624 (elmo-mime-entity-display-as-is): Ditto.
625 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
627 (elmo-make-mime-message-location): Removed.
628 (elmo-mime-message-display): Ditto.
629 (elmo-mime-display-as-is): Ditto.
630 (elmo-message-mime-entity): New function.
632 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
634 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
636 (elmo-message-fetch): Re-count flagged message number and notify
637 event `flag-changed'.
639 * elmo-version.el (elmo-version): Up to 2.13.1.
641 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
643 * elmo-filter.el (elmo-message-field): Define.
644 (elmo-message-set-field): Ditto.
646 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
648 * elmo.el (elmo-message-set-cached): Call
649 `elmo-folder-notify-event' with cache-changed.
650 (elmo-event-handler-cache-changed): New generic function.
652 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
654 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
655 instead of elmo-add-name-to-file.
656 (elmo-folder-append-messages): Ditto.
658 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
660 * elmo.el (elmo-folder-update-threshold): Add nil to range.
662 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
664 * elmo-version.el (elmo-version): Up to 2.13.0.
666 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
669 * modb-standard.el (modb-standard-economize-entity-size): Changed
670 default value to `t'.
672 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
675 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
676 after parsing greeting string.
678 2004-11-23 Daishi Kato <daishi@axlight.com>
680 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
682 (elmo-spam-spamoracle-call): Use it.
684 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
686 * elmo.el (elmo-message-accessible-p): Message in dop spool
689 2004-11-23 Daishi Kato <daishi@axlight.com>
691 * elsp-spamoracle.el: New file.
693 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
695 * elmo.el (elmo-message-flags-for-append): New function.
696 (elmo-generic-folder-append-messages): Use it.
698 * elmo-split.el (elmo-split-subr): Ditto.
700 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
701 `flags' and use elmo-folder-append-buffer instead of
702 write-region-as-binary.
703 (elmo-dop-filter-pending-messages): New function.
704 (elmo-folder-append-buffer-dop): Call
705 elmo-dop-spool-folder-append-buffer with `flag'.
706 (elmo-folder-set-flag-dop): Filter messages by
707 elmo-dop-filter-pending-messages.
708 (elmo-folder-unset-flag-dop): Ditto.
709 (elmo-folder-append-buffer-dop-delayed): Use
710 elmo-message-flags-for-append to get flags of the message and
713 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
715 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
717 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
719 * elmo.el (elmo-folder): Added handlers slot.
720 (elmo-event-handler): New class.
721 (elmo-event-handler-flag-changed): New API.
722 (elmo-folder-add-handler): New function.
723 (elmo-folder-remove-handler): Ditto.
724 (elmo-folder-notify-event): Ditto.
725 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
727 (elmo-folder-unset-flag): Ditto.
729 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
730 (elmo-folder-unset-flag): Ditto.
732 * elmo-multi.el (elmo-folder-set-flag): Ditto.
733 (elmo-folder-unset-flag): Ditto.
735 * elmo-filter.el (elmo-folder-set-flag): Ditto.
736 (elmo-folder-unset-flag): Ditto.
738 * elmo-version.el (elmo-version): Up to 2.11.33.
740 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
742 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
744 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
746 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
748 * elmo-flag.el (elmo-folder-unset-flag): Define.
749 (elmo-global-flag-detach): Do process when the flag is not target
752 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
754 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
756 (elmo-msgdb-create-message-entity-from-buffer): Use it.
758 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
760 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
762 (elmo-folder-delete-messages): Detach messages before delete
763 messages from target folder.
764 (elmo-folder-detach-messages): Set updated number-list to slot.
766 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
768 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
770 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
772 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
774 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
776 * elmo.el (elmo-folder-delete-messages-internal): New API (for
778 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
780 (elmo-folder-delete-messages): Define.
781 (elmo-folder-move-messages): Don't call
782 `elmo-folder-detach-messages'.
783 (elmo-folder-synchronize): Rewrite.
784 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
786 * elmo-util.el (elmo-last): New function.
787 (elmo-set-list): Ditto.
788 (elmo-number-set-delete-list): Ditto.
789 (elmo-number-set-delete): Ditto.
791 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
793 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
794 `elmo-folder-delete-messages' and don't delete location map.
795 (elmo-folder-detach-messages): Define.
797 * elmo-imap4.el (elmo-folder-delete): Use
798 `elmo-folder-delete-messages-internal' instead of
799 `elmo-folder-delete-messages'.
801 * elmo-filter.el (elmo-folder-delete-messages): Call
802 `elmo-folder-detach-messages'.
803 (elmo-folder-detach-messages): Don't call
804 `elmo-folder-detach-messages' for target folder.
806 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
807 message deletion is succeeded.
809 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
811 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
812 from `elmo-folder-delete-messages'.
814 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
816 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
818 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
820 * elmo-version.el (elmo-version): Up to 2.11.32.
822 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
824 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
825 (elmo-global-flag-list): Added obsolete variable setting.
827 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
829 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
830 (elmo-mime-insert-header-from-buffer): Don't decode header content when
831 `elmo-mime-display-header-analysis' is nil.
833 * elmo-flag.el (elmo-global-flags): Renamed from
834 `elmo-global-flag-list' (All other related portions are changed).
835 (elmo-local-flags): New variable.
836 (elmo-local-flag-p): New function.
837 (elmo-global-flag-set-internal): Cause an error when flag is not
840 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
842 * elmo-util.el (elmo-concat-path): Treat empty path.
844 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
846 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
848 (elmo-split-address-match): Ditto.
849 (elmo-split-equal): Ditto.
850 (elmo-split-match): Ditto.
852 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
854 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
855 (elmo-generic-folder-append-messages): If src message exists but
856 has no flag, pass (read) for the FLAG argument of
857 `elmo-folder-append-buffer'. Otherwise, pass nil.
859 * elmo-split.el (elmo-split-subr): Likewise.
861 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
863 * elmo-multi.el (elmo-message-flags): Ditto.
865 * elmo-filter.el (elmo-message-flags): Ditto.
867 * elmo.el (elmo-folder-append-buffer): Fix docstring.
868 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
869 pass (read) for the FLAG argument of elmo-folder-append-buffer.
871 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
873 * elmo-split.el (elmo-split-rule): Update comment.
874 (elmo-split-address-equal): Allow 2nd argument to be a list.
875 (elmo-split-address-match): Ditto.
876 (elmo-split-equal): Ditto.
877 (elmo-split-match): Ditto.
879 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
881 * elmo.el (elmo-folder-append-buffer): Fix docstring.
882 (elmo-folder-append-msgdb): Don't treat `read'.
883 (elmo-message-flags): Don't return `read'.
885 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
886 (elmo-folder-unset-read-delayed): Ditto.
888 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
890 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
892 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
895 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
897 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
900 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
902 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
904 (elmo-msgdb-save): Bind inhibit-quit.
905 (modb-standard-message-entity): Ditto.
907 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
909 * elmo-database.el: No need to require elmo-msgdb.
911 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
913 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
914 instead of `elmo-list-subdirectories'.
916 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
918 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
920 (elmo-folder-exists-p): "[" is empty.
921 (elmo-folder-list-subfolders): Define.
922 (elmo-folder-have-subfolder-p): Ditto.
924 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
926 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
928 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
930 * elmo-filter.el (elmo-folder-local-p): Define.
932 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
934 * modb-standard.el (modb-standard-loaded-message-id): Return nil
935 when entity is garbaged.
936 (modb-standard-save-entity-1): Don't modify the original entity.
938 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
940 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
942 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
944 * elmo.el (elmo-strict-folder-diff): Use
945 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
947 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
949 * modb.el (elmo-msgdb-flag-available-p): New generic function.
950 (elmo-msgdb-message-number): Ditto.
951 (elmo-msgdb-message-field): Ditto.
953 * modb-standard.el (modb-standard-economize-entity-size): New user
955 (modb-standard-loaded-message-id): New inline function.
956 (modb-standard-load-entity): Use it.
957 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
958 throw message-id string away.
959 (elmo-msgdb-flag-available-p): Define.
960 (elmo-msgdb-message-number): Ditto.
961 (elmo-msgdb-message-field): Ditto.
963 * modb-legacy.el (modb-legacy-flag-list): Fix typo
964 (suppoted -> supported).
965 (modb-legacy-supported-flag-p): Ditto.
966 (elmo-msgdb-set-flag): Ditto.
967 (elmo-msgdb-unset-flag): Ditto.
968 (elmo-msgdb-flag-available-p): Define.
970 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
971 is `t', treat it as legacy entity.
973 * elmo.el (elmo-message-flag-available-p): New generic function.
974 (elmo-message-number): Ditto.
975 (elmo-message-field): Use `elmo-msgdb-message-field'.
977 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
979 * elmo-pipe.el (elmo-message-flag-available-p): Define.
980 (elmo-message-number): Ditto.
982 * elmo-multi.el (elmo-message-number): Define.
983 (elmo-message-flag-available-p): Ditto.
985 * elmo-filter.el (elmo-message-flag-available-p): Define.
986 (elmo-message-number): Ditto.
988 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
989 (elmo-folder-initialize): Load `max-number'.
990 (elmo-folder-commit): Save it.
991 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
992 (elmo-global-flag-set-internal): Set up max-number slot.
994 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
996 * elmo-version.el (elmo-version): Up to 2.11.31.
998 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1000 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1001 unibyte string of the current buffer for the argument of `md5'
1002 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1004 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1006 * modb-legacy.el (modb-legacy-flag-list): New constant.
1007 (modb-legacy-suppoted-flag-p): New internal function.
1008 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1009 (elmo-msgdb-unset-flag): Ditto.
1011 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1013 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1015 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1018 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1020 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1021 (follow the API change).
1023 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1025 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1027 * modb-standard.el (modb-standard-digest-flags): Abolish.
1028 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1030 * elmo-vars.el (elmo-digest-flags): New variable.
1031 (elmo-preserved-flags): Moved from elmo-flag.el.
1033 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1034 (elmo-imap4-flag-to-imap-criteria): Ditto.
1035 (elmo-imap4-folder-list-flagged): Use it.
1037 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1039 * elmo.el (elmo-folder-count-flags): Changed return value.
1041 * elmo-flag.el (elmo-preserved-flags): New variable.
1042 (elmo-get-global-flags): Use it.
1044 * modb-standard.el (modb-standard-digest-flags): New variable.
1045 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1046 Changed behavior of `any'.
1048 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1049 which are defined the Internet draft
1050 (draft-melnikov-imap-keywords-03.txt).
1051 (elmo-imap4-flags-to-imap): New function.
1052 (elmo-folder-append-buffer): Use it.
1054 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1057 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1058 avoid the bug of Emacs 21.3.
1060 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1062 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1063 function find-coding-system does not exist.
1065 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1067 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1070 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1072 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1075 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1077 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1078 (elmo-network-close-session): Follow the changes in
1079 `elmo-pop3-read-response'.
1080 (elmo-pop3-auth-user): Ditto.
1081 (elmo-pop3-auth-apop): Ditto.
1082 (elmo-network-initialize-session): Ditto.
1083 (elmo-network-authenticate-session): Ditto.
1084 (elmo-network-setup-session): Ditto.
1085 (elmo-folder-status): Ditto.
1086 (elmo-message-fetch-plugged): Ditto.
1087 (elmo-pop3-delete-msg): Ditto.
1089 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1091 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1094 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1096 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1098 (elmo-bind-directory): Ditto.
1100 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1102 * elmo.el (elmo-folder-append-messages): Note on return value.
1103 * elmo-archive.el (elmo-folder-append-messages): Don't return
1104 message numbers which could not be appended.
1106 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1108 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1110 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1112 * elmo-version.el (elmo-version): Up to 2.11.30.
1114 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1116 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1119 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1121 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1122 (elmo-multi-split-numbers): Add elmo-folder object into each
1123 element of return value at first.
1124 (elmo-folder-delete-messages): Follow the above change.
1125 (elmo-folder-detach-messages): Ditto.
1127 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1128 number which is synchronized in target folder.
1130 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1132 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1133 Change default value to symbol `all'.
1134 (elmo-map-message-fetch): Change condition to update overview
1137 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1139 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1140 behavior to update overview.
1141 (elmo-shimbun-update-overview-folder-list): Note it.
1143 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1145 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1148 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1150 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1151 buffer-disable-undo, it is unnecessary.
1152 (elmo-spam-register-good-messages): Ditto.
1154 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1157 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1159 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1161 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1162 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1163 elmo-set-buffer-multibyte.
1164 (elmo-object-load): Ditto.
1165 (elmo-save-buffer): Ditto.
1166 (elmo-delete-char): Ditto.
1167 (elmo-file-field-primitive-condition-match): Ditto.
1168 (elmo-mime-string): Ditto.
1170 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1171 (elmo-archive-field-condition-match): Ditto.
1173 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1175 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1177 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1178 (elmo-nntp-msgdb-create-message): Ditto.
1180 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1182 * elmo.el (elmo-message-match-condition): Ditto.
1183 (elmo-message-match-condition): Ditto.
1185 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1188 * elmo-version.el (elmo-version): Up to 2.11.29.
1190 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1191 (elsp-header): New backend.
1193 * elmo-util.el (elmo-decoded-field-body): New function.
1195 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1197 * elmo-version.el (elmo-version): Up to 2.11.28.
1199 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1201 * elmo-filter.el: Rewrite.
1203 * elmo-version.el (elmo-version): Up to 2.11.27.
1205 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1207 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1208 msgdb path for the localdir folder with absolute path.
1210 * utf7.el: Synch up with latest gnus/utf7.el;
1211 Modified for latest Emacs.
1213 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1215 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1216 shimbun backend couldn't open.
1218 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1220 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1221 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1222 when a destination folder is a filter folder.
1224 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1226 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1227 (elmo-generic-folder-append-messages): Call elmo-message-flags
1228 with argument `msgid'.
1230 * elmo-split.el (elmo-split-subr): Ditto.
1232 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1234 * elmo-multi.el (elmo-message-flags): Ditto.
1236 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1238 * elmo.el (elmo-folder): Add new slot `flag-table'.
1239 (elmo-folder-flag-table): New API.
1240 (elmo-folder-close-flag-table): Ditto.
1241 (elmo-folder-preserve-flags): New function.
1242 (elmo-generic-folder-append-messages): Use
1243 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1244 Flag of a non-registered message, it sets to nil.
1245 Does not set flag to flag-table.
1247 * elmo-maildir.el (elmo-folder-append-buffer): Use
1248 `elmo-folder-preserve-flags'.
1249 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1250 `elmo-folder-close-flag-table'.
1252 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1253 (elmo-archive-folder-append-buffer): Use
1254 `elmo-folder-preserve-flags'.
1256 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1258 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1260 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1261 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1262 `elmo-folder-close-flag-table'.
1264 * elmo-version.el (elmo-version): Up to 2.11.26.
1266 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1268 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1270 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1271 md5's 4th and 5th argument (non-existent in flim one).
1273 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1275 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1276 message, It sets to nil.
1278 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1280 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1283 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1285 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1287 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1289 * elmo-util.el (elmo-uniq-sorted-list): New function.
1290 (elmo-make-number-list): Ditto.
1291 (elmo-number-set-to-number-list): Use elmo-make-number-list
1292 and don't use nreverse.
1294 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1296 * elmo-version.el (elmo-version): Up to 2.11.25.
1298 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1300 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1301 field not exists in message, Use md5 message digest of header.
1303 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1305 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1306 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1307 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1308 * elmo-split.el (elmo-split-subr): Check return value of
1309 elmo-folder-append-buffer.
1311 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1312 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1314 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1317 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1319 * elmo-split.el (elmo-split-subr): Append message with flag.
1321 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1322 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1323 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1325 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1327 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1328 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1329 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1331 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1333 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1334 with a function call of `process-buffer'. All callers are updated.
1335 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1336 Remove redundant `set-buffer' in a while loop.
1338 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1340 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1343 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1345 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1346 elsp-spamfilter-register-buffer-internal with current buffer.
1347 (elmo-spam-register-spam-buffer): Ditto.
1348 (elmo-spam-register-good-buffer): Ditto.
1350 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1352 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1353 if it is not contained in the response(A workaround for courier-imap).
1355 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1357 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1360 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1362 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1365 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1367 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1370 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1372 (elmo-msgdb-message-match-condition): Follow the change above.
1374 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1376 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1379 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1381 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1383 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1385 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1387 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1389 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1392 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1394 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1396 (elmo-file-command-argument): Undo last change for cygwin.
1397 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1399 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1401 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1403 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1404 value returned from elmo-file-find is nil.
1406 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1408 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1411 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1412 instead of insert-file-contents-as-binary.
1413 (elmo-message-set-field): New generic function.
1415 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1416 behavior change on `split-string'.
1418 * elmo-file.el (elmo-file-find): New function.
1419 (elmo-file-command): New user option.
1420 (elmo-file-command-argument): Ditto.
1421 (elmo-file-fetch-max-size): Ditto.
1422 (elmo-file-detect-format): New function.
1423 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1424 Use elmo-file-detect-format.
1425 (elmo-map-folder-list-message-locations): Don't treat directories.
1427 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1429 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1430 (elmo-passwd-alist-clear): Shred password before clear.
1431 (elmo-remove-passwd): Remove all mached pair.
1433 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1435 * elmo.el (elmo-folder-synchronize): Fix description of the return
1438 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1440 * elmo.el (elmo-message-fetch-bodystructure): New method.
1441 (elmo-message-fetch-bodystructure): Define default.
1443 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1444 elmo-message-fetch-bodystructure.
1445 (elmo-message-fetch-bodystructure): Define.
1447 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1449 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1451 * elmo-filter.el (elmo-message-folder): Define.
1453 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1455 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1456 elmo-delete-cr-buffer.
1458 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1460 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1462 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1464 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1465 type seems to be a text.
1467 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1469 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1470 (elmo-spam-register-good-buffer): Ditto.
1471 (elmo-spam-spamassassin-register-messages): Ditto.
1473 * elmo-util.el (elmo-string-member-ignore-case): Define with
1476 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1478 * elmo.el (elmo-folder-type): Undo last change.
1480 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1482 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1485 * elmo-file.el: New file.
1487 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1489 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1491 (elmo-spam-spamassassin-register-messages): New inline function.
1492 (elmo-spam-register-spam-messages): Define.
1493 (elmo-spam-register-good-messages): Ditto.
1495 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1498 * elmo.el (toplevel): Added autoload setting for
1499 `elmo-get-global-flags'.
1500 (elmo-message-has-global-flag-p): New function.
1501 (elmo-message-set-global-flags): Ditto.
1502 (elmo-folder-type): Improvement for name: format.
1504 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1505 availability of keyword flags.
1506 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1507 (elmo-folder-list-flagged-plugged): Renamed from
1508 elmo-folder-list-flagged-unplugged.
1509 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1510 accept any flag as keyword flag.
1511 (elmo-folder-set-flag-plugged): Accept keyword flags.
1512 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1514 * elmo-flag.el (elmo-get-global-flags): New function.
1516 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1519 * elmo-version.el (elmo-version): Up to 2.11.24.
1521 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1523 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1524 elmo-multiple-field-body instead of std11-field-body to check all
1527 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1529 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1532 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1534 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1535 unintern is unbound.
1537 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1539 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1540 Protect from infinite loop.
1542 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1544 * elsp-bogofilter.el
1545 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1546 (elmo-spam-bogofilter-register-messages): New internal function.
1547 (elmo-spam-register-spam-messages): Define.
1548 (elmo-spam-register-good-messages): Ditto.
1550 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1552 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1553 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1554 (elmo-spam-bogofilter-call): Fixed the last change.
1555 (elmo-spam-bogofilter-arguments): Ditto.
1557 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1558 Follow the options change of latest bogofilter.
1560 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1561 (elmo-spam-bogofilter-good-switch): Ditto.
1562 (elmo-spam-bogofilter-arguments-alist): New user option.
1563 (elmo-spam-bogofilter-debug): Ditto.
1564 (elmo-spam-bogofilter-call): Renamed from
1565 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1566 is non-nil, insert output in buffer for debug.
1567 (elmo-spam-bogofilter-arguments): New macro.
1568 (elmo-spam-buffer-spam-p): Use it.
1569 (elsp-bogofilter-register-buffer): Ditto.
1571 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1573 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1576 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1578 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1580 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1581 (elmo-spam-bsfilter-program): Set default value as full path for
1583 (elmo-spam-bsfilter-debug): New user option.
1584 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1585 non-nil, insert output in buffer for debug. Fix treating of
1588 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1590 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1591 `elmo-maildir-flag-specs' element instead of one.
1592 (elmo-map-folder-unset-flag): Ditto.
1593 (Reported by Ken Makimura <macky@astem.or.jp>)
1595 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1596 (elmo-folder-unset-flag-plugged): Ditto.
1598 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1600 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1601 to `reads' slot only if `in-msgdb' is nil.
1603 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1605 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1606 and complement argument list.
1608 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1610 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1611 instead of elmo-folder-list-flagged.
1613 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1615 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1617 * elsp-bsfilter.el: New file.
1619 * elmo-pipe.el (elmo-folder-list-unreads,
1620 elmo-folder-list-answereds,
1621 elmo-folder-list-importants,
1622 elmo-folder-flag-as-important,
1623 elmo-folder-unflag-important,
1624 elmo-folder-flag-as-read,
1625 elmo-folder-unflag-read,
1626 elmo-folder-flag-as-answered,
1627 elmo-folder-unflag-answered): Remove.
1628 (elmo-folder-set-flag): Define.
1629 (elmo-folder-unset-flag): Ditto.
1631 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1632 (elmo-folder-set-flag): Define.
1633 (elmo-folder-unset-flag): Ditto.
1634 (elmo-folder-list-unreads): Remove.
1635 (elmo-folder-list-flagged): Define.
1637 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1638 (elmo-folder-list-unreads,
1639 elmo-folder-list-importants,
1640 elmo-folder-list-answereds,
1641 elmo-folder-list-unreads-plugged,
1642 elmo-folder-list-importants-plugged,
1643 elmo-folder-list-answereds-plugged): Remove.
1644 (elmo-folder-list-flagged-plugged): New method.
1645 (elmo-folder-unflag-important,
1646 elmo-folder-flag-as-important,
1647 elmo-folder-unflag-read,
1648 elmo-folder-flag-as-read,
1649 elmo-folder-unflag-answered,
1650 elmo-folder-flag-as-answered,
1651 elmo-folder-flag-as-read-unplugged,
1652 elmo-folder-unflag-read-unplugged,
1653 elmo-folder-flag-as-important-unplugged,
1654 elmo-folder-unflag-important-unplugged,
1655 elmo-folder-flag-as-answered-unplugged,
1656 elmo-folder-unflag-answered-unplugged): Remove.
1657 (elmo-folder-set-flag): Define.
1658 (elmo-folder-unset-flag): Ditto.
1659 (elmo-folder-set-flag-unplugged): Ditto.
1660 (elmo-folder-unset-flag-unplugged): Ditto.
1662 * elmo-multi.el (elmo-folder-list-unreads,
1663 elmo-folder-list-answereds,
1664 elmo-folder-list-importants,
1665 elmo-folder-flag-as-important,
1666 elmo-folder-unflag-important,
1667 elmo-folder-flag-as-read,
1668 elmo-folder-unflag-read,
1669 elmo-folder-flag-as-answered,
1670 elmo-folder-unflag-answered): Remove.
1671 (elmo-folder-set-flag): Define.
1672 (elmo-folder-unset-flag): Ditto.
1674 * elmo-map.el (elmo-map-folder-unflag-important,
1675 elmo-map-folder-flag-as-important,
1676 elmo-map-folder-unflag-read,
1677 elmo-map-folder-flag-as-read,
1678 elmo-map-folder-unflag-answered,
1679 elmo-map-folder-flag-as-answered): Remove.
1680 (elmo-map-folder-set-flag): New method.
1681 (elmo-map-folder-unset-flag): Ditto.
1682 (elmo-map-folder-list-unreads,
1683 elmo-map-folder-list-importants,
1684 elmo-map-folder-list-answereds): Remove.
1685 (elmo-folder-list-flagged-internal): Define.
1686 (elmo-map-folder-list-flagged): New method.
1688 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1689 (elmo-map-folder-list-unreads,
1690 elmo-map-folder-list-importants,
1691 elmo-map-folder-list-flagged): Remove.
1692 (elmo-map-folder-list-flagged): Define.
1693 (elmo-map-folder-flag-as-important,
1694 elmo-map-folder-unflag-important,
1695 elmo-map-folder-flag-as-read,
1696 elmo-map-folder-unflag-read,
1697 elmo-map-folder-flag-as-answered,
1698 elmo-map-folder-unflag-answered): Remove.
1699 (elmo-maildir-set-mark-messages): New internal function.
1700 (elmo-map-folder-set-flag): Define.
1701 (elmo-map-folder-unset-flag): Ditto.
1703 * elmo.el (toplevel): Added autoload setting for
1704 `elmo-folder-list-global-flag-messages'.
1705 (elmo-folder-list-unreads,
1706 elmo-folder-list-importants,
1707 elmo-folder-list-answereds): Remove.
1708 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
1709 Return a list whitch merged with messages have global flag.
1710 (elmo-folder-list-flagged-internal): New method.
1711 (elmo-folder-unflag-important,
1712 elmo-folder-flag-as-important,
1713 elmo-folder-unflag-read,
1714 elmo-folder-flag-as-read,
1715 elmo-folder-unflag-answered,
1716 elmo-folder-flag-as-answered): Remove.
1717 (elmo-folder-set-flag): New method.
1718 (elmo-folder-unset-flag): Ditto.
1719 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
1720 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
1722 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
1723 (elmo-folder-list-unreads-plugged,
1724 elmo-folder-list-importants-plugged,
1725 elmo-folder-list-answereds-plugged,
1726 elmo-folder-list-flagged-unplugged,
1727 elmo-folder-unflag-important-plugged,
1728 elmo-folder-flag-as-important-plugged,
1729 elmo-folder-unflag-read-plugged,
1730 elmo-folder-flag-as-read-plugged,
1731 elmo-folder-unflag-answered-plugged,
1732 elmo-folder-flag-as-answered-plugged): Remove.
1733 (elmo-folder-set-flag-plugged,
1734 elmo-folder-unset-flag-plugged): Define.
1736 * elmo-flag.el (elmo-folder-initialize): Register to
1737 `elmo-global-flag-list' if flag is not global.
1738 (elmo-folder-append-messages): Set flag to source messages.
1740 * elmo-filter.el (elmo-filter-folder-list-unreads,
1741 elmo-folder-list-unreads,
1742 elmo-filter-folder-list-importants,
1743 elmo-folder-list-importants,
1744 elmo-folder-flag-as-read,
1745 elmo-folder-unflag-read,
1746 elmo-folder-flag-as-important,
1747 elmo-folder-unflag-important,
1748 elmo-folder-flag-as-answered,
1749 elmo-folder-unflag-answered): Remove.
1750 (elmo-folder-set-flag): Define.
1751 (elmo-folder-unset-flag): Ditto.
1753 * elmo-dop.el (elmo-folder-flag-as-read-dop,
1754 elmo-folder-unflag-read-dop,
1755 elmo-folder-flag-as-important-dop,
1756 elmo-folder-unflag-important-dop,
1757 elmo-folder-flag-as-answered-dop,
1758 elmo-folder-unflag-answered-dop): Remove.
1759 (elmo-folder-set-flag-dop,
1760 elmo-folder-unset-flag-dop,
1761 elmo-folder-set-important-delayed,
1762 elmo-folder-unset-important-delayed,
1763 elmo-folder-set-read-delayed,
1764 elmo-folder-unset-read-delayed,
1765 elmo-folder-set-answered-delayed,
1766 elmo-folder-unset-answered-delayed): New function.
1767 (elmo-dop-queue-merge-method-list): Follow the above chagned.
1768 (elmo-dop-queue-method-name-alist): Ditto.
1770 * elmo-version.el (elmo-version): Up to 2.11.23.
1772 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
1774 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
1776 * elsp-sa.el: New file.
1778 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1780 * modb-standard.el (modb-standard-message-entity): New function.
1781 (elmo-msgdb-message-entity): Use it.
1783 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1785 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
1786 behavior when one-level is nil.
1788 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
1790 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
1792 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1794 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
1796 (elmo-generic-folder-diff): Ditto.
1798 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
1799 (elmo-folder-update-number): Ditto.
1801 * elmo-dop.el (elmo-folder-status-dop): Ditto.
1802 (elmo-folder-next-message-number-dop): Ditto.
1804 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1806 * elmo-filter.el (elmo-folder-msgdb-create): Use
1807 `elmo-message-entity' and `elmo-message-flags' instead of
1808 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
1810 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1812 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
1815 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1817 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
1819 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
1821 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
1823 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1825 * elmo-version.el (elmo-version): Up to 2.11.22.
1827 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1829 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
1831 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1833 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
1834 if the message dose not exist.
1836 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
1838 * elmo-version.el (elmo-version): Up to 2.11.21.
1840 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1842 * modb-standard.el (toplevel): Don't require mime.
1844 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1846 * elsp-bogofilter.el (toplevel): Don't require path-util.
1847 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
1848 (elmo-spam-bogofilter-header): Abolish.
1849 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
1850 (elmo-spam-bogofilter-args): New user option.
1851 (elsp-bogofilter-call-bogofilter): New internal function.
1852 (elmo-spam-buffer-spam-p): Use it.
1853 (elsp-bogofilter-register-buffer): Renamed from
1854 `elmo-spam-bogofilter-register-buffer';
1855 Use `elsp-bogofilter-call-bogofilter'.
1856 (elmo-spam-register-spam-buffer): Follow the change above.
1857 (elmo-spam-register-good-buffer): Ditto.
1859 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1861 * modb-standard.el (elmo-msgdb-append-entity): If entity or
1862 message-id is nil do nothing.
1864 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
1866 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
1868 (elmo-imap4-session): Removed use-flag slot.
1869 (elmo-imap4-session-select-mailbox): Undo last change.
1870 (elmo-folder-use-flag-p): Use
1871 elmo-imap4-disuse-server-flag-mailbox-regexp.
1873 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1875 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
1876 (elmo-imap4-session-select-mailbox): Set it up.
1877 (elmo-folder-use-flag-p): Return value of use-flag slot.
1879 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1881 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
1883 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
1885 * modb-entity.el (elmo-message-entity-handler): Likewise.
1887 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1889 * elmo.el (toplevel): Remove setting of autoloding for
1890 elmo-global-flag-initialize.
1891 (elmo-init): Don't call elmo-global-flag-initialize.
1892 (toplevel): Added autoload setting for elmo-global-mark-migrate.
1894 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
1895 (elmo-global-mark-migrate): Don't call it.
1896 (elmo-global-mark-upgrade): Ditto.
1898 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
1900 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
1901 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
1903 * elmo-vars.el (elmo-init-hook): New user option.
1905 * elmo.el (elmo-init): Run the elmo-init-hook.
1907 * elmo-flag.el (elmo-global-mark-migrate): New function.
1909 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1911 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
1912 Undo last change (move to elmo-msgdb-unset-flag).
1913 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
1916 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1918 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
1920 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
1921 (elmo-msgdb-unset-flag): Ditto.
1923 2003-11-05 Andreas Fuchs <asf@boinkor.net>
1925 * elmo-split.el (elmo-split): Return split message count.
1927 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1929 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
1932 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1934 * elmo.el (elmo-folder-unflag-important): Call
1935 `elmo-global-flag-detach' with 4th argument delete-if-none that is
1938 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
1940 (elmo-global-flag-detach): Delete the message from flag folder, if
1941 `delete-if-none' is a symbol `always'.
1943 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1945 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
1946 `elmo-spam-spamfilter-decode-buffer'.
1947 (elsp-spamfilter-register-buffer-internal): New internal function.
1948 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
1949 (elmo-spam-register-spam-buffer): Ditto.
1950 (elmo-spam-register-good-buffer): Ditto.
1952 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
1954 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
1955 (elmo-spam-register-spam-buffer): Follow the API change.
1956 (elmo-spam-register-good-buffer): Ditto.
1958 * elmo-split.el (toplevel): Require elmo-spam when copmile.
1959 (elmo-split-spam-p): Added argument plist; Call
1960 `elmo-spam-buffer-spam-p' with new argument register.
1962 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
1964 (elmo-spam-message-spam-p): Ditto.
1965 (elmo-spam-register-spam-buffer): Added optional argument
1967 (elmo-spam-register-good-buffer): Ditto.
1968 (elmo-spam-register-spam-messages): Ditto.
1969 (elmo-spam-register-good-messages): Ditto.
1971 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1973 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
1974 register into good corpus.
1975 (elmo-spam-register-good-buffer): Fixed to register into bad
1978 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1980 * elmo-version.el (elmo-version): Up to 2.11.20.
1982 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
1985 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
1986 flag without depending on \Recent flag.
1988 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1990 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
1991 (elmo-spam-modified-p): Defined.
1992 (elmo-spam-save-status): Set `modified' slot to nil.
1993 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
1994 (elmo-spam-register-good-buffer): Ditto.
1996 * elmo-spam.el (elmo-spam-modified-p): New API.
1998 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2000 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2001 duplicate definition.
2003 * elmo-util.el (elmo-unfold-field-body): New function.
2004 (elmo-msgdb-get-message-id-from-buffer): Use it.
2006 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2007 Fixed the last change; Use elmo-unfold-field-body.
2009 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2011 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2014 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2016 * elmo-spam.el (elmo-spam-save-status): New API.
2018 * elsp-spamfilter.el: New file.
2020 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2022 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2024 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2026 * elmo-split.el (elmo-split-spam-p): New function.
2028 * elmo-spam.el: New file.
2030 * elsp-bogofilter.el: Ditto.
2032 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2034 * elmo.el (elmo-folder-next-message-number): New API.
2035 (elmo-folder-next-message-number): Define.
2036 (elmo-message-field): Don't check folder length.
2038 * elmo-net.el (elmo-folder-next-message-number): Define.
2039 (elmo-folder-next-message-number-unplugged): Define.
2041 * elmo-map.el (elmo-folder-next-message-number): Define.
2042 (elmo-folder-delete-messages): Clear hash value.
2044 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2046 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2047 (elmo-folder-delete-messages-dop-delayed): Always return t.
2049 * elmo-version.el (elmo-version): Up to 2.11.19.
2051 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2053 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2056 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2057 identical cons cell into the mark-alist and the hash table.
2059 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2061 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2062 elmo-folder-list-messages with argument `visible-only' as t.
2064 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2065 (elmo-folder-msgdb-create): Check the target folder.
2067 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2069 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2070 `permanentflag' instead of `flags'.
2071 (elmo-folder-open): Ditto.
2072 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2073 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2074 (elmo-folder-use-flag-p): Always return t.
2075 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2076 `permanentflags' does not exist.
2077 (elmo-folder-open): Ditto.
2079 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2081 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2083 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2085 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2086 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2088 (elmo-folder-open): Ditto.
2089 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2090 slot of the session includes the flag.
2091 (elmo-imap4-session-flag-available-p): New function.
2092 (elmo-imap4-folder-list-flagged): Ditto.
2093 (elmo-folder-list-unreads-plugged): Use it.
2094 (elmo-folder-list-importants-plugged): Ditto.
2095 (elmo-folder-list-answereds-plugged): Ditto.
2096 (elmo-imap4-search-internal-primitive): Ditto.
2097 (elmo-imap4-folder-list-any-plugged,
2098 elmo-imap4-folder-list-digest-plugged): Abolish.
2100 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2103 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2105 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2107 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2109 * elmo-util.el (elmo-get-hash-val): Simplify.
2110 (elmo-set-hash-val): Rewrite.
2112 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2114 * elmo.el (elmo-folder-list-messages): Append killed messages into
2115 result if `visible-only' is nil and `in-msgdb' is non-nil.
2117 * elmo-util.el (elmo-uniq-list): Added optional argument
2120 * modb.el (elmo-msgdb-flag-count): New API.
2122 * modb-standard.el (modb-standard): Added slot flag-count.
2123 (modb-standard-countup-flags): New function.
2124 (modb-standard-load-flag): Call it.
2125 (elmo-msgdb-append): Ditto.
2126 (elmo-msgdb-clear): Clear slot flag-count.
2127 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2128 (elmo-msgdb-unset-flag): Treat `all' flag and call
2129 modb-standard-countup-flags.
2130 (elmo-msgdb-flag-count): Define.
2131 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2132 (elmo-msgdb-delete-messages): Ditto.
2134 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2135 (elmo-msgdb-flag-count): Define.
2137 * elmo.el (elmo-folder-list-messages): Undo last change.
2138 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2139 (elmo-folder-kill-messages): Unset all flags to numbers.
2141 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2142 elmo-folder-kill-messages.
2144 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2145 (elmo-nntp-folder-delete-messages): Abolish.
2147 * elmo-version.el (elmo-version): Up to 2.11.18.
2149 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2151 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2152 (elmo-folder-kill-messages-range): New function.
2153 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2154 instead of elmo-folder-kill-messages-before.
2156 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2158 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2159 elmo-imap4-current-msgdb to decide entity handler.
2161 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2163 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2165 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2167 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2168 (elmo-msgdb-overview-entity-set-number,
2169 elmo-msgdb-overview-entity-get-references,
2170 elmo-msgdb-overview-entity-set-references,
2171 elmo-msgdb-overview-entity-get-from-no-decode,
2172 elmo-msgdb-overview-entity-get-from,
2173 elmo-msgdb-overview-entity-set-from,
2174 elmo-msgdb-overview-entity-get-subject,
2175 elmo-msgdb-overview-entity-get-subject-no-decode,
2176 elmo-msgdb-overview-entity-set-subject,
2177 elmo-msgdb-overview-entity-get-date,
2178 elmo-msgdb-overview-entity-set-date,
2179 elmo-msgdb-overview-entity-get-to,
2180 elmo-msgdb-overview-entity-get-cc,
2181 elmo-msgdb-overview-entity-get-size,
2182 elmo-msgdb-overview-entity-set-size,
2183 elmo-msgdb-overview-entity-get-extra,
2184 elmo-msgdb-overview-entity-set-extra,
2185 elmo-msgdb-overview-entity-get-extra-field,
2186 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2187 (elmo-msgdb-make-index): Use
2188 `elmo-msgdb-overview-entity-get-number-internal'.
2189 (elmo-msgdb-clear-index): Ditto.
2190 (elmo-msgdb-append-entity): Ditto;
2191 Use `elmo-msgdb-overview-entity-get-id-internal'.
2193 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2194 elmo-msgdb-overview-entity-set-number,
2195 elmo-msgdb-overview-entity-get-references,
2196 elmo-msgdb-overview-entity-set-references,
2197 elmo-msgdb-overview-entity-get-from-no-decode,
2198 elmo-msgdb-overview-entity-get-from,
2199 elmo-msgdb-overview-entity-set-from,
2200 elmo-msgdb-overview-entity-get-subject,
2201 elmo-msgdb-overview-entity-get-subject-no-decode,
2202 elmo-msgdb-overview-entity-set-subject,
2203 elmo-msgdb-overview-entity-get-date,
2204 elmo-msgdb-overview-entity-set-date,
2205 elmo-msgdb-overview-entity-get-to,
2206 elmo-msgdb-overview-entity-get-cc,
2207 elmo-msgdb-overview-entity-get-size,
2208 elmo-msgdb-overview-entity-set-size,
2209 elmo-msgdb-overview-entity-get-extra,
2210 elmo-msgdb-overview-entity-set-extra,
2211 elmo-msgdb-overview-entity-get-extra-field,
2212 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2213 and rewrote for backward compatibility.
2215 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2217 * elmo.el (elmo-message-entity-number,
2218 elmo-message-entity-set-number,
2219 elmo-message-entity-field,
2220 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2222 * elmo-msgdb.el (elmo-message-entity-number,
2223 elmo-message-entity-set-number,
2224 elmo-message-entity-field,
2225 elmo-message-entity-set-field): Moved from elmo.el.
2227 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2229 * elmo.el (toplevel): Changed definition orders.
2231 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2233 * modb.el (elmo-msgdb-search): New API .
2234 (elmo-msgdb-match-condition): Ditto.
2236 * modb-standard.el (elmo-msgdb-search): Define.
2238 * modb-legacy.el (elmo-msgdb-search): Ditto.
2240 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2241 from elmo-msgdb-match-condition-internal.
2243 * elmo.el (elmo-folder-search-fast): Abolish.
2244 (elmo-folder-search): Use elmo-msgdb-search and
2245 elmo-with-progress-display.
2247 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2250 * elmo.el (elmo-folder): Remove slot message-modified and
2252 (elmo-folder-set-message-modified): Abolish.
2253 (elmo-generic-folder-commit): Follow the change above.
2254 (elmo-folder-synchronize): Ditto.
2256 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2258 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2260 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2262 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2264 * modb-standard.el (modb-standard-make-message-entity,
2265 elmo-msgdb-make-message-entity,
2266 elmo-msgdb-create-message-entity-from-buffer,
2267 elmo-msgdb-message-entity-number,
2268 elmo-msgdb-message-entity-set-number,
2269 elmo-msgdb-message-entity-field,
2270 elmo-msgdb-message-entity-set-field,
2271 elmo-msgdb-copy-message-entity,
2272 elmo-msgdb-match-condition-internal): Remove.
2274 * modb-entity.el: New file (again).
2276 * modb.el (toplevel): Require modb-entity.
2277 (elmo-msgdb-message-entity-handler): New method.
2279 * modb-standard.el (modb-standard-entity-id): Use
2280 elmo-message-entity-handler.
2281 (modb-standard-load-entity): Ditto.
2282 (elmo-msgdb-append-entity): Ditto.
2283 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2285 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2286 elmo-msgdb-decoded-cache-hashtb,
2287 (modb-legacy-make-message-entity,
2288 elmo-msgdb-make-message-entity,
2289 elmo-msgdb-create-message-entity-from-buffer,
2290 elmo-msgdb-message-entity-number,
2291 elmo-msgdb-message-entity-set-number,
2292 elmo-msgdb-message-entity-field,
2293 elmo-msgdb-message-entity-set-field,
2294 elmo-msgdb-copy-message-entity,
2295 elmo-msgdb-match-condition-internal,
2296 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2298 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2299 (elmo-message-entity-set-number): Ditto.
2300 (elmo-message-entity-field): Ditto.
2301 (elmo-message-entity-set-field): Ditto.
2303 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2305 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2307 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2309 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2310 (elmo-nntp-msgdb-create-message): Ditto.
2312 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2313 (elmo-folder-msgdb-create): Add unread flag.
2315 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2317 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2319 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2321 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2323 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2324 elmo-msgdb-messge-entity-handler.
2325 * elmo-version.el (elmo-version): Up to 2.11.17.
2327 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2329 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2332 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2334 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2336 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2337 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2338 (elmo-msgdb-flag-table): Ditto.
2339 (elmo-msgdb-sort-by-date): Ditto.
2341 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2343 * modb-standard.el (toplevel): Require mime.
2344 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2345 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2346 elmo-msgdb-message-entity-number.
2347 (elmo-msgdb-append-entity): Ditto.
2348 (elmo-msgdb-create-message-entity-from-file): Remove.
2349 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2350 corresponds to the entity.
2351 (elmo-msgdb-message-entity-number): Do nothing currently.
2352 (elmo-msgdb-message-entity-field): Ditto.
2353 (elmo-msgdb-message-entity-set-field): Ditto.
2354 (elmo-msgdb-copy-message-entity): Ditto.
2355 (elmo-msgdb-match-condition-internal): Ditto.
2357 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2359 (elmo-msgdb-create-message-entity-from-file): Remove.
2361 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2363 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2365 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2367 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2369 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2370 (elmo-msgdb-message-entity-field): Ditto.
2371 (elmo-msgdb-message-entity-number): Ditto.
2373 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2375 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2376 Fixed how to set extra field into entity.
2377 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2380 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2381 Fixed how to set extra field into entity.
2382 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2385 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2387 * modb.el (elmo-message-entity-db): New function.
2388 (elmo-msgdb-make-message-entity): New API.
2389 (elmo-msgdb-message-entity-number): Ditto.
2390 (elmo-msgdb-message-entity-set-number): Ditto.
2391 (elmo-msgdb-message-entity-field): Ditto.
2392 (elmo-msgdb-message-entity-set-field): Ditto.
2393 (elmo-msgdb-copy-message-entity): Ditto.
2394 (elmo-msgdb-create-message-entity-from-file): Ditto.
2395 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2396 (elmo-msgdb-match-condition-internal): Ditto.
2398 * modb-standard.el (modb-legacy): Require modb-legacy.
2399 (modb-standard-make-message-entity): New inline function.
2400 (elmo-msgdb-make-message-entity): Define.
2401 (elmo-msgdb-create-message-entity-from-file): Ditto.
2402 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2403 (elmo-msgdb-message-entity-field): Ditto.
2404 (elmo-msgdb-message-entity-set-field): Ditto.
2405 (elmo-msgdb-copy-message-entity): Ditto.
2406 (elmo-msgdb-match-condition-internal): Ditto.
2408 * modb-legacy.el: Don't require modb-entity.
2409 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2410 (elmo-msgdb-match-condition-primitive): Ditto.
2411 (elmo-msgdb-get-decoded-cache): Ditto.
2412 (elmo-msgdb-overview-entity-get-id): Ditto.
2413 (elmo-msgdb-overview-entity-get-number): Ditto.
2414 (elmo-msgdb-overview-entity-set-number): Ditto.
2415 (elmo-msgdb-overview-entity-get-references): Ditto.
2416 (elmo-msgdb-overview-entity-set-references): Ditto.
2417 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2418 (elmo-msgdb-overview-entity-get-from): Ditto.
2419 (elmo-msgdb-overview-entity-set-from): Ditto.
2420 (elmo-msgdb-overview-entity-get-subject): Ditto.
2421 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2422 (elmo-msgdb-overview-entity-set-subject): Ditto.
2423 (elmo-msgdb-overview-entity-get-date): Ditto.
2424 (elmo-msgdb-overview-entity-set-date): Ditto.
2425 (elmo-msgdb-overview-entity-get-to): Ditto.
2426 (elmo-msgdb-overview-entity-get-cc): Ditto.
2427 (elmo-msgdb-overview-entity-get-size): Ditto.
2428 (elmo-msgdb-overview-entity-set-size): Ditto.
2429 (elmo-msgdb-overview-entity-get-extra): Ditto.
2430 (elmo-msgdb-overview-entity-set-extra): Ditto.
2431 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2432 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2433 (elmo-msgdb-number-load): Ditto.
2434 (elmo-msgdb-overview-load): Ditto.
2435 (elmo-msgdb-mark-load): Ditto.
2436 (elmo-msgdb-number-save): Ditto.
2437 (elmo-msgdb-mark-save): Ditto.
2438 (elmo-msgdb-overview-save): Ditto.
2439 (modb-legacy-make-message-entity): New inline function.
2440 (elmo-msgdb-insert-file-header): Ditto.
2441 (elmo-msgdb-make-message-entity): Define.
2442 (elmo-msgdb-create-message-entity-from-file): Ditto.
2443 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2444 (elmo-msgdb-message-entity-number): Ditto.
2445 (elmo-msgdb-message-entity-set-number): Ditto.
2446 (elmo-msgdb-message-entity-field): Ditto.
2447 (elmo-msgdb-message-entity-set-field): Ditto.
2448 (elmo-msgdb-copy-message-entity): Ditto.
2449 (elmo-msgdb-match-condition-internal): Ditto.
2451 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2452 (elmo-message-copy-entity): Rewrite.
2453 (elmo-message-entity-number): Ditto.
2454 (elmo-message-entity-set-number): Ditto.
2455 (elmo-message-entity-field): Use elmo-message-entity-db.
2456 (elmo-message-entity-set-field): Ditto.
2457 (elmo-message-field): Rewrite.
2459 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2461 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2463 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2464 elmo-message-entity-field.
2465 (elmo-shimbun-folder-shimbun-header): Ditto.
2466 (elmo-shimbun-entity-to-header): Ditto.
2467 (elmo-folder-msgdb-create): Ditto.
2468 (elmo-shimbun-msgdb-create-entity): Ditto;
2469 Use elmo-msgdb-create-message-entity-from-buffer.
2470 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2471 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2473 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2474 elmo-msgdb-create-message-entity-from-file and
2475 elmo-message-entity-field.
2477 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2478 elmo-message-entity-number.
2479 (elmo-pop3-msgdb-create-message): Use
2480 elmo-msgdb-create-message-entity-from-buffer,
2481 elmo-message-entity-set-field, elmo-message-entity-number and
2482 elmo-message-entity-set-number.
2484 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2485 the API change in elmo-msgdb-make-message-entity.
2486 (elmo-nntp-msgdb-create-message): Use
2487 elmo-msgdb-create-message-entity-from-buffer.
2489 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2490 elmo-message-entity-field and
2491 elmo-msgdb-create-message-entity-from-file.
2493 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2494 (elmo-msgdb-get-field): Abolish.
2495 (elmo-msgdb-get-number): Rewrite.
2496 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2497 (elmo-msgdb-flag-table): Ditto.
2498 (elmo-msgdb-get-last-message-id,
2499 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2500 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2501 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2502 (elmo-msgdb-create-overview-from-buffer,
2503 elmo-msgdb-overview-get-parent-entity): Abolish.
2505 * elmo-mime.el (elmo-mime-display-as-is): Use
2506 elmo-message-entity-field.
2508 * elmo-map.el (elmo-folder-pack-numbers): Use
2509 elmo-message-entity-set-number.
2511 * elmo-maildir.el (elmo-folder-msgdb-create):
2512 elmo-msgdb-create-message-entity-from-file instead of
2513 elmo-msgdb-create-overview-entity-from-file.
2515 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2517 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2518 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2520 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2521 elmo-messge-entity-field and elmo-message-entity-number.
2522 (elmo-imap4-fetch-callback-1): Call
2523 elmo-msgdb-create-message-entity-from-buffer instead of
2524 elmo-msgdb-create-overview-from-buffer.
2525 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2526 (elmo-find-fetch-strategy): Likewise.
2528 * elmo-flag.el (elmo-folder-msgdb-create): Call
2529 elmo-localdir-msgdb-create-entity with argument msgdb.
2531 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2532 and elmo-message-entity-set-number.
2534 * elmo-cache.el (elmo-folder-msgdb-create): Use
2535 elmo-message-entity-field.
2536 (elmo-folder-msgdb-create): Call
2537 elmo-msgdb-create-message-entity-from-file instead of
2538 elmo-msgdb-create-overview-entity-from-file.
2540 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2541 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2542 instead of elmo-msgdb-create-overview-from-buffer.
2543 (elmo-archive-msgdb-create-entity): Ditto.
2544 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2545 elmo-message-entity-field.
2546 (elmo-archive-parse-mmdf): Ditto.
2548 * modb-entity.el: Removed.
2550 * elmo-version.el (elmo-version): Up to 2.11.16.
2552 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2554 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2556 (elmo-folder-flag-as-answered): Ditto.
2558 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2560 * modb-standard.el: New file.
2562 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2563 elmo-msgdb-convert-type is `sync'.
2565 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2566 (elmo-msgdb-convert-type): New user option.
2568 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2569 (elmo-load-msgdb): Auto detect saved type.
2571 * elmo-version.el (elmo-version): Up to 2.11.15.
2573 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2575 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2577 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2578 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2579 with argument `delete-if-none' when dst-folder is 'null.
2581 * elmo-flag.el (elmo-folder-append-messages): Defined.
2582 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2584 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2586 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2588 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2590 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2591 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2592 (elmo-folder-commit): Ditto.
2594 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2596 * elmo-flag.el: New file.
2598 * elmo-mark.el: Removed.
2600 * modb-legacy.el (modb-legacy-new-mark,
2601 modb-legacy-unread-uncached-mark,
2602 modb-legacy-unread-cached-mark,
2603 modb-legacy-read-uncached-mark,
2604 modb-legacy-answered-cached-mark,
2605 modb-legacy-answered-uncached-mark,
2606 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2607 All other related portions are changed.
2609 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2610 (elmo-folder-list-messages-with-global-mark): Abolish.
2611 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2612 (elmo-folder-flag-as-important): Ditto.
2613 (elmo-folder-unflag-read): Ditto.
2614 (elmo-folder-flag-as-read): Ditto.
2615 (elmo-folder-unflag-answered): Ditto.
2616 (elmo-folder-flag-as-answered): Ditto.
2617 (elmo-message-encache): Return the cache path.
2618 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2619 (elmo-message-set-flag): Transitional implementation.
2620 (elmo-message-unset-flag): Ditto.
2621 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2622 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2623 (elmo-init): Call elmo-global-flag-initialize.
2624 (toplevel): Added autoload settings for elmo-flag.
2626 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2628 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2629 (elmo-file-cache-delete): Don't treat global-mark.
2631 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2633 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2635 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2636 `elmo-global-flags-set'.
2638 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2640 (elmo-folder-unflag-read): Ditto.
2641 (elmo-folder-unflag-important): Ditto.
2642 (elmo-folder-flag-as-important): Ditto.
2643 (elmo-folder-unflag-answered): Ditto.
2644 (elmo-folder-flag-as-answered): Ditto.
2646 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2647 `elmo-global-flags-set'.
2648 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2650 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2652 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2654 (elmo-folder-flag-as-important): Ditto.
2655 (elmo-folder-unflag-important): Ditto.
2656 (elmo-folder-flag-as-important): Ditto.
2657 (elmo-folder-unflag-read): Ditto.
2658 (elmo-folder-flag-as-read): Ditto.
2659 (elmo-folder-unflag-answered): Ditto.
2660 (elmo-folder-flag-as-answered): Ditto.
2662 * elmo-multi.el (elmo-folder-list-importants): Don't call
2663 elmo-folder-list-messages-with-global-mark.
2664 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2665 (elmo-folder-unflag-important): Ditto.
2666 (elmo-folder-flag-as-read): Ditto.
2667 (elmo-folder-unflag-read): Ditto.
2668 (elmo-folder-flag-as-answered): Ditto.
2669 (elmo-folder-unflag-answered): Ditto.
2671 * elmo-msgdb.el (elmo-msgdb-new-mark,
2672 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2673 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2674 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2675 (Moved to modb-legacy.el).
2676 (elmo-flag-table-get): Treat important flag too.
2678 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2680 (elmo-map-folder-flag-as-important): Ditto.
2681 (elmo-map-folder-unflag-read): Ditto.
2682 (elmo-map-folder-flag-as-read): Ditto.
2683 (elmo-map-folder-unflag-answered): Ditto.
2684 (elmo-map-folder-flag-as-answered): Ditto.
2685 (elmo-folder-unflag-important): Ditto.
2686 (elmo-folder-flag-as-important): Ditto.
2687 (elmo-folder-unflag-read): Ditto.
2688 (elmo-folder-flag-as-read): Ditto.
2689 (elmo-folder-unflag-answered): Ditto.
2690 (elmo-folder-flag-as-answered): Ditto.
2692 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2693 (elmo-map-folder-flag-as-important): Renamed from `mark' to
2695 (elmo-map-folder-unflag-important): Ditto.
2696 (elmo-map-folder-flag-as-read): Ditto.
2697 (elmo-map-folder-unflag-read): Ditto.
2698 (elmo-map-folder-flag-as-answered): Ditto.
2699 (elmo-map-folder-unflag-answered): Ditto.
2701 * elmo-localdir.el (elmo-folder-msgdb-create): Call
2702 `elmo-global-flags-set'.
2703 (elmo-global-flags-set): Added autoload setting.
2705 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
2708 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
2709 `elmo-msgdb-global-mark-set'.
2710 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
2711 Call `elmo-global-flags-set'.
2712 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
2714 (elmo-folder-flag-as-important-plugged): Ditto.
2715 (elmo-folder-unflag-read-plugged): Ditto.
2716 (elmo-folder-flag-as-read-plugged): Ditto.
2717 (elmo-folder-unflag-answered-plugged): Ditto.
2718 (elmo-folder-flag-as-answered-plugged): Ditto.
2719 (elmo-global-flags-set): Added autoload setting.
2721 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
2723 (elmo-folder-unflag-read): Ditto.
2724 (elmo-folder-flag-as-important): Ditto.
2725 (elmo-folder-unflag-important): Ditto.
2726 (elmo-folder-flag-as-answered): Ditto.
2727 (elmo-folder-unflag-answered): Ditto.
2729 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
2730 change of `mark'->`flag'.
2731 (elmo-dop-queue-method-name-alist): Ditto.
2732 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
2733 (elmo-folder-unflag-read-dop): Ditto.
2734 (elmo-folder-flag-as-important-dop): Ditto.
2735 (elmo-folder-unflag-important-dop): Ditto.
2736 (elmo-folder-flag-as-answered-dop): Ditto.
2737 (elmo-folder-unflag-answered-dop): Ditto.
2739 * elmo-cache.el (elmo-folder-msgdb-create): Call
2740 `elmo-global-flags-set'.
2742 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2743 Call `elmo-global-flags-set'.
2744 (elmo-archive-msgdb-create-as-numlist-subr2): Call
2745 elmo-archive-parse-mmdf with argument `folder'.
2746 (elmo-archive-parse-mmdf): Added argument `folder';
2747 Call `elmo-global-flags-set'.
2749 * elmo-version.el (elmo-version): Up to 2.11.14.
2751 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2753 * modb.el (elmo-msgdb-length): Define.
2755 * elmo.el (elmo-make-folder): Fixed.
2756 (elmo-generic-folder-append-messages): Follow the API change.
2758 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
2761 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2763 * modb.el: New file.
2765 * modb-entity.el: Ditto.
2767 * modb-legacy.el: Ditto.
2769 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
2770 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
2771 of `elmo-msgdb-overview-get-entity'.
2772 (elmo-msgdb-get-field): Ditto.
2773 (elmo-msgdb-merge): Moved to `elmo.el'.
2774 (elmo-msgdb-length): Removed; redefine as modb method.
2775 (elmo-msgdb-change-mark): Abolish.
2776 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
2777 (elmo-msgdb-match-condition): Don't use mark.
2778 (elmo-msgdb-overview-get-entity): Abolish.
2779 Split modb part into `modb*.el'.
2781 * elmo-vars.el (elmo-msgdb-default-type): New user option.
2783 * elmo-shimbun.el (shimbun-mua-search-id): Use
2784 `elmo-msgdb-message-entity' instead of
2785 `elmo-msgdb-overview-get-entity'.
2786 (elmo-shimbun-folder-shimbun-header): Ditto.
2787 (elmo-shimbun-get-headers): Ditto.
2788 (elmo-shimbun-update-overview): Ditto.
2790 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2792 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2794 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
2795 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
2797 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
2798 `elmo-msgdb-mark-to-flags'.
2800 * elmo-map.el (elmo-folder-pack-numbers): Don't use
2801 `elmo-msgdb-set-path'.
2803 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
2805 * elmo-version.el (elmo-version): Up to 2.11.13.
2807 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
2809 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
2812 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2814 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
2817 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2819 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
2820 instead of `elmo-msgdb-get-cached'.
2821 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
2823 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
2824 (elmo-msgdb-set-cached): Ditto.
2825 (elmo-msgdb-set-flag): Rewrite.
2826 (elmo-msgdb-unset-flag): Ditto.
2828 * elmo-msgdb.el: Rewrite with luna.
2830 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
2831 (elmo-folder-msgdb): Follow the change above.
2832 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
2833 (elmo-folder-unmark-important): Follow the API change.
2834 (elmo-folder-mark-as-important): Ditto.
2835 (elmo-folder-unmark-read): Ditto.
2836 (elmo-folder-mark-as-read): Ditto.
2837 (elmo-folder-unmark-answered): Ditto.
2838 (elmo-folder-mark-as-answered): Ditto.
2839 (elmo-folder-clear): Likewise.
2841 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
2842 instead of `elmo-msgdb-load' (renamed).
2844 * elmo-version.el (elmo-version): Up to 2.11.12.
2846 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2848 * elmo.el (elmo-generic-folder-append-messages): Follow the API
2850 (elmo-message-mark): Abolish.
2851 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
2852 instead of `elmo-msgdb-change-mark'.
2854 * elmo-pipe.el (elmo-message-mark): Abolish.
2856 * elmo-multi.el (elmo-message-mark): Ditto.
2858 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
2859 (elmo-msgdb-unread-uncached-mark): Ditto.
2860 (elmo-msgdb-unread-cached-mark): Ditto.
2861 (elmo-msgdb-read-uncached-mark): Ditto.
2862 (elmo-msgdb-answered-cached-mark): Ditto.
2863 (elmo-msgdb-answered-uncached-mark): Ditto.
2864 (elmo-msgdb-important-mark): Ditto.
2865 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
2867 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
2869 (elmo-flag-table-load): Changed flag to list of flag.
2870 (elmo-flag-table-set): If flags is nil, set read flag.
2871 (elmo-flag-table-get): Return derived flags from global mark,
2872 cache status and saved flags.
2873 (elmo-msgdb-flag-table): Follow the change above.
2874 (elmo-msgdb-out-of-date-messages): New function.
2876 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
2878 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2880 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2882 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2883 (elmo-nntp-msgdb-create-message): Ditto.
2885 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2887 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
2889 (elmo-folder-msgdb-create): Follow the API change.
2891 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
2892 (elmo-folder-append-messages): Ditto.
2894 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
2895 (elmo-folder-append-buffer): Ditto.
2897 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
2899 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2901 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2902 (elmo-archive-parse-mmdf): Ditto.
2904 * elmo-version.el (elmo-version): Up to 2.11.11.
2906 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2908 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
2911 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
2913 * elmo-pipe.el (elmo-message-flags): Defined.
2915 * elmo-multi.el (elmo-message-flags): Ditto.
2917 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2919 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
2920 `elmo-msgdb-delete-msgs'.
2922 * elmo.el (elmo-folder-count-flags): Don't use
2923 `elmo-msgdb-get-mark-alist'.
2924 (elmo-folder-detach-messages): Follow the API change.
2926 * elmo.el (elmo-folder-list-messages): Append killed messages into
2927 result if `visible-only' is nil.
2929 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
2931 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
2932 (elmo-folder-update-number): Likewise.
2934 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
2935 (elmo-pop3-sort-msgdb-by-original-number): Use
2936 `elmo-msgdb-sort-entities'.
2938 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
2939 (elmo-msgdb-sort-by-date): Use it.
2940 (elmo-msgdb-overview-sort-by-date): Abolish.
2942 * elmo-dop.el (elmo-folder-status-dop): Fixed.
2944 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
2945 (elmo-msgdb-flags): New function.
2946 (elmo-msgdb-merge): Use elmo-msgdb-append.
2948 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
2951 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
2953 * elmo-dop.el (elmo-folder-status-dop): Use
2954 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
2956 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2958 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
2960 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
2962 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
2964 * elmo-util.el (elmo-with-progress-display): New macro.
2966 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
2968 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2970 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2971 `elmo-folder-list-message-entities' instead of
2972 `elmo-msgdb-get-overview'.
2973 (elmo-map-folder-list-message-locations): Ditto.
2975 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
2976 methods instead of treat directly).
2977 (elmo-msgdb-clear): Ditto.
2978 (elmo-msgdb-delete-msgs): Ditto.
2979 (elmo-msgdb-sort-by-date): Ditto.
2981 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
2983 (elmo-nntp-folder-msgdb-create): Follow the API change.
2985 * elmo-version.el (elmo-version): Up to 2.11.10.
2987 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2989 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
2990 (elmo-msgdb-flags-to-mark): Ditto.
2991 (elmo-msgdb-append-entity): Ditto.
2993 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
2994 Use `elmo-msgdb-append-entity' instead of construct msgdb.
2995 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
2996 (elmo-archive-parse-mmdf): Ditto.
2998 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3000 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3002 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3004 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3006 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3008 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3010 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3012 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3014 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3015 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3018 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3019 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3020 instead of directly construction.
3021 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3022 instead of construct msgdb.
3024 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3025 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3026 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3027 instead of construct msgdb.
3029 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3031 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3032 when field is from or subject.
3034 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3036 * elmo-multi.el (elmo-message-entity-parent): Define.
3037 (elmo-folder-search): Rewrite.
3039 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3041 * elmo-multi.el (elmo-message-cached-p): Define.
3043 * elmo.el (elmo-message-cached-p): New method.
3044 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3045 (elmo-message-flags): New method.
3046 (elmo-message-flagged-p): New function.
3048 * elmo-version.el (elmo-version): Up to 2.11.9.
3050 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3052 * elmo-version.el (elmo-version): Up to 2.11.8.
3054 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3056 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3058 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3060 * elmo.el (elmo-folder-detach-messages): Undo last change.
3062 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3064 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3066 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3067 only when src folder type is pop3.
3069 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3071 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3072 elmo-msgdb-overview-entity-get-number instead of
3073 elmo-message-entity-number.
3075 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3077 * elmo-version.el (elmo-version): Up to 2.11.7.
3079 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3081 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3084 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3085 (elmo-msgdb-merge): New function.
3086 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3087 (elmo-msgdb-make-index): Rewrite.
3089 * elmo-version.el (elmo-version): Up to 2.11.6.
3091 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3092 use it as a the path for loading message entities.
3094 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3096 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3098 * elmo-filter.el (elmo-folder-set-message-modified): Set
3099 message-modified slot of itself if it does not require target msgdb.
3101 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3102 if folder length is zero.
3103 (elmo-mime-display-as-is): Ditto.
3105 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3107 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3109 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3111 * elmo.el (elmo-folder-set-message-modified): New method.
3112 (elmo-generic-folder-commit): Use it.
3113 (elmo-folder-synchronize): Ditto.
3115 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3116 (elmo-folder-commit): Remove duplicate definition.
3118 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3120 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3122 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3124 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3125 (elmo-strict-folder-diff): Ditto.
3126 (elmo-folder-set-info-max-by-numdb): Simplify.
3128 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3129 elmo-msgdb-list-messages.
3131 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3132 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3134 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3136 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3137 visible-only is non-nil.
3138 (elmo-folder-confirm-appends): Changed message.
3139 (elmo-folder-synchronize): Added argument disable-killed.
3141 * elmo-multi.el (elmo-folder-synchronize): Added argument
3144 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3146 * elmo-version.el (elmo-version): Up to 2.11.5.
3148 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3151 * elmo-util.el (elmo-list-filter): Simplify.
3153 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3154 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3155 (elmo-generic-folder-diff): Abolish argument.
3156 (elmo-msgdb-load): Don't use number-alist.
3158 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3160 * elmo-pipe.el (elmo-folder-diff): Ditto.
3162 * elmo-nmz.el (elmo-folder-diff): Ditto.
3164 * elmo-net.el (elmo-folder-diff): Ditto.
3166 * elmo-maildir.el (elmo-folder-diff): Ditto.
3168 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3170 * elmo-multi.el (elmo-folder-diff): Ditto
3171 (elmo-multi-folder-diff): Rewrite.
3173 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3175 * elmo-pipe.el (elmo-folder-msgdb): Define.
3177 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3179 * elmo.el (elmo-message-set-cached): Define as a method.
3181 * elmo-pipe.el (elmo-message-set-cached): Define.
3182 (elmo-find-fetch-strategy): Ditto.
3184 * elmo-multi.el (elmo-message-set-cached): Define.
3185 (elmo-find-fetch-strategy): Rewrite.
3187 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3189 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3191 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3193 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3194 instead of number-alist.
3196 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3197 mark nor message-id when msgdb of source folder is not loaded.
3199 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3201 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3203 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3205 * elmo.el (elmo-folder-length): Don't require msgdb.
3207 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3209 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3210 (elmo-message-field): Ditto.
3212 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3213 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3215 (elmo-map-folder-list-answereds): Define.
3216 (elmo-maildir-list-location): Treat 'R' info.
3217 (elmo-folder-msgdb-create): Treat flag-table.
3218 (elmo-folder-append-messages): Save flag-table.
3220 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3222 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3223 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3225 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3227 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3229 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3230 'read when mark is null.
3232 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3234 * elmo-version.el (elmo-version): Up to 2.11.4.
3236 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3238 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3239 (elmo-folder-mark-as-answered): Ditto.
3241 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3243 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3244 (elmo-pop3-get-session): Make msgdb directory after session.
3245 (elmo-folder-exists-p): Check exactly at the first time even when the
3246 elmo-pop3-exists-exactly is nil.
3248 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3249 (elmo-folder-list-messages): Define instead of
3250 elmo-folder-list-messages-internal.
3251 (elmo-folder-check): Check destination folder.
3252 (elmo-folder-synchronize): Drain the pipe.
3254 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3255 when msgdb is not loaded.
3257 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3259 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3260 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3263 * elmo.el (elmo-folder-kill-messages-before): New function.
3264 (elmo-folder-kill-messages): Ditto.
3265 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3267 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3268 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3269 killed not by synchronize (e.g. scoring).
3271 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3273 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3275 (elmo-folder-search): Follow the change above.
3277 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3278 into the candidates of search field.
3280 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3282 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3283 (elmo-msgdb-unset-flag): Ditto.
3285 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3287 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3289 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3290 (elmo-folder-commit): Define.
3291 (elmo-folder-synchronize): Ditto.
3292 (elmo-folder-list-flagged): Ditto.
3293 (elmo-folder-commit): Ditto.
3294 (elmo-folder-length): Ditto.
3295 (elmo-folder-count-flags): Ditto.
3296 (elmo-message-mark): Ditto.
3297 (elmo-message-field): Ditto.
3298 (elmo-message-entity): Ditto.
3299 (elmo-message-folder): Ditto.
3301 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3303 * elmo.el (elmo-message-field): Define as a method.
3305 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3306 (elmo-message-field): Define.
3308 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3309 (elmo-folder-list-importants): Ditto.
3310 (elmo-folder-list-answereds): Ditto.
3312 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3314 (elmo-folder-mark-as-read): Ditto.
3315 (elmo-folder-unmark-read): Ditto.
3316 (elmo-folder-mark-as-answered): Ditto.
3317 (elmo-folder-unmark-answered): Ditto.
3318 (elmo-folder-list-flagged): Define.
3319 (elmo-folder-commit): Ditto.
3320 (elmo-folder-length): Ditto.
3321 (elmo-folder-count-flags): Ditto.
3323 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3325 * elmo.el (elmo-folder-detach-messages): New method.
3326 (elmo-folder-move-messages): Use it.
3327 (elmo-folder-synchronize): Ditto.
3329 * elmo-multi.el (elmo-folder-detach-messages): Define.
3331 * elmo.el (elmo-message-copy-entity): New function.
3332 (elmo-message-entity-set-number): Ditto.
3333 (elmo-message-mark): Define as method.
3335 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3336 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3337 (elmo-message-entity): Fixed last change.
3338 (elmo-message-mark): Define.
3339 (elmo-folder-msgdb-create): Abolish.
3340 (elmo-multi-folder-append-msgdb): Ditto.
3341 (elmo-multi-folder-diff): Fixed.
3342 (elmo-multi-split-number-alist): Removed.
3343 (elmo-multi-split-mark-alist): Removed.
3344 (elmo-folder-list-messages): Define.
3345 (elmo-folder-list-messages-internal): Removed.
3347 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3348 local file messages.
3349 (elmo-folder-msgdb-create): Fixed read mark.
3351 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3353 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3356 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3358 * elmo.el (elmo-folder-list-message-entities): Define as inline
3360 (elmo-folder-messages): Abolish.
3362 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3364 (elmo-folder-synchronize): Define.
3365 (elmo-message-entity): Define.
3367 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3369 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3370 elmo-imap4-session-select-mailbox.
3372 * elmo.el (elmo-folder-move-messages): Don't display any message.
3374 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3376 (elmo-imap4-session-check): Don't wait CHECK response.
3377 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3379 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3381 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3383 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3385 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3387 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3390 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3391 (elmo-folder-list-message-entities): Added argument in-msgdb and
3393 (elmo-folder-synchronize): Define as a method.
3395 * elmo-nntp.el (elmo-folder-initialize): Don't use
3396 elmo-nntp-default-user if zero-length username is specified
3399 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3401 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3402 server name in case with username.
3403 (XXX: this is ad-hoc fix against username includes "@", it
3404 should be solved fundamentally)
3406 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3408 * elmo-nntp.el (elmo-nntp-debug): New function.
3409 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3410 (elmo-network-authenticate-session): Hide auth-info from the log.
3412 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3413 user name if it is equal to elmo-nntp-default-user.
3415 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3417 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3418 instead of shimbun-server-internal;
3419 Use shimbun-current-group instead of shimbun-current-group-internal.
3420 (elmo-folder-plugged-p): Use shimbun-server instead of
3421 shimbun-server-internal.
3422 (elmo-folder-set-plugged): Ditto.
3423 (elmo-net-port-info): Ditto.
3424 (elmo-folder-check): Ditto.
3425 (elmo-folder-expand-msgdb-path): Ditto.
3426 (elmo-folder-list-subfolders): Ditto.
3428 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3430 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3431 Convert field-name to lower case.
3432 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3434 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3436 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3437 `message' and `error' take format string.
3439 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3441 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3443 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3445 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3446 recursive call (can't byte compile on emacs 20.7).
3448 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3450 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3451 (elmo-folder-list-message-entities): New API.
3452 (elmo-message-entity): Ditto.
3453 (elmo-message-entity-parent): Ditto.
3454 (elmo-folder-do-each-message-entity): Ditto.
3455 (elmo-message-entity-number): Ditto.
3456 (elmo-message-entity-field): Ditto.
3457 (elmo-message-entity-set-field): Ditto.
3458 (elmo-folder-count-flags): Ditto.
3459 (elmo-folder-length): Ditto.
3461 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3464 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3465 (elmo-msgdb-count-marks): Abolish.
3466 (elmo-msgdb-make-entity): Ditto.
3467 (elmo-msgdb-do-each-entity): Ditto.
3468 (elmo-msgdb-message-entity): New inline function.
3469 (elmo-msgdb-message-entity-field): Ditto.
3470 (elmo-msgdb-message-entity-set-field): Ditto.
3471 (elmo-msgdb-make-message-entity): New function.
3473 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3475 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3476 to flag. (All other related portions are changed.)
3477 (elmo-folder-msgdb-create): Likewise.
3478 (elmo-generic-folder-append-messages): Use flag-table instead of
3480 (elmo-folder-move-messages): Removed redundant process.
3481 (elmo-folder-synchronize): Likewise.
3483 * elmo-msgdb.el (elmo-flag-table-get): New function.
3484 (elmo-flag-table-save): Fixed.
3485 (elmo-msgdb-length): New inline function.
3486 (elmo-msgdb-flag-table): New function.
3487 (elmo-msgdb-mark): Add optional argument new.
3488 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3489 (elmo-msgdb-seen-list): Ditto.
3490 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3493 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3495 * elmo.el (elmo-message-set-mark): Abolish.
3496 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3497 (All related portions are changed.)
3499 * elmo-msgdb.el (toplevel): Added comment.
3500 (elmo-load-msgdb): Added 4th element `path'.
3501 (elmo-msgdb-append): Follow the change above.
3502 (elmo-msgdb-clear): Ditto.
3503 (elmo-msgdb-delete-msgs): Ditto.
3504 (elmo-msgdb-get-path): New inline function.
3505 (elmo-msgdb-set-path): Ditto.
3506 (elmo-flag-table-filename): New variable.
3507 (elmo-flag-table-load): New function.
3508 (elmo-flag-table-set): Ditto.
3509 (elmo-flag-table-save): Ditto.
3510 (elmo-msgdb-get-field-value): Abolish.
3511 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3513 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3515 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3516 the folder has been deleted successfully.
3517 * elmo-imap4.el (elmo-folder-delete): Ditto.
3518 * elmo-archive.el (elmo-folder-delete): Ditto.
3519 * elmo-localdir.el (elmo-folder-delete): Ditto.
3520 * elmo-maildir.el (elmo-folder-delete): Ditto.
3522 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3524 * elmo-util.el (elmo-string-member-ignore-case): New function.
3525 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3526 (elmo-imap4-fetch-callback-1-subr): Likewise.
3528 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3530 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3531 the case of the name attribute "\Noselect".
3533 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3535 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3537 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3538 flist, is not always a member of onum-alist.
3540 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3542 * elmo-version.el (elmo-version): Up to 2.11.3.
3544 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3546 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3547 copied from localdir's one.
3549 * elmo-pipe.el (elmo-folder-rename): New method, rename
3550 destination folder with leaving source folder as it is.
3552 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3554 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3557 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3559 * elmo-version.el (elmo-version): Up to 2.11.2.
3561 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3563 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3564 shimbun-open in case of "@".
3565 (elmo-folder-open-internal): Cope with shimbun = nil case.
3566 (elmo-folder-plugged-p): Ditto.
3567 (elmo-folder-list-subfolders): Make list for "@/" group.
3569 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3571 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3572 mailbox (e.g. for %~/something).
3574 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3576 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3577 Replace nested conditional with guard clauses.
3579 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3581 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3584 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3587 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3589 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3590 Replace nested conditional with guard clauses.
3592 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3594 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3595 (elmo-passwd-alist-save): Ditto.
3596 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3598 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3600 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3601 dir-name only if it is absolute path.
3602 (TODO: distinguish +/something and +something)
3604 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3606 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3607 path for "+~/something".
3609 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3611 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3612 as non-directory, cause error before rename-file.
3613 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3614 apropriately, mimic localdir's one.
3615 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3617 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3619 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3621 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3623 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3625 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3627 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3628 is included in the global-mark or not.
3630 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3632 * utf7.el (toplevel): Avoid error when the function
3633 find-coding-system does not exist.
3635 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3637 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3638 cache even if the folder is plugged.
3639 (elmo-nntp-search-primitive): Do nothing when body search is
3640 invoked (although it is not used by the change above).
3641 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3643 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3645 * elmo-version.el (elmo-version): Up to 2.11.1.
3647 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3649 * elmo-archive.el: Specify charset.
3651 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3653 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3654 process buffer lives or not.
3656 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3657 while flushing queues (It causes infinite loop).
3659 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3661 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3663 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3665 * utf7.el (toplevel): Check the ucs features dynamically.
3666 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3668 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3669 folder is creatabe or not if it already exists.
3671 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3673 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3675 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3677 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3678 (elmo-imap4-read-response): Take care of garbage response.
3680 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3682 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3683 just return nil instead of error.
3685 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3687 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3688 search-key is "body".
3690 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3692 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3693 of elmo-string-matched-assoc to use match-data.
3694 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
3696 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3698 * elmo-split.el (elmo-split->): New function.
3699 (elmo-split-<): Ditto.
3701 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
3703 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
3704 workaround for invalid message-id.
3706 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3708 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
3709 return normal pop3 session or pop3 biff session.
3711 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3713 * elmo-maildir.el (elmo-maildir-update-current): Don't append
3714 info part to the cur files when the new files already have it.
3715 (Adviced by Jared Rhine <jared@wordzoo.com>)
3717 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3719 * elmo-split.el (elmo-split-default-action): New variable.
3720 (elmo-split-subr): Use it if all other conditions are passed.
3721 Extend `fname' and rename it as `action'. (implemented
3722 Teranishi-san's idea in [wl:10800])
3724 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3726 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
3727 * elmo-util.el: Ditto.
3729 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
3731 * elmo.el (elmo-message-accessible-p): Renamed from
3732 elmo-message-cached-p and rewritten.
3734 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3736 * elmo.el (elmo-folder-list-flagged): New generic function.
3737 (elmo-folder-list-importants): New implementation.
3738 (elmo-folder-list-answereds): Ditto.
3739 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
3741 (elmo-message-cached-p): New function.
3742 (elmo-message-set-flag): Ditto (no content).
3743 (elmo-message-unset-flag): Ditto.
3744 (elmo-folder-list-messages-mark-match): Abolish.
3746 * elmo-util.el (elmo-regexp-opt): New function.
3748 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
3749 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
3751 (elmo-msgdb-list-flagged): New function.
3753 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
3754 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
3757 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
3759 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3761 * elmo-version.el (elmo-version): Up to 2.11.0.
3763 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3765 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
3766 `elmo-file-cache-exists-p'; use proper mark that depends on
3768 (elmo-msgdb-unset-flag): Ditto.
3769 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
3771 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
3772 with 4th argument `use-cache'.
3774 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3776 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
3777 (elmo-folder-mark-as-important): Ditto.
3778 (elmo-folder-unmark-read): Ditto.
3779 (elmo-folder-mark-as-read): Ditto.
3780 (elmo-folder-unmark-answered): Ditto.
3781 (elmo-folder-mark-as-answered): Ditto.
3783 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
3785 (elmo-msgdb-mark): Likewise.
3786 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
3787 (elmo-msgdb-unset-flag): Likewise.
3789 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
3791 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3793 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
3796 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3798 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
3799 set spool-length to 0.
3801 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3803 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
3804 (elmo-dop-queue-flush): Fixed last change.
3806 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3808 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
3809 if require-msgdb slot is nil.
3810 (elmo-folder-list-importants): Likewise.
3812 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3814 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
3817 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
3818 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
3821 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3823 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
3825 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3827 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
3829 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
3831 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3833 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
3834 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
3836 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3838 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
3839 the problem reported by Sean Rima [wl-en:180].
3841 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3843 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
3845 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
3847 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
3849 * elmo-map.el (elmo-folder-unmark-read): Ditto.
3851 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
3853 * elmo-net.el (elmo-folder-unmark-read): Ditto.
3855 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
3857 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3859 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
3862 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3864 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
3865 (elmo-folder-mark-as-read): Follow the API change.
3866 (elmo-message-set-cached): New function.
3868 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
3870 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
3872 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
3873 (elmo-folder-mark-as-important): Ditto.
3874 (elmo-folder-unmark-read): Ditto.
3875 (elmo-folder-mark-as-read): Ditto.
3876 (elmo-folder-unmark-answered): Ditto.
3877 (elmo-folder-mark-as-answered): Ditto.
3879 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
3880 (elmo-folder-unmark-important): Ditto.
3881 (elmo-folder-mark-as-read): Ditto.
3882 (elmo-folder-unmark-read): Ditto.
3883 (elmo-folder-mark-as-answered): Ditto.
3884 (elmo-folder-unmark-answered): Ditto.
3886 * elmo-mark.el (toplevel): Removed some mark method definitions.
3888 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
3889 (elmo-map-folder-mark-as-answered): Ditto.
3890 (elmo-folder-unmark-important): Add :before qualifier.
3891 (elmo-folder-mark-as-important): Ditto.
3892 (elmo-folder-unmark-read): Ditto.
3893 (elmo-folder-mark-as-read): Ditto.
3894 (elmo-folder-unmark-answered): Define.
3895 (elmo-folder-mark-as-answered): Ditto.
3897 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
3898 (elmo-map-folder-unmark-answered): Ditto.
3900 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
3902 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
3903 (elmo-folder-mark-as-important): Ditto.
3904 (elmo-folder-unmark-read): Ditto.
3905 (elmo-folder-mark-as-read): Ditto.
3906 (elmo-folder-unmark-answered): Ditto.
3907 (elmo-folder-mark-as-answered): Ditto.
3909 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
3910 `mark'; evaluate mark condition.
3911 (elmo-msgdb-match-condition-internal): New function.
3912 (elmo-msgdb-match-condition): Call it; changed argument.
3914 * elmo.el (elmo-folder-search): Follow the API change on
3915 `elmo-msgdb-match-condition'.
3917 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3919 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
3920 original mark is non-nil.
3922 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
3924 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
3925 (elmo-map-folder-list-answereds): New method.
3926 (elmo-folder-list-unreads): Add :around qualifier.
3927 (elmo-folder-list-importants): Ditto.
3928 (elmo-folder-list-answereds): Ditto.
3930 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
3932 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
3934 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
3935 method if msgdb is not required.
3936 (elmo-filter-folder-list-importants): Don't treat global-mark.
3938 * elmo.el (elmo-folder-list-importants): Ditto.
3940 * elmo-net.el (elmo-folder-list-importants): Ditto.
3942 * elmo-map.el (elmo-folder-list-importants): Ditto.
3944 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
3946 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
3947 (elmo-imap4-folder-list-any-plugged): New function.
3948 (elmo-imap4-search-internal-primitive): Use it.
3950 * elmo-filter.el (elmo-folder-check): Synchronize original folder
3951 only when require-msgdb slot is non-nil.
3952 (elmo-folder-close): Clear target folder's msgdb.
3954 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
3956 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
3957 (elmo-pop3-msgdb-create-by-header): Ditto.
3958 (elmo-pop3-msgdb-create-message): Ditto.
3960 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3962 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3964 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3966 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3967 (elmo-folder-msgdb-create): Ditto.
3968 (elmo-nntp-folder-msgdb-create): Ditto.
3969 (elmo-nntp-msgdb-create-by-header): Ditto.
3970 (elmo-nntp-msgdb-create-message): Ditto.
3971 (elmo-folder-list-unreads): Define.
3973 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
3974 (elmo-folder-append-messages): Ditto.
3975 (elmo-folder-list-unreads): Define.
3976 (elmo-folder-list-importants): Ditto.
3977 (elmo-folder-list-answereds): Ditto.
3979 * elmo-net.el (elmo-folder-list-unreads): Define.
3980 (elmo-folder-list-importants): Ditto.
3981 (elmo-folder-list-answereds): Ditto.
3982 (elmo-folder-list-answereds-plugged): Ditto.
3983 (elmo-folder-msgdb-create): Follow the API change.
3984 (elmo-folder-msgdb-create-unplugged): Ditto.
3985 (elmo-folder-unmark-answered): Define.
3986 (elmo-folder-mark-as-answered-unplugged): Ditto.
3987 (elmo-folder-unmark-answered-unplugged): Ditto.
3989 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
3990 (elmo-msgdb-unread-uncached-mark): Ditto.
3991 (elmo-msgdb-unread-cached-mark): Ditto.
3992 (elmo-msgdb-read-uncached-mark): Ditto.
3993 (elmo-msgdb-answered-cached-mark): Ditto.
3994 (elmo-msgdb-answered-uncached-mark): Ditto.
3995 (elmo-msgdb-important-mark): Ditto.
3996 (elmo-msgdb-set-mark): Rewrite.
3997 (elmo-msgdb-count-marks): Rewrite.
3998 (elmo-msgdb-mark-alist-set): Abolish.
3999 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4000 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4002 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4003 (elmo-folder-close): Define.
4004 (elmo-folder-msgdb-create): Follow the API change.
4005 (elmo-folder-list-unreads): Rewrite.
4006 (elmo-folder-mark-as-important): Ditto.
4007 (elmo-folder-unmark-important): Ditto.
4008 (elmo-folder-mark-as-read): Ditto.
4009 (elmo-folder-unmark-read): Ditto.
4010 (elmo-folder-mark-as-answered): Define.
4011 (elmo-folder-unmark-answered): Ditto.
4013 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4014 (elmo-folder-append-messages): Ditto.
4016 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4018 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4019 (elmo-folder-list-importants): Ditto.
4021 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4022 (elmo-folder-append-messages): Ditto.
4024 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4026 (elmo-folder-msgdb-create-plugged): Ditto.
4027 (elmo-folder-append-messages): Ditto.
4028 (elmo-folder-list-answereds-plugged): Define.
4029 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4030 (elmo-folder-unmark-answered-plugged): Define.
4031 (elmo-folder-mark-as-answered-plugged): Ditto.
4032 (elmo-folder-search-requires-msgdb-p): Ditto.
4034 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4035 (elmo-folder-initialize): Set it.
4036 (elmo-folder-msgdb): Define.
4037 (elmo-folder-check): Call elmo-folder-synchronize.
4038 (elmo-folder-close): Define.
4039 (elmo-folder-commit): Ditto.
4040 (elmo-folder-msgdb-create): Rewrite.
4041 (elmo-folder-list-unreads): Ditto.
4042 (elmo-folder-list-importants): Ditto.
4043 (elmo-folder-mark-as-read): Ditto.
4044 (elmo-folder-unmark-read): Ditto.
4045 (elmo-folder-mark-as-important): Ditto.
4046 (elmo-folder-unmark-important): Ditto.
4047 (elmo-folder-mark-as-answered): Define.
4048 (elmo-folder-unmark-answered): Ditto.
4050 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4051 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4052 (elmo-dop-queue-method-name-alist): Likewise.
4053 (elmo-folder-mark-as-answered-dop): New inline function.
4054 (elmo-folder-unmark-answered-dop): Ditto.
4055 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4057 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4058 (elmo-folder-msgdb-create): Ditto.
4059 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4060 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4061 (elmo-archive-parse-mmdf): Ditto.
4063 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4064 (elmo-folder-list-unreads-internal): Ditto.
4066 * elmo.el (elmo-folder-msgdb): Define as generic function.
4067 (elmo-folder-list-messages): Added argument `in-msgdb'.
4068 (elmo-folder-list-unreads): Define as generic function.
4069 (elmo-folder-list-importants): Ditto.
4070 (elmo-folder-list-answereds): Ditto.
4071 (elmo-folder-list-messages-with-global-mark): New function.
4072 (elmo-folder-msgdb-create): Removed mark arguments.
4073 (elmo-folder-unmark-answered): New generic function.
4074 (elmo-folder-mark-as-answered): Ditto.
4075 (elmo-folder-append-messages): Removed argunment `unread-marks'
4076 (elmo-folder-list-unreads-internal): Abolish.
4077 (elmo-folder-list-importants-internal): Ditto.
4078 (elmo-folder-search-requires-msgdb-p): New generic function.
4079 (elmo-folder-search-requires-msgdb-p-internal): New function.
4080 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4082 (elmo-folder-search-fast): Added key 'mark'.
4083 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4084 instead of unread-marks argument.
4085 (elmo-folder-move-messages): Removed argunment `unread-marks'
4086 (elmo-folder-unmark-important): Define.
4087 (elmo-folder-mark-as-important): Ditto.
4088 (elmo-folder-unmark-read): Ditto.
4089 (elmo-folder-mark-as-read): Ditto.
4090 (elmo-folder-unmark-answered): Ditto.
4091 (elmo-folder-mark-as-answered): Ditto.
4092 (elmo-folder-replace-marks): Abolish.
4093 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4095 (elmo-folder-synchronize): Removed mark arguments;
4096 return crosspost only number.
4098 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4100 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4101 Remove redundunt connectivity check.
4103 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4105 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4106 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4108 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4110 * pldap.el (ldap-decode-string): Return string as-is if
4111 `ldap-coding-system' is nil.
4112 (ldap-encode-string): Ditto.
4113 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4114 (ldap-default-host): Fixed docstring.
4116 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4118 * elmo-util.el (elmo-warning): Define as a macro which uses
4119 `display-warning' if it is defined as a function.
4121 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4122 (elmo-split-equal): Use it.
4123 (elmo-split-match): Ditto.
4124 (elmo-split-message-entity): New buffer-local variable.
4125 (elmo-split-subr): Set it.
4127 * elmo-version.el (elmo-version): Up to 2.9.15.
4129 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4131 * elmo-imap4.el (elmo-network-initialize-session):
4132 Check capability after starttls.
4134 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4136 * elmo-util.el (elmo-list-delete): Added optional argument
4139 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4141 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4143 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4145 * elmo-imap4.el (elmo-folder-initialize): Don't use
4146 elmo-imap4-default-mailbox.
4148 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4150 * elmo-split.el (toplevel): Use `product-provide'.
4151 (elmo-split): Checkdoc.
4153 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4155 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4156 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4157 the function `elmo-imap4-debug-1'.
4159 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4161 * elmo-split.el (elmo-split): Moved to run hooks and to show
4162 message from elmo-split-subr.
4163 (elmo-split-subr): Follow the change above.
4165 * elmo-split.el (elmo-split-subr): New function (renamed from
4167 (elmo-split): Changed to call elmo-split-subr by element of
4169 (elmo-split-folder): Changed customization type to choice.
4171 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4173 * elmo-split.el (elmo-split-and): Fixed condition.
4175 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4177 * elmo-split.el: New file.
4178 (elmo-split): Fixed logic.
4179 Display "Test:" instead of "Folder:" when reharsal.
4181 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4184 * elmo-version.el (elmo-version): Up to 2.9.14.
4186 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4189 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4191 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4192 message with no message-id field.
4194 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4196 * elmo-version.el (elmo-version): Up to 2.9.13.
4198 * elmo-dop.el (elmo-folder-status-dop): Fix.
4200 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4202 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4204 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4205 changing default value of default-mime-charset.
4206 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4208 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4210 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4211 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4212 instead of elmo-dop-queue-method-name-alist to check merging queue.
4213 (elmo-folder-delete-messages-dop): Delete from queue if negative
4215 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4216 file is already removed.
4218 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4220 * elmo-vars.el: Bind colon keywords for old Emacsen.
4222 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4224 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4225 against non-exsisting charset.
4227 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4229 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4230 Use eword-decode-and-unfold-unstructured-field-body.
4232 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4233 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4234 exists to decode raw subject string.
4235 (toplevel): Require 'mime.
4237 * elmo-version.el (elmo-version): Up to 2.9.12.
4239 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4241 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4242 (elmo-msgdb-set-mark): Ditto.
4244 * elmo-version.el (elmo-version): Up to 2.9.11.
4246 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4248 * elmo-util.el (elmo-delete-match-files): New function.
4250 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4251 instead of elmo-delete-directory.
4253 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4254 elmo-hash-minimun-size as 63.
4256 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4257 elmo-diff-unread is nil.
4259 * elmo-imap4.el (elmo-folder-open): Fix.
4261 * elmo.el (elmo-message-mark): Rewrite.
4262 (elmo-message-field): Ditto.
4263 (elmo-message-set-mark): Ditto.
4264 (elmo-folder-replace-marks): New function.
4265 (elmo-generic-folder-append-msgdb): Removed third argument for
4267 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4268 (elmo-msgdb-load): New implementation.
4270 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4272 * elmo-util.el (elmo-list-insert): New implementation.
4274 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4275 argument for elmo-msgdb-append.
4278 * elmo-msgdb.el (elmo-load-msgdb): New function.
4279 (elmo-make-msgdb): Ditto.
4280 (elmo-msgdb-get-index): New inline function.
4281 (elmo-msgdb-set-index): Ditto.
4282 (elmo-msgdb-get-entity-hashtb): Ditto.
4283 (elmo-msgdb-get-mark-hashtb): Ditto.
4284 (elmo-msgdb-get-mark): Ditto.
4285 (elmo-msgdb-set-mark): Ditto.
4286 (elmo-msgdb-count-marks): Ditto.
4287 (elmo-msgdb-get-number): Ditto.
4288 (elmo-msgdb-get-field): Ditto.
4289 (elmo-msgdb-seen-list): Ditto.
4290 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4291 (elmo-msgdb-delete-msgs): Follow the changes above.
4292 (elmo-msgdb-overview-get-entity): Ditto.
4293 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4294 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4296 (elmo-msgdb-make-index): Likewise.
4297 (elmo-msgdb-append): Removed third argument.
4298 (elmo-msgdb-clear): Clear index as nil.
4299 (elmo-folder-set-info-hashtb): Removed.
4300 (elmo-folder-set-info-max-by-numdb): Ditto.
4301 (elmo-folder-info-make-hashtb): Ditto.
4303 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4305 * elmo-map.el (elmo-folder-pack-number): Ditto.
4307 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4309 * elmo-version.el (elmo-version): Up to 2.9.10.
4311 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4313 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4315 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4317 * elmo-utils.el (elmo-make-directory): Add option.
4318 Default file mode is 700.
4320 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4322 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4324 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4326 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4329 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4332 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4334 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4335 (elmo-shimbun-folder-entity-hash): New function.
4336 (elmo-shimbun-folder-shimbun-header): Ditto.
4337 (elmo-shimbun-entity-to-header): Ditto.
4338 (elmo-shimbun-msgdb-to-headers): Removed.
4339 (elmo-shimbun-folder-setup): Ditto.
4340 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4342 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4343 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4344 Removed useless local bind.
4345 (elmo-folder-open-internal): Don't call
4346 `elmo-shimbun-folder-setup'.
4347 (elmo-folder-close-internal): Clear entity-hash slot.
4348 (elmo-folder-clear): Ditto.
4349 (elmo-shimbun-msgdb-create-entity): Use
4350 `elmo-shimbun-folder-shimbun-header'.
4351 (elmo-map-message-fetch): Ditto.
4352 (elmo-shimbun-update-overview): Use overview entity instead of
4353 shimbun header to lookup id by references.
4354 (elmo-map-folder-list-message-locations): Use not only headers but
4355 also overviews to list locations.
4357 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4359 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4362 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4364 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4366 * elmo-util.el (elmo-read-search-condition-internal): Give default
4369 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4371 * elmo-util.el (elmo-condition-parse-search-value): Accept
4372 YYYY-MM-DD format to search.
4373 * elmo-date.el (elmo-date-get-datevec): Likewise.
4375 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4377 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4380 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4382 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4385 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4387 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4388 case from `elmo-folder-exists-p'.
4389 (elmo-folder-exists-p): Removed.
4390 (elmo-folder-creatable-p) Ditto.
4392 * elmo-net.el (elmo-folder-create): Defined.
4393 (elmo-folder-create-unplugged): New function.
4394 (elmo-folder-exists-p): Changed default value to nil from t.
4396 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4397 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4399 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4400 `elmo-create-folder-dop' and append queue
4401 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4402 (elmo-folder-create-dop-delayed): New function.
4404 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4406 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4408 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4409 (elmo-folder-writable-p) : Ditto.
4411 * elmo-version.el (elmo-version): Up to 2.9.9.
4413 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4415 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4416 `elmo-message-use-cache-p' returns nil.
4417 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4418 (ignore cache file and refer the substance in local folders)
4420 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4422 * elmo-version.el (elmo-version): Up to 2.9.8.
4424 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4426 * elmo-version.el (elmo-version): Up to 2.9.7.
4428 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4430 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4432 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4434 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4436 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4438 (elmo-map-folder-list-message-locations): Reverse location list.
4440 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4442 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4444 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4446 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4448 (elmo-nntp-folder-list-subfolders): Follow the change above.
4450 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4452 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4453 name if authentication type is specified.
4455 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4457 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4459 (elmo-default-nntp-stream-type): Ditto.
4460 (elmo-default-pop3-stream-type): Ditto.
4462 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4464 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4466 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4468 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4470 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4472 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4473 (elmo-maildir-folder-path): Ditto.
4474 (elmo-maildir-list): Ditto (abolished).
4476 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4478 * elmo-version.el (elmo-version): Up to 2.9.6.
4480 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4482 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4483 (elmo-maildir-folder-path): Ditto.
4484 (elmo-msgdb-directory): Ditto.
4485 (elmo-passwd-life-time): Ditto.
4486 (elmo-msgdb-extra-fields): Ditto.
4487 (elmo-enable-disconnected-operation): Ditto.
4489 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4491 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4493 (elmo-pop3-default-authenticate-type): Ditto.
4495 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4497 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4499 (elmo-pop3-default-authenticate-type): Ditto.
4501 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4503 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4504 mailbox to new-folder.
4506 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4508 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4509 less than new, set new as unread.
4511 * elmo-util.el (elmo-string): Don't put text-property if nil.
4513 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4515 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4516 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4518 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4520 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4521 is nil on `completing-read'.
4523 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4525 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4527 (elmo-imap4-parse-namespace-subr): Ditto.
4528 (elmo-folder-list-subfolders): Append a delimiter when the specified
4529 folder path is a root with namespace and does not end with delimiter.
4531 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4533 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4536 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4538 * elmo-util.el (elmo-save-buffer): The first argument of message
4539 is a format control string.
4541 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4543 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4544 `elmo-folder-diff').
4545 (elmo-diff-unread): Likewise.
4547 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4549 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4550 is t on `completing-read'.
4552 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4554 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4555 method of target folder with self mark-alist if MARK-ALIST is nil.
4557 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4559 * elmo-version.el (elmo-version): Up to 2.9.5.
4561 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4563 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4564 (elmo-dop-merge-funcs): Remove.
4566 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4568 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4569 Return t if PATH is directory, too.
4570 Use `dolist' instead of while loop.
4572 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4574 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4577 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4579 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4581 (elmo-folder-list-messages-unplugged): Return t if
4582 elmo-enable-disconnected-operation is nil.
4584 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4585 `elmo-folder-list-messages-internal'.
4587 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4589 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4590 Change to looking-at `[23][0-9]+'.
4591 (elmo-network-initialize-session): Use 'error-msg'
4592 * elmo-net.el (elmo-network-open-session): Set unplugged
4593 if elmo-network-initialize-session returns 'elmo-open-err.
4595 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4597 * elmo-version.el (elmo-version): Up to 2.9.4.
4599 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4601 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4602 `elmo-folder-list-messages-internal'.
4604 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4606 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4607 (elmo-message-match-condition): New method.
4608 (elmo-folder-search-fast): New inline function.
4609 (elmo-msgdb-search): Removed.
4611 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4612 target folder if it is unplugged.
4613 (elmo-folder-list-messages-internal): Return t if target folder is
4614 unplugged and itself is persistent; In this case, use list be
4617 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4618 (elmo-msgdb-search-internal-primitive): Ditto.
4619 (elmo-msgdb-match-condition): New function.
4620 (elmo-msgdb-match-condition-primitive): Ditto.
4622 * elmo-util.el (elmo-filter-condition-p): New macro.
4624 * elmo-cache.el (elmo-folder-search): Removed.
4626 * elmo-localdir.el (elmo-folder-search): Ditto.
4628 * elmo-maildir.el (elmo-folder-search): Ditto.
4630 * elmo-mark.el (elmo-folder-search): Ditto.
4632 * elmo-nmz.el (elmo-folder-search): Ditto.
4634 * elmo-sendlog.el (elmo-folder-search): Ditto.
4636 * elmo-shimbun.el (elmo-folder-search): Ditto.
4638 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4639 if folder is unplugged.
4641 * elmo-nntp.el (elmo-folder-search): Likewise.
4642 (elmo-nntp-search-internal): New function.
4644 * elmo-version.el (elmo-version): Up to 2.9.3.
4646 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4648 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4650 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4652 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4654 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4656 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4658 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4660 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4661 (elmo-map-folder-list-message-locations): Do drive letter conversion
4662 on Windows environment.
4663 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4664 (elmo-map-message-fetch): Ditto.
4666 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4668 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4669 (elmo-network-initialize-session): Ditto.
4671 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4673 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4675 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4677 * elmo-util.el (elmo-progress-clear): Ditto.
4679 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4680 `DD-Mon-YYYY' type date.
4682 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4684 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4685 `elmo-date-make-sortable-string' instead of
4686 `timezone-make-date-sortable'.
4688 * elmo-date.el (elmo-date-make-sortable-string): Use
4689 `timezone-make-time-string'.
4691 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4693 * elmo.el (elmo-folder-synchronize): Delete important messages too.
4695 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
4696 `since'; Fix timezone.
4698 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
4700 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
4702 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4704 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
4706 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4708 * elmo.el (elmo-generic-folder-append-messages): Make
4709 fetch-strategy with `use-cache' as 'maybe. Check return value of
4710 `elmo-message-fetch'.
4711 (elmo-message-fetch): Return return value of
4712 `elmo-message-fetch-with-cache-process'.
4713 (elmo-message-fetch-with-cache-process): Return non-nil if
4714 fetching was succeed. Load cache when fetching was failed and
4715 fetch-strategy-use-cache is 'maybe.
4717 * elmo-util.el (elmo-file-cache-load): New function.
4719 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
4722 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
4723 non-nil if fetching was succeed.
4725 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
4727 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
4729 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
4730 (elmo-message-fetch-with-cache-process): Likwise.
4732 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
4734 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
4736 * elmo-version.el (elmo-version): Up to 2.9.2.
4738 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
4740 * elmo.el (elmo-folder-delete): Delete msgdb path.
4742 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
4744 * elmo-maildir.el (elmo-folder-delete): Ditto.
4746 * elmo-localdir.el (elmo-folder-delete): Ditto.
4748 * elmo-imap4.el (elmo-folder-delete): Ditto.
4750 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
4752 * elmo.el (luna-define-class): Added `biff' slot.
4754 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
4755 (elmo-pop3-debug-inhibit-logging): Abolished.
4756 (elmo-network-close-session): Eliminated needless let.
4757 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
4758 (elmo-pop3-send-command): Added `no-log' argument.
4759 (elmo-pop3-process-filter): Use `with-current-buffer'.
4760 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
4762 (elmo-pop3-auth-apop): Likewise.
4763 (elmo-network-authenticate-session): Likewise.
4765 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
4768 * elmo-net.el (elmo-network-session-password-key): Use class symbol
4769 string to determine protocol.
4770 (elmo-network-session-name-prefix): Abolished.
4771 (elmo-network-session-cache-key): Follow the change above.
4772 (elmo-network-open-session): Ditto.
4774 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
4775 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
4777 * elmo-version.el (elmo-version): Up to 2.9.1.
4779 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
4780 unmatch condition checking.
4782 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
4785 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4787 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
4789 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
4791 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4792 test for while loop to execute at least one SEARCH command.
4794 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
4796 * elmo-version.el (elmo-version): Up to 2.9.0.
4798 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4800 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
4801 (elmo-archive-folder-path): Define.
4802 (elmo-folder-initialize): Setup `dir-name' slot.
4803 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
4804 Use `dir-name' as prefix of each subfolders.
4805 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
4807 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4809 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
4810 (elmo-pipe-folder-list-target-messages): New internal function.
4811 (elmo-pipe-drain): Use new argument `ignore-list' instead of
4813 (elmo-pipe-folder-copied-list-load): New function.
4814 (elmo-pipe-folder-copied-list-save): Ditto.
4815 (elmo-folder-open-internal): Follow the change above.
4816 (elmo-folder-status): Fixed for copy.
4818 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
4820 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
4822 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
4824 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
4825 elmo-copy-file instead of elmo-add-name-to-file.
4827 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
4829 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
4832 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
4833 of accept-process-output as 1.
4834 (elmo-pop3-read-contents): Ditto.
4835 (elmo-pop3-read-body): Ditto.
4837 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
4839 * elmo-version.el (product-version-as-string): Remove define.
4841 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4843 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
4844 (elmo-imap4-copy-messages): Chop number set using
4845 `elmo-imap4-number-set-chop-length'.
4846 (elmo-imap4-set-flag): Ditto.
4847 (elmo-imap4-search-internal-primitive): Ditto.
4849 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4851 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
4852 `elmo-folder-make-temp-dir'
4854 * elmo-vars.el (elmo-cache-directory): New variable.
4855 (elmo-cache-dir): Abolished.
4856 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
4858 * elmo-version.el (elmo-version): Up to 2.7.7.
4860 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
4862 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
4863 defcustom; Set default value as t.
4865 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
4867 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
4868 (ldap-search-program-arguments): Changed default value.
4869 (ldap-search-basic): Accept exit status 4.
4870 (ldap/field-body): Parse options.
4871 (ldap/collect-field): Ditto.
4872 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
4874 * elmo-imap4.el (elmo-imap4-process-bye): New function.
4875 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
4876 (elmo-imap4-accept-ok): Ditto.
4877 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
4878 'notify-bye, only BYE error is reported.
4879 (elmo-folder-exists-p-plugged): Set no-error argument of
4880 `elmo-imap4-session-select-mailbox' as 'notify-bye.
4882 * elmo.el (elmo-imap4-bye-error): Changed message.
4884 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
4885 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
4886 queues (It causes infinite loop).
4888 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4890 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
4891 (RECENT UNSEEN MESSAGES) extension.
4893 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
4895 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
4896 Check number of overview fields.
4898 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4900 * elmo.el (elmo-folder-confirm-appends): Changed message.
4901 (elmo-folder-confirm-appends): Ditto.
4903 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
4905 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
4907 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4909 * elmo.el (elmo-folder-confirm-appends): Check whether the value
4910 of elmo-folder-update-threshold is nil, which can be set by
4911 wl-summary-update-confirm-threshold.
4913 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
4915 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
4916 (elmo-nmz-index-alias-alist): Ditto.
4917 (elmo-map-folder-list-message-locations): Follow the change above.
4919 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4921 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
4923 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
4925 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
4927 * elmo-util.el (elmo-read): Ditto.
4928 (elmo-display-error): Ditto.
4930 * elmo-vars.el (elmo-date-match): Ditto.
4932 * pldap.el (ldap-coding-system): Ditto.
4934 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
4935 `elmo-inhibit-number-mapping' as nil.
4937 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
4939 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
4940 space delimiter for list response.
4942 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4944 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
4946 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4948 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
4949 (elmo-map-message-fetch): Fix.
4950 * elmo-map.el (elmo-folder-status): Fix for killed.
4952 2001-12-02 Kenichi OKADA <okada@opaopa.org>
4954 * elmo-sendlog.el: New file.
4955 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
4957 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
4959 * acap.el (acap-logging-out): New buffer local variable.
4960 (acap-close): Set it.
4961 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
4964 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4966 * acap.el (acap-response-bye-p): New function.
4967 (acap-response-bye-message): Ditto.
4968 (acap-wait-for-response): If bye response is received, cause an error.
4969 (acap-parse-response): Make bye response when 'Bye' is received.
4971 2001-11-23 Kenichi OKADA <okada@opaopa.org>
4973 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4975 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4977 * elmo-util.el (elmo-copy-file): Added argument
4978 `ok-if-already-exists'.
4979 (elmo-copy-file): Fixed typo.
4981 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4983 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
4985 2001-11-21 Kenichi OKADA <okada@opaopa.org>
4987 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
4989 2001-11-20 Kenichi OKADA <okada@opaopa.org>
4991 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
4994 2001-11-19 Kenichi OKADA <okada@opaopa.org>
4996 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
4997 (elmo-folder-initialize): Fix for `copy'.
4998 (elmo-pipe-drain): Ditto.
4999 (elmo-folder-open-internal): Ditto.
5000 (elmo-folder-newsgroups): Fix.
5002 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5004 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5007 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5008 recent value is returned from imap folder.
5010 * elmo.el (elmo-folder-newsgroups): New generic function.
5012 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5013 (elmo-folder-initialize): Set it.
5014 (elmo-folder-expand-msgdb-path): Use it.
5015 (elmo-folder-newsgroups): Define.
5017 * elmo-filter.el (elmo-folder-newsgroups): Define.
5019 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5021 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5023 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5025 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5027 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5029 (elmo-shimbun-header-extra-field): New inline function.
5030 (elmo-shimbun-header-set-extra-field): Ditto.
5031 (elmo-shimbun-folder-header-hash-setup): Ditto.
5032 (elmo-shimbun-update-overview): Ditto.
5033 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5034 (elmo-shimbun-folder-setup): Use
5035 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5036 (elmo-shimbun-get-headers): Ditto.
5037 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5038 Insert `X-Shimbun-Id:' header if extra field is set.
5039 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5040 field's value instead of `shimbun-header-id'.
5042 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5044 (elmo-msgdb-overview-entity-set-date): Ditto.
5045 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5047 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5049 * mmimap.el (mmimap-entity-section): Changed body node number from
5052 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5054 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5055 `elmo-folder-delete-messages'.
5057 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5058 (elmo-folder-initialize): Changed to expand alias into index path.
5060 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5061 `elmo-mime-insert-header-from-buffer' with 6th arg
5064 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5066 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5068 * elmo.el (elmo-diff-new): New inline function.
5069 (elmo-diff-unread): Ditto.
5070 (elmo-diff-all): Ditto.
5072 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5073 value from responseb.
5074 (elmo-imap4-folder-diff-plugged): Ditto.
5075 (elmo-imap4-server-diff-async): Added recent argument.
5076 (elmo-server-diff-async): Ditto.
5077 (elmo-imap4-folder-diff-plugged): Ditto.
5079 * elmo-version.el (elmo-version): Up to 2.7.6.
5081 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5083 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5086 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5088 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5090 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5092 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5094 * elmo-multi.el (elmo-folder-initialize): Ditto.
5096 * elmo-util.el (elmo-parse-token): New function.
5097 (elmo-parse-prefixed-element): Ditto.
5099 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5101 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5103 (elmo-imap4-accept-ok): Ditto.
5105 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5107 * mmimap.el (mime-imap-entity-header-string): Don't check first
5108 element of node-id is `0' (Follow last change).
5110 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5112 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5113 assigned irregular node-id to nested multipart section.
5114 (initialize-instance): Followed above change.
5116 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5118 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5119 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5120 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5121 `elmo-shimbun-get-headers');
5122 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5123 visible article on summary exists in headers).
5124 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5126 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5128 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5131 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5133 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5135 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5137 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5138 header separator into loop condition.
5140 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5142 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5143 Return duplicate folder if it has subfolder.
5145 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5147 * elmo.el (elmo-make-folder): Add folder name error check.
5149 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5150 (elmo-nntp-encode-group-string): New inline function.
5151 (elmo-nntp-decode-group-string): Ditto.
5152 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5153 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5154 Use `not' instead of `null';
5155 Use elmo-nntp-decode-group-string.
5157 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5159 * elmo-version.el (elmo-version): Up to 2.7.5.
5161 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5163 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5164 Hide progress gauge if `elmo-folder-move-messages' exits
5167 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5169 * elmo-imap4.el (elmo-folder-initialize): Use
5170 `elmo-imap4-encode-folder-string' for folder name.
5172 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5174 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5177 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5179 * elmo-util.el (elmo-progress-counter-alist): New internal
5181 (elmo-progress-counter-value): New macro.
5182 (elmo-progress-counter-all-value): Ditto.
5183 (elmo-progress-counter-format): Ditto.
5184 (elmo-progress-counter-set-value): Ditto.
5185 (elmo-progress-set): New function.
5186 (elmo-progress-clear): Ditto.
5187 (elmo-progress-notify): Ditto.
5189 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5192 * elmo.el (elmo-generic-folder-append-messages): Call
5193 `elmo-progress-notify'.
5194 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5196 * elmo-archive.el (elmo-folder-append-messages): Call
5197 `elmo-progress-notify'.
5199 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5201 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5203 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5205 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5207 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5209 (elmo-message-encache-dop): Added argument `read'.
5211 * elmo-shimbun.el (elmo-message-encache): Ditto.
5213 * elmo-net.el (elmo-message-encache): Ditto.
5215 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5216 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5217 elmo-imap4-seen-messages.
5218 (elmo-folder-msgdb-create-plugged): Initialize
5219 elmo-imap4-seen-messages;
5220 Set seen mark on elmo-imap4-seen-messages.
5222 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5224 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5225 elmo-folder-append-buffer.
5226 (elmo-folder-encache): Added optional argument `read'.
5227 (elmo-message-encache): Ditto.
5229 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5231 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5233 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5234 if append buffer content succeds.
5236 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5238 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5239 elmo-display-progress.
5241 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5242 Set 4th argument of mime-display-message.
5243 (elmo-mime-display-as-is): Ditto.
5245 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5247 * elmo-nmz.el (toplevel): Require 'mime-edit.
5248 (elmo-nmz-content-type-alist): Abolished.
5249 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5250 content is not a message.
5251 (elmo-map-message-fetch): Changed behavior exept for message content;
5252 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5253 content-type, Add From: and Subject: field.
5255 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5257 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5258 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5261 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5263 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5264 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5266 * elmo-archive.el (elmo-folder-writable-p): Defined.
5268 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5270 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5272 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5274 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5276 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5278 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5280 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5282 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5284 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5286 * elmo-util.el (elmo-address-quote-specials): New function;
5287 Renamed from `wl-address-quote-specials'.
5289 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5291 * elmo-version.el (elmo-version): Up to 2.7.4.
5293 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5295 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5297 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5299 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5300 both compile-time and run-time to avoid byte-compile warning.
5302 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5304 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5306 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5308 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5310 (elmo-mime-display-as-is-internal): Use it.
5312 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5313 if `read-passwd' is not defined.
5315 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5317 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5319 (elmo-folder-status): Call `elmo-folder-open-internal';
5320 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5321 (elmo-folder-close-internal): Set location-alist as nil.
5322 (elmo-folder-clear): Define.
5323 (elmo-folder-check): Don't set location-alist as nil.
5325 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5327 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5329 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5330 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5332 * mmimap.el (mime-imap-entity::requested): New slot.
5333 (mime-imap-location-fetch-entity-p): New generic function.
5334 (mime-decode-parameters): Define using `defun-maybe'.
5335 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5336 content-type structure.
5337 (mime-entity-body): Return empty body if
5338 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5340 * elmo.el (elmo-message-displaying): New variable.
5342 * elmo-mime.el (elmo-mime-message-display): Bind
5343 elmo-message-displaying as t.
5345 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5347 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5349 * acap.el (acap-open): erase buffer before starting network process.
5350 (acap-store): Rewrite.
5352 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5354 * elmo-imap4.el (elmo-imap4-default-mailbox,
5355 elmo-imap4-default-server
5356 elmo-imap4-default-authenticate-type,
5357 elmo-imap4-default-user,
5358 elmo-imap4-default-port,
5359 elmo-imap4-default-stream-type,
5360 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5362 * elmo-pop3.el (elmo-pop3-default-user,
5363 elmo-pop3-default-server,
5364 elmo-pop3-default-authenticate-type,
5365 elmo-pop3-default-port,
5366 elmo-pop3-default-stream-type,
5367 elmo-pop3-stream-type-alist): Ditto.
5369 * elmo-nntp.el (elmo-nntp-default-server,
5370 elmo-nntp-default-user,
5371 elmo-nntp-default-port,
5372 elmo-nntp-default-stream-type,
5373 elmo-nntp-stream-type-alist): Ditto.
5375 * elmo-vars.el: Follow changes above.
5376 (elmo-setting): New custom group; added 'elmo-setting group to
5379 * elmo-version.el (elmo-version): Up to 2.7.3.
5381 * acap.el (acap-parse-response): Don't delete process when BYE
5382 response (It causes hang-up on slow network environment).
5383 (toplevel): Added comment.
5385 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5387 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5389 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5391 (acap-parse-return-metadata): Ditto.
5394 (toplevel): Fixed typo.
5396 * acap.el: New file.
5397 (acap-network-stream-open): Show "Connecting..." message.
5398 (acap-parse-response): Fixed problem for BYE untagged response.
5399 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5400 (toplevel): Added tiny comments.
5402 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5404 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5405 space delimiter for uidl response.
5407 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5409 * elmo-vars.el (elmo-use-semi): Eliminated.
5411 * elmo-util.el (elmo-string-assoc-all): New function.
5413 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5415 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5416 property 'mime-preview-situation for `mime-preview-quit'.
5418 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5420 * elmo.el (elmo-message-fetch-with-cache-process): Call
5421 elmo-message-fetch-internal instead of causing an error when fetch
5422 strategy is 'entire but only 'section cache is available.
5424 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5426 * elmo-version.el (elmo-version): Up to 2.7.2.
5428 * elmo.el (elmo-generic-folder-append-messages): Make
5429 fetch-strategy with `use-cache'.
5431 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5432 (elmo-dop-queue-method-name): New macro.
5434 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5436 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5437 unbalanced parenthesis.
5439 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5441 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5443 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5445 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5446 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5448 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5450 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5453 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5455 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5456 (elmo-message-use-cache-p): Define.
5457 (elmo-folder-msgdb-create): Treat cache.
5459 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5461 * elmo-nntp.el (elmo-network-initialize-session): Call
5462 `elmo-nntp-send-mode-reader'.
5463 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5465 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5467 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5469 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5472 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5473 for `elmo-plugged-p'.
5474 (elmo-open-network-stream): Fixed stream-type argument.
5476 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5478 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5479 unknown archive type is specified.
5481 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5483 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5485 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5486 while loading msgdb.
5488 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5489 (elmo-folder-open-internal): Rewrite.
5491 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5493 * elmo-mime.el (elmo-mime-display-as-is-internal):
5494 Adjust buffer-multibyte status.
5496 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5498 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5499 of elmo-condition-find-key.
5501 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5502 (elmo-condition-in-msgdb-p): Ditto.
5503 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5506 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5508 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5510 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5512 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5513 label for elmo-display-progress.
5515 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5517 * elmo.el (elmo-folder-clear): New method.
5518 (elmo-folder-clear): Define.
5519 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5521 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5522 (elmo-folder-clear): Define.
5524 * elmo-map.el (elmo-folder-clear): Define.
5526 * elmo-version.el (elmo-version): Up to 2.7.1.
5528 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5530 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5533 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5535 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5536 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5538 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5540 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5542 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5545 * elmo-imap4.el (elmo-folder-initialize): Use
5546 elmo-get-network-stream-type.
5548 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5550 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5552 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5554 * elmo.el (elmo-message-encache): Set unread argument for
5557 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5559 * elmo.el (elmo-net-port-info): New method.
5561 * elmo-shimbun.el (elmo-net-port-info): Define.
5562 (elmo-message-encache): Ditto.
5564 * elmo-net.el (elmo-net-port-info): Define as method.
5566 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5567 unplugged status when elmo-enable-disconnected-operation is t.
5569 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5570 of spool folder before checking new number.
5572 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5574 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5575 (elmo-network-setup-session): Ditto.
5576 (elmo-message-fetch-plugged): Ditto.
5577 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5578 (elmo-network-initialize-session): Ditto.
5579 (elmo-pop3-read-response): Abolish 3rd argument.
5580 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5581 (elmo-pop3-read-contents): Ditto.
5582 (elmo-pop3-read-body): Ditto.
5583 (elmo-folder-status): Call elmo-folder-close.
5584 (elmo-pop3-lock): Abolish.
5585 (elmo-pop3-unlock): Ditto.
5586 (elmo-pop3-locked-p): Ditto.
5587 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5589 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5591 * elmo-version.el (elmo-version): Up to 2.7.0.
5593 * elmo-pop3.el (elmo-pop3-debug): New variable.
5594 (elmo-pop3-debug-inhibit-logging): Ditto.
5595 (elmo-pop3-debug): New function.
5596 (elmo-pop3-send-command): Call elmo-pop3-debug.
5597 (elmo-pop3-read-response): Added keep-lock optional argument;
5598 Don't unlock if keep-lock is non-nil.
5599 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5600 (elmo-network-authenticate-session): Bind
5601 elmo-pop3-debug-inhibit-logging as t.
5602 (elmo-network-setup-session): Call elmo-pop3-read-response with
5604 (elmo-pop3-read-msg): Ditto.
5605 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5606 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5607 (elmo-network-initialize-session): Call elmo-pop3-lock.
5608 (elmo-folder-close-internal): Don't clear location-alist slot.
5609 (elmo-folder-check): Clear location-alist slot.
5611 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5613 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5614 (elmo-pop3-send-command): Call elmo-pop3-lock.
5615 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5616 (elmo-pop3-read-contents): Ditto.
5617 (elmo-pop3-lock): New function.
5618 (elmo-pop3-unlock): Ditto.
5619 (elmo-pop3-locked-p): Ditto.
5620 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5623 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5625 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5627 * elmo-util.el (elmo-file-field-primitive-condition-match):
5628 New inline function (Don't fetch file content if "first" or "last").
5629 (elmo-file-field-condition-match): Use
5630 elmo-file-field-primitive-condition-match.
5632 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5635 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5636 (elmo-message-fetch-plugged): Fixed.
5638 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5640 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5642 * elmo.el (elmo-folder-move-messages): Bind
5643 elmo-inhibit-display-retrieval-progress as t while moving messages.
5645 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5647 (elmo-inhibit-display-retrieval-progress): Ditto.
5649 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5650 for retrieval progress;
5651 Don't display progress when total buffer size is smaller than
5652 elmo-display-retrieval-progress-threshold.
5653 (elmo-message-fetch-plugged): Don't display progress when
5654 elmo-inhibit-display-retrieval-progress is non-nil.
5656 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5657 for retrieval progress;
5658 Don't display progress when literal size is smaller than
5659 elmo-display-retrieval-progress-threshold.
5660 (elmo-imap4-message-fetch): Don't display progress when
5661 elmo-inhibit-display-retrieval-progress is non-nil.
5663 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5665 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5666 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5667 (elmo-imap4-message-fetch): Likewise.
5669 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5670 (elmo-shimbun-index-range-alist): Ditto.
5671 (elmo-shimbun-use-entire-index): Abolish.
5672 (shimbun-mua-use-entire-index): Ditto.
5673 (elmo-shimbun-folder): Added new slot `range'.
5674 (elmo-folder-initialize): Setup slot `range'.
5676 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5678 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5679 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5680 (elmo-shimbun-get-headers): Use return value of
5681 `shimbun-article-expiration-days'.
5682 (elmo-folder-close-internal): Clean up last-check slot.
5684 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5685 (elmo-pop3-total-size): New variable.
5686 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5688 * elmo.el (elmo-folder-reserve-status-p): New method.
5690 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5691 (elmo-shimbun-use-entire-index): New user option.
5692 (shimbun-elmo-mua): New class.
5693 (shimbun-mua-search-id): Define.
5694 (shimbun-mua-use-entire-index): Ditto.
5695 (elmo-shimbun-folder:last-check): New slot.
5696 (elmo-shimbun-headers-cache-header-list): Abolish.
5697 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5698 (elmo-shimbun-headers-cache-header-hash): Ditto.
5699 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5700 (elmo-shimbun-headers-cache-last-check): Ditto.
5701 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5702 (elmo-shimbun-headers-check-p): Rewrite.
5703 (elmo-shimbun-msgdb-to-headers): New function.
5704 (elmo-shimbun-get-headers): Rewrite.
5705 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
5706 (elmo-folder-open-internal): Get headers only if
5707 `elmo-shimbun-headers-check-p' is non-nil.
5708 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
5710 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
5711 (elmo-quit): Removed.
5713 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
5715 (elmo-msgdb-overview-entity-set-extra): Ditto.
5716 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
5718 * elmo-map.el (elmo-folder-status): Don't call
5719 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
5722 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5724 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
5725 of `elmo-msgdb-search-internal-primitive' when condition's car is
5728 2001-05-23 Kenichi OKADA <okada@opaopa.org>
5730 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
5732 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5734 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
5735 call `elmo-pipe-drain'.
5737 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5739 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
5740 typo. (elmo-cache-folder -> elmo-mark-folder)
5742 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5744 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
5745 `elmo-message-fetch'.
5747 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5749 * elmo-net.el (elmo-message-encache): Fixed typo.
5750 (elmo-message-fetch-unplugged): Changed call
5751 `elmo-message-fetch-internal' without argument `outbuf'.
5753 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5755 * elmo.el (elmo-message-encache): Define as generic function.
5756 (elmo-message-fetch-field): New generic function.
5757 (elmo-message-fetch-with-cache-process): Cause an error when
5758 fetch strategy is 'entire but only 'section cache is available.
5759 (toplevel): Fixed nmz folder definition.
5761 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
5762 (elmo-msgdb-resume-list-filename): Ditto.
5763 (elmo-queue-filename): Ditto.
5764 (elmo-enable-disconnected-operation): Changed default value to t.
5766 * elmo-util.el (elmo-cache-path-section-p): New function.
5767 (elmo-file-cache-get): Use it.
5768 (elmo-dop-queue-filename): Moved from elmo-dop.el.
5769 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
5770 (elmo-dop-queue-save): Ditto.
5772 * elmo-net.el (elmo-folder-status-unplugged): Call
5773 elmo-folder-status-dop.
5774 (elmo-folder-list-messages-unplugged): Implemented.
5775 (elmo-folder-delete-messages-unplugged): Define.
5776 (elmo-folder-msgdb-create): Define.
5777 (elmo-folder-msgdb-create-unplugged): Define.
5778 (elmo-folder-mark-as-read-unplugged): Ditto.
5779 (elmo-folder-unmark-read-unplugged): Ditto.
5780 (elmo-folder-mark-as-important-unplugged): Ditto.
5781 (elmo-folder-unmark-important-unplugged): Ditto.
5782 (elmo-message-encache): Ditto.
5784 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
5785 (elmo-dop-queue-save): Ditto.
5787 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
5788 `elmo-folder-msgdb-create'.
5789 (elmo-folder-append-buffer): Implemented unplugged operation.
5790 (elmo-folder-append-messages): Call parent method in unplugged status.
5791 (elmo-message-fetch-unplugged): Removed definition.
5792 (elmo-message-fetch-field): Implemented.
5794 * elmo-dop.el (toplevel): Require 'elmo-localdir.
5795 (elmo-dop-folder): Removed variable definition.
5796 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
5797 (elmo-dop-queue-flush): Implemented.
5798 (elmo-dop-queue-merge): Removed definition (TODO).
5799 (elmo-dop-spool-folder): New function.
5800 (elmo-dop-spool-folder-append-buffer): Ditto.
5801 (elmo-dop-spool-folder-list-messages): Ditto.
5802 (elmo-dop-list-deleting-messages): Ditto.
5803 (elmo-folder-append-buffer-dop): Ditto.
5804 (elmo-folder-delete-messages-dop): Ditto.
5805 (elmo-message-encache-dop): New inline function.
5806 (elmo-create-folder-dop): Ditto.
5807 (elmo-folder-mark-as-read-dop): Ditto.
5808 (elmo-folder-unmark-read-dop): Ditto.
5809 (elmo-folder-mark-as-important-dop): Ditto.
5810 (elmo-folder-unmark-important-dop): Ditto.
5811 (elmo-folder-status-dop): Fixed.
5812 (elmo-folder-append-buffer-dop-delayed): New function.
5813 (elmo-folder-delete-messages-dop-delayed): Ditto.
5814 (elmo-dop-msgdb): Ditto.
5816 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5818 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
5820 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5822 * elmo.el (elmo-folder-move-messages): Fixed problem when
5823 `dst-folder' is 'null.
5825 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5827 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
5828 instead of current mark.
5830 * elmo-multi.el (elmo-folder-list-importants-internal): No
5831 operation if importants is not list.
5833 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
5834 Return t if importants is not list.
5836 * elmo-map.el (elmo-map-folder-list-importants): Define.
5837 (elmo-folder-list-importants-internal): Check return value of
5838 `elmo-map-folder-list-importants-internal'.
5840 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
5842 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
5844 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
5846 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
5848 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
5850 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
5851 (Patch is provided by <kita@coe.nttdata.co.jp>).
5853 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5855 * elmo.el (elmo-folder-synchronize): Don't check important mark in
5858 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5860 * elmo.el (elmo-message-fetch): Define.
5861 (elmo-message-fetch-with-cache-process): New generic method.
5862 (elmo-message-fetch-internal): New generic method.
5863 (elmo-folder-synchronize):
5865 * elmo-archive.el (elmo-message-fetch-internal): Define.
5866 (elmo-message-fetch): Eliminated.
5868 * elmo-localdir.el (elmo-message-fetch-internal): Define.
5869 (elmo-message-fetch): Eliminated.
5871 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
5873 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
5875 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
5876 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
5878 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
5879 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
5881 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
5883 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
5885 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
5887 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
5888 (elmo-message-fetch-unplugged): New generic method.
5889 (elmo-message-fetch-internal): Remove cache process (Renamed from
5890 `elmo-message-fetch').
5892 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
5893 (elmo-message-fetch): Eliminated.
5894 (elmo-message-fetch-unplugged): Ditto.
5896 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
5898 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5900 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
5901 of `to-be-deleted' from number-alist to number-list.
5903 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5905 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
5906 (elmo-folder-mark-as-important): Ditto.
5908 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
5910 * elmo.el (elmo-folder): Added process-duplicates slot.
5912 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
5913 (elmo-folder-unmark-read): Ditto.
5914 (elmo-folder-unmark-important): Ditto.
5915 (elmo-folder-mark-as-important): Ditto.
5917 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
5918 duplicated message processing.
5920 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
5922 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5924 * elmo-util.el (elmo-list-subdirectories-1): New function.
5925 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
5926 (elmo-mapcar-list-of-list): New function.
5928 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
5929 `elmo-mapcar-list-of-list' instead of `mapcar'.
5931 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
5933 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
5934 `elmo-have-link-count'. Return the fully qualified folder name.
5936 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
5938 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
5939 (elmo-shimbun-headers-cache): New internal variable.
5940 (elmo-shimbun-headers-cache-header-list): New inline function.
5941 (elmo-shimbun-headers-cache-set-header-list): Ditto.
5942 (elmo-shimbun-headers-cache-header-hash): Ditto.
5943 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
5944 (elmo-shimbun-headers-cache-last-check): Ditto.
5945 (elmo-shimbun-headers-cache-set-last-check): Ditto.
5946 (elmo-shimbun-lapse-seconds): Ditto.
5947 (elmo-shimbun-headers-cache-check-p): Ditto.
5948 (elmo-shimbun-get-headers): New function.
5949 (elmo-folder-open-internal): Call it.
5950 (elmo-quit): Define (Clear headers-cache).
5952 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
5954 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
5956 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
5957 (elmo-msgdb-flist-save): Ditto.
5959 * elmo-shimbun.el (elmo-folder-list-subfolders):
5960 Use `shimbun-groups' instead of `shimbun-groups-internal'.
5961 (elmo-folder-exists-p): Ditto.
5963 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
5964 argument for `shimbun-header-insert'.
5966 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
5968 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
5971 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
5972 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
5974 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
5976 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
5977 (elmo-folder-plugged-p): Define.
5978 (elmo-folder-set-plugged): Ditto.
5979 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
5980 (elmo-folder-list-messages-internal): Return t if unplugged.
5981 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
5983 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
5984 when elmo-folder-list-messages-internal method of children returns t.
5986 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
5988 (elmo-folder-open-internal): Don't update if unplugged status.
5990 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
5992 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
5995 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
5997 * elmo-util.el (elmo-file-cache-save): Ignore errors.
5999 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6002 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6004 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6006 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6007 (elmo-folder-open-internal): Set up headers slot.
6008 (elmo-folder-check): Call elmo-folder-close-internal and
6009 elmo-folder-open-internal.
6010 (elmo-folder-close-internal): Clean up headers slot.
6012 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6014 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6015 exactly folder list.
6016 (elmo-folder-append-messages): Fixed append archive with prefix.
6018 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6019 make temp files with start-number.
6021 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6023 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6025 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6026 argument `visible-only'.
6027 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6030 * elmo-pop3.el (elmo-folder-open-internal): Check
6031 `elmo-inhibit-number-mapping' is non-nil.
6033 * elmo-pipe.el (elmo-folder-status): Fixed.
6035 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6037 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6039 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6040 (elmo-folder-open-internal): Setup `header-hash' slot.
6041 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6043 (elmo-map-message-fetch): Ditto.
6045 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6047 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6048 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6049 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6050 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6052 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6054 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6056 * sb-airs.el: Added footer.
6058 * shimbun.el (shimbun-article): Define as luna-method.
6060 * sb-tcup.el: New file.
6062 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6063 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6065 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6067 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6068 (shimbun-get-headers): Ditto.
6070 * elmo.el: Moved obsolete variable definitions from
6071 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6073 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6076 * shimbun.el: New file.
6078 * elmo-shimbun.el: New file.
6080 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6081 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6082 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6083 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6085 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6087 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6090 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6092 * elmo.el (elmo-folder-msgdb): Define as macro.
6093 (elmo-folder-open): Added argument `load-msgdb'.
6094 (elmo-generic-folder-open): Ditto.
6095 (elmo-folder-encache): New function.
6097 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6099 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6101 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6102 Eliminated argument FOLDER and added argument MSGDB.
6103 (elmo-dop-queue-load): Moved from elmo-dop.el.
6104 (elmo-dop-queue-save): Ditto.
6106 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6108 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6110 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6111 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6112 (elmo-filter-folder-list-importants-internal): Ditto.
6114 * elmo-map.el (elmo-folder-pack-number): Ditto.
6116 * elmo-mime.el (elmo-mime-message-display): Ditto.
6118 * elmo.el (elmo-generic-folder-commit): Ditto.
6119 (elmo-folder-list-unreads): Ditto.
6120 (elmo-folder-list-importants): Ditto.
6121 (elmo-generic-folder-commit): Ditto.
6122 (elmo-message-set-mark): Ditto.
6123 (elmo-generic-folder-append-msgdb): Ditto.
6124 (elmo-folder-synchronize): Ditto.
6125 (elmo-folder-messages): Ditto.
6126 (elmo-init): Call elmo-dop-queue-load.
6127 (elmo-folder-list-messages): Ditto.
6129 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6130 (elmo-nntp-folder-process-crosspost): Ditto.
6131 (elmo-folder-list-unreads-internal): Ditto.
6133 * elmo-dop.el: Removed old functions.
6135 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6137 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6138 `folder' to `msgdb'.
6140 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6142 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6143 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6145 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6148 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6150 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6153 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6154 (mmimap-parse-parameters-from-list): Define as alias for
6155 `mime-decode-parameter-plist' if it is defined as function.
6156 (mmimap-make-mime-entity): Added argument `number'.
6157 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6159 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6161 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6163 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6165 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6167 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6169 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6171 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6172 when elmo-imap4-default-authenticate-type is nil.
6173 (elmo-folder-list-subfolders): Ditto
6174 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6175 (elmo-imap4-fetch-callback-1-subr): Renamed from
6176 `elmo-imap4-fetch-callback-1' and define as inline function.
6177 (elmo-imap4-fetch-callback-1):
6178 Renamed from `elmo-imap4-fetch-callback'.
6179 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6181 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6182 msgdb path (To keep compatibility with main trunk).
6184 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6186 * elmo-util.el (elmo-make-file-cache): Moved position of
6189 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6190 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6191 instead of `elmo-pop3-inhibit-uidl'.
6192 (elmo-folder-exists-p): Ditto.
6193 (elmo-pop3-folder-list-messages): Ditto.
6195 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6196 instead of `elmo-pop3-inhibit-uidl'.
6197 (elmo-folder-status): Ditto.
6199 * elmo-dop.el (elmo-dop-folder): New variable.
6200 (elmo-dop-lock-message): Eliminated.
6201 (elmo-dop-unlock-message): Ditto.
6202 (elmo-dop-lock-list-load): Ditto.
6203 (elmo-dop-lock-list-save): Ditto.
6204 (elmo-dop-delete-folder): Ditto.
6205 (elmo-dop-rename-folder): Ditto.
6207 * elmo.el: Removed incomplete commentary.
6209 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6211 * elmo.el (toplevel): Require 'elmo-version first;
6212 for little `recursive-load-depth' settings.
6213 Fix "ends here" comment.
6215 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6217 * elmo-util.el (toplevel): Require 'poem;
6218 Some functions are moved from elmo-cache.el.
6220 * elmo-net.el (toplevel): Require 'elmo-cache.
6222 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6224 * elmo.el (toplevel): Ditto.
6226 * elmo-cache.el: Rewrite with luna;
6227 Some functions are moved to elmo-util.el.
6229 * elmo-internal.el (elmo-internal-folder-list): New variable.
6230 (elmo-internal-folder-initialize): Rewrite.
6231 (elmo-folder-list-subfolders): Ditto.
6233 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6234 (elmo-cache-collect-sub-directories): Ditto.
6236 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6238 * elmo-version.el (elmo-version): Up to 2.5.8.
6240 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6242 * elmo-util.el (elmo-list-insert): New function.
6244 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6246 * elmo.el (elmo-init): New function.
6247 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6249 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6250 (Renamed from `elmo-localdir-header-chop-length').
6252 * elmo-pop3.el (elmo-pop3-use-cache,
6253 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6255 * elmo-nntp.el (elmo-message-fetch): Define.
6256 (elmo-message-fetch-unplugged): Ditto.
6257 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6258 (elmo-nntp-use-cache): Ditto.
6259 (elmo-nntp-max-number-precedes-list-active): Ditto.
6261 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6263 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6264 `elmo-msgdb-insert-file-header'.
6265 Use `elmo-msgdb-file-header-chop-length'.
6267 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6270 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6271 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6272 `elmo-msgdb-insert-file-header'.
6274 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6276 Define obsolete variables with `elmo-define-obsolete-variable',
6278 * elmo-util.el (elmo-warning-buffer-name): New constant.
6279 (elmo-warning): New function.
6280 (elmo-obsolete-variable-alist): New variable.
6281 (elmo-obsolete-variable-show-warnings): New variable.
6282 (elmo-define-obsolete-variable): New function.
6283 (elmo-resque-obsolete-variable): Ditto.
6284 (elmo-resque-obsolete-variables): Ditto.
6286 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6288 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6291 * elmo-pop3.el, elmo-nntp.el: Use custom.
6293 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6295 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6296 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6298 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6300 * Luna-fy Kenichi OKADA's following changes.
6301 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6303 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6305 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6307 * elmo-util.el (elmo-display-progress): Prefer
6308 `progress-feedback-with-label' to `lprogress-display'.
6310 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6312 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6314 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6316 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6317 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6318 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6319 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6320 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6321 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6322 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6323 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6324 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6325 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6326 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6327 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6328 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6330 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6332 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6333 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6335 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6337 * elmo.el (elmo-folder-process-crosspost): New generic method.
6338 (elmo-folder-writable-p): Ditto.
6339 (elmo-folder-message-appendable-p): Eliminated.
6340 (elmo-generic-folder-append-msgdb): Rewrite.
6341 (elmo-newsgroups-hashtb): New internal variable.
6342 (elmo-crosspost-message-set): Eliminated.
6343 (elmo-crosspost-message-delete): Ditto.
6344 (elmo-setup-subscribed-newsgroups): New function.
6345 (elmo-crosspost-message-alist-modified): New internal variable.
6346 (elmo-crosspost-message-alist-load): New function (Renamed from
6347 `wl-crosspost-alist-load').
6348 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6349 `wl-crosspost-alist-save').
6351 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6353 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6355 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6356 elmo-newsgroups-hashtb).
6357 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6358 `elmo-nntp-folder-update-crosspost-message-alist'.
6359 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6360 `elmo-nntp-groups-hashtb'.
6361 (elmo-nntp-make-groups-hashtb): Eliminated.
6362 (elmo-nntp-parse-newsgroups): New function (Renamed from
6363 `wl-parse-newsgroups').
6364 (elmo-folder-creatable-p, elmo-folder-writable-p,
6365 elmo-folder-close-internal, elmo-folder-mark-as-read,
6366 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6368 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6370 * elmo-net.el (elmo-message-fetch): Check buffer size.
6372 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6374 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6376 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6377 before `close' command.
6379 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6380 `mark-alist' (All other related portions are changed).
6382 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6384 * elmo-util.el (elmo-create-hash-size): Eliminated.
6385 (elmo-make-hash) Make a hash with `one less than a power of two'
6388 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6389 (elmo-hash-maximum-size): Changed value.
6391 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6393 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6394 (elmo-mime-message-display-as-is): Ditto.
6396 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6398 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6399 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6401 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6403 * elmo-mark.el: New file.
6405 * elmo-internal.el: Rewrite (Almost empty).
6407 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6409 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6410 (mime-imap-entity-header-string): Ditto.
6411 (mmimap-entity-section): Rewrite.
6413 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6415 * elmo-nmz.el: New file.
6417 * elmo-pipe.el: Rewrite with luna.
6419 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6421 * elmo-archive.el: Rewrite with luna.
6423 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6424 (elmo-folder-list-importants-internal): Ditto.
6426 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6428 * elmo-archive.el (elmo-archive-version): Abolish.
6429 (toplevel) Removed `boso' comment.
6431 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6433 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6434 elmo-msgdb-add-msgs-to-seen-list-subr;
6435 Changed argument seen-marks to unread-marks.
6437 * elmo-nntp.el: Rewrite with luna.
6439 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6441 * elmo-filter.el: Rewrite with luna.
6443 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6445 * elmo-pop3.el: Rewrite with luna.
6447 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6449 * elmo-multi.el: Rewrite with luna.
6451 * elmo-vars.el (elmo-use-killed-list): Abolish.
6452 All other related portions are changed.
6453 (elmo-filename-replace-string-alist): Renamed from
6454 elmo-msgid-replace-string-alist.
6456 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6458 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6460 * elmo-map.el: New file.
6461 * elmo-maildir.el: Rewrite with luna.
6463 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6465 * elmo.el: Changed meaning of `elmo-folder-commit'.
6466 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6468 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6470 * elmo.el (elmo-folder-append-buffer): New function.
6471 (Renamed from `elmo-append-msg')
6473 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6475 * elmo-mime.el: New file.
6477 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6479 * elmo-cache.el: Rewrite.
6481 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6483 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6485 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6487 * elmo-vars.el (elmo): New group.
6488 (elmo-strict-diff-folder-regexp): New variable.
6490 * elmo-util.el (elmo-call-func): Abolish.
6491 (elmo-folder-get-type): Ditto.
6492 (elmo-*-get-spec): Ditto.
6493 (elmo-*-spec-*): Ditto.
6494 (elmo-imap4-identical-name-space-p): Ditto.
6495 (elmo-folder-identical-system-p): Ditto.
6496 (elmo-folder-direct-copy-alist): Ditto.
6497 (elmo-folder-direct-copy-p): Ditto.
6499 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6500 (elmo-folder-initialize): Define.
6501 (elmo-folder-get-primitive-list): Ditto.
6503 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6504 (elmo-folder-initialize): Define.
6505 Renamed `elmo-network-session-host-internal' to
6506 `elmo-network-session-server-internal'.
6508 * elmo-multi.el (elmo-multi-folder): New luna class.
6509 (elmo-folder-initialize): Define.
6510 (elmo-folder-get-primitive-list): Ditto.
6511 (elmo-folder-contains-type): Ditto.
6512 (elmo-message-use-cache-p): Ditto.
6514 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6515 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6517 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6518 (elmo-folder-initialize): Define.
6520 * elmo-filter.el (elmo-filter-folder): New luna class.
6521 (elmo-folder-initialize): Define.
6522 (elmo-folder-get-primitive-list): Ditto.
6523 (elmo-folder-contains-type): Ditto.
6525 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6527 * elmo-imap4.el: Rewrite with luna.
6529 * mmimap.el: New file.
6531 * mmelmo.el, mmelmo-imap4.el: Removed.
6533 * elmo-net.el: Ditto.
6535 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6536 (elmo-folder-initialize): Define.
6538 * elmo-archive.el (elmo-archive-folder): New luna class.
6539 (elmo-folder-initialize): Define.
6541 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6542 `elmo-folder-msgdb-path'.
6543 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6546 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6548 * elmo.el: New file.
6550 * elmo2.el: Renamed to elmo.el.
6553 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6555 * elmo-cache.el (elmo-cache-expire-by-size): Count
6556 a disk usage for a cache file entry in KB even when
6557 its kind is a directory.
6559 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6561 * elmo-version.el (elmo-version): Up to 2.5.7.
6563 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6565 * elmo-version.el (elmo-version): Up to 2.5.6.
6567 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo-version.el (elmo-version): Up to 2.5.5.
6571 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6573 * elmo-imap4.el (elmo-network-authenticate-session):
6574 Fixed a logic for response checking.
6576 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6578 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6579 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6580 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6583 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6584 for `starttls-open-stream' and `starttls-negotiate'.
6586 * elmo-nntp.el: Remove autoload settings for
6587 `starttls-open-stream' and `starttls-negotiate'.
6589 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6590 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6591 `luna-define-class' with `eval-and-compile'.
6593 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6595 * elmo-util.el (elmo-read-search-condition-internal):
6596 Require an element of table for searching field.
6598 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6600 * elmo-version.el (elmo-version): Up to 2.5.4.
6602 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6604 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6606 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6608 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6610 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6612 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6615 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6617 * elmo-imap4.el (elmo-imap4-delete-folder):
6618 Send "close" before "delete" (Use commented out line).
6619 (elmo-imap4-rename-folder): Ditto.
6621 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6622 folder string itself.
6623 (elmo-dop-list-deleted): New function.
6624 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6627 * elmo-util.el (elmo-string-rassoc-all): New function.
6629 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6631 * elmo-version.el (elmo-version): Up to 2.5.3.
6633 * elmo-net.el (elmo-network-get-session): Changed logic for
6634 checking process status.
6636 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6638 Changed logic for checking process status.
6640 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6642 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6644 (elmo-network-setup-session): Set UIDL hash size according to
6645 the length of list response.
6646 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6647 according to the length of list response;
6648 Return the length of list response.
6649 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6651 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6653 * elmo-imap4.el (toplevel): Require 'ssl.
6654 Add autoload 'starttls.
6655 * elmo-pop3.el (toplevel): Ditto.
6656 * elmo-nntp.el (toplevel): Ditto.
6658 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6660 * elmo-imap4.el (toplevel): defun at compile time.
6661 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6662 sasl-next-step, sasl-step-data, sasl-step-set-data.
6663 * elmo-pop3.el (toplevel): Ditto.
6665 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6667 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6669 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6671 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6673 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6674 and `elmo-pop-auth-apop'.
6676 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6678 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6680 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6682 * elmo-pop3.el (elmo-network-authenticate-session): Split
6683 encoded response value.
6685 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6687 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6688 `elmo-pop3-force-login'.
6689 Redefine `sasl-mechanisms'.
6690 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6692 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6694 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6695 Delete `elmo-imap4-authenticator-alist'.
6696 (elmo-imap4-auth-cram-md5): Delete.
6697 (elmo-imap4-auth-digest-md5): Delete.
6699 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6701 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6702 (elmo-pop3-auth-scram-md5): Ditto.
6703 (elmo-pop3-auth-cram-md5): Ditto.
6705 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6707 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6708 Delete `elmo-pop3-authenticator-alist'.
6710 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6712 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6714 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6716 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6718 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
6720 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
6722 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6723 Fixed problem when `elmo-pop3-use-uidl' is nil.
6724 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
6726 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6728 * elmo-version.el (elmo-version): Up to 2.5.2.
6730 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6732 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
6734 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
6735 (elmo-pop3-msgdb-create-as-numlist): Use it.
6737 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
6738 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
6740 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
6741 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
6743 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6745 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
6746 when elmo-mark-as-read is called with second argument nil.
6748 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
6750 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6751 Moved to elmo-util.el.
6753 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
6754 Moved from elmo-pipe.el
6756 * elmo-archive.el (elmo-archive-call-process): Enclose with
6759 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
6760 "RFC822" (because RFC822.PEEK is obsolete).
6761 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
6763 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
6765 * elmo-archive.el (elmo-archive-call-process): Don't check for
6766 the exit status when Nemacs is running.
6768 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
6770 * elmo-net.el (elmo-network-session-password-key): Don't set default to
6773 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
6774 (elmo-pop3-get-spec): Set default of auth to 'user.
6776 * elmo-imap4.el (elmo-imap4-session-check):
6777 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6778 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
6779 (elmo-imap4-auth-login): New function; Revival.
6780 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
6781 `elmo-imap4-auth-login'.
6783 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
6785 * elmo2.el (toplevel): Move `product-provide' declare.
6786 * mmelmo.el (toplevel): Ditto.
6788 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6790 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
6792 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
6794 * elmo-util.el (elmo-folder-get-store-type): New function.
6795 (elmo-folder-direct-copy-p): Use it.
6797 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
6799 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
6800 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
6801 and result of `elmo-imap4-use-flag-p'.
6802 (elmo-imap4-fetch-callback-1): Set mark according to
6803 the result of `elmo-imap4-use-flag-p'.
6805 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6807 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
6808 (elmo-generic-list-folder-unread): Ditto.
6809 (elmo-folder-get-info): Ditto.
6810 (elmo-folder-set-info-max-by-numdb): Ditto.
6811 (elmo-folder-get-info-max): Ditto.
6812 (elmo-folder-get-info-length): Ditto.
6813 (elmo-folder-get-info-unread): Ditto.
6814 (elmo-folder-info-make-hashtb): Ditto.
6816 * elmo2.el: Removed above functions.
6818 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6820 * elmo-imap4.el (toplevel): Require 'ssl.
6821 Add autoload 'starttls.
6822 * elmo-pop3.el (toplevel): Ditto.
6823 * elmo-nntp.el (toplevel): Ditto.
6825 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6827 * elmo-imap4.el (toplevel): defun at compile time.
6828 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6829 sasl-next-step, sasl-step-data, sasl-step-set-data.
6830 * elmo-pop3.el (toplevel): Ditto.
6832 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6834 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6836 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6838 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6840 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6841 and `elmo-pop-auth-apop'.
6843 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6845 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6847 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6849 * elmo-pop3.el (elmo-network-authenticate-session): Split
6850 encoded response value.
6852 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6854 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6855 `elmo-pop3-force-login'.
6856 Redefine `sasl-mechanisms'.
6857 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6859 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6861 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
6862 Delete `elmo-imap4-authenticator-alist'.
6863 (elmo-imap4-auth-cram-md5): Delete.
6864 (elmo-imap4-auth-digest-md5): Delete.
6866 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6868 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
6869 (elmo-pop3-auth-scram-md5): Ditto.
6870 (elmo-pop3-auth-cram-md5): Ditto.
6872 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6874 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
6875 Delete `elmo-pop3-authenticator-alist'.
6877 2000-11-19 Kenichi OKADA <okada@opaopa.org>
6879 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
6881 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
6884 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6886 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
6888 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
6890 * elmo-nntp.el (elmo-nntp-get-folders-info):
6891 Fixed problem when '\' character is contained in user-id.
6892 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
6895 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6897 * elmo-imap4.el (elmo-imap4-delete-folder):
6898 Send "close" before "delete" (Use commented out line).
6899 (elmo-imap4-rename-folder): Ditto.
6901 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6902 folder string itself.
6903 (elmo-dop-list-deleted): New function.
6904 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6907 * elmo-util.el (elmo-string-rassoc-all): New function.
6909 * elmo-version.el (elmo-version): Up to 2.5.1.
6911 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
6913 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
6915 * elmo-internal.el (elmo-internal-search): Fix last change.
6917 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6919 * elmo-internal.el (elmo-internal-search): Rewrite.
6920 (Fixed problem which is pointed out by Akihiro MOTOKI
6921 <motoki@da.jp.nec.com>)
6923 * elmo-version.el (elmo-version): Up to 2.5.0.
6925 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6927 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
6929 2000-11-06 Kenichi OKADA <okada@opaopa.org>
6931 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
6932 non-nil, make hierarchy.
6934 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
6936 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
6937 `elmo-pop3-use-uidl' must be bound to nil.
6938 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
6940 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
6942 * elmo-util.el (elmo-copy-file): Don't cause an error after
6943 `add-name-to-file' failed.
6945 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
6946 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
6948 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
6950 * elmo-version.el (elmo-version): Up to 2.3.93.
6952 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6954 * elmo-util.el (elmo-flatten): New function.
6956 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
6958 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
6960 * elmo-cache.el (toplevel): Ditto.
6961 * elmo-database.el (toplevel): Ditto.
6962 * elmo-date.el (toplevel): Ditto.
6963 * elmo-dop.el (toplevel): Ditto.
6964 * elmo-filter.el (toplevel): Ditto.
6965 * elmo-imap4.el (toplevel): Ditto.
6966 * elmo-internal.el (toplevel): Ditto.
6967 * elmo-localdir.el (toplevel): Ditto.
6968 * elmo-localnews.el (toplevel): Ditto.
6969 * elmo-maildir.el (toplevel): Ditto.
6970 * elmo-msgdb.el (toplevel): Ditto.
6971 * elmo-multi.el (toplevel): Ditto.
6972 * elmo-net.el (toplevel): Ditto.
6973 * elmo-nntp.el (toplevel): Ditto.
6974 * elmo-pipe.el (toplevel): Ditto.
6975 * elmo-pop3.el (toplevel): Ditto.
6976 * elmo-util.el (toplevel): Ditto.
6977 * elmo-vars.el (toplevel): Ditto.
6978 * elmo2.el (toplevel): Ditto.
6979 * mmelmo-imap4.el (toplevel): Ditto.
6980 * mmelmo.el (toplevel): Ditto.
6982 * elmo-version.el (elmo-version): Move to top.
6984 * elmo-cache.el (toplevel): Fixed multiple Author header format.
6985 * elmo-imap4.el (toplevel): Ditto.
6986 * elmo-localdir.el (toplevel): Ditto.
6987 * elmo-msgdb.el (toplevel): Ditto.
6988 * elmo-nntp.el (toplevel): Ditto.
6989 * elmo-pop3.el (toplevel): Ditto.
6990 * elmo-version.el (toplevel): Ditto.
6992 * elmo-localnews.el (toplevel): Added Keyword header.
6994 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
6996 * elmo-version.el (product-version-as-string): Defined using
7000 * elmo-localdir.el (toplevel): Updated copyright notice.
7001 * elmo-version.el (toplevel): Ditto.
7002 * elmo-msgdb.el (toplevel): Ditto.
7003 * elmo-imap4.el (toplevel): Ditto.
7004 * elmo-nntp.el (toplevel): Ditto.
7005 * elmo-pop3.el (toplevel): Ditto.
7007 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7009 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7012 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7013 parameter value (It sometimes contains raw kanji).
7015 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7017 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7018 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7020 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7022 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7024 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7026 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7027 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7029 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7031 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7032 value if selecting folder succceeded.
7033 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7035 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7037 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7040 * elmo-util.el (elmo-string-matched-member): New function.
7042 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7044 * elmo-util.el (elmo-unintern): New macro.
7045 (elmo-number-set-member): Fixed docstring.
7047 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7050 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7052 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7053 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7055 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7057 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7060 Return non-nil if selecting folder succeeded.
7061 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7063 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7065 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7066 `file-name-completion' returns t.
7067 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7068 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7069 directory if it does not exist.
7070 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7073 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7075 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7076 enclosure (It's harmful in unplugged status).
7078 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7080 * mmelmo-1.el: Removed.
7082 * mmelmo-2.el: Ditto.
7084 * mmelmo-imap4-1.el: Ditto.
7086 * mmelmo-imap4-2.el: Ditto.
7088 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7090 * mmelmo.el: Merged mmelmo-2.el.
7092 * elmo-version.el (elmo-version): Up to 2.3.92.
7094 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7096 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7097 elmo-update-number): Remove last period in "...done." message.
7098 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7100 * elmo-cache.el (elmo-cache-expire-by-size,
7101 elmo-cache-get-sorted-cache-file-list,
7102 elmo-cache-msgdb-create-as-numlist): Ditto.
7103 * elmo-dop.el (elmo-dop-save-pending-messages,
7104 (elmo-dop-flush-pending-append-operations): Ditto.
7105 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7106 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7107 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7108 (elmo-localdir-pack-number): Ditto.
7109 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7110 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7111 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7112 mime-write-entity-content): Ditto.
7113 * pldap.el (ldap-search-basic): Ditto.
7115 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7117 * elmo-version.el (elmo-version): Up to 2.3.91.
7119 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7120 Only when filter is 'last'.
7122 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7123 (elmo-condition-parse-search-value): Use it.
7124 (elmo-read-search-condition-internal): Quote value only when
7127 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7129 * elmo2.el (elmo-generic-folder-diff): Fix.
7131 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7133 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7134 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7135 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7136 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7137 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7138 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7140 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7142 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7145 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7147 * elmo-version.el (elmo-version): Up to 2.3.90.
7149 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7150 (elmo-imap4-list-folder-important): Ditto.
7152 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7154 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7156 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7158 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7160 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7162 * elmo-nntp.el (elmo-network-initialize-session):
7163 Add starttls negotiation.
7165 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7167 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7169 (elmo-network-setup-session): Define.
7170 Call `elmo-nntp-send-mode-reader' when session opened.
7172 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7174 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7176 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7178 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7179 an invalid SPACE character ahead of `SEARCH' command. Move
7180 a valid SPACE character following `SEARCH' from conditional
7181 `format' arguments to control-strings.
7183 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7185 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7188 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7190 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7192 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7193 `w32-get-true-file-link-count' as t.
7195 * elmo-imap4.el (elmo-imap4-read): Abolished.
7196 (Renamed to `elmo-read' and moved to elmo-util.el)
7197 All other related portions are changed.
7199 * elmo-util.el (elmo-read): New function.
7200 (elmo-condition-parse-search-value): Use it.
7202 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7204 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7206 * elmo-nntp.el (elmo-nntp-session): Define.
7207 (elmo-nntp-setting): Abolished.
7208 All other related portions are changed.
7209 (elmo-nntp-get-server-command): Changed argument.
7210 (elmo-nntp-set-server-command): Ditto.
7211 (elmo-nntp-xover-p): Ditto.
7212 (elmo-nntp-set-xover): Ditto.
7213 (elmo-nntp-listgroup-p): Ditto.
7214 (elmo-nntp-set-listgroup): Ditto.
7215 (elmo-nntp-list-active-p): Ditto.
7216 (elmo-nntp-set-list-active): Ditto.
7217 (elmo-nntp-xhdr-p): Ditto.
7218 (elmo-nntp-set-xhdr): Ditto.
7219 (elmo-nntp-flush-connection): Abolished.
7220 (elmo-nntp-get-connection): Abolished.
7221 (elmo-nntp-get-session): New function.
7222 (elmo-network-initialize-session): Defined.
7223 (elmo-network-authenticate-session): Ditto.
7224 (elmo-nntp-send-mode-reader): Changed argument.
7225 (elmo-nntp-send-command): Changed argument.
7226 All other related portions are changed.
7227 (elmo-nntp-read-response): Ditto.
7228 (elmo-nntp-read-raw-response): Ditto.
7229 (elmo-nntp-read-contents): Ditto.
7230 (elmo-nntp-read-body): Ditto.
7231 (elmo-nntp-goto-folder): Abolished.
7232 (elmo-nntp-select-group): New function.
7233 All other related portions are changed.
7234 (This function substitutes `elmo-nntp-goto-folder')
7235 (elmo-nntp-msgdb-create-by-header): Rewrite.
7236 (elmo-nntp-get-overview): Eliminated.
7237 (elmo-nntp-get-message): Ditto.
7238 (elmo-nntp-open-connection) Abolished.
7239 (elmo-nntp-read-msg): Rewrite.
7240 (elmo-nntp-post): Ditto.
7241 (elmo-nntp-send-data): Abolished.
7242 (elmo-nntp-send-buffer): New function.
7243 (elmo-nntp-send-data-line): Define as inline function.
7244 (elmo-nntp-get-folders-info-prepare): Use session as key.
7245 (elmo-nntp-groups-read-response): Changed argument.
7246 (elmo-nntp-retrieve-headers): Ditto.
7247 (elmo-nntp-msgdb-create-message): Ditto.
7249 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7250 when searching by 'since' or 'before'.
7252 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7254 * elmo-version.el (toplevel): Use product-version-as-string for set
7255 verstion-string, if defined.
7257 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7259 * elmo-util.el: Doc fixes.
7261 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7263 * elmo-archive.el (toplevel): Use product-provide.
7264 * elmo-cache.el (toplevel): Ditto.
7265 * elmo-database.el (toplevel): Ditto.
7266 * elmo-date.el (toplevel): Ditto.
7267 * elmo-dop.el (toplevel): Ditto.
7268 * elmo-filter.el (toplevel): Ditto.
7269 * elmo-imap4.el (toplevel): Ditto.
7270 * elmo-internal.el (toplevel): Ditto.
7271 * elmo-localdir.el (toplevel): Ditto.
7272 * elmo-localnews.el (toplevel): Ditto.
7273 * elmo-maildir.el (toplevel): Ditto.
7274 * elmo-msgdb.el (toplevel): Ditto.
7275 * elmo-multi.el (toplevel): Ditto.
7276 * elmo-net.el (toplevel): Ditto.
7277 * elmo-nntp.el (toplevel): Ditto.
7278 * elmo-pipe.el (toplevel): Ditto.
7279 * elmo-pop3.el (toplevel): Ditto.
7280 * elmo-util.el (toplevel): Ditto.
7281 * elmo-vars.el (toplevel): Ditto.
7282 * elmo2.el (toplevel): Ditto.
7283 * mmelmo-1.el (toplevel): Ditto.
7284 * mmelmo-2.el (toplevel): Ditto.
7285 * mmelmo-imap4-1.el (toplevel): Ditto.
7286 * mmelmo-imap4-2.el (toplevel): Ditto.
7287 * mmelmo-imap4.el (toplevel): Ditto.
7288 * mmelmo.el (toplevel): Ditto.
7290 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7292 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7293 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7295 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7297 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7299 (elmo-multi-split-number-alist): Ditto.
7301 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7303 * elmo-version.el: New file. Use product.el.
7304 * elmo2.el: Add (require 'elmo-version).
7305 * elmo-vars.el (elmo-appname, elmo-version): Move to
7308 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7310 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7311 `elmo-msgdb-expand-path'.
7312 (elmo-msgdb-load): Ditto.
7313 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7314 (elmo-generic-list-folder-unread): Rewrite.
7315 (elmo-generic-list-folder-important): Changed argument.
7316 (elmo-list-folder-unread): Ditto.
7317 (elmo-list-folder-important): Ditto.
7318 (elmo-folder-diff): Rewrite.
7319 (elmo-generic-folder-diff): New function.
7320 (elmo-multi-get-number-alist-list): Abolished
7321 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7322 (elmo-multi-folder-diff): Moved to elmo-multi.el
7323 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7325 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7326 `elmo-msgdb-expand-path'.
7327 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7328 (elmo-pop3-read-msg): Ditto.
7329 (elmo-pop3-delete-msgs): Ditto.
7330 (elmo-pop3-folder-diff): New alias.
7332 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7333 `elmo-msgdb-expand-path'.
7334 (elmo-pipe-list-folder-unread): Changed arguments.
7335 (elmo-pipe-list-folder-important): Ditto.
7336 (elmo-pipe-folder-diff): New alias.
7338 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7339 `elmo-msgdb-expand-path'.
7340 (elmo-nntp-max-of-folder): Ditto.
7341 (elmo-nntp-msgdb-create): Ditto.
7342 (elmo-nntp-delete-msgs): Ditto.
7343 (elmo-nntp-folder-diff): New alias.
7345 * elmo-multi.el (elmo-multi-folder-diff): New function.
7346 (elmo-multi-split-mark-alist): Ditto.
7347 (elmo-multi-split-number-alist): Ditto.
7348 (elmo-multi-mark-alist-list): Abolished (Renamed to
7349 elmo-multi-split-mark-alist).
7350 (elmo-multi-list-folder-unread): Rewrite.
7351 (elmo-multi-list-folder-important): Ditto.
7352 (elmo-multi-list-folder): Set `spec' as 1st argument for
7353 `elmo-msgdb-expand-path'.
7354 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7355 instead of `elmo-multi-get-number-alist-list'.
7357 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7358 If 1st argument is not string, treat as spec.
7359 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7360 `elmo-msgdb-expand-path'.
7361 (elmo-msgdb-flist-load): Ditto.
7362 (elmo-msgdb-flist-save): Ditto.
7363 (elmo-msgdb-delete-path): Ditto.
7364 (elmo-msgdb-rename-path): Ditto.
7366 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7367 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7368 (elmo-maildir-delete-mark-msgs): Ditto.
7369 (elmo-maildir-msgdb-create): Ditto.
7370 (elmo-maildir-read-msg): Ditto.
7371 (elmo-maildir-delete-msgs): Ditto.
7372 (elmo-maildir-list-folder-subr): Ditto.
7373 (elmo-maildir-search): Ditto.
7374 (elmo-maildir-get-msg-filename): Ditto.
7375 (elmo-maildir-pack-number): Ditto.
7376 (elmo-maildir-folder-diff): New alias.
7378 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7380 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7381 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7382 (elmo-localdir-folder-diff): New alias.
7384 * elmo-internal.el (elmo-internal-list-folder-subr):
7385 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7386 (elmo-internal-list-folder-by-location): Ditto.
7387 (elmo-internal-msgdb-create): Ditto.
7388 (elmo-internal-delete-msgs): Ditto.
7389 (elmo-internal-read-msg): Ditto.
7390 (elmo-internal-folder-diff): New alias.
7392 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7393 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7394 `elmo-msgdb-expand-path'.
7395 (elmo-imap4-list-folder-unread): Changed arguments.
7396 (elmo-imap4-list-folder-important): Ditto.
7398 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7399 (elmo-filter-list-folder-important): Ditto.
7400 (elmo-filter-folder-diff): New function.
7402 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7404 * elmo-cache.el (elmo-cache-list-folder):
7405 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7406 (elmo-cache-copy-msgs): Ditto.
7407 (elmo-cache-folder-diff): New alias.
7409 * elmo-archive.el (elmo-archive-list-folder-subr):
7410 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7411 (elmo-archive-get-archive-name): Ditto.
7412 (elmo-archive-create-file): Ditto.
7413 (elmo-archive-append-msg): Ditto.
7414 (elmo-archive-copy-msgs): Ditto.
7415 (elmo-archive-copy-msgs-froms): Ditto.
7416 (elmo-archive-get-msg-filename): Ditto.
7417 (elmo-archive-folder-diff): New alias.
7419 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7421 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7422 (elmo-pop3-stream-type-alist): New variable.
7423 (elmo-nntp-stream-type-alist): New variable.
7425 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7426 (elmo-kill-buffer): Ditto.
7427 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7428 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7429 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7430 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7431 (elmo-imap4-get-spec): Take into account
7432 `elmo-imap4-stream-type-alist'.
7434 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7436 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7437 (elmo-nntp-list-folders-get-cache): Ditto.
7439 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7441 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7442 character before 'uid'.
7444 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7446 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7448 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7450 * elmo-util.el (elmo-number-set-member): New function.
7451 (elmo-number-set-append-list): Ditto.
7452 (elmo-number-set-append): Ditto.
7454 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7455 Use `elmo-number-set-member'.
7456 (elmo-living-messages): Ditto.
7457 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7458 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7460 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7461 (elmo-imap4-add-to-cont-list): Abolished.
7462 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7463 instead of elmo-imap4-add-to-cont-list.
7465 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7466 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7468 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7470 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7472 * elmo-util.el (elmo-condition-parse-search-value):
7475 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7477 * elmo-util.el (elmo-condition-find-key-internal): New function.
7478 (elmo-condition-find-key): Ditto.
7480 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7481 (elmo-msgdb-search-internal): Ditto.
7482 (elmo-msgdb-search): Ditto.
7484 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7486 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7487 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7489 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7490 (elmo-nntp-search-primitive): Fixed problem when condition is
7493 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7495 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7496 (elmo-nntp-xhdr-p): New macro.
7497 (elmo-nntp-set-xhdr): Ditto.
7498 (elmo-nntp-parse-xhdr-response): New function.
7499 (elmo-nntp-retrieve-field): Ditto.
7500 (elmo-nntp-search-primitive): Ditto.
7501 (elmo-nntp-search): Implemented.
7503 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7505 * elmo-archive.el (elmo-archive-search): Set all number list to
7506 `elmo-archive-field-condition-match'
7508 * elmo-localdir.el (elmo-localdir-search): Likewise.
7510 * elmo-maildir.el (elmo-maildir-search): Likewise.
7512 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7514 * elmo-msgdb.el (elmo-living-messages): New function.
7515 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7516 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7517 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7518 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7519 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7520 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7521 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7522 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7523 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7524 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7525 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7527 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7529 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7531 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7533 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7535 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7536 arguments for `SEARCH' command.
7537 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7538 All other related portions are changed.
7540 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7542 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7543 (elmo-list-folder-unread): Rewrite.
7544 (elmo-list-folder-important): Ditto.
7546 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7547 (elmo-condition-parse-error): New inline function.
7548 (elmo-read-search-condition): New function.
7549 (elmo-read-search-condition-internal): Ditto.
7550 (elmo-parse-search-condition): Rewrite.
7551 (elmo-condition-parse): New function.
7552 (elmo-condition-parse-or-expr): Ditto.
7553 (elmo-condition-parse-and-expr): Ditto.
7554 (elmo-condition-parse-primitive): Ditto.
7555 (elmo-condition-parse-search-value): Ditto.
7556 (elmo-buffer-field-primitive-condition-match): Ditto.
7557 (elmo-buffer-field-condition-match): Rewrite.
7558 (elmo-file-field-condition-match): Ditto.
7560 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7561 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7563 * elmo-internal.el (elmo-internal-search): Set `number' and
7564 `number-list' argument of `elmo-file-field-condition-match'.
7566 * elmo-maildir.el (elmo-maildir-search): Ditto.
7568 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7569 `msgdb' as argument instead of `mark-alist'.
7570 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7573 * elmo-multi.el: Likewise.
7575 * elmo-pipe.el: Likewise.
7577 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7578 (elmo-imap4-search-internal): Rewrite.
7579 (elmo-imap4-search): Ditto.
7581 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7582 (elmo-filter-list-folder-unread): Ditto.
7583 (elmo-filter-list-folder-important): Ditto.
7584 (elmo-filter-search): Rewrite.
7586 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7587 `number-list' argument of `elmo-file-field-condition-match'.
7588 (elmo-cache-search): Ditto.
7590 * elmo-localdir.el: Likewise.
7592 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7593 number-list and pass it to `elmo-buffer-field-condition-match'.
7594 (elmo-archive-field-condition-match): Pass `number-list' to
7595 `elmo-archive-field-condition-match'
7597 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7599 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7602 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7603 (elmo-folder-diff-async-callback-data): Ditto.
7604 (elmo-folder-diff-async): New function.
7606 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7607 (elmo-network-session-cache-key): Use it as a prefix of the session
7609 (elmo-network-open-session): Ditto.
7611 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7612 (elmo-imap4-status-callback-data): Ditto.
7613 (elmo-imap4-server-diff-async-callback): New variable.
7614 (elmo-imap4-server-diff-async-callback-data): Ditto.
7615 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7616 `elmo-imap4-status-callback-data'.
7617 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7618 `elmo-imap4-status-callback-data' as nil.
7619 (elmo-imap4-server-diff): Ditto.
7620 (elmo-imap4-server-diff-async-callback-1): New function.
7621 (elmo-imap4-server-diff-async): Ditto.
7622 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7624 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7626 * elmo-util.el (elmo-list-delete): Doc fix.
7627 (elmo-delete-lists): Abolish.
7628 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7629 instead of `elmo-delete-lists'.
7631 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7633 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7636 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7638 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7639 `elmo-imap4-literal-subr'.
7640 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7641 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7643 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7645 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7646 (elmo-archive-list-folder): Fix.
7647 (elmo-archive-max-of-folder): Fix.
7649 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7651 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7652 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7653 (elmo-localdir-append-msg): Ditto.
7654 (elmo-localdir-list-folder): Fix for `nonsort'.
7655 (elmo-localdir-list-folder-subr): Fix for `killed'.
7656 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7657 (elmo-maildir-list-folder-subr): Ditto.
7658 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7659 (elmo-archive-list-folder-subr): Ditto.
7660 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7661 (elmo-internal-list-folder-subr): Ditto.
7663 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7665 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7667 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7669 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7671 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7673 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7674 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7676 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7678 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7679 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7681 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7683 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7685 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7686 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7687 before STORE command.
7689 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7691 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7693 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7694 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
7696 (elmo-imap4-list-folders): Removed unused local variable.
7697 (elmo-network-initialize-session): Ditto.
7698 (elmo-imap4-delete-msg-by-id): Ditto.
7699 (elmo-imap4-parse-fetch): Ditto.
7700 (elmo-imap4-copy-msgs): Ditto.
7701 Use `dst-spec' instead of `dst-folder'.
7702 (elmo-network-authenticate-session): Check authenticate type `plain'.
7704 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
7706 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
7708 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
7709 `elmo-imap4-response-value'.
7710 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
7712 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
7714 * elmo-imap4.el (elmo-imap4-send-command):
7715 Cause elmo-imap4-bye-error when current response is BYE.
7716 (elmo-imap4-arrival-filter): Changed greeting response value.
7718 * elmo2.el (elmo-imap4-bye-error): Define.
7720 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
7721 (elmo-imap4-server-diff): Ditto.
7722 (elmo-imap4-response-bye-p): New macro.
7723 (elmo-imap4-response-error-text): Get text from BYE response.
7724 (elmo-imap4-read-response): Return if BYE response.
7725 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
7726 (elmo-imap4-folder-exists-p): Ditto.
7727 (elmo-imap4-commit): Do nothing when different mailbox is selected.
7728 (elmo-imap4-parse-bye): New function.
7729 (elmo-imap4-parse-response): Remove needless let.
7730 Call `elmo-imap4-parse-bye'.
7732 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
7734 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
7735 the mailbox does not exist.
7736 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
7738 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
7740 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
7742 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
7744 * elmo-vars.el (elmo-search-mime-charset): Abolished.
7746 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
7747 (elmo-network-initialize-session-buffer): Defined.
7749 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
7751 (mmelmo-imap4-get-mime-entity): Rewrite.
7753 * elmo2.el (elmo-error): Capitalize error message.
7755 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
7756 (elmo-network-session-buffer): New macro.
7757 (elmo-network-open-session): Use it.
7759 * elmo-imap4.el: Rewrite.
7761 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
7763 * elmo-nntp.el (Toplevel): Require 'elmo-net.
7765 2000-08-27 Daiki Ueno <ueno@unixuser.org>
7767 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
7768 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
7769 (elmo-imap4-create-msgdb-from-overview-string): Use
7770 `elmo-msgdb-create-overview-from-buffer'.
7772 2000-08-26 Daiki Ueno <ueno@unixuser.org>
7774 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
7775 (elmo-imap4-default-hierarchy-delimiter): New variable.
7776 (elmo-imap4-list-folders): Use it.
7778 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
7780 * elmo-net.el (elmo-network-open-session): Add user and
7781 stream-type for process-buffer name.
7783 * elmo-pop3.el (elmo-network-initialize-session): Call
7784 buffer-disable-undo.
7786 * elmo-imap4.el (elmo-network-initialize-session):
7787 Set current-buffer as an argument for `buffer-disable-undo'.
7789 * elmo-pop3.el (elmo-network-close-session): Don't use
7792 * elmo-vars.el (elmo-default-pop3-authenticate-type):
7793 Set default as 'user.
7795 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
7797 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
7798 and `elmo-imap4-flush-connection'.
7800 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
7801 (elmo-pop3-get-spec): Assume auth as symbol.
7802 (elmo-open-network-stream): Moved to `elmo-net'.
7804 * elmo-pop3.el (toplevel): Require 'elmo-net.
7805 Define `sasl-cram-md5' to silence byte compilier.
7806 (elmo-pop3-connection-cache) Abolished.
7807 (elmo-pop3-authenticator-alist) New variable.
7808 (elmo-pop3-session): Define.
7809 (elmo-pop3-connection-get-process): Abolished.
7810 (elmo-pop3-connection-get-buffer): Ditto.
7811 (elmo-pop3-close-connection): Ditto.
7812 (elmo-pop3-flush-connection): Ditto.
7813 (elmo-pop3-get-connection): Ditto.
7814 (elmo-pop3-get-session): New function.
7815 (Replacement for `elmo-pop3-get-connection').
7816 All other related modules are changed.
7817 (elmo-network-close-session): Define.
7818 (elmo-pop3-send-command): Abolished argument `buffer'.
7819 All other related modules are changed.
7820 (elmo-pop3-read-response): Likewise.
7821 (elmo-pop3-open-connection): Abolished.
7822 (elmo-pop3-auth-user): New function.
7823 (elmo-pop3-auth-apop): Ditto.
7824 (elmo-pop3-auth-cram-md5): Ditto.
7825 (elmo-pop3-auth-scram-md5): Ditto.
7826 (elmo-pop3-auth-digest-md5): Ditto.
7827 (elmo-network-initialize-session): Define.
7828 (elmo-network-authenticate-session): Ditto.
7829 (elmo-network-setup-session): Ditto.
7831 * elmo-imap4.el (toplevel): Require 'elmo-net.
7832 (elmo-imap4-session): Define.
7833 (elmo-imap4-connection-cache): Abolished.
7834 (elmo-imap4-password-key): Ditto.
7835 (elmo-imap4-flush-connection): Ditto.
7836 (elmo-imap4-get-connection): Ditto.
7837 All other related modules are changed.
7838 (elmo-imap4-get-session): New function
7839 (Replacement for `elmo-imap4-get-connection').
7840 (elmo-imap4-read-response): Abolished argument `buffer'.
7841 All other related modules are changed.
7842 (elmo-imap4-send-command): Likewise.
7843 (elmo-imap4-select-folder): Abolished.
7844 All other related modules are changed.
7845 (elmo-imap4-select-mailbox): New function.
7846 (Replacement for `elmo-imap4-select-folder').
7847 (elmo-imap4-auth-login): Simplify.
7848 (Assume current buffer as process buffer)
7849 (elmo-imap4-auth-cram-md5): Ditto.
7850 (elmo-imap4-auth-digest-md5): Ditto.
7851 (elmo-imap4-login): Ditto.
7852 (elmo-imap4-open-connection): Abolished.
7853 (elmo-imap4-open-connection-1): Abolished.
7854 (elmo-network-initialize-sessoin): Define.
7855 (elmo-network-authenticate-session): Ditto.
7856 (elmo-network-setup-session): Ditto.
7858 * elmo-net.el: New module.
7860 2000-08-22 Daiki Ueno <ueno@unixuser.org>
7862 * elmo-util.el (elmo-define-error): New function.
7864 * elmo2.el (elmo-error): Define.
7865 (elmo-open-error): Define.
7866 (elmo-authenticate-error): Define.
7868 * elmo-imap4.el (elmo-imap4-error): Abolish.
7869 (elmo-imap4-error-type): Abolish.
7870 (elmo-imap4-error-process): Abolish.
7871 (elmo-imap4-error-message): Abolish
7872 (elmo-imap4-list-folders): Don't quote lambda.
7873 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
7874 (elmo-imap4-parse-namespace): Ditto.
7875 (elmo-imap4-open-connection): Rewrite.
7876 (elmo-imap4-open-connection-1): Simplified (authenticate only).
7877 (elmo-imap4-get-connection): Abolish local variable `result'.
7879 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
7881 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
7882 wrong-type-argument error when auth is nil.
7884 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
7886 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
7887 (elmo-default-nntp-stream-type): Ditto.
7888 (elmo-default-pop3-stream-type): Ditto.
7889 (elmo-network-stream-type-alist): Ditto.
7890 (elmo-default-imap4-ssl): Abolished.
7891 (elmo-default-nntp-ssl): Ditto.
7892 (elmo-default-pop3-ssl): Ditto.
7894 * elmo-util.el: (toplevel): Removed needless requires.
7895 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
7896 (elmo-open-network-stream): Open network stream according to
7897 the value of `elmo-network-stream-type-alist'.
7898 (elmo-get-network-stream-type): New function.
7899 (elmo-network-stream-type-spec-string): New macro.
7900 (elmo-network-stream-type-symbol): Ditto.
7901 (elmo-network-stream-type-function): Ditto.
7903 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
7904 network-stream-type. All other related portions are changed.
7905 (elmo-pop3-open-connection): Ditto.
7907 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
7908 network-stream-type. All other related portions are changed.
7910 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
7911 network-stream-type.All other related portions are changed.
7912 (elmo-imap4-error): New macro.
7913 (elmo-imap4-error-type): Ditto.
7914 (elmo-imap4-error-process): Ditto.
7915 (elmo-imap4-error-message): Ditto.
7916 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
7917 (elmo-imap4-auth-cram-md5): Ditto.
7918 (elmo-imap4-auth-digest-md5): Ditto.
7919 (elmo-imap4-login): Ditto.
7920 (elmo-imap4-open-connection): Remove password entry if authentication
7922 (elmo-imap4-user-at-host): Abolished.
7923 (elmo-imap4-password-key): New buffer local variable.
7924 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
7925 using protocol, port, auth and stream-type.
7927 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
7929 2000-08-13 Daiki Ueno <ueno@unixuser.org>
7931 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
7933 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
7935 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
7936 (elmo-imap4-authenticator-alist): New variable.
7937 (elmo-imap4-open-connection-1): Rename from
7938 elmo-imap4-open-connection.
7939 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
7940 only wraps elmo-imap4-open-connection-1.
7941 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
7943 (elmo-imap4-auth-login): New function.
7944 (elmo-imap4-auth-cram-md5): New function.
7945 (elmo-imap4-auth-digest-md5): New function.
7946 (elmo-imap4-login): New function.
7948 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7950 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
7953 2000-08-12 Kenichi OKADA <okada@opaopa.org>
7955 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
7957 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
7959 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
7961 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
7963 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
7964 for server responses, quote `*' regardless of where it appears.
7966 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7968 * elmo-maildir.el (elmo-maildir-commit): New alias.
7970 2000-08-03 Kenichi OKADA <okada@opaopa.org>
7972 * elmo-util.el (elmo-display-progress):
7973 Use `progress-feedback-with-label'.
7975 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
7977 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
7978 (elmo-imap4-non-atom-char-regex): Ditto.
7979 (elmo-imap4-non-text-char-regex): Ditto.
7980 (elmo-imap4-literal-threshold): Ditto.
7981 (elmo-imap4-atom-p): New function.
7982 (elmo-imap4-quotable-p): Ditto.
7983 (elmo-imap4-nil): Ditto.
7984 (elmo-imap4-atom): Ditto.
7985 (elmo-imap4-quoted): Ditto.
7986 (elmo-imap4-literal-subr): Ditto.
7987 (elmo-imap4-literal): Ditto.
7988 (elmo-imap4-buffer-literal): Ditto.
7989 (elmo-imap4-string-subr): Ditto.
7990 (elmo-imap4-string): Ditto.
7991 (elmo-imap4-buffer-string): Ditto.
7992 (elmo-imap4-astring-subr): Ditto.
7993 (elmo-imap4-astring): Ditto.
7994 (elmo-imap4-buffer-astring): Ditto.
7995 (elmo-imap4-nstring): Ditto.
7996 (elmo-imap4-buffer-nstring): Ditto.
7997 (elmo-imap4-mailbox): New alias.
7998 (elmo-imap4-field-body): Ditto.
7999 (elmo-imap4-userid): Ditto.
8000 (elmo-imap4-password): Ditto.
8001 (elmo-imap4-format-quoted): New function.
8002 (elmo-imap4-send-command): Rewritten. Accept a list of command
8003 arguments and handle "atom", "quoted" and "literal" string here.
8004 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8005 `elmo-imap4-send-command'.
8006 (elmo-imap4-folder-exists-p): Likewise.
8007 (elmo-imap4-create-folder): Likewise.
8008 (elmo-imap4-delete-folder): Likewise.
8009 (elmo-imap4-rename-folder): Likewise.
8010 (elmo-imap4-max-of-folder): Likewise.
8011 (elmo-imap4-check-validity): Likewise.
8012 (elmo-imap4-sync-validity): Likewise.
8013 (elmo-imap4-server-diff): Likewise.
8014 (elmo-imap4-select-folder): Likewise.
8015 (elmo-imap4-copy-msgs): Likewise.
8016 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8017 (elmo-imap4-mark-set-on-msgs): Likewise.
8018 (elmo-imap4-read-part): Likewise.
8019 (elmo-imap4-read-msg): Likewise.
8020 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8021 `elmo-imap4-password' for `elmo-imap4-send-command'.
8022 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8023 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8024 `elmo-imap4-buffer-literal'.
8025 (elmo-imap4-append-msg): Likewise.
8027 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8028 `delete' for removing dead connection from the connection cache.
8029 Move deletion of the process buffer after that.
8030 (elmo-imap4-list): Change `defsubst' to `defun'.
8031 (elmo-imap4-commit): Make error message verbose.
8032 (elmo-imap4-search): Ditto.
8033 (elmo-imap4-list): Ditto.
8034 (elmo-imap4-select-folder): Ditto.
8035 (elmo-imap4-copy-msgs): Ditto.
8036 (elmo-imap4-delete-msg-by-id): Ditto.
8037 (elmo-imap4-append-msg-by-id): Ditto.
8038 (elmo-imap4-append-msg): Ditto.
8040 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8042 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8043 when dired is used on XEmacs.
8045 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8047 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8048 instead of `append'.
8049 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8050 `elmo-plugged-p' directly.
8051 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8052 of `elmo-plugged-p' directly.
8054 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8055 Eliminate unused variable. Use `memq' for checking a process status.
8056 Use `cons' instead of `append' for updating the connection cache.
8057 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8058 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8060 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8062 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8063 `elmo-imap4-read-point' exactly.
8065 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8066 the local variable `folder' to `mailbox'.
8067 Rename the argument `fld' to `folder'.
8069 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8071 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8072 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8074 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8076 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8077 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8078 (elmo-pop3-uidl-number-hash): Ditto.
8079 (elmo-pop3-size-hash): Ditto.
8080 (elmo-pop3-uidl-done): Ditto.
8081 (elmo-pop3-list-done): Ditto.
8082 (elmo-pop3-connection-get-process): New defmacro.
8083 (elmo-pop3-connection-get-buffer): Ditto.
8084 (elmo-pop3-close-connection): Delete buffer and process.
8085 (elmo-pop3-flush-connection): Don't delete buffer and process.
8086 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8087 Setup UIDL and size hash.
8088 (elmo-pop3-send-command-no-erase): Deleted
8089 (elmo-pop3-send-command): Added optional argument `no-erase'.
8090 (elmo-pop3-parse-uidl-response): New function.
8091 (elmo-pop3-parse-list-response): Set size hash.
8092 (elmo-pop3-list-location): New function.
8093 (elmo-pop3-list-by-uidl-subr): Ditto.
8094 (elmo-pop3-list-by-list): Ditto.
8095 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8096 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8097 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8098 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8099 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8101 (elmo-pop3-uidl-to-number): New function.
8102 (elmo-pop3-number-to-uidl): Ditto.
8103 (elmo-pop3-number-to-size): Ditto.
8104 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8105 Set number by use of uidl.
8106 (elmo-pop3-msgdb-create-message): Likewise.
8107 Set size, loc-alist in msgdb.
8108 (elmo-pop3-read-msg): Set number by use of uidl.
8109 Added optional argument `msgdb'.
8110 (elmo-pop3-delete-msg): Ditto.
8111 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8112 (elmo-pop3-commit): Close connection.
8114 * elmo-pipe.el (elmo-pipe-max-of-folder):
8115 Bind `elmo-pop3-use-uidl' as nil.
8116 (elmo-pipe-drain): Ditto.
8119 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8120 (elmo-msgdb-overview-entity-set-size): New defsubst.
8122 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8124 * elmo-vars.el (elmo-use-killed-list): New variable
8125 (Renamed from `elmo-nntp-use-killed-list').
8126 (elmo-nntp-use-killed-list): Eliminated.
8128 * elmo-msgdb.el (elmo-msgdb-expand-path):
8129 Changed expanding msgdb path for elmo-multi.
8131 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8132 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8133 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8134 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8135 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8136 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8137 (toplevel): Deleted time-stamp line.
8139 * elmo2.el (elmo-clear-killed ): Defined as function
8140 (Abolished defining as a backend function).
8141 All other related modules are changed.
8143 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8145 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8147 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8149 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8151 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8153 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8155 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8157 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8158 asynchronous folder check.
8160 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8162 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8163 `elmo-nntp-use-killed-list'.
8164 (elmo-nntp-list-folder): Use killed list.
8165 (elmo-nntp-max-of-folder): Ditto.
8166 (elmo-nntp-msgdb-create): Set killed list.
8168 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8170 * elmo2.el (elmo-clear-killed): New backend function.
8171 All other related modules are changed.
8173 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8175 * elmo-util.el (elmo-imap4-spec-folder): Use
8176 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8177 All callers changed.
8179 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8181 * mmelmo-2.el (initialize-instance):
8182 Use `mime-buffer-entity-buffer-internal' instead of
8183 `mime-entity-buffer'.
8185 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8186 (mime-entity-body): Implemented.
8187 (mime-goto-header-start-point): Deleted.
8188 (mime-goto-body-end-point): Ditto.
8189 (mime-entity-point-min): Ditto.
8190 (mime-entity-point-max): Ditto.
8191 (mime-entity-children): Ditto.
8192 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8193 instead of `mime-entity-buffer'.
8194 (mime-entity-header-buffer): Ditto.
8195 (mime-entity-body-buffer): Ditto.
8196 (mime-write-entity-content): Ditto.
8198 * pldap.el (ldap-static-if): New macro.
8199 (toplevel): Use it instead of `static-if'.
8201 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8203 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8204 included in `attrs' argument.
8206 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8208 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8210 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8211 (ldap-ldif-safe-init-char-regexp): Ditto.
8212 (ldap-ldif-safe-string-regexp): Ditto.
8213 (ldap/ldif-safe-string-p): New macro.
8214 (ldap/ldif-insert-field): Ditto.
8215 (ldap-modify): Use it.
8217 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8218 (ldap-decode-attribute): Decode only when `attr' is consp.
8219 (ldap-delete): Bind `ret'.
8220 (toplevel): Require 'cl at compile time.
8221 Removed (require 'poe) and (require 'std11).
8222 (pldap-version): Eliminated.
8223 (ldap-search-basic): Removed auth and dn binding.
8224 (ldap-ldif-field-name-regexp): New constant.
8225 (ldap-ldif-field-head-regexp): Ditto.
8226 (ldap-ldif-next-field-head-regexp): Ditto.
8227 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8228 (ldap/field-end): New function.
8229 (ldap/field-body): Use it.
8230 (ldap/collect-field): Ditto.
8231 (ldap-search-basic): Use `ldap/field-body'.
8233 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8235 * pldap.el (ldap-default-attribute-encoder): New user option.
8236 (ldap/field-body): Decode base64 string.
8237 (ldap/collect-field): Ditto.
8238 (ldap-encode-attribute): New function.
8239 (ldap-add-entries): Use it.
8240 (ldap-modify-entries): Ditto.
8241 (ldap-search-entries): Enclosed decoding function with
8242 `with-temp-buffer' and set as unibyte.
8243 (ldap-search-basic): Set process buffer as unibyte.
8245 * elmo-util.el (elmo-folder-identical-system-p):
8246 Eliminated name space checking.
8248 * pldap.el: New module.
8249 toplevel: Changed condition to detect built-in ldap feature.
8250 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8251 (ldap-add): Added error handling.
8252 (ldap-modify): Ditto.
8253 (ldap-delete): Ditto.
8255 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8257 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8258 Initialize local variables with `let'. Inline a temporary
8259 variable for the progress percentage. Sort `setq' to reduce
8260 function call in the while-loop.
8262 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8263 into the conditional branch.
8265 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8267 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8268 Move a conditional out of the while-loop.
8270 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8272 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8273 elmo-msgdb-overview-get-entity-by-number.
8274 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8277 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8279 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8280 the local variable for a packed number self descriptively.
8282 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8284 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8285 * elmo-localdir.el (elmo-localdir-pack-number): Use
8286 `elmo-msgdb-overview-get-entity' instead of
8287 `elmo-msgdb-overview-get-entity-by-number'.
8288 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8289 (elmo-msgdb-search-overview-entity): Removed.
8290 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8291 by message-id or number.
8292 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8293 instead of `elmo-msgdb-overview-get-entity-by-number'.
8295 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8297 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8298 non-nil, use hash table for overview.
8299 (elmo-hash-maximum-size): New variable.
8300 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8301 (elmo-msgdb-make-overview-hashtb): New function.
8302 (elmo-msgdb-clear-overview-hashtb): New function.
8303 (elmo-clear-hash-val): New macro.
8304 All other related modules are changed.
8306 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8308 * elmo2.el (elmo-move-msgs): If there's other message with
8309 same message-id, don't use cache.
8311 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8313 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8314 number is already packed.
8316 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8318 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8320 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8322 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8323 All other related modules are changed.
8325 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8327 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8328 of refiling failure on Maildir.
8330 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8332 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8333 decoded mime-charset with cache.
8334 (elmo-msgdb-overview-entity-get-from): Ditto.
8335 (elmo-msgdb-overview-entity-get-subject): Ditto.
8336 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8338 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8340 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8341 (elmo-remove-passwd): Fill password with 0 before erase.
8342 * elmo-vars.el (elmo-passwd-life-time): New variable.
8345 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8347 * elmo-cache.el (elmo-buffer-cache-add):
8348 Set message cache buffer as unibyte.
8350 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8352 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8355 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8357 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8358 when display is finished.
8359 (elmo-nntp-msgdb-create): Ditto.
8360 (elmo-nntp-groups-read-response): Ditto.
8361 (elmo-nntp-retrieve-headers): Ditto.
8362 (elmo-nntp-msgdb-create-message): Ditto.
8363 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8364 (elmo-pop3-msgdb-create-message): Ditto.
8366 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8368 * elmo-maildir.el (elmo-maildir-msgdb-create):
8369 Use `elmo-msgdb-sort-by-date'.
8371 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8373 * elmo2.el (elmo-read-msg-no-cache):
8374 Eliminated arguments after `outbuf'.
8375 Don't use cache even if it exists.
8376 (elmo-read-msg): Don't pass arguments after `outbuf' to
8377 `elmo-read-msg-no-cache'.
8379 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8381 * elmo-archive.el (elmo-archive-list-folders):
8382 Use `file-name-directory' if base folder does not exist.
8384 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8386 * elmo-archive.el (elmo-archive-list-folders): Don't use
8387 `file-name-directory'.
8389 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8391 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8392 If `force' is non-nil, try flushing all operation queues.
8394 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8396 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8399 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8401 * elmo-util.el (elmo-display-progress): Fixed.
8403 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8405 * elmo-util.el (elmo-display-progress): New function.
8406 All other related modules are changed.